# HG changeset patch # User wenzelm # Date 1165353281 -3600 # Node ID 2a0c0fa4a3c430e631045acce570b5fe1808bc65 # Parent 43d709faa9dc8bc06c7d4da82992c532d0159d4a removed duplicate abbreviations (implicit inheritance); diff -r 43d709faa9dc -r 2a0c0fa4a3c4 src/HOL/Algebra/Lattice.thy --- a/src/HOL/Algebra/Lattice.thy Tue Dec 05 22:14:39 2006 +0100 +++ b/src/HOL/Algebra/Lattice.thy Tue Dec 05 22:14:41 2006 +0100 @@ -78,25 +78,6 @@ "[| x \ y; y \ z; x \ L; y \ L; z \ L |] ==> x \ z" -abbreviation (in partial_order) - less (infixl "\" 50) where "less == order_syntax.less le" -abbreviation (in partial_order) - Upper where "Upper == order_syntax.Upper L le" -abbreviation (in partial_order) - Lower where "Lower == order_syntax.Lower L le" -abbreviation (in partial_order) - least where "least == order_syntax.least L le" -abbreviation (in partial_order) - greatest where "greatest == order_syntax.greatest L le" -abbreviation (in partial_order) - sup ("\_" [90] 90) where "sup == order_syntax.sup L le" -abbreviation (in partial_order) - inf ("\_" [90] 90) where "inf == order_syntax.inf L le" -abbreviation (in partial_order) - join (infixl "\" 65) where "join == order_syntax.join L le" -abbreviation (in partial_order) - meet (infixl "\" 70) where "meet == order_syntax.meet L le" - subsubsection {* Upper *} @@ -206,25 +187,6 @@ and inf_of_two_exists: "[| x \ L; y \ L |] ==> EX s. order_syntax.greatest L le s (order_syntax.Lower L le {x, y})" -abbreviation (in lattice) - less (infixl "\" 50) where "less == order_syntax.less le" -abbreviation (in lattice) - Upper where "Upper == order_syntax.Upper L le" -abbreviation (in lattice) - Lower where "Lower == order_syntax.Lower L le" -abbreviation (in lattice) - least where "least == order_syntax.least L le" -abbreviation (in lattice) - greatest where "greatest == order_syntax.greatest L le" -abbreviation (in lattice) - sup ("\_" [90] 90) where "sup == order_syntax.sup L le" -abbreviation (in lattice) - inf ("\_" [90] 90) where "inf == order_syntax.inf L le" -abbreviation (in lattice) - join (infixl "\" 65) where "join == order_syntax.join L le" -abbreviation (in lattice) - meet (infixl "\" 70) where "meet == order_syntax.meet L le" - lemma (in order_syntax) least_Upper_above: "[| least s (Upper A); x \ A; A \ L |] ==> x \ s" by (unfold least_def) blast @@ -689,24 +651,6 @@ locale total_order = lattice + assumes total: "[| x \ L; y \ L |] ==> x \ y | y \ x" -abbreviation (in total_order) - less (infixl "\" 50) where "less == order_syntax.less le" -abbreviation (in total_order) - Upper where "Upper == order_syntax.Upper L le" -abbreviation (in total_order) - Lower where "Lower == order_syntax.Lower L le" -abbreviation (in total_order) - least where "least == order_syntax.least L le" -abbreviation (in total_order) - greatest where "greatest == order_syntax.greatest L le" -abbreviation (in total_order) - sup ("\_" [90] 90) where "sup == order_syntax.sup L le" -abbreviation (in total_order) - inf ("\_" [90] 90) where "inf == order_syntax.inf L le" -abbreviation (in total_order) - join (infixl "\" 65) where "join == order_syntax.join L le" -abbreviation (in total_order) - meet (infixl "\" 70) where "meet == order_syntax.meet L le" text {* Introduction rule: the usual definition of total order *} @@ -767,25 +711,6 @@ and inf_exists: "[| A \ L |] ==> EX i. order_syntax.greatest L le i (order_syntax.Lower L le A)" -abbreviation (in complete_lattice) - less (infixl "\" 50) where "less == order_syntax.less le" -abbreviation (in complete_lattice) - Upper where "Upper == order_syntax.Upper L le" -abbreviation (in complete_lattice) - Lower where "Lower == order_syntax.Lower L le" -abbreviation (in complete_lattice) - least where "least == order_syntax.least L le" -abbreviation (in complete_lattice) - greatest where "greatest == order_syntax.greatest L le" -abbreviation (in complete_lattice) - sup ("\_" [90] 90) where "sup == order_syntax.sup L le" -abbreviation (in complete_lattice) - inf ("\_" [90] 90) where "inf == order_syntax.inf L le" -abbreviation (in complete_lattice) - join (infixl "\" 65) where "join == order_syntax.join L le" -abbreviation (in complete_lattice) - meet (infixl "\" 70) where "meet == order_syntax.meet L le" - text {* Introduction rule: the usual definition of complete lattice *} lemma (in partial_order) complete_latticeI: @@ -807,23 +732,6 @@ bottom ("\") where "\ == inf L" -abbreviation (in partial_order) - top ("\") where "top == order_syntax.top L le" -abbreviation (in partial_order) - bottom ("\") where "bottom == order_syntax.bottom L le" -abbreviation (in lattice) - top ("\") where "top == order_syntax.top L le" -abbreviation (in lattice) - bottom ("\") where "bottom == order_syntax.bottom L le" -abbreviation (in total_order) - top ("\") where "top == order_syntax.top L le" -abbreviation (in total_order) - bottom ("\") where "bottom == order_syntax.bottom L le" -abbreviation (in complete_lattice) - top ("\") where "top == order_syntax.top L le" -abbreviation (in complete_lattice) - bottom ("\") where "bottom == order_syntax.bottom L le" - lemma (in complete_lattice) supI: "[| !!l. least l (Upper A) ==> P l; A \ L |]