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

Quelle  bug_5328.v   Sprache: Coq

 
Section foo.
  Let k := 1.

  Definition v (x : nat) := k.
  Global Arguments v !_ / .
  Eval simpl in v 1. (* k *)
End foo.
About v.
(* v : nat -> nat

Argument scope is [nat_scope]
The reduction tactics unfold v when the 2nd argument evaluates to a constructor
and
  when applied to 2 arguments
v is transparent
Expands to: Constant Top.v
 *)

Eval simpl in v 1. (* v 1 *)
Goal True.
  let k := (eval simpl in (v 1))
  in constr_eq k 1. (* should succeed *)
Abort.

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.