The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V01. The language of Mathlib

Mathlib.Data.Prod.PProd

7 declarations. Mathlib docs · Source

def PProd.mk.injArrow E1 #

{α : Type u_5} →
  {β : Type u_6} →
    {x₁ : α} → {y₁ : β} → {x₂ : α} → {y₂ : β} → (x₁, y₁) = (x₂, y₂) → ⦃P : Sort u_7⦄ → (x₁ = x₂ → y₁ = y₂ → P) → P

theorem PProd.mk.eta E0 #

∀ {α : Sort u_1} {β : Sort u_2} {p : α ×' β}, ⟨p.fst, p.snd⟩ = p

theorem PProd.forall E0 #

∀ {α : Sort u_1} {β : Sort u_2} {p : α ×' β → Prop}, (∀ (x : α ×' β), p x) ↔ ∀ (a : α) (b : β), p ⟨a, b⟩

theorem PProd.exists E0 #

∀ {α : Sort u_1} {β : Sort u_2} {p : α ×' β → Prop}, (∃ x, p x) ↔ ∃ a b, p ⟨a, b⟩

theorem PProd.forall' E1 #

∀ {α : Sort u_1} {β : Sort u_2} {p : α → β → Prop}, (∀ (x : α ×' β), p x.fst x.snd) ↔ ∀ (a : α) (b : β), p a b

theorem PProd.exists' E1 #

∀ {α : Sort u_1} {β : Sort u_2} {p : α → β → Prop}, (∃ x, p x.fst x.snd) ↔ ∃ a b, p a b

theorem Function.Injective.pprod_map E1 #

∀ {α : Sort u_1} {β : Sort u_2} {γ : Sort u_3} {δ : Sort u_4} {f : α → β} {g : γ → δ},
  Function.Injective f → Function.Injective g → Function.Injective fun x ↦ ⟨f x.fst, g x.snd⟩