From 538b77dbb3b7799dc4d2e18033fc4fbf2eb26f7f Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 30 Sep 2014 09:13:40 +0200 Subject: Add syntax for naming new goals in refine: writing ?[id] instead of _ will name the goal id; writing ?[?id] will use the first fresh name available based with prefix id. Tactics intro, rename, change, ... from logic.ml now preserve goal name; cut preserves goal name on its main premise. --- proofs/goal.mli | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'proofs/goal.mli') diff --git a/proofs/goal.mli b/proofs/goal.mli index 4d4d0c2eb..d31a51fbd 100644 --- a/proofs/goal.mli +++ b/proofs/goal.mli @@ -94,10 +94,13 @@ module V82 : sig stuff. *) val build : Evd.evar -> goal - (* Instantiates a goal with an open term *) val partial_solution : Evd.evar_map -> goal -> Term.constr -> Evd.evar_map - + + (* Instantiates a goal with an open term, reusing name of goal for + second goal *) + val partial_solution_to : Evd.evar_map -> goal -> goal -> Term.constr -> Evd.evar_map + (* Principal part of the weak-progress tactical *) val weak_progress : goal list Evd.sigma -> goal Evd.sigma -> bool -- cgit v1.2.3