English
There is a canonical equivalence between a type and its opposite, given by the op/unop pair.
Русский
Существует каноническое эквивалентное сопоставление между типом и его противоположностью, задаваемое парой oper/-unop.
LaTeX
$$$\text{def }\text{equivToOpposite} : α \simeq α^\mathrm{op}$ with toFun := op, invFun := unop$$
Lean4
/-- The type-level equivalence between a type and its opposite. -/
def equivToOpposite : α ≃ αᵒᵖ where
toFun := op
invFun := unop
left_inv := unop_op
right_inv := op_unop