Documentation

Lean.Meta.ProdN

Given types tᵢ, return the tuple type t₁ × t₂ × … × tₙ. For n = 0, return PUnit.

Equations
    Instances For

      Given expressions eᵢ, return the tuple (e₁, e₂, …, eₙ) and its type t₁ × t₂ × … × tₙ. For n = 0, return PUnit.unit.

      Equations
        Instances For

          Given a product (e₁, e₂) of type t₁ × t₂, return (e₁, t₁, e₂, t₂).

          Equations
            Instances For