English
There is a canonical identification between the product α × β and the dependent sum Σ a: α, β, given by p ↦ ⟨p.1, p.2⟩.
Русский
Существует каноническое соответствие между произведением α × β и зависимой суммой Σ a: α, β, задаваемое отображением p ↦ ⟨p.1, p.2⟩.
LaTeX
$$$\\text{toSigma} : \\alpha \\times \\beta \\to \\Sigma a: \\alpha, \\beta$ with $\\text{toSigma}(p) = \\langle p.1, p.2\\rangle$$$
Lean4
/-- Convert a product type to a Σ-type. -/
def toSigma {α β} (p : α × β) : Σ _ : α, β :=
⟨p.1, p.2⟩