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

Quelle  bug_17576_1.v   Sprache: Coq

 
(* Let doesn't respect (default) Proof using *)

(* Maybe we will want to change this behaviour someday
   but keep in mind that if we do then "bar'" should get 2 A arguments.
*)


Set Default Proof Using "Type".
Set Warnings "-opaque-let".

Section S.

  Variable A : Type.
  Variable a : A.

  Let foo : A.
  Proof(* Default Proof Using silently ignored *)
    exact a.
  Qed.

  Definition bar := foo.

  Variable b : A.

  Let foo' : A.
  Fail Proof using a b.
    exact b.
  Qed.

  Definition bar' := foo'.

End S.

Check bar : forall A, A -> A.
Check bar' : forall A, A -> A.

Messung V0.5
C=92 H=96 G=93

¤ Dauer der Verarbeitung: 0.2 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 und die Messung sind noch experimentell.