Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/output/   (NIST Cobol Test-Suite ©)  Datei vom 15.8.2025 mit Größe 727 B image not shown  

Quelle  ltac2_hyp_var.v

  Sprache: Coq
 

Require Import Ltac2.Ltac2.

Fail Check $hyp:id.

Ltac2 Eval let id := @x in '(fun (x:nat) (x : bool) => eq_refl : (x, &x) = (x, $hyp:id)).

Fail Ltac2 Eval let id := @x in '$hyp:id.
Fail Ltac2 Eval let id := @x in '(fun x : nat => $hyp:id : bool).

Ltac2 Eval let id := @x in constr:(fun x => $hyp:id : nat).

Section S.
  Variable x : nat.

  Ltac2 Eval let id := @x in '(fun x : bool => eq_refl : (x, &x) = (x, $hyp:id)).

  Ltac2 Eval let id := @x in '($hyp:id : nat).
  Fail Ltac2 Eval let id := @x in '($hyp:id : bool).
End S.

Set Mangle Names.

Ltac2 Eval let id := @x in '(fun (x:nat) (x:bool) => eq_refl : &x = $hyp:id :> bool).

Ltac2 Eval let id := @_1 in '(fun (x:nat) (x:bool) => eq_refl : &_1 = $hyp:id :> nat).

Messung V0.5 in Prozent
C=91 H=98 G=94

¤ Dauer der Verarbeitung: 0.9 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.