B.b_hv []
(make_concl "that is equivalent to" concl ::
if is_top_down then [B.b_space ; B.b_kw "done";
- B.Text([],".")] else [])
+ B.Text([],".")] else [B.Text([],".")])
else if conclude.Con.conclude_method = "FalseInd" then
(* false ind is in charge to add the conclusion *)
falseind conclude
B.V
([],
[make_concl "we need to prove" expected;
- make_concl "or equivalently" synth;
- B.Text([],".");
+ B.H ([],[make_concl "or equivalently" synth; B.Text([],".")]);
proof2pres true subproof false])
else if conclude.Con.conclude_method = "BU_Conversion" then
assert false
| Con.ArgMethod s -> B.b_kw "a method???") in
(make_concl "we proceed by induction on" arg) in
let to_prove =
- (make_concl "to prove" proof_conclusion) in
- B.V ([], induction_on::to_prove:: B.Text([],".")::(make_cases args_for_cases))
+ B.H ([], [make_concl "to prove" proof_conclusion ; B.Text([],".")]) in
+ B.V ([], induction_on::to_prove::(make_cases args_for_cases))
and make_cases l = List.map make_case l
p.Con.proof_apply_context body true
(p.Con.proof_conclude.Con.conclude_method = "BU_Conversion")
]) in
- B.V ([], pattern::induction_hypothesis@[asubconcl;B.Text([],".");presacontext])
+ B.V ([], pattern::induction_hypothesis@[B.H ([],[asubconcl;B.Text([],".")]);presacontext])
| _ -> assert false
and falseind conclude =
[Some "helm","xref","id"]
([ B.b_h [] (B.b_kw ("theorem " ^ name) ::
params2pres params @ [B.b_kw ":"]);
- B.indent (term2pres thesis) ; B.b_kw "." ] @
+ B.H ([],[B.indent (term2pres thesis) ; B.b_kw "." ])] @
metasenv2pres term2pres metasenv @
[proof ; B.b_kw "qed."])
| `Def (_, ty, `Definition body) ->