let contradiction_tac ~status:(proof,goal)=
Tacticals.then_
(*inutile sia questo che quello prima della chiamata*)
- ~start:
- (PrimitiveTactics.intros_tac ~mknames:(function () -> "boh"))
+ ~start:PrimitiveTactics.intros_tac
~continuation:(Tacticals.then_
~start:(VariousTactics.elim_type_tac ~term:_False)
~continuation:(assumption_tac))
(* now let's change our thesis applying the th and put it with hp *)
- let proof,gl = Tacticals.then_
- ~start:(PrimitiveTactics.apply_tac ~term:!th_to_appl)
- ~continuation:
- (PrimitiveTactics.intros_tac ~mknames:(function () -> fhyp))
- ~status:(s_proof,s_goal) in
+ let proof,gl =
+ Tacticals.then_
+ ~start:(PrimitiveTactics.apply_tac ~term:!th_to_appl)
+ ~continuation:PrimitiveTactics.intros_tac
+ ~status:(s_proof,s_goal) in
let goal = if List.length gl = 1 then List.hd gl
else failwith "a new goal" in