The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Order.Ring.Pow
8 declarations. Mathlib docs · Source
Bernoulli's inequality
In this file we prove several versions of Bernoulli's inequality.
Besides the standard version 1 + n * a ≤ (1 + a) ^ n,
we also prove a ^ n + n * a ^ (n - 1) * b ≤ (a + b) ^ n,
which can be regarded as Bernoulli's inequality for b / a multiplied by a ^ n.
Also, we prove versions for different typeclass assumptions on the (semi)ring.
theorem Commute.pow_add_mul_le_add_pow_of_sq_nonneg E2 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {a b : R},
Commute a b →
0 ≤ a → 0 ≤ b ^ 2 → 0 ≤ (a + b) ^ 2 → 0 ≤ 2 * a + b → ∀ (n : ℕ), a ^ n + ↑n * a ^ (n - 1) * b ≤ (a + b) ^ n
Bernoulli's inequality for b / a, written after multiplication by the denominators.
theorem one_add_mul_le_pow_of_sq_nonneg E2 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {a : R},
0 ≤ a ^ 2 → 0 ≤ (1 + a) ^ 2 → 0 ≤ 2 + a → ∀ (n : ℕ), 1 + ↑n * a ≤ (1 + a) ^ n
Bernoulli's inequality. This version works for semirings but requires
additional hypotheses 0 ≤ a ^ 2 and 0 ≤ (1 + a) ^ 2.
theorem pow_add_mul_le_add_pow_of_sq_nonneg E2 #
∀ {R : Type u_1} [inst : CommSemiring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {a b : R},
0 ≤ a → 0 ≤ b ^ 2 → 0 ≤ (a + b) ^ 2 → 0 ≤ 2 * a + b → ∀ (n : ℕ), a ^ n + ↑n * a ^ (n - 1) * b ≤ (a + b) ^ n
Bernoulli's inequality for b / a, written after multiplication by the denominators.
This version works for partially ordered commutative semirings,
but explicitly assumes that b ^ 2 and (a + b) ^ 2 are nonnegative.
theorem Commute.pow_add_mul_le_add_pow E2 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : LinearOrder R] [IsOrderedRing R] [ExistsAddOfLE R] {a b : R},
Commute a b → 0 ≤ a → 0 ≤ 2 * a + b → ∀ (n : ℕ), a ^ n + ↑n * a ^ (n - 1) * b ≤ (a + b) ^ n
Bernoulli's inequality for b / a, written after multiplication by the denominators.
This is a version for a linear ordered semiring.
theorem pow_add_mul_le_add_pow E2 #
∀ {R : Type u_1} [inst : CommSemiring R] [inst_1 : LinearOrder R] [IsOrderedRing R] [ExistsAddOfLE R] {a b : R},
0 ≤ a → 0 ≤ 2 * a + b → ∀ (n : ℕ), a ^ n + ↑n * a ^ (n - 1) * b ≤ (a + b) ^ n
Bernoulli's inequality for b / a, written after multiplication by the denominators.
This is a version for a linear ordered semiring.
theorem one_add_le_pow_of_two_add_nonneg E2 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : LinearOrder R] [IsOrderedRing R] [ExistsAddOfLE R] {a : R},
0 ≤ 2 + a → ∀ (n : ℕ), 1 + ↑n * a ≤ (1 + a) ^ n
Bernoulli's inequality for linear ordered semirings.
theorem one_add_mul_le_pow E2 #
∀ {R : Type u_1} [inst : Ring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {a : R},
-2 ≤ a → ∀ (n : ℕ), 1 + ↑n * a ≤ (1 + a) ^ n
Bernoulli's inequality for n : ℕ, -2 ≤ a.
theorem one_add_mul_sub_le_pow E2 #
∀ {R : Type u_1} [inst : Ring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {a : R},
-1 ≤ a → ∀ (n : ℕ), 1 + ↑n * (a - 1) ≤ a ^ n
Bernoulli's inequality reformulated to estimate a^n.