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

Original von: Coq©

Set Primitive Projections.
Set Implicit Arguments.
Record prod A B := pair { fst : A; snd : B}.

Goal fst (@pair Type Type Type Type).
Set Printing All.
match goal with |- ?f ?x => set (foo := f x) end.
Abort.

Goal forall x : prod Set Set, x = @pair _ _ (fst x) (snd x).
Proof.
  intro x.
  lazymatch goal with
    | [ |- ?x = @pair _ _ (?f ?x) (?g ?x) ] => pose f
  end.
(* Toplevel input, characters 7-44:
Error: No matching clauses for match. *)

Abort.

¤ Dauer der Verarbeitung: 0.32 Sekunden  (vorverarbeitet)  ¤





Druckansicht
unsichere Verbindung
Druckansicht
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