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 1 kB image not shown  

Quellcode-Bibliothek bug_20008.v

  Sprache: Coq
 

Set Primitive Projections.

Record R A := mk { p : A -> A -> A }.

Arguments mk {_} _.
Arguments p {_} _ !_ !_.

(* using nat *)

Goal forall x, p (mk (fun _ _ => 2)) x x = 0.
Proof.
  Fail progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) 3 x = 0.
Proof.
  Fail progress cbn.
Abort.

Goal p (mk (fun _ _ => 2)) 3 4 = 0.
Proof.
  progress cbn.
Abort.

Arguments p {_} _ !_ _.

Goal forall x, p (mk (fun _ _ => 2)) x x = 0.
Proof.
  Fail progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) 3 x = 0.
Proof.
  progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) x 4 = 0.
Proof.
  Fail progress cbn.
Abort.

Goal p (mk (fun _ _ => 2)) 3 4 = 0.
Proof.
  progress cbn.
Abort.

(* using prim int *)
Require Import PrimInt63.

Open Scope int63_scope.

Arguments p {_} _ !_ !_.

Goal forall x, p (mk (fun _ _ => 2)) x x = 0.
Proof.
  intros x. Check x : int. (* sanity check that the scope is correct *)
  Fail progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) 3 x = 0.
Proof.
  Fail progress cbn.
Abort.

Goal p (mk (fun _ _ => 2)) 3 4 = 0.
Proof.
  progress cbn.
Abort.

Arguments p {_} _ !_ _.

Goal forall x, p (mk (fun _ _ => 2)) x x = 0.
Proof.
  Fail progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) 3 x = 0.
Proof.
  progress cbn.
Abort.

Goal forall x, p (mk (fun _ _ => 2)) x 4 = 0.
Proof.
  Fail progress cbn.
Abort.

Goal p (mk (fun _ _ => 2)) 3 4 = 0.
Proof.
  progress cbn.
Abort.

Messung V0.5 in Prozent
C=97 H=100 G=98

¤ 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.0.11Bemerkung:  (vorverarbeitet am  2026-04-27) ¤

*Bot Zugriff






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.