products/sources/formale sprachen/Coq/test-suite/output image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

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

Datei: Screen Isabelle.jpg   Sprache: Coq

Original von: Coq©

Theorem test (A:Prop) : A \/ A -> A.
  Fail intros H; destruct H as H.
  (* Cannot coerce to a disjunctive/conjunctive pattern. *)
  Fail intro H; destruct H as H.
  (* Disjunctive/conjunctive introduction pattern expected. *)
  Fail let H := fresh in intro H; destruct H as H.
  (* Cannot coerce to a disjunctive/conjunctive pattern. *)
  Fail let H := fresh in intros H; destruct H as H.
  (* Cannot coerce to a disjunctive/conjunctive pattern. *)
  Fail let H := idtac in intros H; destruct H as H.
  (* Ltac variable H is bound to <tactic closure> which cannot be
coerced to an introduction pattern. *)

  Fail let H := idtac in intros H; destruct H as H'.
  (* Disjunctive/conjunctive introduction pattern expected. *)
  Fail let H' := idtac in intros H; destruct H as H'.
(* Ltac variable H' is bound to <tactic closure> which cannot
be coerced to an introduction pattern. *)

Abort.

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