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 741 B image not shown  

Quelle  set.v   Sprache: Coq

 
(* This used to fail in 8.0pl1 *)

Goal forall n, n+n=0->0=n+n.
intros.
set n in * |-.
Abort.

(* This works from 8.4pl1, since merging of different instances of the
   same metavariable in a pattern is done modulo conversion *)


Notation "p .+1" := (S p) (at level 1, left associativity, format "p .+1").

Goal forall (f:forall n, n=0 -> Prop) n (H:(n+n).+1=0), f (n.+1+n) H.
intros.
set (f _ _).
Abort.

Module UsingSProp.

Inductive STrue : SProp := I.
Inductive SBool : SProp := T | F.
Axiom f : forall {A B:SProp}, A -> B -> unit.
Goal f (fun _ : nat => F) (fun _:nat => I) = f (fun _ : nat => F) (fun _:nat => I).
set (x := fun _ => _).
reflexivity.
Qed(* Was failing because all 4 "fun _ => ..." were identified *)

End UsingSProp.

Messung V0.5
C=94 H=86 G=89

¤ 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.