Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (NIST Cobol Test-Suite ©)  Datei vom 15.8.2025 mit Größe 818 B image not shown  

Quelle  bug_4498.v

  Sprache: Coq
 

Require Export Corelib.Classes.Morphisms.
Require Export Corelib.Relations.Relation_Definitions.
Require Export Corelib.Setoids.Setoid.

Set Universe Polymorphism.

Reserved Notation "a ~> b" (at level 90right associativity).

Class Category := {
  ob            : Type;
  uhom          := Type : Type;
  hom           : ob -> ob -> uhom where "a ~> b" := (hom a b);
  compose       : forall {A B C}, (B ~> C) -> (A ~> B) -> (A ~> C);
  equiv         : forall {A B}, relation (A ~> B);
  is_equiv      : forall {A B}, @Equivalence (A ~> B) equiv;
  comp_respects : forall {A B C},
      Proper (@equiv B C ==> @equiv A B ==> @equiv A C) (@compose A B C);
}.

Add Parametric Morphism `{Category} {A B C} : (@compose _ A B C) with
  signature equiv ==> equiv ==> equiv as compose_mor.
Proofapply comp_respects. Qed.

Messung V0.5 in Prozent
C=97 H=99 G=97

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