]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/library/logic/equality.ma
added \neq notation
[helm.git] / helm / matita / library / logic / equality.ma
index a561827f8a83e1db22e18af1d836c10d572f3509..84f7df2e66144c8a90a74a757af063c9b674709f 100644 (file)
@@ -15,6 +15,7 @@
 set "baseuri" "cic:/matita/logic/equality/".
 
 include "higher_order_defs/relations.ma".
+include "logic/connectives.ma".
 
 inductive eq (A:Type) (x:A) : A \to Prop \def
     refl_eq : eq A x x.
@@ -22,6 +23,10 @@ inductive eq (A:Type) (x:A) : A \to Prop \def
 (*CSC: the URI must disappear: there is a bug now *)
 interpretation "leibnitz's equality"
    'eq x y = (cic:/matita/logic/equality/eq.ind#xpointer(1/1) _ x y).
+(*CSC: the URI must disappear: there is a bug now *)
+interpretation "leibnitz's non-equality"
+  'neq x y = (cic:/matita/logic/connectives/Not.con
+    (cic:/matita/logic/equality/eq.ind#xpointer(1/1) _ x y)).
 
 theorem reflexive_eq : \forall A:Type. reflexive A (eq A).
 simplify.intros.apply refl_eq.