Download data/lean/OAI/AlgebraicGeometry/DivisorClass/Chern/Complex/RealInnerSquare.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/DivisorClass/Chern/Complex/RealInnerSquare.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/DivisorClass/Chern/Complex/RealInnerSquare.lean
-
curl -L -o RealInnerSquare.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/DivisorClass/Chern/Complex/RealInnerSquare.lean
1.5 kB
| 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 | |