removed odd associativity of ==
authornipkow
Wed, 19 Dec 2012 22:26:26 +0100
changeset 50603 3e3c2af5e8a5
parent 50599 e129fcc720c1
child 50604 4f840e2e362e
child 50605 620515b73a77
removed odd associativity of ==
src/Pure/Pure.thy
src/Pure/pure_thy.ML
--- a/src/Pure/Pure.thy	Wed Dec 19 16:41:55 2012 +0100
+++ b/src/Pure/Pure.thy	Wed Dec 19 22:26:26 2012 +0100
@@ -146,7 +146,7 @@
 qed
 
 lemma imp_conjunction:
-  "(PROP A ==> PROP B &&& PROP C) == (PROP A ==> PROP B) &&& (PROP A ==> PROP C)"
+  "(PROP A ==> PROP B &&& PROP C) == ((PROP A ==> PROP B) &&& (PROP A ==> PROP C))"
 proof
   assume conj: "PROP A ==> PROP B &&& PROP C"
   show "(PROP A ==> PROP B) &&& (PROP A ==> PROP C)"
--- a/src/Pure/pure_thy.ML	Wed Dec 19 16:41:55 2012 +0100
+++ b/src/Pure/pure_thy.ML	Wed Dec 19 22:26:26 2012 +0100
@@ -177,7 +177,7 @@
   #> Sign.add_modesyntax_i ("HTML", false)
    [("_lambda", typ "pttrns => 'a => logic", Mixfix ("(3\\<lambda>_./ _)", [0, 3], 3))]
   #> Sign.add_consts_i
-   [(Binding.name "==", typ "'a => 'a => prop", Infixr ("==", 2)),
+   [(Binding.name "==", typ "'a => 'a => prop", Infix ("==", 2)),
     (Binding.name "==>", typ "prop => prop => prop", Mixfix ("(_/ ==> _)", [2, 1], 1)),
     (Binding.name "all", typ "('a => prop) => prop", Binder ("!!", 0, 0)),
     (Binding.name "prop", typ "prop => prop", NoSyn),