]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_paramodulation/pp.ml
Orientation of equalities is now displayed.
[helm.git] / matita / components / ng_paramodulation / pp.ml
index ddf5726c49d0f6b479958a4e48ca9f969440f30d..64af9ab17cdef4ac899e3d4f8f44ecf95c83ab10 100644 (file)
 
 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
 
+let string_of_comparison = function
+  | Terms.Lt -> "=<="
+  | Terms.Gt -> "=>="
+  | Terms.Eq -> "==="
+  | Terms.Incomparable -> "=?="
+  | Terms.Invertible -> "=<->="
+
 module Pp (B : Terms.Blob) = struct
 
 (* Main pretty printing functions *)
@@ -80,13 +87,6 @@ let pp_proof bag ~formatter:f p =
     Format.fprintf f "@]"
 ;;
 
-let string_of_comparison = function
-  | Terms.Lt -> "=<="
-  | Terms.Gt -> "=>="
-  | Terms.Eq -> "==="
-  | Terms.Incomparable -> "=?="
-  | Terms.Invertible -> "=<->="
-
 let pp_unit_clause ~formatter:f c =
   let (id, l, vars, proof) = c in
     Format.fprintf f "Id : %3d, " id ;