]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_proof_checking/cicReductionNaif.ml
Two Meta occurrences where a parameter is accessible only in one of them
[helm.git] / 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)) ->