aboutsummaryrefslogtreecommitdiff
path: root/proofs/tacmach.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-06-26 12:43:23 +0200
committerPierre-Marie Pédrot2020-06-29 15:17:20 +0200
commitf34dcb97406611704c93970ea623d6a8587e5ba8 (patch)
tree5a636c498c4c3fad7c15cc266dd8a386b85123e1 /proofs/tacmach.ml
parente5b355107d985d7efe2976b9eee9b6c182e25f24 (diff)
Moving the remaining Refiner functions to Tacmach.
Diffstat (limited to 'proofs/tacmach.ml')
-rw-r--r--proofs/tacmach.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/proofs/tacmach.ml b/proofs/tacmach.ml
index 0bac0b0424..ecdbfa5118 100644
--- a/proofs/tacmach.ml
+++ b/proofs/tacmach.ml
@@ -29,10 +29,10 @@ let re_sig it gc = { it = it; sigma = gc; }
type tactic = Proofview.V82.tac
-let sig_it = Refiner.sig_it
-let project = Refiner.project
-let pf_env = Refiner.pf_env
-let pf_hyps = Refiner.pf_hyps
+let sig_it x = x.it
+let project x = x.sigma
+let pf_env gls = Global.env_of_context (Goal.V82.hyps (project gls) (sig_it gls))
+let pf_hyps gls = EConstr.named_context_of_val (Goal.V82.hyps (project gls) (sig_it gls))
let test_conversion env sigma pb c1 c2 =
Reductionops.check_conv ~pb env sigma c1 c2