| author | wenzelm |
| Tue, 03 Oct 2000 01:15:11 +0200 | |
| changeset 10132 | 8e9a8ede2f11 |
| parent 10007 | 64bf7da1994a |
| permissions | -rw-r--r-- |
| 1247 | 1 |
(* Title: HOL/AxClasses/Tutorial/Product.thy |
2 |
ID: $Id$ |
|
3 |
Author: Markus Wenzel, TU Muenchen |
|
4 |
*) |
|
5 |
||
| 10007 | 6 |
theory Product = Main: |
| 1247 | 7 |
|
8 |
axclass |
|
| 10007 | 9 |
product < "term" |
| 1247 | 10 |
consts |
| 10007 | 11 |
product :: "'a::product => 'a => 'a" (infixl "[*]" 70) |
| 1247 | 12 |
|
| 10007 | 13 |
instance bool :: product |
14 |
by intro_classes |
|
| 9363 | 15 |
defs (overloaded) |
| 10007 | 16 |
product_bool_def: "x [*] y == x & y" |
| 8920 | 17 |
|
| 10007 | 18 |
end |