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 / V05. Groups

Mathlib.Algebra.Group.Pi.Lemmas

107 declarations. Mathlib docs · Source

theorem Pi.mulSingle.hcongr_7 E1 #

∀ (ι ι' : Type u_1),
  ι = ι' →
    ∀ (M : ι → Type u_4) (M' : ι' → Type u_4),
      M ≍ M' →
        ∀ (inst : (i : ι) → One (M i)) (inst' : (i : ι') → One (M' i)),
          inst ≍ inst' →
            ∀ (inst_1 : DecidableEq ι) (inst'_1 : DecidableEq ι'),
              inst_1 ≍ inst'_1 →
                ∀ (i : ι) (i' : ι'),
                  i ≍ i' →
                    ∀ (x : M i) (x' : M' i'),
                      x ≍ x' → ∀ (j : ι) (j' : ι'), j ≍ j' → Pi.mulSingle i x j ≍ Pi.mulSingle i' x' j'

theorem Set.range_zero E0 #

∀ {α : Type u_5} {β : Type u_6} [inst : Zero β] [Nonempty α], Set.range 0 = {0}

theorem Set.range_one E0 #

∀ {α : Type u_5} {β : Type u_6} [inst : One β] [Nonempty α], Set.range 1 = {1}

theorem Set.preimage_one E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : One β] (s : Set β) [inst_1 : Decidable (1 ∈ s)],
  1 ⁻¹' s = if 1 ∈ s then Set.univ else ∅

theorem Set.preimage_zero E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : Zero β] (s : Set β) [inst_1 : Decidable (0 ∈ s)],
  0 ⁻¹' s = if 0 ∈ s then Set.univ else ∅

theorem Pi.one_mono E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : One β], Monotone 1

theorem Pi.zero_mono E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Zero β], Monotone 0

theorem Pi.zero_anti E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Zero β], Antitone 0

theorem Pi.one_anti E1 #

∀ {α : Type u_5} {β : Type u_6} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : One β], Antitone 1

theorem Pi.isSelfNeg_iff E0 #

∀ {ι : Type u_5} {G : ι → Type u_6} [inst : (i : ι) → Neg (G i)] {x : (i : ι) → G i},
  IsSelfNeg x ↔ ∀ (i : ι), IsSelfNeg (x i)

theorem Pi.isSelfInv_iff E0 #

∀ {ι : Type u_5} {G : ι → Type u_6} [inst : (i : ι) → Inv (G i)] {x : (i : ι) → G i},
  IsSelfInv x ↔ ∀ (i : ι), IsSelfInv (x i)

theorem AddHom.coe_add E0 #

∀ {M : Type u_5} {N : Type u_6} {x : Add M} {x_1 : AddCommSemigroup N} (f g : M →ₙ+ N),
  ⇑f + ⇑g = fun x_2 ↦ f x_2 + g x_2

theorem MulHom.coe_mul E0 #

∀ {M : Type u_5} {N : Type u_6} {x : Mul M} {x_1 : CommSemigroup N} (f g : M →ₙ* N), ⇑f * ⇑g = fun x_2 ↦ f x_2 * g x_2

def MulHom.coeFn E1 #

(α : Type u_5) → (β : Type u_6) → [inst : Mul α] → [inst_1 : CommSemigroup β] → (α →ₙ* β) →ₙ* α → β

Coercion of a MulHom into a function is itself a MulHom.

See also MulHom.eval.

theorem AddHom.coeFn_apply E0 #

∀ (α : Type u_5) (β : Type u_6) [inst : Add α] [inst_1 : AddCommSemigroup β] (g : α →ₙ+ β) (a : α),
  (AddHom.coeFn α β) g a = g a

theorem MulHom.coeFn_apply E0 #

∀ (α : Type u_5) (β : Type u_6) [inst : Mul α] [inst_1 : CommSemigroup β] (g : α →ₙ* β) (a : α),
  (MulHom.coeFn α β) g a = g a

def AddHom.coeFn E1 #

(α : Type u_5) → (β : Type u_6) → [inst : Add α] → [inst_1 : AddCommSemigroup β] → (α →ₙ+ β) →ₙ+ α → β

Coercion of an AddHom into a function is itself an AddHom.

See also AddHom.eval.

def MonoidHom.coeFn E1 #

(α : Type u_5) → (β : Type u_6) → [inst : MulOneClass α] → [inst_1 : CommMonoid β] → (α →* β) →* α → β

Coercion of a MonoidHom into a function is itself a MonoidHom.

See also MonoidHom.eval.

theorem MonoidHom.coeFn_apply E0 #

∀ (α : Type u_5) (β : Type u_6) [inst : MulOneClass α] [inst_1 : CommMonoid β] (g : α →* β) (a : α),
  (MonoidHom.coeFn α β) g a = g a

def AddMonoidHom.coeFn E1 #

(α : Type u_5) → (β : Type u_6) → [inst : AddZeroClass α] → [inst_1 : AddCommMonoid β] → (α →+ β) →+ α → β

Coercion of an AddMonoidHom into a function is itself an AddMonoidHom.

See also AddMonoidHom.eval.

theorem AddMonoidHom.coeFn_apply E0 #

∀ (α : Type u_5) (β : Type u_6) [inst : AddZeroClass α] [inst_1 : AddCommMonoid β] (g : α →+ β) (a : α),
  (AddMonoidHom.coeFn α β) g a = g a

def OneHom.mulSingle E1 #

{I : Type u} →
  (f : I → Type v) → [DecidableEq I] → [inst : (i : I) → One (f i)] → (i : I) → OneHom (f i) ((i : I) → f i)

The one-preserving homomorphism including a single value into a dependent family of values, as functions supported at a point.

This is the OneHom version of Pi.mulSingle.

def ZeroHom.single E1 #

{I : Type u} →
  (f : I → Type v) → [DecidableEq I] → [inst : (i : I) → Zero (f i)] → (i : I) → ZeroHom (f i) ((i : I) → f i)

The zero-preserving homomorphism including a single value into a dependent family of values, as functions supported at a point.

This is the ZeroHom version of Pi.single.

theorem OneHom.mulSingle_apply E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → One (f i)] (i : I) (x : f i),
  (OneHom.mulSingle f i) x = Pi.mulSingle i x

theorem ZeroHom.single_apply E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Zero (f i)] (i : I) (x : f i),
  (ZeroHom.single f i) x = Pi.single i x

theorem OneHom.coe_mulSingle E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → One (f i)] (i : I),
  ⇑(OneHom.mulSingle f i) = Pi.mulSingle i

theorem ZeroHom.coe_single E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Zero (f i)] (i : I),
  ⇑(ZeroHom.single f i) = Pi.single i

def MonoidHom.mulSingle E1 #

{I : Type u} →
  (f : I → Type v) → [DecidableEq I] → [inst : (i : I) → MulOneClass (f i)] → (i : I) → f i →* (i : I) → f i

The monoid homomorphism including a single monoid into a dependent family of additive monoids, as functions supported at a point.

This is the MonoidHom version of Pi.mulSingle.

def AddMonoidHom.single E1 #

{I : Type u} →
  (f : I → Type v) → [DecidableEq I] → [inst : (i : I) → AddZeroClass (f i)] → (i : I) → f i →+ (i : I) → f i

The additive monoid homomorphism including a single additive monoid into a dependent family of additive monoids, as functions supported at a point.

This is the AddMonoidHom version of Pi.single.

theorem AddMonoidHom.single_apply E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddZeroClass (f i)] (i : I) (x : f i),
  (AddMonoidHom.single f i) x = Pi.single i x

theorem MonoidHom.mulSingle_apply E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → MulOneClass (f i)] (i : I) (x : f i),
  (MonoidHom.mulSingle f i) x = Pi.mulSingle i x

theorem MonoidHom.coe_mulSingle E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → MulOneClass (f i)] (i : I),
  ⇑(MonoidHom.mulSingle f i) = Pi.mulSingle i

theorem AddMonoidHom.coe_single E0 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddZeroClass (f i)] (i : I),
  ⇑(AddMonoidHom.single f i) = Pi.single i

theorem Pi.single_sup E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → SemilatticeSup (f i)]
  [inst_2 : (i : I) → Zero (f i)] (i : I) (x y : f i), Pi.single i (x ⊔ y) = Pi.single i x ⊔ Pi.single i y

theorem Pi.mulSingle_sup E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → SemilatticeSup (f i)]
  [inst_2 : (i : I) → One (f i)] (i : I) (x y : f i), Pi.mulSingle i (x ⊔ y) = Pi.mulSingle i x ⊔ Pi.mulSingle i y

theorem Pi.single_inf E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → SemilatticeInf (f i)]
  [inst_2 : (i : I) → Zero (f i)] (i : I) (x y : f i), Pi.single i (x ⊓ y) = Pi.single i x ⊓ Pi.single i y

theorem Pi.mulSingle_inf E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → SemilatticeInf (f i)]
  [inst_2 : (i : I) → One (f i)] (i : I) (x y : f i), Pi.mulSingle i (x ⊓ y) = Pi.mulSingle i x ⊓ Pi.mulSingle i y

theorem Pi.mulSingle_mul E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → MulOneClass (f i)] (i : I) (x y : f i),
  Pi.mulSingle i (x * y) = Pi.mulSingle i x * Pi.mulSingle i y

theorem Pi.single_add E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddZeroClass (f i)] (i : I) (x y : f i),
  Pi.single i (x + y) = Pi.single i x + Pi.single i y

theorem Pi.mulSingle_inv E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Group (f i)] (i : I) (x : f i),
  Pi.mulSingle i x⁻¹ = (Pi.mulSingle i x)⁻¹

theorem Pi.single_neg E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddGroup (f i)] (i : I) (x : f i),
  Pi.single i (-x) = -Pi.single i x

theorem Pi.mulSingle_div E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Group (f i)] (i : I) (x y : f i),
  Pi.mulSingle i (x / y) = Pi.mulSingle i x / Pi.mulSingle i y

theorem Pi.single_sub E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddGroup (f i)] (i : I) (x y : f i),
  Pi.single i (x - y) = Pi.single i x - Pi.single i y

theorem Pi.mulSingle_pow E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Monoid (f i)] (i : I) (x : f i) (n : ℕ),
  Pi.mulSingle i (x ^ n) = Pi.mulSingle i x ^ n

theorem Pi.single_nsmul E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddMonoid (f i)] (i : I) (x : f i) (n : ℕ),
  Pi.single i (n • x) = n • Pi.single i x

theorem Pi.mulSingle_zpow E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → Group (f i)] (i : I) (x : f i) (n : ℤ),
  Pi.mulSingle i (x ^ n) = Pi.mulSingle i x ^ n

theorem Pi.single_zsmul E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddGroup (f i)] (i : I) (x : f i) (n : ℤ),
  Pi.single i (n • x) = n • Pi.single i x

theorem Pi.mulSingle_commute E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → MulOneClass (f i)],
  Pairwise fun i j ↦ ∀ (x : f i) (y : f j), Commute (Pi.mulSingle i x) (Pi.mulSingle j y)

The injection into a pi group at different indices commutes.

For injections of commuting elements at the same index, see Commute.map

theorem Pi.single_addCommute E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddZeroClass (f i)],
  Pairwise fun i j ↦ ∀ (x : f i) (y : f j), AddCommute (Pi.single i x) (Pi.single j y)

The injection into an additive pi group at different indices commutes.

For injections of commuting elements at the same index, see AddCommute.map

theorem Pi.mulSingle_apply_commute E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → MulOneClass (f i)] (x : (i : I) → f i)
  (i j : I), Commute (Pi.mulSingle i (x i)) (Pi.mulSingle j (x j))

The injection into a pi group with the same values commutes.

theorem Pi.single_apply_addCommute E1 #

∀ {I : Type u} {f : I → Type v} [inst : DecidableEq I] [inst_1 : (i : I) → AddZeroClass (f i)] (x : (i : I) → f i)
  (i j : I), AddCommute (Pi.single i (x i)) (Pi.single j (x j))

The injection into an additive pi group with the same values commutes.

theorem Pi.update_eq_div_mul_mulSingle E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → Group (f i)] (g : (i : I) → f i)
  (x : f i), Function.update g i x = g / Pi.mulSingle i (g i) * Pi.mulSingle i x

theorem Pi.update_eq_sub_add_single E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → AddGroup (f i)] (g : (i : I) → f i)
  (x : f i), Function.update g i x = g - Pi.single i (g i) + Pi.single i x

theorem Pi.mulSingle_mul_mulSingle_eq_mulSingle_mul_mulSingle E1 #

∀ {I : Type u} [inst : DecidableEq I] {M : Type u_5} [inst_1 : CommMonoid M] {k l m n : I} {u v : M},
  u ≠ 1 →
    v ≠ 1 →
      (Pi.mulSingle k u * Pi.mulSingle l v = Pi.mulSingle m u * Pi.mulSingle n v ↔
        k = m ∧ l = n ∨ u = v ∧ k = n ∧ l = m ∨ u * v = 1 ∧ k = l ∧ m = n)

theorem Pi.single_add_single_eq_single_add_single E1 #

∀ {I : Type u} [inst : DecidableEq I] {M : Type u_5} [inst_1 : AddCommMonoid M] {k l m n : I} {u v : M},
  u ≠ 0 →
    v ≠ 0 →
      (Pi.single k u + Pi.single l v = Pi.single m u + Pi.single n v ↔
        k = m ∧ l = n ∨ u = v ∧ k = n ∧ l = m ∨ u + v = 0 ∧ k = l ∧ m = n)

theorem SemiconjBy.pi E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] {x y z : (i : I) → f i},
  (∀ (i : I), SemiconjBy (x i) (y i) (z i)) → SemiconjBy x y z

theorem AddSemiconjBy.pi E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] {x y z : (i : I) → f i},
  (∀ (i : I), AddSemiconjBy (x i) (y i) (z i)) → AddSemiconjBy x y z

theorem Pi.semiconjBy_iff E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] {x y z : (i : I) → f i},
  SemiconjBy x y z ↔ ∀ (i : I), SemiconjBy (x i) (y i) (z i)

theorem Pi.addSemiconjBy_iff E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] {x y z : (i : I) → f i},
  AddSemiconjBy x y z ↔ ∀ (i : I), AddSemiconjBy (x i) (y i) (z i)

theorem Commute.pi E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] {x y : (i : I) → f i},
  (∀ (i : I), Commute (x i) (y i)) → Commute x y

theorem AddCommute.pi E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] {x y : (i : I) → f i},
  (∀ (i : I), AddCommute (x i) (y i)) → AddCommute x y

theorem Pi.addCommute_iff E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] {x y : (i : I) → f i},
  AddCommute x y ↔ ∀ (i : I), AddCommute (x i) (y i)

theorem Pi.commute_iff E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] {x y : (i : I) → f i},
  Commute x y ↔ ∀ (i : I), Commute (x i) (y i)

theorem Function.update_one E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → One (f i)] [inst_1 : DecidableEq I] (i : I), Function.update 1 i 1 = 1

theorem Function.update_zero E0 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Zero (f i)] [inst_1 : DecidableEq I] (i : I),
  Function.update 0 i 0 = 0

theorem Function.update_add E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] [inst_1 : DecidableEq I] (f₁ f₂ : (i : I) → f i) (i : I)
  (x₁ x₂ : f i), Function.update (f₁ + f₂) i (x₁ + x₂) = Function.update f₁ i x₁ + Function.update f₂ i x₂

theorem Function.update_mul E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] [inst_1 : DecidableEq I] (f₁ f₂ : (i : I) → f i) (i : I)
  (x₁ x₂ : f i), Function.update (f₁ * f₂) i (x₁ * x₂) = Function.update f₁ i x₁ * Function.update f₂ i x₂

theorem Function.update_inv E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Inv (f i)] [inst_1 : DecidableEq I] (f₁ : (i : I) → f i) (i : I)
  (x₁ : f i), Function.update f₁⁻¹ i x₁⁻¹ = (Function.update f₁ i x₁)⁻¹

theorem Function.update_neg E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Neg (f i)] [inst_1 : DecidableEq I] (f₁ : (i : I) → f i) (i : I)
  (x₁ : f i), Function.update (-f₁) i (-x₁) = -Function.update f₁ i x₁

theorem Function.update_sub E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Sub (f i)] [inst_1 : DecidableEq I] (f₁ f₂ : (i : I) → f i) (i : I)
  (x₁ x₂ : f i), Function.update (f₁ - f₂) i (x₁ - x₂) = Function.update f₁ i x₁ - Function.update f₂ i x₂

theorem Function.update_div E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Div (f i)] [inst_1 : DecidableEq I] (f₁ f₂ : (i : I) → f i) (i : I)
  (x₁ x₂ : f i), Function.update (f₁ / f₂) i (x₁ / x₂) = Function.update f₁ i x₁ / Function.update f₂ i x₂

theorem Function.const_eq_one E0 #

∀ {ι : Type u_1} {α : Type u_2} [inst : One α] [Nonempty ι] {a : α}, Function.const ι a = 1 ↔ a = 1

theorem Function.const_eq_zero E0 #

∀ {ι : Type u_1} {α : Type u_2} [inst : Zero α] [Nonempty ι] {a : α}, Function.const ι a = 0 ↔ a = 0

theorem Function.const_ne_one E1 #

∀ {ι : Type u_1} {α : Type u_2} [inst : One α] [Nonempty ι] {a : α}, Function.const ι a ≠ 1 ↔ a ≠ 1

theorem Function.const_ne_zero E1 #

∀ {ι : Type u_1} {α : Type u_2} [inst : Zero α] [Nonempty ι] {a : α}, Function.const ι a ≠ 0 ↔ a ≠ 0

theorem Set.piecewise_add E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Add (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ f₂ g₁ g₂ : (i : I) → f i), s.piecewise (f₁ + f₂) (g₁ + g₂) = s.piecewise f₁ g₁ + s.piecewise f₂ g₂

theorem Set.piecewise_mul E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Mul (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ f₂ g₁ g₂ : (i : I) → f i), s.piecewise (f₁ * f₂) (g₁ * g₂) = s.piecewise f₁ g₁ * s.piecewise f₂ g₂

theorem Set.piecewise_neg E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Neg (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ g₁ : (i : I) → f i), s.piecewise (-f₁) (-g₁) = -s.piecewise f₁ g₁

theorem Set.piecewise_inv E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Inv (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ g₁ : (i : I) → f i), s.piecewise f₁⁻¹ g₁⁻¹ = (s.piecewise f₁ g₁)⁻¹

theorem Set.piecewise_sub E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Sub (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ f₂ g₁ g₂ : (i : I) → f i), s.piecewise (f₁ - f₂) (g₁ - g₂) = s.piecewise f₁ g₁ - s.piecewise f₂ g₂

theorem Set.piecewise_div E1 #

∀ {I : Type u} {f : I → Type v} [inst : (i : I) → Div (f i)] (s : Set I) [inst_1 : (i : I) → Decidable (i ∈ s)]
  (f₁ f₂ g₁ g₂ : (i : I) → f i), s.piecewise (f₁ / f₂) (g₁ / g₂) = s.piecewise f₁ g₁ / s.piecewise f₂ g₂

def Function.ExtendByOne.hom E1 #

{ι : Type u_1} → {η : Type v} → (R : Type w) → (ι → η) → [inst : MulOneClass R] → (ι → R) →* η → R

Function.extend s f 1 as a bundled hom.

theorem Function.ExtendByOne.hom_apply E0 #

∀ {ι : Type u_1} {η : Type v} (R : Type w) (s : ι → η) [inst : MulOneClass R] (f : ι → R) (a : η),
  (Function.ExtendByOne.hom R s) f a = Function.extend s f 1 a

def Function.ExtendByZero.hom E1 #

{ι : Type u_1} → {η : Type v} → (R : Type w) → (ι → η) → [inst : AddZeroClass R] → (ι → R) →+ η → R

Function.extend s f 0 as a bundled hom.

theorem Function.ExtendByZero.hom_apply E0 #

∀ {ι : Type u_1} {η : Type v} (R : Type w) (s : ι → η) [inst : AddZeroClass R] (f : ι → R) (a : η),
  (Function.ExtendByZero.hom R s) f a = Function.extend s f 0 a

theorem Pi.single_mono E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → Preorder (f i)]
  [inst_2 : (i : I) → Zero (f i)], Monotone (Pi.single i)

theorem Pi.mulSingle_mono E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → Preorder (f i)]
  [inst_2 : (i : I) → One (f i)], Monotone (Pi.mulSingle i)

theorem Pi.mulSingle_strictMono E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → Preorder (f i)]
  [inst_2 : (i : I) → One (f i)], StrictMono (Pi.mulSingle i)

theorem Pi.single_strictMono E1 #

∀ {I : Type u} {f : I → Type v} (i : I) [inst : DecidableEq I] [inst_1 : (i : I) → Preorder (f i)]
  [inst_2 : (i : I) → Zero (f i)], StrictMono (Pi.single i)

theorem Pi.single_comp_equiv E1 #

∀ {α : Type u_2} {m : Type u_5} {n : Type u_6} [inst : DecidableEq n] [inst_1 : DecidableEq m] [inst_2 : Zero α]
  (σ : n ≃ m) (i : m) (x : α), Pi.single i x ∘ ⇑σ = Pi.single (σ.symm i) x

theorem Pi.mulSingle_comp_equiv E1 #

∀ {α : Type u_2} {m : Type u_5} {n : Type u_6} [inst : DecidableEq n] [inst_1 : DecidableEq m] [inst_2 : One α]
  (σ : n ≃ m) (i : m) (x : α), Pi.mulSingle i x ∘ ⇑σ = Pi.mulSingle (σ.symm i) x

theorem Sigma.curry_one E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → One (γ a b)],
  Sigma.curry 1 = 1

theorem Sigma.curry_zero E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Zero (γ a b)],
  Sigma.curry 0 = 0

theorem Sigma.uncurry_one E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → One (γ a b)],
  Sigma.uncurry 1 = 1

theorem Sigma.uncurry_zero E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Zero (γ a b)],
  Sigma.uncurry 0 = 0

theorem Sigma.curry_add E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Add (γ a b)]
  (x y : (i : (a : α) × β a) → γ i.fst i.snd), Sigma.curry (x + y) = Sigma.curry x + Sigma.curry y

theorem Sigma.curry_mul E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Mul (γ a b)]
  (x y : (i : (a : α) × β a) → γ i.fst i.snd), Sigma.curry (x * y) = Sigma.curry x * Sigma.curry y

theorem Sigma.uncurry_add E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Add (γ a b)]
  (x y : (a : α) → (b : β a) → γ a b), Sigma.uncurry (x + y) = Sigma.uncurry x + Sigma.uncurry y

theorem Sigma.uncurry_mul E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Mul (γ a b)]
  (x y : (a : α) → (b : β a) → γ a b), Sigma.uncurry (x * y) = Sigma.uncurry x * Sigma.uncurry y

theorem Sigma.curry_neg E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Neg (γ a b)]
  (x : (i : (a : α) × β a) → γ i.fst i.snd), Sigma.curry (-x) = -Sigma.curry x

theorem Sigma.curry_inv E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Inv (γ a b)]
  (x : (i : (a : α) × β a) → γ i.fst i.snd), Sigma.curry x⁻¹ = (Sigma.curry x)⁻¹

theorem Sigma.uncurry_inv E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Inv (γ a b)]
  (x : (a : α) → (b : β a) → γ a b), Sigma.uncurry x⁻¹ = (Sigma.uncurry x)⁻¹

theorem Sigma.uncurry_neg E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : (a : α) → (b : β a) → Neg (γ a b)]
  (x : (a : α) → (b : β a) → γ a b), Sigma.uncurry (-x) = -Sigma.uncurry x

theorem Sigma.curry_single E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : DecidableEq α]
  [inst_1 : (a : α) → DecidableEq (β a)] [inst_2 : (a : α) → (b : β a) → Zero (γ a b)] (i : (a : α) × β a)
  (x : γ i.fst i.snd), Sigma.curry (Pi.single i x) = Pi.single i.fst (Pi.single i.snd x)

theorem Sigma.curry_mulSingle E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : DecidableEq α]
  [inst_1 : (a : α) → DecidableEq (β a)] [inst_2 : (a : α) → (b : β a) → One (γ a b)] (i : (a : α) × β a)
  (x : γ i.fst i.snd), Sigma.curry (Pi.mulSingle i x) = Pi.mulSingle i.fst (Pi.mulSingle i.snd x)

theorem Sigma.uncurry_mulSingle_mulSingle E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : DecidableEq α]
  [inst_1 : (a : α) → DecidableEq (β a)] [inst_2 : (a : α) → (b : β a) → One (γ a b)] (a : α) (b : β a) (x : γ a b),
  Sigma.uncurry (Pi.mulSingle a (Pi.mulSingle b x)) = Pi.mulSingle ⟨a, b⟩ x

theorem Sigma.uncurry_single_single E0 #

∀ {α : Type u_5} {β : α → Type u_6} {γ : (a : α) → β a → Type u_7} [inst : DecidableEq α]
  [inst_1 : (a : α) → DecidableEq (β a)] [inst_2 : (a : α) → (b : β a) → Zero (γ a b)] (a : α) (b : β a) (x : γ a b),
  Sigma.uncurry (Pi.single a (Pi.single b x)) = Pi.single ⟨a, b⟩ x