src/HOLCF/Porder0.thy
author nipkow
Fri, 23 May 1997 09:20:35 +0200
changeset 3310 0ceaad3c3f52
parent 2850 a66196e1668c
child 3323 194ae2e0c193
permissions -rw-r--r--
Base theory is now Arith, not Nat. (because all datatypes now require Arith).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
     1
(*  Title:      HOLCF/Porder0.thy
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     2
    ID:         $Id$
1479
21eb5e156d91 expanded tabs
clasohm
parents: 1274
diff changeset
     3
    Author:     Franz Regensburger
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     4
    Copyright   1993 Technische Universitaet Muenchen
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     5
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     6
Definition of class porder (partial order)
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     7
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     8
*)
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
     9
3310
0ceaad3c3f52 Base theory is now Arith, not Nat. (because all datatypes now require Arith).
nipkow
parents: 2850
diff changeset
    10
Porder0 = Arith +
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
    11
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    12
(* first the global constant for HOLCF type classes *)
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    13
consts
3310
0ceaad3c3f52 Base theory is now Arith, not Nat. (because all datatypes now require Arith).
nipkow
parents: 2850
diff changeset
    14
  less        :: "['a,'a] => bool"
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
    15
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    16
axclass po < term
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    17
        (* class axioms: *)
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    18
ax_refl_less       "less x x"        
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    19
ax_antisym_less    "[|less x y; less y x |] ==> x = y"    
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    20
ax_trans_less      "[|less x y; less y z |] ==> less x z"
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    21
 
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    22
	(* characteristic constant << on po *)
2394
91d8abf108be adaptions for symbol font
oheimb
parents: 2291
diff changeset
    23
consts
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    24
  "<<"          :: "['a,'a::po] => bool"        (infixl 55)
2394
91d8abf108be adaptions for symbol font
oheimb
parents: 2291
diff changeset
    25
91d8abf108be adaptions for symbol font
oheimb
parents: 2291
diff changeset
    26
syntax (symbols)
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    27
  "op <<"       :: "['a,'a::po] => bool"        (infixl "\\<sqsubseteq>" 55)
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
    28
2640
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    29
defs
ee4dfce170a0 Changes of HOLCF from Oscar Slotosch:
slotosch
parents: 2394
diff changeset
    30
po_def             "(op <<) == less"
298
3a0485439396 structural induction for strict lists
nipkow
parents:
diff changeset
    31
end 
1274
ea0668a1c0ba added 8bit pragmas
regensbu
parents: 442
diff changeset
    32
ea0668a1c0ba added 8bit pragmas
regensbu
parents: 442
diff changeset
    33