X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_paramodulation%2Fparamod.ml;h=66a8011870290ae4c266b5a45b73790823ab2b3e;hb=5431da8145e4a84596d312fc02b552881d119100;hp=86a964c1487f36a7f72deb0c8f2608f621ec2aac;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/components/ng_paramodulation/paramod.ml b/matita/components/ng_paramodulation/paramod.ml index 86a964c14..66a801187 100644 --- a/matita/components/ng_paramodulation/paramod.ml +++ b/matita/components/ng_paramodulation/paramod.ml @@ -293,14 +293,22 @@ module Paramod (B : Orderings.Blob) = struct * new = supright e'' A'' * * new'= demod A'' new * * P' = P + new' *) - debug (lazy "Forward infer step..."); + debug (lazy ("Forward infer step for "^ (Pp.pp_unit_clause current))); debug (lazy("Number of actives : " ^ (string_of_int (List.length (fst actives))))); noprint (lazy (pp_clauses actives passives)); + let _ = noprint + (lazy + ("Actives before simplification:" ^ (String.concat ";\n" + (List.map Pp.pp_unit_clause (fst actives))))) in match Sup.keep_simplified current actives bag maxvar with - | _,None -> s + | _,None -> debug(lazy("None")); s | bag,Some (current,actives) -> debug (lazy ("simplified to " ^ (Pp.pp_unit_clause current))); + let _ = noprint + (lazy + ("Actives after simplification:" ^ (String.concat ";\n" + (List.map Pp.pp_unit_clause (fst actives))))) in let bag, maxvar, actives, new_clauses = Sup.infer_right bag maxvar current actives in @@ -490,7 +498,7 @@ module Paramod (B : Orderings.Blob) = struct remove_passive_goal g_passives g in let current = snd g in let _ = - debug (lazy("Selected goal : " ^ Pp.pp_unit_clause current)) + debug (lazy("Selected goal gn: " ^ Pp.pp_unit_clause current)) in (* we work both on the original goal and the demodulated one*) let acc = check_and_infer ~no_demod:false iterno acc current