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 1 kB image not shown  

Quelle  bug_14057.v   Sprache: Coq

 
Module Mono.
  Module Transparent.
    Fixpoint F (n : nat) (A : Type) {struct n} : nat
    with G (n : nat) (A:Type@{_})  {struct n} : nat.
    Proof.
      1: pose (match n with S n => G n A | 0 => 0 end).
      allexact 0.
    Defined.
  End Transparent.

  Module Opaque.
    Fixpoint F (n : nat) (A : Type) {struct n} : nat
    with G (n : nat) (A:Type@{_})  {struct n} : nat.
    Proof.
      1: pose (match n with S n => G n A | 0 => 0 end).
      allexact 0.
    Qed.
  End Opaque.
End Mono.

Module Poly.
  Set Universe Polymorphism.
  Module Transparent.
    Fixpoint F (n : nat) (A : Type) {struct n} : nat
    with G (n : nat) (A:Type@{_})  {struct n} : nat.
    Proof.
      1: pose (match n with S n => G n A | 0 => 0 end).
      allexact 0.
    Defined.
    Check F@{_}. Check G@{_}.
  End Transparent.

  Module Opaque.
    Fixpoint F (n : nat) (A : Type) {struct n} : nat
    with G (n : nat) (A:Type@{_})  {struct n} : nat.
    Proof.
      1: pose (match n with S n => G n A | 0 => 0 end).
      allexact 0.
    Qed.
    Check F@{_}. Check G@{_}.
  End Opaque.
End Poly.

99%


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