]> matita.cs.unibo.it Git - helm.git/commitdiff
eq moved to CProp
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 8 Jul 2009 22:43:16 +0000 (22:43 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 8 Jul 2009 22:43:16 +0000 (22:43 +0000)
In Prop a unification problem was not solved, but I suspect that that was
a bug...

helm/software/matita/nlibrary/algebra/magmas.ma
helm/software/matita/nlibrary/logic/equality.ma

index 0d4d7d6b10e06f689f271e612c9f3d1bc106a5b7..28b3795c88098743ba2648392ff77ef04c1244b1 100644 (file)
@@ -71,5 +71,6 @@ ndefinition mm_image:
   | #x; #y; *; #x0; #Hx0; *; #y0; #Hy0; nwhd;
     napply (ex_intro ????)
      [ napply (op ? x0 y0) 
-     | nelim daemon ]##]
+     | napply (conj ????);
+       nelim daemon ]##]
 nqed.
\ No newline at end of file
index d940b97c0eec3fcc80694496fdc9a1c9022ed2b8..ff8cc5a1392c5393d997f2f85dd0da48e8397942 100644 (file)
@@ -14,9 +14,9 @@
 
 include "logic/connectives.ma".
 
-ninductive eq (A: Type) (a: A) : A → Prop ≝
+ninductive eq (A: Type) (a: A) : A → CProp ≝
  refl: eq A a a.
  
 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)).
\ No newline at end of file
+interpretation "leibnitz's non-equality" 'neq t x y = (Not (eq t x y)).