Compare commits

...

1 Commits

Author SHA1 Message Date
Kim Morrison
1a7518f707 chore: fix explicitness of Prod.map lemmas 2024-06-22 20:49:29 +10:00

View File

@@ -1191,9 +1191,10 @@ def Prod.map {α₁ : Type u₁} {α₂ : Type u₂} {β₁ : Type v₁} {β₂
(f : α₁ α₂) (g : β₁ β₂) : α₁ × β₁ α₂ × β₂
| (a, b) => (f a, g b)
@[simp] theorem Prod.map_apply : Prod.map f g (x, y) = (f x, g y) := rfl
@[simp] theorem Prod.map_fst : (Prod.map f g x).1 = f x.1 := rfl
@[simp] theorem Prod.map_snd : (Prod.map f g x).2 = g x.2 := rfl
@[simp] theorem Prod.map_apply (f : α β) (g : γ δ) (x) (y) :
Prod.map f g (x, y) = (f x, g y) := rfl
@[simp] theorem Prod.map_fst (f : α β) (g : γ δ) (x) : (Prod.map f g x).1 = f x.1 := rfl
@[simp] theorem Prod.map_snd (f : α β) (g : γ δ) (x) : (Prod.map f g x).2 = g x.2 := rfl
/-! # Dependent products -/