]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/logic/equality.ma
Lookup_in_library implemented for new objects. Basically, this stupid (??),
[helm.git] / helm / software / matita / library / logic / equality.ma
index 308652d7dfa85af19a15c8d047d2063aa0572b18..6e38ae71e80087feea60c5f27d91f21ffa6361e1 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                             *)
+(*       ___                                                               *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
@@ -17,13 +17,9 @@ include "higher_order_defs/relations.ma".
 inductive eq (A:Type) (x:A) : A \to Prop \def
     refl_eq : eq A x x.
 
-(*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)).
+interpretation "leibnitz's equality" 'eq t x y = (eq t x y).
+
+interpretation "leibnitz's non-equality" 'neq t x y = (Not (eq t x y)).
 
 theorem eq_rect':
  \forall A. \forall x:A. \forall P: \forall y:A. x=y \to Type.
@@ -81,8 +77,8 @@ intros.elim H.apply refl_eq.
 qed.
 
 (*  *)
-coercion cic:/matita/logic/equality/sym_eq.con.
-coercion cic:/matita/logic/equality/eq_f.con.
+coercion sym_eq.
+coercion eq_f.
 (* *)
 
 default "equality"