The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.Basic
163 declarations and 4 deprecated aliases. Mathlib docs Β· Source
Properties of inner product spaces
This file proves many basic properties of inner product spaces (real or complex).
Main results
inner_mul_inner_self_le: the Cauchy-Schwarz inequality (one of many variants).norm_inner_eq_norm_iff: the equality criterion in the Cauchy-Schwarz inequality (also in many variants).inner_eq_sum_norm_sq_div_four: the polarization identity.
Tags
inner product space, Hilbert space, norm
theorem inner_conj_symm E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), (starRingEnd π) (inner π y x) = inner π x y
theorem real_inner_comm E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F), inner β y x = inner β x y
theorem inner_eq_zero_symm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, inner π x y = 0 β inner π y x = 0
instance instSymmEqInnerOfNat E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Sort u_4} (v : ΞΉ β E), Std.Symm fun i j β¦ inner π (v i) (v j) = 0
theorem inner_self_im E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.im (inner π x x) = 0
theorem inner_add_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y z : E), inner π (x + y) z = inner π x z + inner π y z
theorem inner_add_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y z : E), inner π x (y + z) = inner π x y + inner π x z
theorem inner_re_symm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y) = RCLike.re (inner π y x)
theorem inner_im_symm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.im (inner π x y) = -RCLike.im (inner π y x)
theorem inner_smul_left_eq_star_smul E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{π : Type u_4} [inst_3 : CommSemiring π] [inst_4 : StarRing π] [inst_5 : Algebra π π] [inst_6 : Module π E]
[IsScalarTower π π E] [StarModule π π] (x y : E) (r : π), inner π (r β’ x) y = (starRingEnd π) r β’ inner π x y
See inner_smul_left for the common special when π = π.
theorem inner_smul_left_eq_smul E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{π : Type u_4} [inst_3 : CommSemiring π] [inst_4 : StarRing π] [inst_5 : Algebra π π] [inst_6 : Module π E]
[IsScalarTower π π E] [StarModule π π] [TrivialStar π] (x y : E) (r : π), inner π (r β’ x) y = r β’ inner π x y
Special case of inner_smul_left_eq_star_smul when the acting ring has a trivial star
(e.g. β, β€, ββ₯0, β, β).
theorem inner_smul_right_eq_smul E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{π : Type u_4} [inst_3 : CommSemiring π] [inst_4 : StarRing π] [inst_5 : Algebra π π] [inst_6 : Module π E]
[IsScalarTower π π E] [StarModule π π] (x y : E) (r : π), inner π x (r β’ y) = r β’ inner π x y
See inner_smul_right for the common special when π = π.
theorem inner_smul_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E) (r : π), inner π (r β’ x) y = (starRingEnd π) r * inner π x y
See inner_smul_left_eq_star_smul for the case of a general algebra action.
theorem real_inner_smul_left E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F) (r : β),
inner β (r β’ x) y = r * inner β x y
theorem inner_smul_real_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E) (r : β), inner π (βr β’ x) y = r β’ inner π x y
theorem inner_smul_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E) (r : π), inner π x (r β’ y) = r * inner π x y
See inner_smul_right_eq_smul for the case of a general algebra action.
theorem real_inner_smul_right E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F) (r : β),
inner β x (r β’ y) = r * inner β x y
theorem inner_smul_real_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E) (r : β), inner π x (βr β’ y) = r β’ inner π x y
def innerββ E1 #
(π : Type u_1) β
{E : Type u_2} β
[inst : RCLike π] β [inst_1 : SeminormedAddCommGroup E] β [inst_2 : InnerProductSpace π E] β E βββ[π] E ββ[π] π
The inner product as a sesquilinear map.
Note that in the case π = β this is a bilinear form.
theorem coe_innerββ_apply E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(v : E), β((innerββ π) v) = fun w β¦ inner π v w
theorem innerββ_apply_apply E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(v w : E), ((innerββ π) v) w = inner π v w
def innerβ E1 #
(F : Type u_3) β [inst : SeminormedAddCommGroup F] β [inst_1 : InnerProductSpace β F] β F ββ[β] F ββ[β] β
The inner product as a bilinear map in the real case.
theorem flip_innerβ E0 #
β (F : Type u_3) [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F], (innerβ F).flip = innerβ F
theorem innerβ_apply_apply E0 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (v w : F),
((innerβ F) v) w = inner β v w
theorem sum_inner E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} (s : Finset ΞΉ) (f : ΞΉ β E) (x : E), inner π (β i β s, f i) x = β i β s, inner π (f i) x
An inner product with a sum on the left.
theorem inner_sum E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} (s : Finset ΞΉ) (f : ΞΉ β E) (x : E), inner π x (β i β s, f i) = β i β s, inner π x (f i)
An inner product with a sum on the right.
theorem Finsupp.sum_inner E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} {M : Type u_5} [inst_3 : Zero M] (l : ΞΉ ββ M) (v : ΞΉ β M β E) (x : E),
inner π (l.sum v) x = l.sum fun i a β¦ inner π (v i a) x
An inner product with a sum on the left, Finsupp version.
theorem Finsupp.inner_sum E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} {M : Type u_5} [inst_3 : Zero M] (l : ΞΉ ββ M) (v : ΞΉ β M β E) (x : E),
inner π x (l.sum v) = l.sum fun i a β¦ inner π x (v i a)
An inner product with a sum on the right, Finsupp version.
theorem DFinsupp.sum_inner E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} [inst_3 : DecidableEq ΞΉ] {Ξ± : ΞΉ β Type u_5} [inst_4 : (i : ΞΉ) β AddZeroClass (Ξ± i)]
[inst_5 : (i : ΞΉ) β (x : Ξ± i) β Decidable (x β 0)] (f : (i : ΞΉ) β Ξ± i β E) (l : Ξ β (i : ΞΉ), Ξ± i) (x : E),
inner π (l.sum f) x = l.sum fun i a β¦ inner π (f i a) x
theorem DFinsupp.inner_sum E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} [inst_3 : DecidableEq ΞΉ] {Ξ± : ΞΉ β Type u_5} [inst_4 : (i : ΞΉ) β AddZeroClass (Ξ± i)]
[inst_5 : (i : ΞΉ) β (x : Ξ± i) β Decidable (x β 0)] (f : (i : ΞΉ) β Ξ± i β E) (l : Ξ β (i : ΞΉ), Ξ± i) (x : E),
inner π x (l.sum f) = l.sum fun i a β¦ inner π x (f i a)
theorem inner_zero_left E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), inner π 0 x = 0
theorem inner_re_zero_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.re (inner π 0 x) = 0
theorem inner_zero_right E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), inner π x 0 = 0
theorem inner_re_zero_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.re (inner π x 0) = 0
theorem inner_self_nonneg E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, 0 β€ RCLike.re (inner π x x)
theorem real_inner_self_nonneg E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}, 0 β€ inner β x x
theorem inner_self_ofReal_re E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), β(RCLike.re (inner π x x)) = inner π x x
theorem inner_self_eq_norm_sq_to_K E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), inner π x x = ββxβ ^ 2
theorem inner_self_re_eq_norm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.re (inner π x x) = βinner π x xβ
theorem inner_self_ofReal_norm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), ββinner π x xβ = inner π x x
theorem real_inner_self_abs E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F), |inner β x x| = inner β x x
theorem norm_inner_symm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x yβ = βinner π y xβ
theorem inner_neg_left E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π (-x) y = -inner π x y
theorem inner_neg_right E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π x (-y) = -inner π x y
theorem inner_neg_neg E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π (-x) (-y) = inner π x y
theorem inner_self_conj E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), (starRingEnd π) (inner π x x) = inner π x x
theorem inner_sub_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y z : E), inner π (x - y) z = inner π x z - inner π y z
theorem inner_sub_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y z : E), inner π x (y - z) = inner π x y - inner π x z
theorem inner_mul_symm_re_eq_norm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y * inner π y x) = βinner π x y * inner π y xβ
theorem inner_add_add_self E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π (x + y) (x + y) = inner π x x + inner π x y + inner π y x + inner π y y
Expand βͺx + y, x + yβ«
theorem real_inner_add_add_self E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β (x + y) (x + y) = inner β x x + 2 * inner β x y + inner β y y
Expand βͺx + y, x + yβ«_β
theorem inner_sub_sub_self E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π (x - y) (x - y) = inner π x x - inner π x y - inner π y x + inner π y y
theorem real_inner_sub_sub_self E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β (x - y) (x - y) = inner β x x - 2 * inner β x y + inner β y y
Expand βͺx - y, x - yβ«_β
theorem parallelogram_law E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, inner π (x + y) (x + y) + inner π (x - y) (x - y) = 2 * (inner π x x + inner π y y)
Parallelogram law
theorem inner_mul_inner_self_le E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x yβ * βinner π y xβ β€ RCLike.re (inner π x x) * RCLike.re (inner π y y)
CauchyβSchwarz inequality.
theorem real_inner_mul_inner_self_le E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β x y * inner β x y β€ inner β x x * inner β y y
CauchyβSchwarz inequality for real inner products.
theorem inner_eq_ofReal_norm_sq_left_iff E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{v w : E}, inner π v w = ββvβ ^ 2 β inner π v (v - w) = 0
theorem inner_eq_norm_sq_left_iff E0 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {v w : F},
inner β v w = βvβ ^ 2 β inner β v (v - w) = 0
theorem inner_eq_ofReal_norm_sq_right_iff E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{v w : E}, inner π v w = ββwβ ^ 2 β inner π (v - w) w = 0
theorem inner_eq_norm_sq_right_iff E0 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {v w : F},
inner β v w = βwβ ^ 2 β inner β (v - w) w = 0
theorem inner_self_eq_zero E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, inner π x x = 0 β x = 0
theorem inner_self_ne_zero E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, inner π x x β 0 β x β 0
theorem ext_inner_left E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, (β (v : E), inner π v x = inner π v y) β x = y
theorem ext_iff_inner_left E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, x = y β β (v : E), inner π v x = inner π v y
theorem ext_inner_right E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, (β (v : E), inner π x v = inner π y v) β x = y
theorem ext_iff_inner_right E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, x = y β β (v : E), inner π x v = inner π y v
theorem re_inner_self_nonpos E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, RCLike.re (inner π x x) β€ 0 β x = 0
theorem re_inner_self_pos E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, 0 < RCLike.re (inner π x x) β x β 0
theorem real_inner_self_nonpos E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}, inner β x x β€ 0 β x = 0
theorem real_inner_self_pos E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}, 0 < inner β x x β x β 0
theorem linearIndependent_of_ne_zero_of_inner_eq_zero E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} {v : ΞΉ β E},
(β (i : ΞΉ), v i β 0) β (Pairwise fun i j β¦ inner π (v i) (v j) = 0) β LinearIndependent π v
A family of vectors is linearly independent if they are nonzero and orthogonal.
theorem norm_eq_sqrt_re_inner E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), βxβ = β(RCLike.re (inner π x x))
theorem norm_eq_sqrt_real_inner E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F), βxβ = β(inner β x x)
theorem inner_self_eq_norm_mul_norm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.re (inner π x x) = βxβ * βxβ
theorem inner_self_eq_norm_sq E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), RCLike.re (inner π x x) = βxβ ^ 2
theorem real_inner_self_eq_norm_mul_norm E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F), inner β x x = βxβ * βxβ
theorem real_inner_self_eq_norm_sq E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F), inner β x x = βxβ ^ 2
theorem norm_add_sq E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx + yβ ^ 2 = βxβ ^ 2 + 2 * RCLike.re (inner π x y) + βyβ ^ 2
Expand the square
theorem norm_add_pow_two E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx + yβ ^ 2 = βxβ ^ 2 + 2 * RCLike.re (inner π x y) + βyβ ^ 2
Alias of norm_add_sq.
Expand the square
theorem norm_add_sq_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx + yβ ^ 2 = βxβ ^ 2 + 2 * inner β x y + βyβ ^ 2
Expand the square
theorem norm_add_pow_two_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx + yβ ^ 2 = βxβ ^ 2 + 2 * inner β x y + βyβ ^ 2
Alias of norm_add_sq_real.
Expand the square
theorem norm_add_mul_self E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx + yβ * βx + yβ = βxβ * βxβ + 2 * RCLike.re (inner π x y) + βyβ * βyβ
Expand the square
theorem norm_add_mul_self_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx + yβ * βx + yβ = βxβ * βxβ + 2 * inner β x y + βyβ * βyβ
Expand the square
theorem norm_sub_sq E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx - yβ ^ 2 = βxβ ^ 2 - 2 * RCLike.re (inner π x y) + βyβ ^ 2
Expand the square
theorem norm_sub_pow_two E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx - yβ ^ 2 = βxβ ^ 2 - 2 * RCLike.re (inner π x y) + βyβ ^ 2
Alias of norm_sub_sq.
Expand the square
theorem norm_sub_sq_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx - yβ ^ 2 = βxβ ^ 2 - 2 * inner β x y + βyβ ^ 2
Expand the square
theorem norm_sub_pow_two_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx - yβ ^ 2 = βxβ ^ 2 - 2 * inner β x y + βyβ ^ 2
Alias of norm_sub_sq_real.
Expand the square
theorem norm_sub_mul_self E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βx - yβ * βx - yβ = βxβ * βxβ - 2 * RCLike.re (inner π x y) + βyβ * βyβ
Expand the square
theorem norm_sub_mul_self_real E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx - yβ * βx - yβ = βxβ * βxβ - 2 * inner β x y + βyβ * βyβ
Expand the square
theorem norm_inner_le_norm E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x yβ β€ βxβ * βyβ
CauchyβSchwarz inequality with norm
theorem nnNorm_inner_le_nnNorm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x yββ β€ βxββ * βyββ
theorem eNorm_inner_le_eNorm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x yββ β€ βxββ * βyββ
theorem re_inner_le_norm E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y) β€ βxβ * βyβ
theorem abs_real_inner_le_norm E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F), |inner β x y| β€ βxβ * βyβ
CauchyβSchwarz inequality with norm
theorem real_inner_le_norm E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F), inner β x y β€ βxβ * βyβ
CauchyβSchwarz inequality with norm
theorem inner_eq_zero_of_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E} (y : E), βxβ = 0 β inner π x y = 0
theorem inner_eq_zero_of_right E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E) {y : E}, βyβ = 0 β inner π x y = 0
theorem parallelogram_law_with_norm_mul E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [InnerProductSpace π E] (x y : E),
βx + yβ * βx + yβ + βx - yβ * βx - yβ = 2 * (βxβ * βxβ + βyβ * βyβ)
theorem parallelogram_law_with_norm E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [InnerProductSpace π E] (x y : E),
βx + yβ ^ 2 + βx - yβ ^ 2 = 2 * (βxβ ^ 2 + βyβ ^ 2)
theorem parallelogram_law_with_nnNorm_mul E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [InnerProductSpace π E] (x y : E),
βx + yββ * βx + yββ + βx - yββ * βx - yββ = 2 * (βxββ * βxββ + βyββ * βyββ)
theorem parallelogram_law_with_nnNorm E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [InnerProductSpace π E] (x y : E),
βx + yββ ^ 2 + βx - yββ ^ 2 = 2 * (βxββ ^ 2 + βyββ ^ 2)
theorem norm_sq_add_norm_sq_add_norm_sq_add_norm_add_add_sq E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [InnerProductSpace π E]
(x y z : E), βxβ ^ 2 + βyβ ^ 2 + βzβ ^ 2 + βx + y + zβ ^ 2 = βx + yβ ^ 2 + βy + zβ ^ 2 + βx + zβ ^ 2
theorem re_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two E2 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y) = (βx + yβ * βx + yβ - βxβ * βxβ - βyβ * βyβ) / 2
Polarization identity: The real part of the inner product, in terms of the norm.
theorem re_inner_eq_norm_mul_self_add_norm_mul_self_sub_norm_sub_mul_self_div_two E2 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y) = (βxβ * βxβ + βyβ * βyβ - βx - yβ * βx - yβ) / 2
Polarization identity: The real part of the inner product, in terms of the norm.
theorem re_inner_eq_norm_add_mul_self_sub_norm_sub_mul_self_div_four E2 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), RCLike.re (inner π x y) = (βx + yβ * βx + yβ - βx - yβ * βx - yβ) / 4
Polarization identity: The real part of the inner product, in terms of the norm.
theorem im_inner_eq_norm_sub_i_smul_mul_self_sub_norm_add_i_smul_mul_self_div_four E2 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E),
RCLike.im (inner π x y) = (βx - RCLike.I β’ yβ * βx - RCLike.I β’ yβ - βx + RCLike.I β’ yβ * βx + RCLike.I β’ yβ) / 4
Polarization identity: The imaginary part of the inner product, in terms of the norm.
theorem inner_eq_sum_norm_sq_div_four E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E),
inner π x y = (ββx + yβ ^ 2 - ββx - yβ ^ 2 + (ββx - RCLike.I β’ yβ ^ 2 - ββx + RCLike.I β’ yβ ^ 2) * RCLike.I) / 4
Polarization identity: The inner product, in terms of the norm.
theorem real_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β x y = (βx + yβ * βx + yβ - βxβ * βxβ - βyβ * βyβ) / 2
Polarization identity: The real inner product, in terms of the norm.
theorem real_inner_eq_norm_mul_self_add_norm_mul_self_sub_norm_sub_mul_self_div_two E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β x y = (βxβ * βxβ + βyβ * βyβ - βx - yβ * βx - yβ) / 2
Polarization identity: The real inner product, in terms of the norm.
theorem norm_add_sq_eq_norm_sq_add_norm_sq_iff_real_inner_eq_zero E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx + yβ * βx + yβ = βxβ * βxβ + βyβ * βyβ β inner β x y = 0
Pythagorean theorem, if-and-only-if vector inner product form.
theorem norm_add_eq_sqrt_iff_real_inner_eq_zero E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βx + yβ = β(βxβ * βxβ + βyβ * βyβ) β inner β x y = 0
Pythagorean theorem, if-and-if vector inner product form using square roots.
theorem norm_add_sq_eq_norm_sq_add_norm_sq_of_inner_eq_zero E2 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner π x y = 0 β βx + yβ * βx + yβ = βxβ * βxβ + βyβ * βyβ
Pythagorean theorem, vector inner product form.
theorem norm_add_sq_eq_norm_sq_add_norm_sq_real E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
inner β x y = 0 β βx + yβ * βx + yβ = βxβ * βxβ + βyβ * βyβ
Pythagorean theorem, vector inner product form.
theorem norm_sub_sq_eq_norm_sq_add_norm_sq_iff_real_inner_eq_zero E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
βx - yβ * βx - yβ = βxβ * βxβ + βyβ * βyβ β inner β x y = 0
Pythagorean theorem, subtracting vectors, if-and-only-if vector inner product form.
theorem norm_sub_eq_sqrt_iff_real_inner_eq_zero E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βx - yβ = β(βxβ * βxβ + βyβ * βyβ) β inner β x y = 0
Pythagorean theorem, subtracting vectors, if-and-if vector inner product form using square roots.
theorem norm_sub_sq_eq_norm_sq_add_norm_sq_real E2 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
inner β x y = 0 β βx - yβ * βx - yβ = βxβ * βxβ + βyβ * βyβ
Pythagorean theorem, subtracting vectors, vector inner product form.
theorem real_inner_add_sub_eq_zero_iff E0 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β (x + y) (x - y) = 0 β βxβ = βyβ
The sum and difference of two vectors are orthogonal if and only if they have the same norm.
theorem norm_sub_eq_norm_add E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{v w : E}, inner π v w = 0 β βw - vβ = βw + vβ
Given two orthogonal vectors, their sum and difference have equal norms.
theorem abs_real_inner_div_norm_mul_norm_le_one E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
|inner β x y / (βxβ * βyβ)| β€ 1
The real inner product of two vectors, divided by the product of their norms, has absolute value at most 1.
theorem real_inner_smul_self_left E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F) (r : β),
inner β (r β’ x) x = r * (βxβ * βxβ)
The inner product of a vector with a multiple of itself.
theorem real_inner_smul_self_right E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x : F) (r : β),
inner β x (r β’ x) = r * (βxβ * βxβ)
The inner product of a vector with a multiple of itself.
theorem inner_sum_smul_sum_smul_of_sum_eq_zero E1 #
β {F : Type u_3} [inst : SeminormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {ΞΉβ : Type u_4} {sβ : Finset ΞΉβ}
{wβ : ΞΉβ β β} (vβ : ΞΉβ β F),
β i β sβ, wβ i = 0 β
β {ΞΉβ : Type u_5} {sβ : Finset ΞΉβ} {wβ : ΞΉβ β β} (vβ : ΞΉβ β F),
β i β sβ, wβ i = 0 β
inner β (β iβ β sβ, wβ iβ β’ vβ iβ) (β iβ β sβ, wβ iβ β’ vβ iβ) =
(-β iβ β sβ, β iβ β sβ, wβ iβ * wβ iβ * (βvβ iβ - vβ iββ * βvβ iβ - vβ iββ)) / 2
The inner product of two weighted sums, where the weights in each sum add to 0, in terms of the norms of pairwise differences.
theorem inner_eq_zero_iff_forall_re_inner_smul_left E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, inner π x y = 0 β β (c : π), RCLike.re (inner π (c β’ x) y) = 0
βͺx, yβ« = 0 if and only if re βͺc β’ x, yβ« = 0 for every c : π
theorem dist_div_norm_sq_smul E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
x β 0 β y β 0 β β (R : β), dist ((R / βxβ) ^ 2 β’ x) ((R / βyβ) ^ 2 β’ y) = R ^ 2 / (βxβ * βyβ) * dist x y
Formula for the distance between the images of two nonzero points under an inversion with center
zero. See also EuclideanGeometry.dist_inversion_inversion for inversions around a general
point.
theorem norm_inner_div_norm_mul_norm_eq_one_of_ne_zero_of_ne_zero_mul E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E} {r : π}, x β 0 β r β 0 β βinner π x (r β’ x)β / (βxβ * βr β’ xβ) = 1
The inner product of a nonzero vector with a nonzero multiple of itself, divided by the product of their norms, has absolute value 1.
theorem abs_real_inner_div_norm_mul_norm_eq_one_of_ne_zero_of_ne_zero_mul E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F} {r : β},
x β 0 β r β 0 β |inner β x (r β’ x)| / (βxβ * βr β’ xβ) = 1
The inner product of a nonzero vector with a nonzero multiple of itself, divided by the product of their norms, has absolute value 1.
theorem real_inner_div_norm_mul_norm_eq_one_of_ne_zero_of_pos_mul E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F} {r : β},
x β 0 β 0 < r β inner β x (r β’ x) / (βxβ * βr β’ xβ) = 1
The inner product of a nonzero vector with a positive multiple of itself, divided by the product of their norms, has value 1.
theorem real_inner_div_norm_mul_norm_eq_neg_one_of_ne_zero_of_neg_mul E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F} {r : β},
x β 0 β r < 0 β inner β x (r β’ x) / (βxβ * βr β’ xβ) = -1
The inner product of a nonzero vector with a negative multiple of itself, divided by the product of their norms, has value -1.
theorem norm_inner_eq_norm_tfae E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E),
[βinner π x yβ = βxβ * βyβ, x = 0 β¨ y = (inner π x y / inner π x x) β’ x, x = 0 β¨ β r, y = r β’ x,
x = 0 β¨ y β π β x].TFAE
theorem norm_inner_eq_norm_iff E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, x β 0 β y β 0 β (βinner π x yβ = βxβ * βyβ β β r, r β 0 β§ y = r β’ x)
If the inner product of two vectors is equal to the product of their norms, then the two vectors
are multiples of each other. One form of the equality case for Cauchy-Schwarz.
Compare inner_eq_norm_mul_iff, which takes the stronger hypothesis βͺx, yβ« = βxβ * βyβ.
theorem norm_inner_div_norm_mul_norm_eq_one_iff E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), βinner π x y / (ββxβ * ββyβ)β = 1 β x β 0 β§ β r, r β 0 β§ y = r β’ x
The inner product of two vectors, divided by the product of their norms, has absolute value 1 if and only if they are nonzero and one is a multiple of the other. One form of equality case for Cauchy-Schwarz.
theorem abs_real_inner_div_norm_mul_norm_eq_one_iff E0 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
|inner β x y / (βxβ * βyβ)| = 1 β x β 0 β§ β r, r β 0 β§ y = r β’ x
The inner product of two vectors, divided by the product of their norms, has absolute value 1 if and only if they are nonzero and one is a multiple of the other. One form of equality case for Cauchy-Schwarz.
theorem inner_eq_norm_mul_iff_div E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, x β 0 β (inner π x y = ββxβ * ββyβ β (ββyβ / ββxβ) β’ x = y)
theorem inner_eq_norm_mul_iff E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, inner π x y = ββxβ * ββyβ β ββyβ β’ x = ββxβ β’ y
If the inner product of two vectors is equal to the product of their norms (i.e.,
βͺx, yβ« = βxβ * βyβ), then the two vectors are nonnegative real multiples of each other. One form
of the equality case for Cauchy-Schwarz.
Compare norm_inner_eq_norm_iff, which takes the weaker hypothesis abs βͺx, yβ« = βxβ * βyβ.
theorem inner_eq_norm_mul_iff_real E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
inner β x y = βxβ * βyβ β βyβ β’ x = βxβ β’ y
If the inner product of two vectors is equal to the product of their norms (i.e.,
βͺx, yβ« = βxβ * βyβ), then the two vectors are nonnegative real multiples of each other. One form
of the equality case for Cauchy-Schwarz.
Compare norm_inner_eq_norm_iff, which takes the weaker hypothesis abs βͺx, yβ« = βxβ * βyβ.
theorem real_inner_div_norm_mul_norm_eq_one_iff E0 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β x y / (βxβ * βyβ) = 1 β x β 0 β§ β r, 0 < r β§ y = r β’ x
The inner product of two vectors, divided by the product of their norms, has value 1 if and only if they are nonzero and one is a positive multiple of the other.
theorem real_inner_div_norm_mul_norm_eq_neg_one_iff E0 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] (x y : F),
inner β x y / (βxβ * βyβ) = -1 β x β 0 β§ β r < 0, y = r β’ x
The inner product of two vectors, divided by the product of their norms, has value -1 if and only if they are nonzero and one is a negative multiple of the other.
theorem inner_eq_one_iff_of_norm_eq_one E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, βxβ = 1 β βyβ = 1 β (inner π x y = 1 β x = y)
If the inner product of two unit vectors is 1, then the two vectors are equal. One form of
the equality case for Cauchy-Schwarz.
theorem inner_eq_neg_one_iff_of_norm_eq_one E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x y : E}, βxβ = 1 β βyβ = 1 β (inner π x y = -1 β x = -y)
If the inner product of two unit vectors is -1, then the two vectors are negations of each
other.
theorem real_inner_le_one_of_norm_eq_one E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βxβ = 1 β βyβ = 1 β inner β x y β€ 1
The inner product of two unit vectors is less than or equal to 1.
theorem neg_one_le_real_inner_of_norm_eq_one E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βxβ = 1 β βyβ = 1 β -1 β€ inner β x y
The inner product of two unit vectors is greater than or equal to -1.
theorem real_inner_mem_Icc_of_norm_eq_one E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βxβ = 1 β βyβ = 1 β inner β x y β Set.Icc (-1) 1
If x and y are unit vectors, then -1 β€ βͺx, yβ« β€ 1.
theorem inner_self_eq_one_of_norm_eq_one E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{x : E}, βxβ = 1 β inner π x x = 1
theorem inner_lt_norm_mul_iff_real E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
inner β x y < βxβ * βyβ β βyβ β’ x β βxβ β’ y
theorem inner_lt_one_iff_real_of_norm_eq_one E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βxβ = 1 β βyβ = 1 β (inner β x y < 1 β x β y)
If the inner product of two unit vectors is strictly less than 1, then the two vectors are
distinct. One form of the equality case for Cauchy-Schwarz.
theorem norm_add_eq_iff_real E1 #
β {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x y : F},
βx + yβ = βxβ + βyβ β βyβ β’ x = βxβ β’ y
Equality is achieved in the triangle inequality iff the two vectors are collinear.
abbrev InnerProductSpace.induced E1 #
{π : Type u_1} β
{E : Type u_2} β
[inst : RCLike π] β
{G : Type u_4} β
[inst_1 : SeminormedAddCommGroup E] β
[inst_2 : InnerProductSpace π E] β
[inst_3 : AddCommGroup G] β
[inst_4 : Module π G] β
{F : Type u_5} β
[inst_5 : FunLike F G E] β [inst_6 : LinearMapClass F π G E] β (f : F) β InnerProductSpace π G
A linear map from a Module to an InnerProductSpace induces an InnerProductSpace
structure on the domain using the SeminormedAddCommGroup.induced norm.
See note [reducible non-instances].
theorem inner_induced_eq E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] {G : Type u_4} [inst_1 : SeminormedAddCommGroup E]
[inst_2 : InnerProductSpace π E] [inst_3 : AddCommGroup G] [inst_4 : Module π G] (gβ gβ : G) (f : G ββ[π] E),
inner π gβ gβ = inner π (f gβ) (f gβ)
instance RCLike.innerProductSpace E0 #
{π : Type u_1} β [inst : RCLike π] β InnerProductSpace π π
A field π satisfying RCLike is itself a π-inner product space.
theorem RCLike.inner_apply E0 #
β {π : Type u_1} [inst : RCLike π] (x y : π), inner π x y = y * (starRingEnd π) x
theorem RCLike.inner_apply' E1 #
β {π : Type u_1} [inst : RCLike π] (x y : π), inner π x y = (starRingEnd π) x * y
A version of RCLike.inner_apply that swaps the order of multiplication.
def Inner.rclikeToReal E1 #
(π : Type u_1) β
(E : Type u_2) β [inst : RCLike π] β [inst_1 : SeminormedAddCommGroup E] β [InnerProductSpace π E] β Inner β E
A general inner product implies a real inner product. This is not registered as an instance
since π does not appear in the return type Inner β E.
abbrev InnerProductSpace.rclikeToReal E1 #
(π : Type u_1) β
(E : Type u_2) β
[inst : RCLike π] β [inst_1 : SeminormedAddCommGroup E] β [InnerProductSpace π E] β InnerProductSpace β E
A general inner product space structure implies a real inner product structure.
This is not registered as an instance since
πdoes not appear in the return typeInnerProductSpace β E,- It is likely to create instance diamonds, as it builds upon the diamond-prone
NormedSpace.restrictScalars.
However, it can be used in a proof to obtain a real inner product space structure from a given
π-inner product space structure.
theorem real_inner_eq_re_inner E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x y : E), inner β x y = RCLike.re (inner π x y)
theorem real_inner_I_smul_self E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
(x : E), inner β x (RCLike.I β’ x) = 0
def InnerProductSpace.complexToReal E1 #
{G : Type u_4} β [inst : SeminormedAddCommGroup G] β [InnerProductSpace β G] β InnerProductSpace β G
A complex inner product implies a real inner product. This cannot be an instance since it
creates a diamond with PiLp.innerProductSpace because re (sum i, βͺx i, y iβ«) and
sum i, re βͺx i, y iβ« are not defeq.
instance instInnerProductSpaceRealComplex E0 #
InnerProductSpace β β
theorem Complex.inner E0 #
β (w z : β), inner β w z = (z * (starRingEnd β) w).re
instance RCLike.toInnerProductSpaceReal E0 #
{π : Type u_1} β [inst : RCLike π] β InnerProductSpace β π
An RCLike field is a real inner product space.
theorem Real.inner_apply E0 #
β (x y : β), inner β x y = x * y
theorem isSymm_inner E1 #
β {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace β E], (innerβ E).IsSymm
theorem isNonneg_inner E1 #
β {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace β E], (innerβ E).IsNonneg
theorem isPosSemidef_inner E1 #
β {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace β E], (innerβ E).IsPosSemidef
Deprecated aliases
| Name | New name | Since |
|---|---|---|
enorm_inner_le_enorm | eNorm_inner_le_eNorm | 2026-11-06 |
nnnorm_inner_le_nnnorm | nnNorm_inner_le_nnNorm | 2026-10-31 |
parallelogram_law_with_nnnorm | parallelogram_law_with_nnNorm | 2026-10-31 |
parallelogram_law_with_nnnorm_mul | parallelogram_law_with_nnNorm_mul | 2026-10-31 |