src/HOL/AxClasses/Lattice/Lattice.thy
author paulson
Tue, 16 Jul 1996 15:49:46 +0200
changeset 1868 836950047d85
parent 1440 de6f18da81bb
child 2606 27cdd600a3b1
permissions -rw-r--r--
Put in minimal simpset to avoid excessive simplification, just as in revision 1.9 of HOL/indrule.ML

(*  Title:      Lattice.thy
    ID:         $Id$
    Author:     Markus Wenzel, TU Muenchen

Lattices are orders with binary (finitary) infima and suprema.
*)

Lattice = Order +

axclass
  lattice < order
  ex_inf       "ALL x y. EX inf. is_inf x y inf"
  ex_sup       "ALL x y. EX sup. is_sup x y sup"

consts
  "&&"          :: "['a::lattice, 'a] => 'a"       (infixl 70)
  "||"          :: "['a::lattice, 'a] => 'a"       (infixl 65)

defs
  inf_def       "x && y == @inf. is_inf x y inf"
  sup_def       "x || y == @sup. is_sup x y sup"

end