Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 608 B image not shown  

Quelle  bug_17487_1.v   Sprache: Coq

 
Section Definitions.

Variable A : Type.

Fixpoint vector (n:nat) {struct n} : Type :=
match n with
| 0  => A
| S n => (A * (vector n))%type
end.

End Definitions.

Module Test.

Parameter A : Type.

Definition vectorA : nat -> Type.
Proof.
apply (vector A).
Defined.

(** Check that head normalization of vectorA to an inductive with refolding
    correctly keeps universe constraints. See also #5645. *)

Goal forall dim (v : vectorA (S dim)), True.
Proof.
intros dim.
intros [a v].
constructor.
Qed(* The 2nd term has type "Type@{vector.u0}" which should be coercible to "Type@{prod.u1}". *)


End Test.

98%


¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.