X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FfourierR.ml;h=8b910bded8ebabe6c5695016930b4ef4325c721b;hb=91af0f7726bcfcd72229f19c239eabfda4532347;hp=32dfb5db27ed2529000dcb39411ef0aae1e3c376;hpb=afa05d30f20de12e031c3e5c3e5c33c19c42a7d8;p=helm.git diff --git a/helm/ocaml/tactics/fourierR.ml b/helm/ocaml/tactics/fourierR.ml index 32dfb5db2..8b910bded 100644 --- a/helm/ocaml/tactics/fourierR.ml +++ b/helm/ocaml/tactics/fourierR.ml @@ -23,6 +23,8 @@ * http://cs.unibo.it/helm/. *) +(* $Id$ *) + (******************** THE FOURIER TACTIC ***********************) @@ -194,8 +196,8 @@ let rational_of_const = rational_of_term;; *) let fails f a = try - let tmp = (f a) in - false + ignore (f a); + false with _-> true ;; @@ -660,11 +662,7 @@ let tac_zero_inf_false gl (n,d) = 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