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

Quelle  bug_6375.v   Sprache: Coq

 
Goal True.
  let term := constr:(Nat.add (Nat.mul 0 1) 2 = 2) in
  let term := lazymatch (eval pattern Nat.add, Nat.mul, S in term) with
              | ?term _ _ _ => term
              end in
  let term := lazymatch term with
              | fun (a : ?A) (b : ?B) (c : ?C) => ?term
                => constr:(fun (a : A) (b : B) (c : C) => term)
              end in
  idtac term; (* (fun (_ _ : nat -> nat -> nat) (n1 : nat -> nat) =>
 n1 (n1 0 (n1 0)) (n1 (n1 0)) = n1 (n1 0)) *)

    assert (H : { T : Type & T }) by abstract (eexists; exact term).
  (* Error: Illegal application (Non-functional construction):
The expression "n1" of type "nat -> nat"
cannot be applied to the terms
 "0" : "nat"
 "n1 0" : "nat" *)

  exact I.
Defined.

99%


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