X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2FnCicProof.ml;fp=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2FnCicProof.ml;h=b1373819ced7250bd7ae2a01d04a06a874383c67;hb=bebc917ebff72c2e235cb3062a4c94f10a9aab27;hp=9223d1bcb12ae0b106bcd5260c5349e0473726f1;hpb=b519aa529779c0a4625eb43fa9557862d8cc6617;p=helm.git diff --git a/helm/software/components/ng_paramodulation/nCicProof.ml b/helm/software/components/ng_paramodulation/nCicProof.ml index 9223d1bcb..b1373819c 100644 --- a/helm/software/components/ng_paramodulation/nCicProof.ml +++ b/helm/software/components/ng_paramodulation/nCicProof.ml @@ -120,11 +120,11 @@ 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