* http://cs.unibo.it/helm/.
*)
+(* $Id$ *)
+
(******************** THE FOURIER TACTIC ***********************)
*)
let fails f a =
try
- let tmp = (f a) in
- false
+ ignore (f a);
+ false
with
_-> true
;;
apply_tactic (PrimitiveTactics.apply_tac ~term:_Rnot_lt0) status
else
apply_tactic (Tacticals.then_
- ~start:( mk_tactic (fun status ->
- let (proof, goal) = status in
- let curi,metasenv,pbo,pty = proof in
- let metano,context,ty = CicUtil.lookup_meta goal metasenv in
- apply_tactic (PrimitiveTactics.apply_tac ~term:_Rle_not_lt) status))
+ ~start:(mk_tactic (apply_tactic (PrimitiveTactics.apply_tac ~term:_Rle_not_lt)))
~continuation:(tac_zero_infeq_pos gl (-n,d)))
status
in
let tcl_fail a (proof,goal) =
match a with
- 1 -> raise (ProofEngineTypes.Fail "fail-tactical")
+ 1 -> raise (ProofEngineTypes.Fail (lazy "fail-tactical"))
| _ -> (proof,[goal])
;;
debug ("invoco fourier_tac sul goal "^string_of_int(s_goal)^" e contesto:\n");
debug_pcontext s_context;
- let fhyp = String.copy "new_hyp_for_fourier" in
-
(* here we need to negate the thesis, but to do this we need to apply the
right theoreme,so let's parse our thesis *)