]> 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 37abd6edfc2809c2a91bb9b9bb2e03489f48c8ba..b1373819ced7250bd7ae2a01d04a06a874383c67 100644 (file)
        t vl  
     in
     let get_literal id =
-      let (_, lit, vl, proof),_ = Terms.M.find 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