]> matita.cs.unibo.it Git - helm.git/commitdiff
Two Meta occurrences where a parameter is accessible only in one of them
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 21 May 2002 15:24:22 +0000 (15:24 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 21 May 2002 15:24:22 +0000 (15:24 +0000)
can now be considered convertible.

helm/ocaml/cic_proof_checking/cicReductionNaif.ml

index fbfe21c447b17dbff47746ea04032315b1218328..86e58aa9faed497c82913b35d90f5f816292f8c5 100644 (file)
@@ -212,9 +212,9 @@ let are_convertible =
               (fun b t1 t2 ->
                 b &&
                  match t1,t2 with
-                    None,None -> true
+                    None,_
+                  | _,None  -> true
                   | Some t1',Some t2' -> aux context t1' t2'
-                  | _,_ -> false
               ) true l1 l2
         | (C.Sort s1, C.Sort s2) -> true (*CSC da finire con gli universi *)
         | (C.Prod (name1,s1,t1), C.Prod(_,s2,t2)) ->