-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #18640: Revert "Stop doing early universe minimization and n…
…f_evar in abstract" Reviewed-by: ppedrot Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- **Fixed:** | ||
undeclared universe with multiple uses of :tacn:`abstract` | ||
(`#18640 <https://github.com/coq/coq/pull/18640>`_, | ||
fixes `#18636 <https://github.com/coq/coq/issues/18636>`_, | ||
by Gaëtan Gilbert). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Polymorphic Axiom array@{u} : Type@{u} -> Type@{u}. | ||
Polymorphic Axiom get : forall {A} (t : array A), A. | ||
|
||
Lemma foo (t: array nat): True. | ||
Proof. | ||
assert True by abstract exact I. | ||
assert (v := get t). | ||
abstract exact I. (* Universe inconsistency. Cannot enforce Top.5 = Set because Set < Top.5. *) | ||
Qed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters