src/HOL/AxClasses/Tutorial/Product.thy
author wenzelm
Mon May 22 13:29:21 2000 +0200 (2000-05-22)
changeset 8920 af5e09b6c208
parent 1247 18b1441fb603
child 9363 86b48eafc70d
permissions -rw-r--r--
new Isar version;
wenzelm@1247
     1
(*  Title:      HOL/AxClasses/Tutorial/Product.thy
wenzelm@1247
     2
    ID:         $Id$
wenzelm@1247
     3
    Author:     Markus Wenzel, TU Muenchen
wenzelm@1247
     4
*)
wenzelm@1247
     5
wenzelm@8920
     6
theory Product = Main:;
wenzelm@1247
     7
wenzelm@1247
     8
axclass
wenzelm@8920
     9
  product < "term";
wenzelm@1247
    10
consts
wenzelm@8920
    11
  product :: "'a::product => 'a => 'a"    (infixl "[*]" 70);
wenzelm@1247
    12
wenzelm@8920
    13
instance bool :: product;
wenzelm@8920
    14
  by intro_classes;
wenzelm@8920
    15
defs
wenzelm@8920
    16
  product_bool_def: "x [*] y == x & y";
wenzelm@8920
    17
wenzelm@8920
    18
end;