products/Sources/formale Sprachen/Coq/test-suite/bugs/closed image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: bug_1900.v   Sprache: Coq

Original von: Coq©

(* Tested against coq ee596bc *)

Set Nonrecursive Elimination Schemes.
Set Primitive Projections.
Set Universe Polymorphism.

Record setoid := { base : Type }.

Definition catdata (Obj Arr : Type) : Type := nat.
  (* [nat] can be replaced by any other type, it seems,
     without changing the error *)


Record cat : Type :=
  {
    obj : setoid;
    arr : Type;
    dta : catdata (base obj) arr
  }.

Definition bcwa (C:cat) (B:setoid) :Type := nat.
  (* As above, nothing special about [nat] here. *)

Record temp {C}{B} (e:bcwa C B) :=
  { fld : base (obj C) }.

Print temp_rect.

¤ Dauer der Verarbeitung: 0.20 Sekunden  (vorverarbeitet)  ¤





Download des
Quellennavigators
Download des
sprechenden Kalenders

in der Quellcodebibliothek suchen




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.


Bot Zugriff