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

Quelle  bug_15448.v

  Sprache: Coq
 

Lemma bar (a b:unit) (H0: a = b) (H: a = b) : a = b.
Proof.
  Fail rewrite (match a,b return _ -> a = b with tt, tt => fun _ => eq_refl end H) in H,H0.
  Fail rewrite (match a,b return _ -> a = b with tt, tt => fun _ => eq_refl end H0) in H,H0.
  rewrite (match a,b return _ -> a = b with tt, tt => fun _ => eq_refl end H) in H0.
  Check H0 : b = b.
  Check H : a = b.
  destruct a,b;reflexivity.
Defined.

Lemma bar' (a b:unit) (H0: a = b) (H: a = b) : a = b.
Proof.
  rewrite (match a,b return _ -> a = b with tt, tt => fun _ => eq_refl end H) in *.
  Check H0 : b = b.
  Check H : a = b.
  destruct a,b;reflexivity.
Defined.

Lemma bar'' (a b:unit) (H0: a = b) (H: a = b) : a = b.
Proof.
  unshelve erewrite (_: a = b) in *.
  { Fail revert H. destruct a,b;reflexivity. }
  destruct a,b;reflexivity.
Defined.

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






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.