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: HoTT_coq_110.v   Sprache: Coq

Original von: Coq©

Module X.
  Inductive paths A (x : A) : A -> Type := idpath : paths A x x.
  Notation "x = y" := (@paths _ x y) : type_scope.

  Axioms A B : Type.
  Axiom P : A = B.
  Definition foo : A = B.
    abstract (rewrite <- P; reflexivity).
  (* Error: internal_paths_rew already exists. *)
  Defined(* Anomaly: Uncaught exception Not_found(_). Please report. *)
End X.

Module Y.
  Inductive paths A (x : A) : A -> Type := idpath : paths A x x.
  Notation "x = y" := (@paths _ x y) : type_scope.

  Axioms A B : Type.
  Axiom P : A = B.
  Definition foo : (A = B) * (A = B).
    split; abstract (rewrite <- P; reflexivity).
  (* Error: internal_paths_rew already exists. *)
  Defined(* Anomaly: Uncaught exception Not_found(_). Please report. *)
End Y.

¤ Dauer der Verarbeitung: 0.3 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