File size: 1,497 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Tactic
/-! # Real Inner Square -/
namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Complex.RealInnerSquare
noncomputable section
/-! The two original real inner products along a complex line recover the complex inner-product norm and its Cauchy--Schwarz bound. -/
set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.defeqAttrib.useBackward true
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E]
attribute [local instance] InnerProductSpace.complexToReal
theorem real_inner_rotation_sq (x v : E) :
(inner β x v) ^ 2 + (inner β x (Complex.I β’ v)) ^ 2 = βinner β x vβ ^ 2 := by
rw [real_inner_eq_re_inner β, real_inner_eq_re_inner β, inner_smul_right, Complex.sq_norm]
change (inner β x v).re ^ 2 + (Complex.I * inner β x v).re ^ 2 = Complex.normSq (inner β x v)
simp only [Complex.mul_re, Complex.I_re, Complex.I_im, zero_mul, one_mul, zero_sub,
Complex.normSq_apply, pow_two]
ring
theorem real_inner_rotation_sq_le (x v : E) :
(inner β x v) ^ 2 + (inner β x (Complex.I β’ v)) ^ 2 β€ βxβ ^ 2 * βvβ ^ 2 := by
rw [real_inner_rotation_sq]
exact ((sq_le_sqβ (norm_nonneg _) (mul_nonneg (norm_nonneg x) (norm_nonneg v))).mpr
(norm_inner_le_norm x v)).trans_eq (mul_pow βxβ βvβ 2)
end
end OAI.AlgebraicGeometry.DivisorClass.Chern.Complex.RealInnerSquare
|