]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/nCicProof.ml
First compiling version
[helm.git] / helm / software / components / ng_paramodulation / nCicProof.ml
index 9223d1bcb12ae0b106bcd5260c5349e0473726f1..b1373819ced7250bd7ae2a01d04a06a874383c67 100644 (file)
        t vl  
     in
     let get_literal id =
-      let (_, lit, vl, proof),_,_ = Terms.get_from_bag id bag in
-      let lit =match lit with 
-          | Terms.Predicate t -> assert false 
-          | Terms.Equation (l,r,ty,_) -> 
+      let (_, nlit, plit, vl, proof),_,_ = Terms.get_from_bag id bag in
+      let lit = match nlit,plit with 
+          | [],[Terms.Equation (l,r,ty,_),_] -> 
               Terms.Node [ Terms.Leaf eqP(); ty; l; r]
+          | _ -> assert false
       in
        lit, vl, proof
     in