text‹
The locale defined here constructs the dual (opposite) of a category.
The arrows of the dual category are directly identified with the arrows of
the given category and simplification rules are introduced that automatically
eliminate notions defined for the dual category in favor of the corresponding
notions on the original category. This makes it easy to use the dual of
a category in the same context as the category itself, without having to
worry about whether an arrow belongs to the category or its dual. ›
locale dual_category =
C: category C for C :: "'a comp" (infixr‹⋅›55) begin
definition comp (infixr‹⋅op›55) where"g ⋅op f ≡ f ⋅ g"
lemma comp_char [simp]: shows"g ⋅op f = f ⋅ g" using comp_def by auto
interpretation partial_composition comp apply unfold_locales using comp_def C.ex_un_null by metis
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.