Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/output/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 551 B image not shown  

Quelle  bug_15687.v   Sprache: Coq

 
Require Import Ltac2.Ltac2.

Fail Ltac2 rec foo(i: int)(j: int) :=
  foo i (bar j)
(*^^^*)
with bar(i: int) :=
  Int.add (foo i (*i*)) 1.

Fail Ltac2 rec bar(i: int) :=
  Int.add (foo i (*i*)) 1
with foo(i: int)(j: int) : bool :=
    foo i (bar j).

(* The location is not great if we write "fun x y => x" but that's
   unrelated to what we're testing here.

  Also the toplevel "Ltac2 rec foo :=" is currently not smart enough to recognize a function with type annotation. *)

Fail Ltac2 foo := let rec foo : int -> int := fun x => fun y => x in foo.

100%


¤ 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.