diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2014-06-18 17:16:59 +0200 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-06-18 17:21:21 +0200 |
commit | 23f4804b50307766219392229757e75da9aa41d9 (patch) | |
tree | 4df833759b600b1a3d638bdbc65cf5060eb3e24f /proofs/proof.mli | |
parent | 77839ae306380e99a8ceac0bf26ff86ec9159346 (diff) |
Proofs now take and return an evar_universe_context, simplifying interfaces
and avoiding explicit substitutions and merging of contexts, e.g. in obligations.ml.
The context produced by typechecking a statement is passed in the proof, allowing the
universe name context to be correctly folded as well. Mainly an API cleanup.
Diffstat (limited to 'proofs/proof.mli')
-rw-r--r-- | proofs/proof.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proofs/proof.mli b/proofs/proof.mli index f2b64fb18..a77b74124 100644 --- a/proofs/proof.mli +++ b/proofs/proof.mli @@ -51,9 +51,9 @@ val proof : proof -> (*** General proof functions ***) -val start : Evd.evar_map -> (Environ.env * Term.types Univ.in_universe_context_set) list -> proof +val start : Evd.evar_map -> (Environ.env * Term.types) list -> proof val dependent_start : Evd.evar_map -> Proofview.telescope -> proof -val initial_goals : proof -> (Term.constr * Term.types Univ.in_universe_context_set) list +val initial_goals : proof -> (Term.constr * Term.types) list (* Returns [true] if the considered proof is completed, that is if no goal remain to be considered (this does not require that all evars have been solved). *) |