Documentation

LeanPool.ABCExceptions.ForMathlib.Misc

LeanPool.ABCExceptions.ForMathlib.Misc #

theorem Finset.Ico_union_Icc_eq_Icc {α : Type u_1} [LinearOrder α] [LocallyFiniteOrder α] {a b c : α} (h₁ : a ≤ b) (h₂ : b ≤ c) :
Ico a b ∪ Icc b c = Icc a c
theorem Finset.Ico_union_Icc_eq_Icc' {α : Type u_1} [LinearOrder α] [Add α] [One α] [SuccAddOrder α] [LocallyFiniteOrder α] {a b c : α} (h₁ : a ≤ b) (h₂ : b ≤ c + 1) :
Ico a b ∪ Icc b c = Icc a c
theorem Nat.Icc_union_Icc_eq_Icc {a b c : ℕ} (h₁ : a ≤ b) (h₂ : b ≤ c) :
theorem Finset.prod_Icc_succ_bot {M : Type u_1} [CommMonoid M] {a b : ℕ} (hab : a ≤ b) (f : ℕ → M) :
∏ k ∈ Icc a b, f k = f a * ∏ k ∈ Icc (a + 1) b, f k
theorem Finset.sum_Icc_succ_bot {M : Type u_1} [AddCommMonoid M] {a b : ℕ} (hab : a ≤ b) (f : ℕ → M) :
∑ k ∈ Icc a b, f k = f a + ∑ k ∈ Icc (a + 1) b, f k
theorem prod_Icc_eq_prod_range_mul_prod_Icc {d : ℕ} {α : Type u_1} [CommMonoid α] {f : ℕ → α} {t : ℕ} (ht : t ≤ d + 1) :
∏ i ≤ d, f i = (∏ i ∈ Finset.range t, f i) * ∏ i ∈ Finset.Icc t d, f i
theorem sum_Icc_eq_sum_range_add_sum_Icc {d : ℕ} {α : Type u_1} [AddCommMonoid α] {f : ℕ → α} {t : ℕ} (ht : t ≤ d + 1) :
∑ i ≤ d, f i = ∑ i ∈ Finset.range t, f i + ∑ i ∈ Finset.Icc t d, f i