in
let o = PT.Theorem (`Theorem,name,f,None) in
statements @ [
- GA.Executable(
- floc,GA.Command(
- floc,GA.Obj(floc,o)))],
+ GA.Executable(floc,GA.Command(floc,GA.Obj(floc,o)));
+ GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
+ GA.Intros (floc,None,[])),Some (GA.Dot(floc))));
+ GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
+ GA.Auto (floc,None,None,Some "paramodulation",None)),
+ Some (GA.Dot(floc))));
+ GA.Executable(floc,GA.Command(floc, GA.Qed(floc)))],
context
| A.Definition
| A.Lemma
in
let pp t =
(* for a correct pp we should disambiguate the term... *)
- let term_pp x =
- BoxPp.render_to_string 80 (CicNotationPres.render (Hashtbl.create 1)
- (TermContentPres.pp_ast x))
- in
+ let term_pp = CicNotationPp.pp_term in
let lazy_term_pp = fun x -> assert false in
let obj_pp = CicNotationPp.pp_obj in
print_endline
GA.Set(floc,"baseuri","cic:/matita/TPTP/" ^ !inputfile)));
GA.Executable(floc,GA.Command(floc, GA.Include(floc,"legacy/coq.ma")))]
in
- let extra_statements_end = [
- GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
- GA.Intros (floc,None,[])),Some (GA.Dot(floc))));
- GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
- GA.Auto (floc,None,None,Some "paramodulation",None)),
- Some (GA.Dot(floc))));
- GA.Executable(floc,GA.Command(floc, GA.Qed(floc)))]
- in
List.iter pp extra_statements_start;
print_endline
(LexiconAstPp.pp_command
(LA.Alias(floc,
LA.Ident_alias("eq","cic:/Coq/Init/Logic/eq.ind#xpointer(1/1)"))) ^ ".");
List.iter pp grafite_ast_statements;
- List.iter pp extra_statements_end;
exit 0