state
stringlengths
0
159k
srcUpToTactic
stringlengths
387
167k
nextTactic
stringlengths
3
9k
declUpToTactic
stringlengths
22
11.5k
declId
stringlengths
38
95
decl
stringlengths
16
1.89k
file_tag
stringlengths
17
73
case h.e'_4 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f g : ι → R s t : Finset ι h0 : ∀ i ∈ s, 0 ≤ f i h1 : ∀ i ∈ s, f i ≤ 1 ⊢ ∏ i in s, 1 = 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact Finset.prod_const_one
/-- If each `f i`, `i ∈ s` belongs to `[0, 1]`, then their product is less than or equal to one. See also `Finset.prod_le_one'` for the case of an ordered commutative multiplicative monoid. -/ theorem prod_le_one (h0 : ∀ i ∈ s, 0 ≤ f i) (h1 : ∀ i ∈ s, f i ≤ 1) : ∏ i in s, f i ≤ 1 := by convert ← prod_le_prod h0 h1
Mathlib.Algebra.BigOperators.Order.629_0.ewL52iF1Dz3xeLh
/-- If each `f i`, `i ∈ s` belongs to `[0, 1]`, then their product is less than or equal to one. See also `Finset.prod_le_one'` for the case of an ordered commutative multiplicative monoid. -/ theorem prod_le_one (h0 : ∀ i ∈ s, 0 ≤ f i) (h1 : ∀ i ∈ s, f i ≤ 1) : ∏ i in s, f i ≤ 1
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i hh : ∀ i ∈ s, 0 ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp_rw [prod_eq_mul_prod_diff_singleton hi]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i hh : ∀ i ∈ s, 0 ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine le_trans ?_ (mul_le_mul_of_nonneg_right h2i ?_)
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i hh...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
rw [right_distrib]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i hh...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine add_le_add ?_ ?_
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine mul_le_mul_of_nonneg_left ?_ ?_
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine prod_le_prod ?_ ?_
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_1.refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp (config := { contextual := true }) [*]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_1.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp (config := { contextual := true }) [*]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
try apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_2.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg :...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
try assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_1.refine_2.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg :...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine mul_le_mul_of_nonneg_left ?_ ?_
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine prod_le_prod ?_ ?_
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_1.refine_1 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp (config := { contextual := true }) [*]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_1.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp (config := { contextual := true }) [*]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
try apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_2.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg :...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
try assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_1.refine_2.refine_2.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg :...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_2 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i hh...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply prod_nonneg
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_2.h0 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp only [and_imp, mem_sdiff, mem_singleton]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_2.h0 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
intro j h1j h2j
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
case refine_2.h0 ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : OrderedCommSemiring R f✝ g✝ : ι → R s t : Finset ι i : ι f g h : ι → R hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j hg : ∀ i ∈ s, 0 ≤ g i...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact le_trans (hg j h1j) (hgf j h1j h2j)
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib.Algebra.BigOperators.Order.636_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `OrderedCommSemiring`. -/ theorem prod_add_prod_le {i : ι} {f g h : ι → R} (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i hlt : ∃ i ∈ s, f i < g i ⊢ ∏ i in s, f i < ∏ i in s, g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
classical obtain ⟨i, hi, hilt⟩ := hlt rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)] apply mul_lt_mul hilt · exact prod_le_prod (fun j hj => le_of_lt (hf j (mem_of_mem_erase hj))) (fun _ hj ↦ hfg _ <| mem_of_mem_erase hj) · exact prod_pos fun j hj => hf j (mem_o...
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i hlt : ∃ i ∈ s, f i < g i ⊢ ∏ i in s, f i < ∏ i in s, g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
obtain ⟨i, hi, hilt⟩ := hlt
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro.intro ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i i : ι hi : i ∈ s hilt : f i < g i ⊢ ∏ i in s, f i < ∏ i in s, g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)]
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical obtain ⟨i, hi, hilt⟩ := hlt
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro.intro ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i i : ι hi : i ∈ s hilt : f i < g i ⊢ f i * ∏ x in erase s i, f x < g i * ∏ x in erase s i, g...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply mul_lt_mul hilt
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical obtain ⟨i, hi, hilt⟩ := hlt rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)]
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro.intro.hbd ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i i : ι hi : i ∈ s hilt : f i < g i ⊢ ∏ x in erase s i, f x ≤ ∏ x in erase s i, g x
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact prod_le_prod (fun j hj => le_of_lt (hf j (mem_of_mem_erase hj))) (fun _ hj ↦ hfg _ <| mem_of_mem_erase hj)
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical obtain ⟨i, hi, hilt⟩ := hlt rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)] apply mul_lt_mul hilt ·
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro.intro.hb ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i i : ι hi : i ∈ s hilt : f i < g i ⊢ 0 < ∏ x in erase s i, f x
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact prod_pos fun j hj => hf j (mem_of_mem_erase hj)
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical obtain ⟨i, hi, hilt⟩ := hlt rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)] apply mul_lt_mul hilt · exact prod_le_...
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro.intro.hc ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i ≤ g i i : ι hi : i ∈ s hilt : f i < g i ⊢ 0 ≤ g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact le_of_lt <| (hf i hi).trans hilt
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i := by classical obtain ⟨i, hi, hilt⟩ := hlt rw [← insert_erase hi, prod_insert (not_mem_erase _ _), prod_insert (not_mem_erase _ _)] apply mul_lt_mul hilt · exact prod_le_...
Mathlib.Algebra.BigOperators.Order.667_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i ≤ g i) (hlt : ∃ i ∈ s, f i < g i) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i < g i h_ne : Finset.Nonempty s ⊢ ∏ i in s, f i < ∏ i in s, g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply prod_lt_prod hf fun i hi => le_of_lt (hfg i hi)
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i := by
Mathlib.Algebra.BigOperators.Order.679_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i < g i h_ne : Finset.Nonempty s ⊢ ∃ i ∈ s, f i < g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
obtain ⟨i, hi⟩ := h_ne
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i := by apply prod_lt_prod hf fun i hi => le_of_lt (hfg i hi)
Mathlib.Algebra.BigOperators.Order.679_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
case intro ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : StrictOrderedCommSemiring R f g : ι → R s : Finset ι hf : ∀ i ∈ s, 0 < f i hfg : ∀ i ∈ s, f i < g i i : ι hi : i ∈ s ⊢ ∃ i ∈ s, f i < g i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
exact ⟨i, hi, hfg i hi⟩
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i := by apply prod_lt_prod hf fun i hi => le_of_lt (hfg i hi) obtain ⟨i, hi⟩ := h_ne
Mathlib.Algebra.BigOperators.Order.679_0.ewL52iF1Dz3xeLh
theorem prod_lt_prod_of_nonempty (hf : ∀ i ∈ s, 0 < f i) (hfg : ∀ i ∈ s, f i < g i) (h_ne : s.Nonempty) : ∏ i in s, f i < ∏ i in s, g i
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∏ i in s, g i + ∏ i in s, h i ≤ ∏ i in s,...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
classical simp_rw [prod_eq_mul_prod_diff_singleton hi] refine' le_trans _ (mul_le_mul_right' h2i _) rw [right_distrib] apply add_le_add <;> apply mul_le_mul_left' <;> apply prod_le_prod' <;> simp only [and_imp, mem_sdiff, mem_singleton] <;> intros <;> apply_assumption <;> ...
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∏ i in s, g i + ∏ i in s, h i ≤ ∏ i in s,...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp_rw [prod_eq_mul_prod_diff_singleton hi]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ g i * ∏ i in s \ {i}, g i + h i * ∏ i in ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
refine' le_trans _ (mul_le_mul_right' h2i _)
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ g i * ∏ i in s \ {i}, g i + h i * ∏ i in ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
rw [right_distrib]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ g i * ∏ i in s \ {i}, g i + h i * ∏ i in ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply add_le_add
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁ ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ g i * ∏ i in s \ {i}, g i ≤ g i *...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply mul_le_mul_left'
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂ ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ h i * ∏ i in s \ {i}, h i ≤ h i *...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply mul_le_mul_left'
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∏ i in s \ {i}, g i ≤ ∏ i in s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply prod_le_prod'
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∏ i in s \ {i}, h i ≤ ∏ i in s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply prod_le_prod'
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∀ i_1 ∈ s \ {i}, g i_1 ≤ f i...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp only [and_imp, mem_sdiff, mem_singleton]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∀ i_1 ∈ s \ {i}, h i_1 ≤ f i...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp only [and_imp, mem_sdiff, mem_singleton]
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∀ i_1 ∈ s, ¬i_1 = i → g i_1 ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
intros
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j ⊢ ∀ i_1 ∈ s, ¬i_1 = i → h i_1 ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
intros
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝ =...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc.h ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝ =...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
apply_assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc.h.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₁.bc.h.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc.h.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
case h₂.bc.h.a ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : CanonicallyOrderedCommSemiring R f g h : ι → R s : Finset ι i : ι hi : i ∈ s h2i : g i + h i ≤ f i hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j hhf : ∀ j ∈ s, j ≠ i → h j ≤ f j i✝ : ι a✝¹ : i✝ ∈ s a✝ : ¬i✝...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
assumption
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib.Algebra.BigOperators.Order.698_0.ewL52iF1Dz3xeLh
/-- If `g, h ≤ f` and `g i + h i ≤ f i`, then the product of `f` over `s` is at least the sum of the products of `g` and `h`. This is the version for `CanonicallyOrderedCommSemiring`. -/ theorem prod_add_prod_le' (hi : i ∈ s) (h2i : g i + h i ≤ f i) (hgf : ∀ j ∈ s, j ≠ i → g j ≤ f j) (hhf : ∀ j ∈ s, j ≠ i → h j ≤...
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : 1 < f ⊢ ∃ i ∈ Finset.univ, 1 < f i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simpa using (Pi.lt_def.1 hf).2
@[to_additive sum_pos] lemma one_lt_prod (hf : 1 < f) : 1 < ∏ i, f i := Finset.one_lt_prod' (λ _ _ ↦ hf.le _) $ by
Mathlib.Algebra.BigOperators.Order.746_0.ewL52iF1Dz3xeLh
@[to_additive sum_pos] lemma one_lt_prod (hf : 1 < f) : 1 < ∏ i, f i
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : f < 1 ⊢ ∃ i ∈ Finset.univ, f i < 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simpa using (Pi.lt_def.1 hf).2
@[to_additive] lemma prod_lt_one (hf : f < 1) : ∏ i, f i < 1 := Finset.prod_lt_one' (λ _ _ ↦ hf.le _) $ by
Mathlib.Algebra.BigOperators.Order.750_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_lt_one (hf : f < 1) : ∏ i, f i < 1
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : 1 ≤ f ⊢ 1 < ∏ i : ι, f i ↔ 1 < f
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
obtain rfl | hf := hf.eq_or_lt
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f := by
Mathlib.Algebra.BigOperators.Order.754_0.ewL52iF1Dz3xeLh
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f
Mathlib_Algebra_BigOperators_Order
case inl ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M hf : 1 ≤ 1 ⊢ 1 < ∏ i : ι, OfNat.ofNat 1 i ↔ 1 < 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*, one_lt_prod]
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f := by obtain rfl | hf := hf.eq_or_lt <;>
Mathlib.Algebra.BigOperators.Order.754_0.ewL52iF1Dz3xeLh
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f
Mathlib_Algebra_BigOperators_Order
case inr ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf✝ : 1 ≤ f hf : 1 < f ⊢ 1 < ∏ i : ι, f i ↔ 1 < f
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*, one_lt_prod]
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f := by obtain rfl | hf := hf.eq_or_lt <;>
Mathlib.Algebra.BigOperators.Order.754_0.ewL52iF1Dz3xeLh
@[to_additive sum_pos_iff_of_nonneg] lemma one_lt_prod_iff_of_one_le (hf : 1 ≤ f) : 1 < ∏ i, f i ↔ 1 < f
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : f ≤ 1 ⊢ ∏ i : ι, f i < 1 ↔ f < 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
obtain rfl | hf := hf.eq_or_lt
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1 := by
Mathlib.Algebra.BigOperators.Order.758_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1
Mathlib_Algebra_BigOperators_Order
case inl ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M hf : 1 ≤ 1 ⊢ ∏ i : ι, OfNat.ofNat 1 i < 1 ↔ 1 < 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*, prod_lt_one]
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1 := by obtain rfl | hf := hf.eq_or_lt <;>
Mathlib.Algebra.BigOperators.Order.758_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1
Mathlib_Algebra_BigOperators_Order
case inr ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf✝ : f ≤ 1 hf : f < 1 ⊢ ∏ i : ι, f i < 1 ↔ f < 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*, prod_lt_one]
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1 := by obtain rfl | hf := hf.eq_or_lt <;>
Mathlib.Algebra.BigOperators.Order.758_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_lt_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i < 1 ↔ f < 1
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : 1 ≤ f ⊢ ∏ i : ι, f i = 1 ↔ f = 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simpa only [(one_le_prod hf).not_gt_iff_eq, hf.not_gt_iff_eq] using (one_lt_prod_iff_of_one_le hf).not
@[to_additive] lemma prod_eq_one_iff_of_one_le (hf : 1 ≤ f) : ∏ i, f i = 1 ↔ f = 1 := by
Mathlib.Algebra.BigOperators.Order.762_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_eq_one_iff_of_one_le (hf : 1 ≤ f) : ∏ i, f i = 1 ↔ f = 1
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : Fintype ι inst✝ : OrderedCancelCommMonoid M f : ι → M hf : f ≤ 1 ⊢ ∏ i : ι, f i = 1 ↔ f = 1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simpa only [(prod_le_one hf).not_gt_iff_eq, hf.not_gt_iff_eq, eq_comm] using (prod_lt_one_iff_of_le_one hf).not
@[to_additive] lemma prod_eq_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i = 1 ↔ f = 1 := by
Mathlib.Algebra.BigOperators.Order.767_0.ewL52iF1Dz3xeLh
@[to_additive] lemma prod_eq_one_iff_of_le_one (hf : f ≤ 1) : ∏ i, f i = 1 ↔ f = 1
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : AddCommMonoid M s : Finset ι f : ι → WithTop M ⊢ ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
induction s using Finset.cons_induction
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤ := by
Mathlib.Algebra.BigOperators.Order.786_0.ewL52iF1Dz3xeLh
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤
Mathlib_Algebra_BigOperators_Order
case empty ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : AddCommMonoid M f : ι → WithTop M ⊢ ∑ i in ∅, f i = ⊤ ↔ ∃ i ∈ ∅, f i = ⊤
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*]
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤ := by induction s using Finset.cons_induction <;>
Mathlib.Algebra.BigOperators.Order.786_0.ewL52iF1Dz3xeLh
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤
Mathlib_Algebra_BigOperators_Order
case cons ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝ : AddCommMonoid M f : ι → WithTop M a✝¹ : ι s✝ : Finset ι h✝ : a✝¹ ∉ s✝ a✝ : ∑ i in s✝, f i = ⊤ ↔ ∃ i ∈ s✝, f i = ⊤ ⊢ ∑ i in cons a✝¹ s✝ h✝, f i = ⊤ ↔ ∃ i ∈ cons a✝¹ s✝ h✝, f i = ⊤
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp [*]
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤ := by induction s using Finset.cons_induction <;>
Mathlib.Algebra.BigOperators.Order.786_0.ewL52iF1Dz3xeLh
/-- A sum of numbers is infinite iff one of them is infinite -/ theorem sum_eq_top_iff [AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤
Mathlib_Algebra_BigOperators_Order
ι : Type u_1 α : Type u_2 β : Type u_3 M : Type u_4 N : Type u_5 G : Type u_6 k : Type u_7 R : Type u_8 inst✝¹ : AddCommMonoid M inst✝ : LT M s : Finset ι f : ι → WithTop M ⊢ ∑ i in s, f i < ⊤ ↔ ∀ i ∈ s, f i < ⊤
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.Algebra.Order.AbsoluteValue import Mathlib.Algebra.Order.Ring.WithTop import Mathlib.Algebra.BigOperators.Basic import Mathlib.Data.Fintype.Card import...
simp only [WithTop.lt_top_iff_ne_top, ne_eq, sum_eq_top_iff, not_exists, not_and]
/-- A sum of finite numbers is still finite -/ theorem sum_lt_top_iff [AddCommMonoid M] [LT M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i < ⊤ ↔ ∀ i ∈ s, f i < ⊤ := by
Mathlib.Algebra.BigOperators.Order.792_0.ewL52iF1Dz3xeLh
/-- A sum of finite numbers is still finite -/ theorem sum_lt_top_iff [AddCommMonoid M] [LT M] {s : Finset ι} {f : ι → WithTop M} : ∑ i in s, f i < ⊤ ↔ ∀ i ∈ s, f i < ⊤
Mathlib_Algebra_BigOperators_Order
b x y : ℝ ⊢ logb b 0 = 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp [logb]
@[simp] theorem logb_zero : logb b 0 = 0 := by
Mathlib.Analysis.SpecialFunctions.Log.Base.48_0.egNyp4fdqSCAE7f
@[simp] theorem logb_zero : logb b 0 = 0
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ ⊢ logb b 1 = 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp [logb]
@[simp] theorem logb_one : logb b 1 = 0 := by
Mathlib.Analysis.SpecialFunctions.Log.Base.52_0.egNyp4fdqSCAE7f
@[simp] theorem logb_one : logb b 1 = 0
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ h : logb b b = 1 h' : log b = 0 ⊢ False
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp [logb, h'] at h
lemma logb_self_eq_one_iff : logb b b = 1 ↔ b ≠ 0 ∧ b ≠ 1 ∧ b ≠ -1 := Iff.trans ⟨fun h h' => by
Mathlib.Analysis.SpecialFunctions.Log.Base.60_0.egNyp4fdqSCAE7f
lemma logb_self_eq_one_iff : logb b b = 1 ↔ b ≠ 0 ∧ b ≠ 1 ∧ b ≠ -1
Mathlib_Analysis_SpecialFunctions_Log_Base
b x✝ y x : ℝ ⊢ logb b |x| = logb b x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [logb, logb, log_abs]
@[simp] theorem logb_abs (x : ℝ) : logb b |x| = logb b x := by
Mathlib.Analysis.SpecialFunctions.Log.Base.63_0.egNyp4fdqSCAE7f
@[simp] theorem logb_abs (x : ℝ) : logb b |x| = logb b x
Mathlib_Analysis_SpecialFunctions_Log_Base
b x✝ y x : ℝ ⊢ logb b (-x) = logb b x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [← logb_abs x, ← logb_abs (-x), abs_neg]
@[simp] theorem logb_neg_eq_logb (x : ℝ) : logb b (-x) = logb b x := by
Mathlib.Analysis.SpecialFunctions.Log.Base.67_0.egNyp4fdqSCAE7f
@[simp] theorem logb_neg_eq_logb (x : ℝ) : logb b (-x) = logb b x
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ hx : x ≠ 0 hy : y ≠ 0 ⊢ logb b (x * y) = logb b x + logb b y
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp_rw [logb, log_mul hx hy, add_div]
theorem logb_mul (hx : x ≠ 0) (hy : y ≠ 0) : logb b (x * y) = logb b x + logb b y := by
Mathlib.Analysis.SpecialFunctions.Log.Base.72_0.egNyp4fdqSCAE7f
theorem logb_mul (hx : x ≠ 0) (hy : y ≠ 0) : logb b (x * y) = logb b x + logb b y
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ hx : x ≠ 0 hy : y ≠ 0 ⊢ logb b (x / y) = logb b x - logb b y
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp_rw [logb, log_div hx hy, sub_div]
theorem logb_div (hx : x ≠ 0) (hy : y ≠ 0) : logb b (x / y) = logb b x - logb b y := by
Mathlib.Analysis.SpecialFunctions.Log.Base.76_0.egNyp4fdqSCAE7f
theorem logb_div (hx : x ≠ 0) (hy : y ≠ 0) : logb b (x / y) = logb b x - logb b y
Mathlib_Analysis_SpecialFunctions_Log_Base
b x✝ y x : ℝ ⊢ logb b x⁻¹ = -logb b x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp [logb, neg_div]
@[simp] theorem logb_inv (x : ℝ) : logb b x⁻¹ = -logb b x := by
Mathlib.Analysis.SpecialFunctions.Log.Base.80_0.egNyp4fdqSCAE7f
@[simp] theorem logb_inv (x : ℝ) : logb b x⁻¹ = -logb b x
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ ⊢ (logb a b)⁻¹ = logb b a
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp_rw [logb, inv_div]
theorem inv_logb (a b : ℝ) : (logb a b)⁻¹ = logb b a := by
Mathlib.Analysis.SpecialFunctions.Log.Base.84_0.egNyp4fdqSCAE7f
theorem inv_logb (a b : ℝ) : (logb a b)⁻¹ = logb b a
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ (logb (a * b) c)⁻¹ = (logb a c)⁻¹ + (logb b c)⁻¹
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp_rw [inv_logb]
theorem inv_logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a * b) c)⁻¹ = (logb a c)⁻¹ + (logb b c)⁻¹ := by
Mathlib.Analysis.SpecialFunctions.Log.Base.87_0.egNyp4fdqSCAE7f
theorem inv_logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a * b) c)⁻¹ = (logb a c)⁻¹ + (logb b c)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ logb c (a * b) = logb c a + logb c b
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
exact logb_mul h₁ h₂
theorem inv_logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a * b) c)⁻¹ = (logb a c)⁻¹ + (logb b c)⁻¹ := by simp_rw [inv_logb];
Mathlib.Analysis.SpecialFunctions.Log.Base.87_0.egNyp4fdqSCAE7f
theorem inv_logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a * b) c)⁻¹ = (logb a c)⁻¹ + (logb b c)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ (logb (a / b) c)⁻¹ = (logb a c)⁻¹ - (logb b c)⁻¹
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp_rw [inv_logb]
theorem inv_logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a / b) c)⁻¹ = (logb a c)⁻¹ - (logb b c)⁻¹ := by
Mathlib.Analysis.SpecialFunctions.Log.Base.92_0.egNyp4fdqSCAE7f
theorem inv_logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a / b) c)⁻¹ = (logb a c)⁻¹ - (logb b c)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ logb c (a / b) = logb c a - logb c b
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
exact logb_div h₁ h₂
theorem inv_logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a / b) c)⁻¹ = (logb a c)⁻¹ - (logb b c)⁻¹ := by simp_rw [inv_logb];
Mathlib.Analysis.SpecialFunctions.Log.Base.92_0.egNyp4fdqSCAE7f
theorem inv_logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : (logb (a / b) c)⁻¹ = (logb a c)⁻¹ - (logb b c)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ logb (a * b) c = ((logb a c)⁻¹ + (logb b c)⁻¹)⁻¹
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [← inv_logb_mul_base h₁ h₂ c, inv_inv]
theorem logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : logb (a * b) c = ((logb a c)⁻¹ + (logb b c)⁻¹)⁻¹ := by
Mathlib.Analysis.SpecialFunctions.Log.Base.97_0.egNyp4fdqSCAE7f
theorem logb_mul_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : logb (a * b) c = ((logb a c)⁻¹ + (logb b c)⁻¹)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b : ℝ h₁ : a ≠ 0 h₂ : b ≠ 0 c : ℝ ⊢ logb (a / b) c = ((logb a c)⁻¹ - (logb b c)⁻¹)⁻¹
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [← inv_logb_div_base h₁ h₂ c, inv_inv]
theorem logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : logb (a / b) c = ((logb a c)⁻¹ - (logb b c)⁻¹)⁻¹ := by
Mathlib.Analysis.SpecialFunctions.Log.Base.101_0.egNyp4fdqSCAE7f
theorem logb_div_base {a b : ℝ} (h₁ : a ≠ 0) (h₂ : b ≠ 0) (c : ℝ) : logb (a / b) c = ((logb a c)⁻¹ - (logb b c)⁻¹)⁻¹
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b c : ℝ h₁ : b ≠ 0 h₂ : b ≠ 1 h₃ : b ≠ -1 ⊢ logb a b * logb b c = logb a c
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
unfold logb
theorem mul_logb {a b c : ℝ} (h₁ : b ≠ 0) (h₂ : b ≠ 1) (h₃ : b ≠ -1) : logb a b * logb b c = logb a c := by
Mathlib.Analysis.SpecialFunctions.Log.Base.105_0.egNyp4fdqSCAE7f
theorem mul_logb {a b c : ℝ} (h₁ : b ≠ 0) (h₂ : b ≠ 1) (h₃ : b ≠ -1) : logb a b * logb b c = logb a c
Mathlib_Analysis_SpecialFunctions_Log_Base
b✝ x y a b c : ℝ h₁ : b ≠ 0 h₂ : b ≠ 1 h₃ : b ≠ -1 ⊢ log b / log a * (log c / log b) = log c / log a
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [mul_comm, div_mul_div_cancel _ (log_ne_zero.mpr ⟨h₁, h₂, h₃⟩)]
theorem mul_logb {a b c : ℝ} (h₁ : b ≠ 0) (h₂ : b ≠ 1) (h₃ : b ≠ -1) : logb a b * logb b c = logb a c := by unfold logb
Mathlib.Analysis.SpecialFunctions.Log.Base.105_0.egNyp4fdqSCAE7f
theorem mul_logb {a b c : ℝ} (h₁ : b ≠ 0) (h₂ : b ≠ 1) (h₃ : b ≠ -1) : logb a b * logb b c = logb a c
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
have b_ne_zero : b ≠ 0
private theorem log_b_ne_zero : log b ≠ 0 := by
Mathlib.Analysis.SpecialFunctions.Log.Base.120_0.egNyp4fdqSCAE7f
private theorem log_b_ne_zero : log b ≠ 0
Mathlib_Analysis_SpecialFunctions_Log_Base
case b_ne_zero b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 ⊢ b ≠ 0 b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 b_ne_zero : b ≠ 0 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
linarith
private theorem log_b_ne_zero : log b ≠ 0 := by have b_ne_zero : b ≠ 0;
Mathlib.Analysis.SpecialFunctions.Log.Base.120_0.egNyp4fdqSCAE7f
private theorem log_b_ne_zero : log b ≠ 0
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 b_ne_zero : b ≠ 0 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
have b_ne_minus_one : b ≠ -1
private theorem log_b_ne_zero : log b ≠ 0 := by have b_ne_zero : b ≠ 0; linarith
Mathlib.Analysis.SpecialFunctions.Log.Base.120_0.egNyp4fdqSCAE7f
private theorem log_b_ne_zero : log b ≠ 0
Mathlib_Analysis_SpecialFunctions_Log_Base
case b_ne_minus_one b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 b_ne_zero : b ≠ 0 ⊢ b ≠ -1 b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 b_ne_zero : b ≠ 0 b_ne_minus_one : b ≠ -1 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
linarith
private theorem log_b_ne_zero : log b ≠ 0 := by have b_ne_zero : b ≠ 0; linarith have b_ne_minus_one : b ≠ -1;
Mathlib.Analysis.SpecialFunctions.Log.Base.120_0.egNyp4fdqSCAE7f
private theorem log_b_ne_zero : log b ≠ 0
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 b_ne_zero : b ≠ 0 b_ne_minus_one : b ≠ -1 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp [b_ne_one, b_ne_zero, b_ne_minus_one]
private theorem log_b_ne_zero : log b ≠ 0 := by have b_ne_zero : b ≠ 0; linarith have b_ne_minus_one : b ≠ -1; linarith
Mathlib.Analysis.SpecialFunctions.Log.Base.120_0.egNyp4fdqSCAE7f
private theorem log_b_ne_zero : log b ≠ 0
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 ⊢ logb b (b ^ x) = x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [logb, div_eq_iff, log_rpow b_pos]
@[simp] theorem logb_rpow : logb b (b ^ x) = x := by
Mathlib.Analysis.SpecialFunctions.Log.Base.125_0.egNyp4fdqSCAE7f
@[simp] theorem logb_rpow : logb b (b ^ x) = x
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 ⊢ log b ≠ 0
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
exact log_b_ne_zero b_pos b_ne_one
@[simp] theorem logb_rpow : logb b (b ^ x) = x := by rw [logb, div_eq_iff, log_rpow b_pos]
Mathlib.Analysis.SpecialFunctions.Log.Base.125_0.egNyp4fdqSCAE7f
@[simp] theorem logb_rpow : logb b (b ^ x) = x
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ b ^ logb b x = |x|
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
apply log_injOn_pos
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ b ^ logb b x ∈ Ioi 0 case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ |x| ∈ Ioi 0 case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ log (b ^ logb b x) = log |x|
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp only [Set.mem_Ioi]
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by apply log_injOn_pos
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ 0 < b ^ logb b x case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ |x| ∈ Ioi 0 case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ log (b ^ logb b x) = log |x|
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
apply rpow_pos_of_pos b_pos
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by apply log_injOn_pos simp only [Set.mem_Ioi]
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ |x| ∈ Ioi 0 case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ log (b ^ logb b x) = log |x|
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
simp only [abs_pos, mem_Ioi, Ne.def, hx, not_false_iff]
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by apply log_injOn_pos simp only [Set.mem_Ioi] apply rpow_pos_of_pos b_pos
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ log (b ^ logb b x) = log |x|
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [log_rpow b_pos, logb, log_abs]
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by apply log_injOn_pos simp only [Set.mem_Ioi] apply rpow_pos_of_pos b_pos simp only [abs_pos, mem_Ioi, Ne.def, hx, not_false_iff]
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
case a b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : x ≠ 0 ⊢ log x / log b * log b = log x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
field_simp [log_b_ne_zero b_pos b_ne_one]
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x| := by apply log_injOn_pos simp only [Set.mem_Ioi] apply rpow_pos_of_pos b_pos simp only [abs_pos, mem_Ioi, Ne.def, hx, not_false_iff] rw [log_rpow b_pos, logb, log_abs]
Mathlib.Analysis.SpecialFunctions.Log.Base.131_0.egNyp4fdqSCAE7f
theorem rpow_logb_eq_abs (hx : x ≠ 0) : b ^ logb b x = |x|
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : 0 < x ⊢ b ^ logb b x = x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
rw [rpow_logb_eq_abs b_pos b_ne_one hx.ne']
@[simp] theorem rpow_logb (hx : 0 < x) : b ^ logb b x = x := by
Mathlib.Analysis.SpecialFunctions.Log.Base.140_0.egNyp4fdqSCAE7f
@[simp] theorem rpow_logb (hx : 0 < x) : b ^ logb b x = x
Mathlib_Analysis_SpecialFunctions_Log_Base
b x y : ℝ b_pos : 0 < b b_ne_one : b ≠ 1 hx : 0 < x ⊢ |x| = x
/- Copyright (c) 2022 Bolton Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bolton Bailey, Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Data.Int.Log #align_import analysis.spec...
exact abs_of_pos hx
@[simp] theorem rpow_logb (hx : 0 < x) : b ^ logb b x = x := by rw [rpow_logb_eq_abs b_pos b_ne_one hx.ne']
Mathlib.Analysis.SpecialFunctions.Log.Base.140_0.egNyp4fdqSCAE7f
@[simp] theorem rpow_logb (hx : 0 < x) : b ^ logb b x = x
Mathlib_Analysis_SpecialFunctions_Log_Base