diff options
| author | Gaëtan Gilbert | 2019-10-10 16:43:24 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-10-10 16:43:24 +0200 |
| commit | ac862fb5ae8eb15c15f81817d78ba8db4430ea8b (patch) | |
| tree | fa653600716f97b8e6c00ec961c6155a706f3e55 /vernac | |
| parent | b6dcb301a1a34df8e4586e8cde6618e7c895fa08 (diff) | |
| parent | c0e8d5c0ea52cfb0773ce881e6029f1879b1c7cf (diff) | |
Merge PR #10817: Remove redundancy in section hypotheses of kernel entries.
Reviewed-by: SkySkimmer
Diffstat (limited to 'vernac')
| -rw-r--r-- | vernac/lemmas.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/lemmas.ml b/vernac/lemmas.ml index 42d1a1f3fc..c7a588d2b4 100644 --- a/vernac/lemmas.ml +++ b/vernac/lemmas.ml @@ -359,7 +359,7 @@ let save_lemma_admitted ~(lemma : t) : unit = let env = Global.env () in let ids_typ = Environ.global_vars_set env typ in let ids_def = Environ.global_vars_set env pproof in - Some (Environ.keep_hyps env (Id.Set.union ids_typ ids_def)) + Some (Environ.really_needed env (Id.Set.union ids_typ ids_def)) | _ -> None in let universes = Proof_global.get_initial_euctx lemma.proof in let ctx = UState.check_univ_decl ~poly universes udecl in |
