Skip to content

Global sorts don't block template polymorphism #21664

@yannl35133

Description

@yannl35133

Description of the problem

Global sorts don't block template polymorphism, even though it can't work.

Small Rocq / Coq file to reproduce the bug

Sort s.
Inductive I : Type@{s; _} := C.
(* Universe inconsistency. Cannot enforce Prop <= Type@{s | Set}. *)

Version of Rocq / Coq where this bug occurs

9.1,9.2

Interface of Rocq / Coq where this bug occurs

No response

Last version of Rocq / Coq where the bug did not occur

before global sorts?

Metadata

Metadata

Assignees

Labels

kind: bugAn error, flaw, fault or unintended behaviour.part: sort polymorphismThe sorts subsystem of the universe system.part: universesThe universe system.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions