English
The algebra equivalence is defined via a ring equivalence with the underlying sum-arrow to prod-arrow map.
Русский
Алгебраическое соответствие задаётся через кольцевое эквивалентное отображение sumArrowEquivProdArrow.
LaTeX
$$$$ \mathrm{sumArrowEquivProdArrow} : (\alpha \oplus \beta \to S) \simeq_R (\alpha \to S) \times (\beta \to S). $$$$
Lean4
/-- Second projection as `AlgHom`. -/
def snd : A × B →ₐ[R] B :=
{ RingHom.snd A B with commutes' := fun _r => rfl }