Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (NIST Cobol Test-Suite ©)  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.

Messung V0.5 in Prozent
C=96 H=98 G=96

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