diff options
| author | aspiwack | 2013-11-02 15:39:08 +0000 |
|---|---|---|
| committer | aspiwack | 2013-11-02 15:39:08 +0000 |
| commit | b9b1122ff82cd9e8bb9782e7c4c5d39bf0df7488 (patch) | |
| tree | 53e928b97f5e355a69f17734af9d9c262ccf5052 /tactics/equality.ml | |
| parent | c25d1d8967dbdadbad85e22c50e1b63f6091e1fe (diff) | |
Made Proofview.Goal.hyps a named_context.
There was really no point in having it be a named_context val. The tactics are not going to access the vm cache. Only vm_compute will.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@17007 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/equality.ml')
| -rw-r--r-- | tactics/equality.ml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index 14770af005..36cb55e5b4 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -1545,7 +1545,6 @@ let subst_one dep_proof_ok x (hyp,rhs,dir) = let env = Proofview.Goal.env gl in let hyps = Proofview.Goal.hyps gl in let concl = Proofview.Goal.concl gl in - let hyps = Environ.named_context_of_val hyps in (* The set of hypotheses using x *) let depdecls = let test (id,_,c as dcl) = @@ -1587,7 +1586,6 @@ let subst_one dep_proof_ok x (hyp,rhs,dir) = let subst_one_var dep_proof_ok x = Proofview.Goal.enter begin fun gl -> let hyps = Proofview.Goal.hyps gl in - let hyps = Environ.named_context_of_val hyps in let (_,xval,_) = Tacmach.New.pf_get_hyp x gl in (* If x has a body, simply replace x with body and clear x *) if not (Option.is_empty xval) then Proofview.V82.tactic (tclTHEN (unfold_body x) (clear [x])) else @@ -1686,7 +1684,6 @@ let rewrite_multi_assumption_cond cond_eq_term cl = in Proofview.Goal.enter begin fun gl -> let hyps = Proofview.Goal.hyps gl in - let hyps = Environ.named_context_of_val hyps in arec hyps gl end |
