diff options
Diffstat (limited to 'proofs/refiner.mli')
-rw-r--r-- | proofs/refiner.mli | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/proofs/refiner.mli b/proofs/refiner.mli index 2fa0b178c..c0d047edb 100644 --- a/proofs/refiner.mli +++ b/proofs/refiner.mli @@ -52,6 +52,16 @@ val unTAC : tactic -> goal sigma -> proof_tree sigma val local_Constraints : tactic +(* [frontier_map f n p] applies f on the n-th open subgoal of p and + rebuilds proof-tree. + n=1 for first goal, n negative counts from the right *) +val frontier_map : + (proof_tree -> proof_tree) -> int -> proof_tree -> proof_tree + +(* [frontier_mapi f p] applies (f i) on the i-th open subgoal of p. *) +val frontier_mapi : + (int -> proof_tree -> proof_tree) -> proof_tree -> proof_tree + (*s Tacticals. *) (* [tclIDTAC] is the identity tactic *) |