leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: new members

Topic: Nondependent sigma to pair


Horatiu Cheval (Jun 27 2021 at 12:24):

Is there defined in Lean a standard way of converting non-dependent Sigma types to plain product types?
Something like this:

  def sigma_to_pair {α β : Type} : (Σ _ : α, β) → α × β
  | (sigma.mk a b) := (a, b)

Eric Wieser (Jun 27 2021 at 12:32):

docs#equiv.sigma_equiv_prod

Horatiu Cheval (Jun 27 2021 at 12:36):

Perfect, thanks


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll