(* With universe polymorphism for inductive types, subtyping of inductivetypesneedsaspecialtreatment:thestandardconversion algorithmdoesnotworkasitonlyknowstodealwithconstraintsof theformalpha=betaormax(alphas,alphas+1)<=beta,while subtypingofinductivetypesinTypegeneratesconstraintsoftheform max(alphas,alphas+1)<=max(betas,betas+1).
Theseconstraintsareanywayvalidbymonotonicityofsubtypingbutwe havetodetectitearlyenoughtoavoidbreakingthestandard
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 und die Messung sind noch experimentell.