Übersicht der Quellen

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

SSL bug_11641.v

  Sprache: Coq
 

Require Import Ltac2.Ltac2.

Fail Ltac2 my_change1 (a : constr) (b : constr) :=
  change $a with $b.

Fail Ltac2 my_change2 (a:preterm) (b:constr) :=
  change $preterm:a with $b.

(* This is pretty bad, maybe $x should mean $pattern:x in patterns?
   Main question is if we allow preterm in pattern, is
   "fun x => let y := preterm:($x) in pattern:($preterm:y)"
   going to be confusing? (x must be constr, and we error at runtime??)

   Instead don't allow preterms, instead expose "pattern_of_preterm : preterm -> pattern",
   having runtime errors there seems more sensible than with the quotation.
 *)

Ltac2 my_change3 (a:pattern) (b:constr) :=
  change $pattern:a with $b.

Fail Ltac2 dummy x := preterm:($pattern:x).

Goal id True -> False.
  Fail matchgoal with [ |- True -> False ] => () end.
  my_change3 pat:(id True) constr:(True).
  matchgoal with [ |- True -> False ] => () end.

  Fail let a := preterm:(id True) in change $preterm:a with True.
Abort.

Messung V0.5 in Prozent
C=96 H=98 G=96

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-04) ¤

*© Formatika GbR, Deutschland






Versionsinformation zu Columbo

Bemerkung:

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Anfrage:

Dauer der Verarbeitung:

Sekunden

sprechenden Kalenders






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002