Opposites #
In this file we define a structure Opposite α
containing a single field of type α
and
two bijections op : α → αᵒᵖ
and unop : αᵒᵖ → α
. If α
is a category, then αᵒᵖ
is the
opposite category, with all arrows reversed.
Make sure that Opposite.op a
is pretty-printed as op a
instead of { unop := a }
or
⟨a⟩
.
Equations
Instances For
The type-level equivalence between a type and its opposite.
Equations
Instances For
@[deprecated Opposite.rec (since := "2025-04-04")]
A deprecated alias for Opposite.rec
.
Equations
Instances For
If X
is u
-small, also Xᵒᵖ
is u
-small.
Note: This is not an instance, because it tends to mislead typeclass search.