diff options
| author | Pierre-Marie Pédrot | 2018-06-23 15:52:48 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-06-23 15:52:48 +0200 |
| commit | ddd99ca6b4a23286405ec995379e4b07d42b0f78 (patch) | |
| tree | e2e328b78d9fca7383973bf46014410ea08bac4f /engine/evarutil.mli | |
| parent | 38b180984b09840e0b1023cc441917acc77dd438 (diff) | |
| parent | 994f869496b3edd76a903cac16b13e8b6f247d63 (diff) | |
Merge PR #7827: [engine] safe [add_unification_pb] interface
Diffstat (limited to 'engine/evarutil.mli')
| -rw-r--r-- | engine/evarutil.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/evarutil.mli b/engine/evarutil.mli index c17f3d1683..db638be9e2 100644 --- a/engine/evarutil.mli +++ b/engine/evarutil.mli @@ -217,6 +217,14 @@ val compare_cumulative_instances : Reduction.conv_pb -> Univ.Variance.t array -> val compare_constructor_instances : evar_map -> Univ.Instance.t -> Univ.Instance.t -> evar_map +(** {6 Unification problems} *) +type unification_pb = conv_pb * env * constr * constr + +(** [add_unification_pb ?tail pb sigma] + Add a unification problem [pb] to [sigma], if not already present. + Put it at the end of the list if [tail] is true, by default it is false. *) +val add_unification_pb : ?tail:bool -> unification_pb -> evar_map -> evar_map + (** {6 Removing hyps in evars'context} raise OccurHypInSimpleClause if the removal breaks dependencies *) |
