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

Quelle  bug_10816.v   Sprache: Coq

 
Scheme foo := Elimination for nat Sort Prop.

Fail Check eq_refl : foo = nat_ind.

Check foo : forall P : nat -> Prop, P 0 -> (forall n : nat, P (S n)) -> forall n : nat, P n.

Scheme bar := Case for nat Sort Prop.

Check bar : forall P : Prop, P -> (nat -> P) -> nat -> P.

Inductive even (x: nat): nat -> Prop :=
  | even_base: even x O
  | even_succ: forall n, odd x n -> even x (S n)

with odd (x: nat): nat -> Prop :=
  | odd_succ: forall n, even x n -> odd x (S n).

(* mutual nonrecursive schemes is nonsense so rejected *)
Fail Scheme even_case := Case for even Sort Prop
    with odd_case := Case for odd Sort Prop.

99%


¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© 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 ist noch experimentell.