English
Given a type F of coalgebra equivalences, the function toCoalgEquiv converts an element f ∈ F into a coalgebra equivalence between A and B.
Русский
Для типа F, состоящего из коалгебра эквивалентов, функция toCoalgEquiv преобразует элемент f ∈ F в коалгебра-эквалент между A и B.
LaTeX
$$$\text{toCoalgEquiv} : F \to (A \simeq_{\text{coalgebra}} B)$$$
Lean4
/-- Reinterpret an element of a type of coalgebra equivalences as a coalgebra equivalence. -/
@[coe]
def toCoalgEquiv [EquivLike F A B] [CoalgEquivClass F R A B] (f : F) : A ≃ₗc[R] B :=
{ (f : A →ₗc[R] B), (f : A ≃ₗ[R] B) with }