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

Quelle  bug_19557_1.v   Sprache: Coq

 
Require Import ListDef Morphisms Setoid.

Global Generalizable All Variables.

Class Equiv A := equiv: relation A.

Section ops.
  Context (M : Type -> Type).

  Class MonadReturn := ret: forall {A}, A -> M A.

End ops.

Arguments ret {M MonadReturn A} _.


Class Monad (M : Type -> Type) `{forall A, Equiv A -> Equiv (M A)}
  `{MonadReturn M} : Prop :=
  {
    mon_ret_proper `{Equiv A} :: Proper (equiv ==> equiv) (@ret _ _ A)
  }.


Section S.
  Context `{Equivalence A eqA}.

  Inductive PermutationA : list A -> list A -> Prop := .

  Global Instance: Equivalence PermutationA.
  Admitted.

  Global Instance PermutationA_cons :
    Proper (eqA ==> PermutationA ==> PermutationA) (@cons A).
  Admitted.

  Lemma foo a l x (IHl : PermutationA (x::l) (l ++ (x :: nil))) : PermutationA (x::a::l) (a::l++(x :: nil)).
  Proof.
    rewrite <-IHl.
  Abort.
End S.

99%


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