# HG changeset patch # User wenzelm # Date 1002202968 -7200 # Node ID b0fe6e5225593120d767c76aaeffa5066f5d1051 # Parent 68b95cb977453e662903a58f717e0cd7df82e52f non-oriented infix = and ~= (output only); added case_split (with case names); diff -r 68b95cb97745 -r b0fe6e522559 src/HOL/HOL.thy --- a/src/HOL/HOL.thy Thu Oct 04 15:41:43 2001 +0200 +++ b/src/HOL/HOL.thy Thu Oct 04 15:42:48 2001 +0200 @@ -77,9 +77,9 @@ divide :: "['a::inverse, 'a] => 'a" (infixl "'/" 70) syntax (xsymbols) - abs :: "'a::minus => 'a" ("\\_\\") + abs :: "'a::minus => 'a" ("\_\") syntax (HTML output) - abs :: "'a::minus => 'a" ("\\_\\") + abs :: "'a::minus => 'a" ("\_\") axclass plus_ac0 < plus, zero commute: "x + y = y + x" @@ -118,29 +118,29 @@ "let x = a in e" == "Let a (%x. e)" syntax ("" output) - "op =" :: "['a, 'a] => bool" ("(_ =/ _)" [51, 51] 50) - "op ~=" :: "['a, 'a] => bool" ("(_ ~=/ _)" [51, 51] 50) + "=" :: "['a, 'a] => bool" (infix 50) + "~=" :: "['a, 'a] => bool" (infix 50) syntax (symbols) - Not :: "bool => bool" ("\\ _" [40] 40) - "op &" :: "[bool, bool] => bool" (infixr "\\" 35) - "op |" :: "[bool, bool] => bool" (infixr "\\" 30) - "op -->" :: "[bool, bool] => bool" (infixr "\\\\" 25) - "op ~=" :: "['a, 'a] => bool" (infixl "\\" 50) - "ALL " :: "[idts, bool] => bool" ("(3\\_./ _)" [0, 10] 10) - "EX " :: "[idts, bool] => bool" ("(3\\_./ _)" [0, 10] 10) - "EX! " :: "[idts, bool] => bool" ("(3\\!_./ _)" [0, 10] 10) - "_case1" :: "['a, 'b] => case_syn" ("(2_ \\/ _)" 10) + Not :: "bool => bool" ("\ _" [40] 40) + "op &" :: "[bool, bool] => bool" (infixr "\" 35) + "op |" :: "[bool, bool] => bool" (infixr "\" 30) + "op -->" :: "[bool, bool] => bool" (infixr "\\" 25) + "op ~=" :: "['a, 'a] => bool" (infix "\" 50) + "ALL " :: "[idts, bool] => bool" ("(3\_./ _)" [0, 10] 10) + "EX " :: "[idts, bool] => bool" ("(3\_./ _)" [0, 10] 10) + "EX! " :: "[idts, bool] => bool" ("(3\!_./ _)" [0, 10] 10) + "_case1" :: "['a, 'b] => case_syn" ("(2_ \/ _)" 10) (*"_case2" :: "[case_syn, cases_syn] => cases_syn" ("_/ \\ _")*) syntax (symbols output) - "op ~=" :: "['a, 'a] => bool" ("(_ \\/ _)" [51, 51] 50) + "op ~=" :: "['a, 'a] => bool" (infix "\" 50) syntax (xsymbols) - "op -->" :: "[bool, bool] => bool" (infixr "\\" 25) + "op -->" :: "[bool, bool] => bool" (infixr "\" 25) syntax (HTML output) - Not :: "bool => bool" ("\\ _" [40] 40) + Not :: "bool => bool" ("\ _" [40] 40) syntax (HOL) "ALL " :: "[idts, bool] => bool" ("(3! _./ _)" [0, 10] 10) @@ -201,6 +201,7 @@ (* theory and package setup *) use "HOL_lemmas.ML" +theorems case_split = case_split_thm [case_names True False] declare trans [trans] (*overridden in theory Calculation*)