Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (NIST Cobol Test-Suite ©)  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 12 = 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.

Messung V0.5 in Prozent
C=96 H=99 G=97

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-06-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.