English
For a bifunctor F, the mapEquiv on an element x acts by bimap h h' on x.
Русский
Для бифункторa F отображение mapEquiv на элементе x действует как bimap h h' на x.
LaTeX
$$$ (\\text{Bifunctor.mapEquiv } F h h')\\, x = \\text{bimap } h h'\\, x $$$
Lean4
/-- If `α` is encodable, then so is `List α`. This uses the `pair` and `unpair` functions from
`Data.Nat.Pairing`. -/
instance _root_.List.encodable : Encodable (List α) :=
⟨encodeList, decodeList, fun l => by induction l <;> simp [encodeList, decodeList, unpair_pair, encodek, *]⟩