X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fpp.ml;h=29f257697a0cd50bc5c887baf5c23a1eef6c50af;hb=bd3680d6b90f6c8bdda4eb4a915a86a0e806de63;hp=b90c08d385db330b97e903dae90a432041522aea;hpb=96c91e470f670018df67c9cbff62fa06e3b57c5e;p=helm.git diff --git a/helm/software/components/ng_paramodulation/pp.ml b/helm/software/components/ng_paramodulation/pp.ml index b90c08d38..29f257697 100644 --- a/helm/software/components/ng_paramodulation/pp.ml +++ b/helm/software/components/ng_paramodulation/pp.ml @@ -86,18 +86,18 @@ let string_of_comparison = function let pp_unit_clause ~formatter:f c = let (id, l, vars, proof) = c in - Format.fprintf f "Id : %d, " id ; + Format.fprintf f "Id : %3d, " id ; match l with | Terms.Predicate t -> pp_foterm f t | Terms.Equation (lhs, rhs, ty, comp) -> - Format.fprintf f "{"; + Format.fprintf f "@[{"; pp_foterm f ty; - Format.fprintf f "}: "; + Format.fprintf f "}:@;@["; pp_foterm f lhs; - Format.fprintf f " %s " (string_of_comparison comp); + Format.fprintf f "@;%s@;" (string_of_comparison comp); pp_foterm f rhs; - Format.fprintf f " [%s] by %s" + Format.fprintf f "@]@;[%s] by %s@]" (String.concat ", " (List.map string_of_int vars)) (match proof with | Terms.Exact _ -> "axiom"