RequireImport TestSuite.admit. (* File reduced by coq-bug-finder from original input, then from 5968 lines to 11933lines,thenfrom11239linesto11231lines,thenfrom10365linesto446 lines,thenfrom456linesto379lines,thenfrom391linesto373lines,then from369linesto351lines,thenfrom350linesto340lines,thenfrom348 linesto320lines,thenfrom328linesto302lines,thenfrom332linesto21
lines *) Set Universe Polymorphism. Module short.
Record foo := { bar : Type }.
Coercion baz (x : foo@{Set}) : Set := bar x. Goal True. Proof.
Fail pose ({| bar := Set |} : Type). (* check that it fails *) trypose ({| bar := Set |} : Type). (* Anomaly: apply_coercion_args: mismatch between arguments and coercion.
Please report. *) Admitted. End short.
Module long. Axiom admit : forall {T}, T. Definition UU := Set. Definition UU' := Type. Definition hSet:= sigT (fun X : UU' => admit) . Definition pr1hSet:= @projT1 UU (fun X : UU' => admit) : hSet -> Type.
Coercion pr1hSet: hSet >-> Sortclass. Axiom binop : UU -> Type. Axiom setwithbinop : Type. Goal True. Proof.
Fail pose (( @projT1 _ ( fun X : hSet@{i j k} => binop X ) ) : _ -> hSet). (* check that it fails *) trypose (( @projT1 _ ( fun X : hSet@{i j k} => binop X ) ) : _ -> hSet). (* check that it's not an anomaly *) Admitted. End long.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-09-28)
¤
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.