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

Quelle  bug_3008.v   Sprache: Coq

 
Module Type Intf1.
Parameter T : Type.
Inductive a := A.
End Intf1.

Module Impl1 <: Intf1.
Definition T := unit.
Inductive a := A.
End Impl1.

Module Type Intf2
  (Impl1 : Intf1).
Parameter x : Impl1.A=Impl1.A -> Impl1.T.
End Intf2.

Module Type Intf3
  (Impl1 : Intf1)
  (Impl2 : Intf2(Impl1)).
End Intf3.

Fail Module Toto
  (Impl1' : Intf1)
  (Impl2 : Intf2(Impl1'))
  (Impl3 : Intf3(Impl1)(Impl2)).
(* A UserError is expected here, not an uncaught Not_found *)

(* NB : the Inductive above and the A=A weren't in the initial test,
   they are here only to force an access to the environment
   (cf [Printer.qualid_of_global]) and check that this env is ok. *)

100%


¤ Dauer der Verarbeitung: 0.4 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 ist noch experimentell.