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

Quelle  bug_10189.v   Sprache: Coq

 
Definition foo : forall (x := unit) {y : nat}, nat := fun y => y.
Check foo (y := 3). (*We fail to get implicits in the type past a let-in*)
Definition foo' : forall (x : Set) {y : nat}, nat := fun _ y => y.
Check foo' unit (y := 3). (* It works with a function binder *)

Definition bar := let f {x} : nat -> nat := fun y => x in f (x := 3).
(* Adding bar : nat -> nat gives implicits-in-term warning *)
Fail Check bar (x := 3).
(* The implicits from the type of the local definition leak to the outer term *)

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.