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

Quelle  import_mod.v

  Sprache: Coq
 


Definition p := 0.
Definition m := 0.

Module Test_Import.
  Module P.
    Definition p := 1.
  End P.

  Module M.
    Import P.
    Definition m := p.
  End M.

  Module N.
    Import M.

    Lemma th0 : p = 0.
      reflexivity.
    Qed.

  End N.


  (* M and P should be closed *)
  Lemma th1 : m = 0 /\ p = 0.
    splitreflexivity.
  Qed.


  Import N.

  (* M and P should still be closed *)
  Lemma th2 : m = 0 /\ p = 0.
    splitreflexivity.
  Qed.
End Test_Import.


(********************************************************************)


Module Test_Export.
  Module P.
    Definition p := 1.
  End P.

  Module M.
    Export P.
    Definition m := p.
  End M.

  Module N.
    Export M.

    Lemma th0 : p = 1.
      reflexivity.
    Qed.

  End N.


  (* M and P should be closed *)
  Lemma th1 : m = 0 /\ p = 0.
    splitreflexivity.
  Qed.


  Import N.

  (* M and P should now be opened *)
  Lemma th2 : m = 1 /\ p = 1.
    splitreflexivity.
  Qed.
End Test_Export.

Messung V0.5 in Prozent
C=96 H=100 G=97

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