diff options
| author | Maxime Dénès | 2020-08-23 17:52:15 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2020-08-24 15:39:08 +0200 |
| commit | a970072a64348a1b5af1cd45a138da819ef0a8d2 (patch) | |
| tree | 00f3a964bb3079fa1495341d11d61a5dc158617a /proofs/proof.ml | |
| parent | 0f5bd6a18d51a412ee3c8309b891254365e48b91 (diff) | |
Update sigma instead of erasing it in `update_global_env`
Diffstat (limited to 'proofs/proof.ml')
| -rw-r--r-- | proofs/proof.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proofs/proof.ml b/proofs/proof.ml index a183fa7797..38fcdd6e5f 100644 --- a/proofs/proof.ml +++ b/proofs/proof.ml @@ -356,6 +356,10 @@ let compact p = let entry, proofview = Proofview.compact p.entry p.proofview in { p with proofview; entry } +let update_sigma_env p env = + let proofview = Proofview.Unsafe.update_sigma_env p.proofview env in + { p with proofview } + (*** Function manipulation proof extra informations ***) (*** Tactics ***) |
