# HG changeset patch # User wenzelm # Date 1184671157 -7200 # Node ID bfb3b1e1d766670033828b6591dc72fcba6e5e0f # Parent 2acd9d79d855c9fd8b592440a410d728656ea99d tuned specifications; diff -r 2acd9d79d855 -r bfb3b1e1d766 src/HOL/ex/Higher_Order_Logic.thy --- a/src/HOL/ex/Higher_Order_Logic.thy Mon Jul 16 21:39:56 2007 +0200 +++ b/src/HOL/ex/Higher_Order_Logic.thy Tue Jul 17 13:19:17 2007 +0200 @@ -33,26 +33,26 @@ judgment Trueprop :: "o \ prop" ("_" 5) -consts - imp :: "o \ o \ o" (infixr "\" 25) +axiomatization + imp :: "o \ o \ o" (infixr "\" 25) and All :: "('a \ o) \ o" (binder "\" 10) - -axioms - impI [intro]: "(A \ B) \ A \ B" - impE [dest, trans]: "A \ B \ A \ B" - allI [intro]: "(\x. P x) \ \x. P x" +where + impI [intro]: "(A \ B) \ A \ B" and + impE [dest, trans]: "A \ B \ A \ B" and + allI [intro]: "(\x. P x) \ \x. P x" and allE [dest]: "\x. P x \ P a" subsubsection {* Extensional equality *} -consts +axiomatization equal :: "'a \ 'a \ o" (infixl "=" 50) +where + refl [intro]: "x = x" and + subst: "x = y \ P x \ P y" -axioms - refl [intro]: "x = x" - subst: "x = y \ P x \ P y" - ext [intro]: "(\x. f x = g x) \ f = g" +axiomatization where + ext [intro]: "(\x. f x = g x) \ f = g" and iff [intro]: "(A \ B) \ (B \ A) \ A = B" theorem sym [sym]: "x = y \ y = x" @@ -101,7 +101,7 @@ definition Ex :: "('a \ o) \ o" (binder "\" 10) where - "Ex \ \P. \C. (\x. P x \ C) \ C" + "\x. P x \ \C. (\x. P x \ C) \ C" abbreviation not_equal :: "'a \ 'a \ o" (infixl "\" 50) where