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

Quelle  bug_18657.v   Sprache: Coq

 
Module First.
  Definition bar := 1.
  Lemma bar_1 : bar = 1. ProofreflexivityQed.
End First.

Module Import Second.
  Include First.
  Search bar. (*First.bar_1: First.bar = 1*)
  Search "bar".
  Lemma one_bar : 1 = bar. Proofrewrite bar_1. reflexivityQed.
End Second.

Module Type B.
  Definition bar := 1.
  Lemma bar_1 : bar = 1. ProofreflexivityQed.
End B.

Module A.
  Include B.
  Search bar. (* was nothing *)
  Lemma one_bar : 1 = bar. Proofrewrite bar_1; reflexivityQed.
  Search bar. (* was only one_bar *)
End A.

Module Type HasFoo.
  Parameter t : Type.
  Parameter foo : t.
End HasFoo.

Module MakeBaz (Import M : HasFoo).
  Definition baz := fun (_ : unit) => foo.
  Lemma baz_foo : baz tt = foo. ProofreflexivityQed.
End MakeBaz.

Module Import Baz <: HasFoo.
  Definition t := nat.
  Definition foo := 42.
  Include MakeBaz.
  Search baz. (* was nothing *)
  Search "baz"(* was nothing *)
  Lemma foo_bas : foo = baz tt. Proofrewrite baz_foo. reflexivityQed.
End Baz.

Messung V0.5
C=89 H=100 G=94

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