diff options
| author | coqbot-app[bot] | 2020-08-25 08:32:20 +0000 |
|---|---|---|
| committer | GitHub | 2020-08-25 08:32:20 +0000 |
| commit | bd4791ff350bef9dc45b42b2ae77769625644c4f (patch) | |
| tree | 02fb8f7c029ea53839714688edd8b888af9a3db8 /proofs/proof.ml | |
| parent | 016bafd7519859737610810df77f72bf812c542a (diff) | |
| parent | a970072a64348a1b5af1cd45a138da819ef0a8d2 (diff) | |
Merge PR #12878: Update sigma instead of erasing it in `update_global_env`
Reviewed-by: SkySkimmer
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 ***) |
