Documentation

Lean.Meta.ProdN

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

Instances For

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

    Instances For

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

      Instances For