diff options
| author | Enrico Tassi | 2020-04-22 19:08:56 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2020-04-29 09:55:00 +0200 |
| commit | 7a881b39a264a8139aece0b5ece787a36b73104d (patch) | |
| tree | ee6ff1d65aecf5e050f4e2676037d76a59d93d01 /engine/uState.mli | |
| parent | 3c0ba7afdf289bc1c50f3458d6c5da685f0b160c (diff) | |
[univ] API to demote global universes
Diffstat (limited to 'engine/uState.mli')
| -rw-r--r-- | engine/uState.mli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/uState.mli b/engine/uState.mli index cd1c9a174e..6707826aae 100644 --- a/engine/uState.mli +++ b/engine/uState.mli @@ -110,6 +110,11 @@ val merge : ?loc:Loc.t -> sideff:bool -> rigid -> t -> Univ.ContextSet.t -> t val merge_subst : t -> UnivSubst.universe_opt_subst -> t val emit_side_effects : Safe_typing.private_constants -> t -> t +val demote_global_univs : Environ.env -> t -> t +(** Removes from the uctx_local part of the UState the universes and constraints + that are present in the universe graph in the input env (supposedly the + global ones *) + val demote_seff_univs : Univ.LSet.t -> t -> t (** Mark the universes as not local any more, because they have been globally declared by some side effect. You should be using |
