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

Quelle  bug_14100.v   Sprache: Coq

 
From Corelib Require Import Extraction.

Set Warnings "-extraction-inside-module".

Module OriginalExample.

Variant nondetE : Type -> Type :=
  Or : nondetE bool.

Module Type MinSIG.
Parameter otherE : Type -> Type.
End MinSIG.

Module Min : MinSIG.
Definition otherE := nondetE.
End Min.

Extraction TestCompile Min.

End OriginalExample.

(**)

Module ExampleWithSmallParameter.

Variant nondetE : nat -> Type -> Type :=
  Or : nondetE 0 bool.

Module Type MinSIG.
Parameter otherE : nat -> Type -> Type.
End MinSIG.

Module Min : MinSIG.
Definition otherE := nondetE.
End Min.

Extraction TestCompile Min.

End ExampleWithSmallParameter.

(* This was already working *)

Module ExampleWithLogicalDefinition.

Definition nondetE (n:nat) (X:Type) := Prop.

Module Type MinSIG.
Parameter otherE : nat -> Type -> Type.
End MinSIG.

Module Min : MinSIG.
Definition otherE := nondetE.
End Min.

Extraction TestCompile Min.

End ExampleWithLogicalDefinition.

99%


¤ Dauer der Verarbeitung: 0.1 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.