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

Quelle  BracketsWithGoalSelector.v   Sprache: Coq

 
Goal forall A B, B \/ A -> A \/ B.
Proof.
  intros * [HB | HA].
  2: {
    left.
    exact HA.
    Fail right(* No such goal. Try unfocusing with "}". *)
  }
  Fail 2: { (* Non-existent goal. *)
    idtac(* The idtac is to get a dot, so that IDEs know to stop there. *)
  1:{ (* Syntactic test: no space before bracket. *)
    right.
    exact HB.
Fail Qed.
  }
Qed.

Lemma foo (n: nat) (P : nat -> Prop):
  P n.
Proof.
  intros.
  refine (nat_ind _ ?[Base] ?[Step] _).
  [Base]: { admit. }
  [Step]: { admit. }
Abort.

Messung V0.5
C=84 H=100 G=92

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© 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 und die Messung sind noch experimentell.