From 6608e0a3d48aae26f84087da5e4d60da8341bca5 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Fri, 17 Aug 2018 13:58:26 +0200 Subject: Axiomatizations should be definitions --- EqualProps.thy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'EqualProps.thy') diff --git a/EqualProps.thy b/EqualProps.thy index 5eea920..81f038f 100644 --- a/EqualProps.thy +++ b/EqualProps.thy @@ -15,8 +15,7 @@ begin section \Symmetry / Path inverse\ -axiomatization inv :: "Term \ Term" ("_\" [1000] 1000) - where inv_def: "inv \ \p. ind\<^sub>= (\x. refl(x)) p" +definition inv :: "Term \ Term" ("_\" [1000] 1000) where "p\ \ ind\<^sub>= (\x. refl(x)) p" text " In the proof below we begin by using path induction on \p\ with the application of \rule Equal_elim\, telling Isabelle the specific substitutions to use. @@ -48,8 +47,7 @@ text " Raw composition function, of type \\x:A. \y:A. x =\<^sub>A y \ (\z:A. y =\<^sub>A z \ x =\<^sub>A z)\ polymorphic over the type \A\. " -axiomatization rpathcomp :: Term where - rpathcomp_def: "rpathcomp \ \<^bold>\x y p. ind\<^sub>= (\_. \<^bold>\z q. ind\<^sub>= (\x. refl(x)) q) p" +definition rpathcomp :: Term where "rpathcomp \ \<^bold>\x y p. ind\<^sub>= (\_. \<^bold>\z q. ind\<^sub>= (\x. refl(x)) q) p" text " More complicated proofs---the nested path inductions require more explicit step-by-step rule applications: -- cgit v1.2.3