if n = 0 then ""
else (" " ^ (blanks (n-1)));;
-let rec pproof (p: Cic.annterm Cic2content.proof) indent =
- let module Con = Cic2content in
+let rec pproof (p: Cic.annterm Content.proof) indent =
+ let module Con = Content in
let new_indent =
(match p.Con.proof_name with
Some s ->
List.iter (pcontext_element indent) c
and pcontext_element indent =
- let module Con = Cic2content in
+ let module Con = Content in
function
`Declaration d ->
(match d.Con.dec_name with
List.iter(function p -> (pproof p indent)) ac
and pconclude concl indent =
- let module Con = Cic2content in
+ let module Con = Content in
prerr_endline ((blanks indent) ^ "Apply method " ^ concl.Con.conclude_method ^ " to");flush stderr;
pargs concl.Con.conclude_args indent;
match concl.Con.conclude_conclusion with
List.iter (parg indent) args
and parg indent =
- let module Con = Cic2content in
+ let module Con = Content in
function
Con.Aux n -> prerr_endline ((blanks (indent+1)) ^ (string_of_int n));flush stderr
| Con.Premise prem -> prerr_endline ((blanks (indent+1)) ^ "Premise");flush stderr