The areas / V34. The tactics of Mathlib
Mathlib.Tactic.LinearCombination.Lemmas
49 declarations. Mathlib docs · Source
Lemmas for the linear_combination tactic
These should not be used directly in user code.
Addition
Multiplication
Scalar multiplication
Division
Lemmas constructing the reduction of a goal to a specified built-up hypothesis
Lookup functions for lemmas by operation and relation(s)
theorem Mathlib.Ineq.WithStrictness.lt.injEq E0 #
∀ (strict strict_1 : Bool),
(Mathlib.Ineq.WithStrictness.lt strict = Mathlib.Ineq.WithStrictness.lt strict_1) = (strict = strict_1)
def Mathlib.Ineq.WithStrictness.ctorIdx E1 #
Mathlib.Ineq.WithStrictness → ℕ
theorem Mathlib.Ineq.WithStrictness.lt.inj E1 #
∀ {strict strict_1 : Bool},
Mathlib.Ineq.WithStrictness.lt strict = Mathlib.Ineq.WithStrictness.lt strict_1 → strict = strict_1
abbrev Mathlib.Ineq.WithStrictness.ctorElimType E1 #
{motive : Mathlib.Ineq.WithStrictness → Sort u} → ℕ → Sort (max 1 u)
theorem Mathlib.Tactic.LinearCombination.add_eq_eq E0 #
∀ {α : Type u_1} {a₁ a₂ b₁ b₂ : α} [inst : Add α], a₁ = b₁ → a₂ = b₂ → a₁ + a₂ = b₁ + b₂
theorem Mathlib.Tactic.LinearCombination.add_le_eq E0 #
∀ {α : Type u_1} {a₁ a₂ b₁ b₂ : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α],
a₁ ≤ b₁ → a₂ = b₂ → a₁ + a₂ ≤ b₁ + b₂
theorem Mathlib.Tactic.LinearCombination.add_eq_le E1 #
∀ {α : Type u_1} {a₁ a₂ b₁ b₂ : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α],
a₁ = b₁ → a₂ ≤ b₂ → a₁ + a₂ ≤ b₁ + b₂
theorem Mathlib.Tactic.LinearCombination.add_lt_eq E0 #
∀ {α : Type u_1} {a₁ a₂ b₁ b₂ : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a₁ < b₁ → a₂ = b₂ → a₁ + a₂ < b₁ + b₂
theorem Mathlib.Tactic.LinearCombination.add_eq_lt E1 #
∀ {α : Type u_1} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α] {a₁ b₁ a₂ b₂ : α},
a₁ = b₁ → a₂ < b₂ → a₁ + a₂ < b₁ + b₂
theorem Mathlib.Tactic.LinearCombination.mul_eq_const E1 #
∀ {α : Type u_1} {a b : α} [inst : Mul α], a = b → ∀ (c : α), a * c = b * c
theorem Mathlib.Tactic.LinearCombination.mul_le_const E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsOrderedRing α],
b ≤ c → ∀ {a : α}, 0 ≤ a → b * a ≤ c * a
theorem Mathlib.Tactic.LinearCombination.mul_lt_const E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α],
b < c → ∀ {a : α}, 0 < a → b * a < c * a
theorem Mathlib.Tactic.LinearCombination.mul_lt_const_weak E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsOrderedRing α],
b < c → ∀ {a : α}, 0 ≤ a → b * a ≤ c * a
theorem Mathlib.Tactic.LinearCombination.mul_const_eq E0 #
∀ {α : Type u_1} {b c : α} [inst : Mul α], b = c → ∀ (a : α), a * b = a * c
theorem Mathlib.Tactic.LinearCombination.mul_const_le E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsOrderedRing α],
b ≤ c → ∀ {a : α}, 0 ≤ a → a * b ≤ a * c
theorem Mathlib.Tactic.LinearCombination.mul_const_lt E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsStrictOrderedRing α],
b < c → ∀ {a : α}, 0 < a → a * b < a * c
theorem Mathlib.Tactic.LinearCombination.mul_const_lt_weak E1 #
∀ {α : Type u_1} {b c : α} [inst : Semiring α] [inst_1 : PartialOrder α] [IsOrderedRing α],
b < c → ∀ {a : α}, 0 ≤ a → a * b ≤ a * c
theorem Mathlib.Tactic.LinearCombination.smul_eq_const E1 #
∀ {α : Type u_1} {K : Type u_2} {t s : K} [inst : SMul K α], t = s → ∀ (c : α), t • c = s • c
theorem Mathlib.Tactic.LinearCombination.smul_le_const E1 #
∀ {α : Type u_1} {K : Type u_2} {t s : K} [inst : Ring K] [inst_1 : PartialOrder K] [inst_2 : AddCommGroup α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [IsOrderedModule K α], t ≤ s → ∀ {a : α}, 0 ≤ a → t • a ≤ s • a
theorem Mathlib.Tactic.LinearCombination.smul_lt_const E1 #
∀ {α : Type u_1} {K : Type u_2} {t s : K} [inst : Ring K] [inst_1 : PartialOrder K] [inst_2 : AddCommGroup α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [IsStrictOrderedModule K α], t < s → ∀ {a : α}, 0 < a → t • a < s • a
theorem Mathlib.Tactic.LinearCombination.smul_lt_const_weak E1 #
∀ {α : Type u_1} {K : Type u_2} {t s : K} [inst : Ring K] [inst_1 : PartialOrder K] [inst_2 : AddCommGroup α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [IsStrictOrderedModule K α], t < s → ∀ {a : α}, 0 ≤ a → t • a ≤ s • a
theorem Mathlib.Tactic.LinearCombination.smul_const_eq E0 #
∀ {α : Type u_1} {b c : α} {K : Type u_2} [inst : SMul K α], b = c → ∀ (s : K), s • b = s • c
theorem Mathlib.Tactic.LinearCombination.smul_const_le E1 #
∀ {α : Type u_1} {b c : α} {K : Type u_2} [inst : Semiring K] [inst_1 : PartialOrder K] [inst_2 : AddCommMonoid α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [PosSMulMono K α], b ≤ c → ∀ {s : K}, 0 ≤ s → s • b ≤ s • c
theorem Mathlib.Tactic.LinearCombination.smul_const_lt E1 #
∀ {α : Type u_1} {b c : α} {K : Type u_2} [inst : Semiring K] [inst_1 : PartialOrder K] [inst_2 : AddCommMonoid α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [PosSMulStrictMono K α], b < c → ∀ {s : K}, 0 < s → s • b < s • c
theorem Mathlib.Tactic.LinearCombination.smul_const_lt_weak E1 #
∀ {α : Type u_1} {b c : α} {K : Type u_2} [inst : Semiring K] [inst_1 : PartialOrder K] [inst_2 : AddCommMonoid α]
[inst_3 : PartialOrder α] [inst_4 : Module K α] [PosSMulMono K α], b < c → ∀ {s : K}, 0 ≤ s → s • b ≤ s • c
theorem Mathlib.Tactic.LinearCombination.div_eq_const E1 #
∀ {α : Type u_1} {a b : α} [inst : Div α], a = b → ∀ (c : α), a / c = b / c
theorem Mathlib.Tactic.LinearCombination.div_le_const E1 #
∀ {α : Type u_1} {b c : α} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α],
b ≤ c → ∀ {a : α}, 0 ≤ a → b / a ≤ c / a
theorem Mathlib.Tactic.LinearCombination.div_lt_const E1 #
∀ {α : Type u_1} {b c : α} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α],
b < c → ∀ {a : α}, 0 < a → b / a < c / a
theorem Mathlib.Tactic.LinearCombination.div_lt_const_weak E1 #
∀ {α : Type u_1} {b c : α} [inst : Semifield α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α],
b < c → ∀ {a : α}, 0 ≤ a → b / a ≤ c / a
theorem Mathlib.Tactic.LinearCombination.le_of_le E1 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a ≤ b → a' + b ≤ b' + a → a' ≤ b'
theorem Mathlib.Tactic.LinearCombination.le_of_eq E0 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a = b → a' + b ≤ b' + a → a' ≤ b'
theorem Mathlib.Tactic.LinearCombination.le_of_lt E1 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a < b → a' + b ≤ b' + a → a' ≤ b'
theorem Mathlib.Tactic.LinearCombination.lt_of_le E1 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a ≤ b → a' + b < b' + a → a' < b'
theorem Mathlib.Tactic.LinearCombination.lt_of_eq E0 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a = b → a' + b < b' + a → a' < b'
theorem Mathlib.Tactic.LinearCombination.lt_of_lt E1 #
∀ {α : Type u_1} {a a' b b' : α} [inst : AddCommMonoid α] [inst_1 : PartialOrder α] [IsOrderedCancelAddMonoid α],
a < b → a' + b ≤ b' + a → a' < b'
theorem Mathlib.Tactic.LinearCombination.le_rearrange E1 #
∀ {α : Type u_3} [inst : AddCommGroup α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α] {a b : α}, a - b ≤ 0 → a ≤ b
theorem Mathlib.Tactic.LinearCombination.lt_rearrange E1 #
∀ {α : Type u_3} [inst : AddCommGroup α] [inst_1 : PartialOrder α] [IsOrderedAddMonoid α] {a b : α}, a - b < 0 → a < b
def Mathlib.Ineq.addRelRelData E1 #
Mathlib.Ineq → Mathlib.Ineq → Lean.Name
Given two (in)equalities, look up the lemma to add them.
inductive Mathlib.Ineq.WithStrictness E1 #
Type
Finite inductive type extending Mathlib.Ineq: a type of inequality (eq, le or lt),
together with, in the case of lt, a Boolean, typically representing the strictness (< or ≤) of
some other inequality.
ctor Mathlib.Ineq.WithStrictness.eq E0 #
Mathlib.Ineq.WithStrictness
ctor Mathlib.Ineq.WithStrictness.le E0 #
Mathlib.Ineq.WithStrictness
ctor Mathlib.Ineq.WithStrictness.lt E0 #
Bool → Mathlib.Ineq.WithStrictness
def Mathlib.Ineq.mulRelConstData E1 #
Mathlib.Ineq.WithStrictness → Lean.Name
Given an (in)equality, look up the lemma to left-multiply it by a constant. If relevant, also take into account the degree of positivity which can be proved of the constant: strict or non-strict.
def Mathlib.Ineq.mulConstRelData E1 #
Mathlib.Ineq.WithStrictness → Lean.Name
Given an (in)equality, look up the lemma to right-multiply it by a constant. If relevant, also take into account the degree of positivity which can be proved of the constant: strict or non-strict.
def Mathlib.Ineq.smulRelConstData E1 #
Mathlib.Ineq.WithStrictness → Lean.Name
Given an (in)equality, look up the lemma to left-scalar-multiply it by a constant (scalar). If relevant, also take into account the degree of positivity which can be proved of the constant: strict or non-strict.
def Mathlib.Ineq.smulConstRelData E1 #
Mathlib.Ineq.WithStrictness → Lean.Name
Given an (in)equality, look up the lemma to right-scalar-multiply it by a constant (vector). If relevant, also take into account the degree of positivity which can be proved of the constant: strict or non-strict.
def Mathlib.Ineq.divRelConstData E1 #
Mathlib.Ineq.WithStrictness → Lean.Name
Given an (in)equality, look up the lemma to divide it by a constant. If relevant, also take into account the degree of positivity which can be proved of the constant: strict or non-strict.
def Mathlib.Ineq.relImpRelData E1 #
Mathlib.Ineq → Mathlib.Ineq → Option (Lean.Name × Mathlib.Ineq)
Given two (in)equalities P and Q, look up the lemma to deduce Q from P, and the relation
appearing in the side condition produced by this lemma.
def Mathlib.Ineq.rearrangeData E1 #
Mathlib.Ineq → Lean.Name
Given an (in)equality, look up the lemma to move everything to the LHS.