(* With universe polymorphism for inductive types, subtyping of inductive types needs a special treatment: the standard conversion algorithm does not work as it only knows to deal with constraints of the form alpha = beta or max(alphas, alphas+1) <= beta, while subtyping of inductive types in Type generates constraints of the form max(alphas, alphas+1) <= max(betas, betas+1).
These constraints are anyway valid by monotonicity of subtyping but we have to detect it early enough to avoid breaking the standard
algorithm for constraints on algebraic universes. *)
ModuleType T.
Parameter A : Type(* Top.1 *) .
Inductive L : Type(* max(Top.1,1) *) :=
| L0
| L1 : (A -> Prop) -> L.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.