Exact Lean source
Nonadditivity.CollinsYoun
Download original .lean · View on GitHub · Jump to source
Direct imports
Imported by project modules
3 direct reverse imports
Relationships above come from literal import commands. The declarations below link to types and references extracted from Lean’s environment. Source text is complete and unchanged.
Declarations in this module
47 project constants, including generated, internal and private declarations.
47 declarations
Nonadditivity.CollinsYoun.coefficientLengthNonadditivity.CollinsYoun.coefficientLength_eq_hsLengthNonadditivity.CollinsYoun.coefficientLength_eq_hsLength._simp_1_1internal/detail/privateNonadditivity.CollinsYoun.coefficientLength_nonnegNonadditivity.CollinsYoun.coefficientLength_sqNonadditivity.CollinsYoun.creation_comp_flip_zeroNonadditivity.CollinsYoun.doubleAnnihilationNonadditivity.CollinsYoun.doubleAnnihilation.eq_1internal/detail/privateNonadditivity.CollinsYoun.doubleAnnihilation_eqNonadditivity.CollinsYoun.doubleCreationNonadditivity.CollinsYoun.doubleCreation._proof_1internal/detail/privateNonadditivity.CollinsYoun.doubleCreation._proof_2internal/detail/privateNonadditivity.CollinsYoun.doubleCreation.eq_1internal/detail/privateNonadditivity.CollinsYoun.doubleCreation_inner_zeroNonadditivity.CollinsYoun.doubleCreation_norm_leNonadditivity.CollinsYoun.doubleCreation_selfNonadditivity.CollinsYoun.double_annihilation_sum_norm_leNonadditivity.CollinsYoun.double_creation_sum_norm_leNonadditivity.CollinsYoun.localPolynomialNonadditivity.CollinsYoun.local_polynomial_norm_le_three_hsNonadditivity.CollinsYoun.local_polynomial_offDiagonalNonadditivity.CollinsYoun.local_polynomial_offDiagonal._simp_1_3internal/detail/privateNonadditivity.CollinsYoun.local_polynomial_three_componentsNonadditivity.CollinsYoun.mask_cone_inner_zeroNonadditivity.CollinsYoun.mixedNonadditivity.CollinsYoun.mixed._proof_1internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_10internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_2internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_3internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_4internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_5internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_6internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_7internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_8internal/detail/privateNonadditivity.CollinsYoun.mixed._proof_9internal/detail/privateNonadditivity.CollinsYoun.mixed.eq_1internal/detail/privateNonadditivity.CollinsYoun.mixed_norm_leNonadditivity.CollinsYoun.norm_sum_smul_sq_leNonadditivity.CollinsYoun.norm_sum_sq_of_inner_zeroNonadditivity.CollinsYoun.offDiagonalNonadditivity.CollinsYoun.offDiagonal.congr_simpNonadditivity.CollinsYoun.offDiagonal.eq_1internal/detail/privateNonadditivity.CollinsYoun.offDiagonal_coefficientLength_leNonadditivity.CollinsYoun.offDiagonal_diagonalNonadditivity.CollinsYoun.sum_annihilation_norm_sq_leNonadditivity.CollinsYoun.sum_cone_mask_norm_sq_leNonadditivity.CollinsYoun.sum_cone_masks_eq
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.FreeCreation78/-! # Operator estimates behind Collins--Youn910The results here discharge concrete pieces of the free length-two estimate.11No external Haagerup or Collins--Youn inequality is assumed in these lemmas.12-/1314noncomputable section1516namespace Nonadditivity.CollinsYoun1718open Nonadditivity.FreeModel Nonadditivity.FreeCreation19open scoped BigOperators InnerProductSpace2021attribute [local instance] Classical.propDecidable2223section HilbertEstimates2425variable {I E : Type*} [Fintype I]26[NormedAddCommGroup E] [InnerProductSpace ℂ E]2728theorem norm_sum_sq_of_inner_zero (f : I → E)29(horth : ∀ i j, i ≠ j → inner ℂ (f i) (f j) = 0) :30‖∑ i, f i‖ ^ 2 = ∑ i, ‖f i‖ ^ 2 := by31classical32have hinner : inner ℂ (∑ i, f i) (∑ i, f i) = ∑ i, inner ℂ (f i) (f i) := by33rw [sum_inner]34apply Finset.sum_congr rfl35intro i _36rw [inner_sum]37exact Finset.sum_eq_single i38(fun j _ hji => horth i j hji.symm) (by simp)39have hr := congrArg Complex.re hinner40have hn : ∀ x : E, Complex.re (inner ℂ x x) = ‖x‖ ^ 2 := by41intro x42exact (norm_sq_eq_re_inner (𝕜 := ℂ) x).symm43simpa only [Complex.re_sum, hn] using hr4445theorem norm_sum_smul_sq_le (a : I → ℂ) (f : I → E) :46‖∑ i, a i • f i‖ ^ 2 ≤ (∑ i, ‖a i‖ ^ 2) * ∑ i, ‖f i‖ ^ 2 := by47have hnorm : ‖∑ i, a i • f i‖ ≤ ∑ i, ‖a i‖ * ‖f i‖ := by48simpa only [norm_smul] using norm_sum_le Finset.univ (fun i => a i • f i)49have hsum : 0 ≤ ∑ i, ‖a i‖ * ‖f i‖ := Finset.sum_nonneg (by intros; positivity)50have hcs := Finset.sum_mul_sq_le_sq_mul_sq Finset.univ51(fun i => ‖a i‖) (fun i => ‖f i‖)52nlinarith [norm_nonneg (∑ i, a i • f i)]5354end HilbertEstimates5556section ConeEstimates5758variable {α I : Type*} [DecidableEq α] [Fintype I]5960theorem mask_cone_inner_zero {s t : Letter α} (hne : s ≠ t)61(f h : Hilbert (FreeGroup α)) :62inner ℂ (mask (Cone s) f) (mask (Cone t) h) = 0 := by63change (∑' x, inner ℂ (mask (Cone s) f x) (mask (Cone t) h x)) = 064have hz : ∀ x, inner ℂ (mask (Cone s) f x) (mask (Cone t) h x) = 0 := by65intro x66by_cases hs : Cone s x67· have ht : ¬ Cone t x := fun ht => cone_disjoint hne x ⟨hs,ht⟩68simp [mask_apply, ht]69· simp [mask_apply, hs]70simp_rw [hz]71exact tsum_zero7273theorem sum_cone_masks_eq (L : I → Letter α) (hL : Function.Injective L)74(f : Hilbert (FreeGroup α)) :75(∑ i, mask (Cone (L i)) f) = mask (fun x => ∃ i, Cone (L i) x) f := by76classical77ext x78simp only [lp.coeFn_sum, Finset.sum_apply, mask_apply]79by_cases hx : ∃ i, Cone (L i) x80· obtain ⟨i,hi⟩ := hx81rw [if_pos ⟨i,hi⟩]82have hz : ∀ j ≠ i, ¬ Cone (L j) x := by83intro j hji hj84exact cone_disjoint (fun he => hji (hL he)) x ⟨hj,hi⟩85calc86(∑ j, if Cone (L j) x then f x else 0) =87(if Cone (L i) x then f x else 0) :=88Finset.sum_eq_single i (fun j _ hji => by simp [hz j hji]) (by simp)89_ = f x := by simp [hi]90· rw [if_neg hx]91apply Finset.sum_eq_zero92intro i _93have hi : ¬ Cone (L i) x := fun hi => hx ⟨i,hi⟩94simp [hi]9596/-- The energies of disjoint concrete first-letter projections are bounded97by the total Hilbert-space energy. -/98theorem sum_cone_mask_norm_sq_le (L : I → Letter α) (hL : Function.Injective L)99(f : Hilbert (FreeGroup α)) :100(∑ i, ‖mask (Cone (L i)) f‖ ^ 2) ≤ ‖f‖ ^ 2 := by101have hsum := norm_sum_sq_of_inner_zero (fun i => mask (Cone (L i)) f)102(fun i j hij => mask_cone_inner_zero (fun he => hij (hL he)) f f)103rw [sum_cone_masks_eq L hL f] at hsum104have hn := mask_norm_le (fun x => ∃ i, Cone (L i) x) f105nlinarith [norm_nonneg (mask (fun x => ∃ i, Cone (L i) x) f), norm_nonneg f]106107/-- The corresponding annihilation operators satisfy the same row-energy bound. -/108theorem sum_annihilation_norm_sq_le (L : I → Letter α) (hL : Function.Injective L)109(f : Hilbert (FreeGroup α)) :110(∑ i, ‖(creation (L i)).adjoint f‖ ^ 2) ≤ ‖f‖ ^ 2 := by111simp_rw [creation_adjoint, ContinuousLinearMap.comp_apply, leftRegular_preserves_norm]112exact sum_cone_mask_norm_sq_le L hL f113114end ConeEstimates115116section LengthTwo117118variable {α : Type*} [DecidableEq α] [Fintype α]119120omit [Fintype α] in121theorem creation_comp_flip_zero (s : Letter α) :122(creation s).comp (creation (flip s)) = 0 := by123rw [creation_domain]124ext f x125simp only [ContinuousLinearMap.comp_apply, leftRegular_apply, mask_apply,126creation_apply, ContinuousLinearMap.zero_apply, lp.coeFn_zero, Pi.zero_apply]127by_cases hx : Cone (flip s) ((letter s)⁻¹ * x) <;> simp [hx]128129def doubleCreation (i j : α) :130Hilbert (FreeGroup α) →L[ℂ] Hilbert (FreeGroup α) :=131(creation (i,false)).comp (creation (j,true))132133omit [Fintype α] in134@[simp] theorem doubleCreation_self (i : α) : doubleCreation i i = 0 := by135simpa [doubleCreation, FreeCreation.flip] using creation_comp_flip_zero (i,false)136137omit [Fintype α] in138theorem doubleCreation_norm_le (i j : α) (f : Hilbert (FreeGroup α)) :139‖doubleCreation i j f‖ ≤ ‖f‖ :=140(creation_norm_le (i,false) (creation (j,true) f)).trans (creation_norm_le (j,true) f)141142omit [Fintype α] in143/-- Distinct reduced two-letter creation ranges are orthogonal. -/144theorem doubleCreation_inner_zero (p q : α × α) (hpq : p ≠ q)145(f h : Hilbert (FreeGroup α)) :146inner ℂ (doubleCreation p.1 p.2 f) (doubleCreation q.1 q.2 h) = 0 := by147by_cases hp : p.1 = p.2148· simp [hp]149by_cases hq : q.1 = q.2150· simp [hq]151by_cases hf : p.1 = q.1152· have hs : p.2 ≠ q.2 := fun hs => hpq (Prod.ext hf hs)153have hcp := creation_comp_creation_eq_shift154(s := (p.1,false)) (t := (p.2,true)) (by simpa [FreeCreation.flip] using hp)155have hcq := creation_comp_creation_eq_shift156(s := (q.1,false)) (t := (q.2,true)) (by simpa [FreeCreation.flip] using hq)157unfold doubleCreation158rw [hcp, hcq]159simp only [ContinuousLinearMap.comp_apply]160rw [hf, leftRegular_inner]161exact creation_inner_zero (by simpa using hs) f h162· exact creation_inner_zero (by simpa using hf) _ _163164def coefficientLength (A : Matrix α α ℂ) : ℝ := Real.sqrt (∑ i, ∑ j, ‖A i j‖ ^ 2)165166omit [DecidableEq α] in167theorem coefficientLength_sq (A : Matrix α α ℂ) :168coefficientLength A ^ 2 = ∑ i, ∑ j, ‖A i j‖ ^ 2 :=169Real.sq_sqrt (by positivity)170171omit [DecidableEq α] in172theorem coefficientLength_nonneg (A : Matrix α α ℂ) : 0 ≤ coefficientLength A :=173Real.sqrt_nonneg _174175omit [DecidableEq α] in176theorem coefficientLength_eq_hsLength (A : Matrix α α ℂ) :177coefficientLength A = AdjointPurity.hsLength A := by178unfold coefficientLength AdjointPurity.hsLength179congr 1180simp only [Matrix.trace, Matrix.diag, Matrix.mul_apply, Matrix.conjTranspose_apply,181Complex.re_sum, Complex.star_def, ← Complex.normSq_eq_conj_mul_self,182Complex.ofReal_re, Complex.normSq_eq_norm_sq]183rw [Finset.sum_comm]184185/-- The no-cancellation operator has norm at most the coefficient ℓ² norm. -/186theorem double_creation_sum_norm_le (A : Matrix α α ℂ) :187‖∑ i, ∑ j, A i j • doubleCreation i j‖ ≤ coefficientLength A := by188apply ContinuousLinearMap.opNorm_le_bound _ (coefficientLength_nonneg A)189intro f190simp only [ContinuousLinearMap.sum_apply, ContinuousLinearMap.smul_apply]191have horth : ∀ p q : α × α, p ≠ q →192inner ℂ (A p.1 p.2 • doubleCreation p.1 p.2 f)193(A q.1 q.2 • doubleCreation q.1 q.2 f) = 0 := by194intro p q hpq195simp [inner_smul_left, inner_smul_right, doubleCreation_inner_zero p q hpq f f]196have hsum := norm_sum_sq_of_inner_zero197(fun p : α × α => A p.1 p.2 • doubleCreation p.1 p.2 f) horth198rw [Fintype.sum_prod_type, Fintype.sum_prod_type] at hsum199dsimp only at hsum200have henergy : (∑ i, ∑ j, ‖A i j • doubleCreation i j f‖ ^ 2) ≤201(∑ i, ∑ j, ‖A i j‖ ^ 2) * ‖f‖ ^ 2 := by202rw [Finset.sum_mul]203apply Finset.sum_le_sum204intro i _205rw [Finset.sum_mul]206apply Finset.sum_le_sum207intro j _208rw [norm_smul, mul_pow]209have hn := doubleCreation_norm_le i j f210have hs : ‖doubleCreation i j f‖ ^ 2 ≤ ‖f‖ ^ 2 := by211nlinarith [norm_nonneg (doubleCreation i j f), norm_nonneg f]212exact mul_le_mul_of_nonneg_left hs (sq_nonneg _)213apply (sq_le_sq₀ (norm_nonneg _)214(mul_nonneg (coefficientLength_nonneg A) (norm_nonneg f))).mp215rw [mul_pow, coefficientLength_sq, hsum]216exact henergy217218def mixed (A : Matrix α α ℂ) :219Hilbert (FreeGroup α) →L[ℂ] Hilbert (FreeGroup α) :=220∑ i, ∑ j, A i j • (creation (i,false)).comp (creation (j,false)).adjoint221222/-- The one-cancellation operator has norm at most the coefficient ℓ² norm. -/223theorem mixed_norm_le (A : Matrix α α ℂ) : ‖mixed A‖ ≤ coefficientLength A := by224apply ContinuousLinearMap.opNorm_le_bound _ (coefficientLength_nonneg A)225intro f226let row : α → Hilbert (FreeGroup α) :=227fun i => ∑ j, A i j • (creation (j,false)).adjoint f228have he : mixed A f = ∑ i, creation (i,false) (row i) := by229simp [mixed, row, map_sum]230rw [he]231have horth : ∀ i j : α, i ≠ j →232inner ℂ (creation (i,false) (row i)) (creation (j,false) (row j)) = 0 := by233intro i j hij234exact creation_inner_zero (by simpa using hij) _ _235have hsum := norm_sum_sq_of_inner_zero (fun i => creation (i,false) (row i)) horth236have hrowenergy : (∑ j, ‖(creation (j,false)).adjoint f‖ ^ 2) ≤ ‖f‖ ^ 2 :=237sum_annihilation_norm_sq_le (fun j : α => (j,false)) (by intro i j he; exact congrArg Prod.fst he) f238have hrow : ∀ i, ‖row i‖ ^ 2 ≤ (∑ j, ‖A i j‖ ^ 2) * ‖f‖ ^ 2 := by239intro i240exact (norm_sum_smul_sq_le (A i) (fun j => (creation (j,false)).adjoint f)).trans241(mul_le_mul_of_nonneg_left hrowenergy (by positivity))242have henergy : (∑ i, ‖creation (i,false) (row i)‖ ^ 2) ≤243(∑ i, ∑ j, ‖A i j‖ ^ 2) * ‖f‖ ^ 2 := by244rw [Finset.sum_mul]245apply Finset.sum_le_sum246intro i _247have hn := creation_norm_le (i,false) (row i)248have hs : ‖creation (i,false) (row i)‖ ^ 2 ≤ ‖row i‖ ^ 2 := by249nlinarith [norm_nonneg (creation (i,false) (row i)), norm_nonneg (row i)]250exact hs.trans (hrow i)251apply (sq_le_sq₀ (norm_nonneg _)252(mul_nonneg (coefficientLength_nonneg A) (norm_nonneg f))).mp253rw [mul_pow, coefficientLength_sq, hsum]254exact henergy255256def doubleAnnihilation (i j : α) :257Hilbert (FreeGroup α) →L[ℂ] Hilbert (FreeGroup α) :=258(doubleCreation j i).adjoint259260omit [Fintype α] in261theorem doubleAnnihilation_eq (i j : α) :262doubleAnnihilation i j =263(creation (i,true)).adjoint.comp (creation (j,false)).adjoint := by264rw [doubleAnnihilation, doubleCreation, ContinuousLinearMap.adjoint_comp]265266/-- The two-cancellation term has the same coefficient-norm bound, by the267actual Hilbert-space adjoint isometry. -/268theorem double_annihilation_sum_norm_le (A : Matrix α α ℂ) :269‖∑ i, ∑ j, A i j • doubleAnnihilation i j‖ ≤ coefficientLength A := by270have hadj :271‖∑ i, ∑ j, A i j • doubleAnnihilation i j‖ =272‖∑ i, ∑ j, star (A i j) • doubleCreation j i‖ := by273rw [← (ContinuousLinearMap.adjoint.norm_map274(∑ i, ∑ j, A i j • doubleAnnihilation i j))]275congr 1276simp only [doubleAnnihilation, map_sum, map_smulₛₗ,277ContinuousLinearMap.adjoint_adjoint, starRingEnd_apply]278rw [hadj, Finset.sum_comm]279have hbound := double_creation_sum_norm_le (fun i j => star (A j i))280have he : coefficientLength (fun i j => star (A j i)) = coefficientLength A := by281unfold coefficientLength282simp only [norm_star]283rw [Finset.sum_comm]284exact hbound.trans_eq he285286/-- The actual unnormalized single-factor regular polynomial. -/287def localPolynomial (A : Matrix α α ℂ) :288Hilbert (FreeGroup α) →L[ℂ] Hilbert (FreeGroup α) :=289∑ i, ∑ j, A i j • leftRegular ((FreeGroup.of i)⁻¹ * FreeGroup.of j)290291/-- Splitting a polynomial with zero diagonal coefficients produces exactly292the three proved cancellation components. -/293theorem local_polynomial_three_components (A : Matrix α α ℂ)294(hdiag : ∀ i, A i i = 0) :295localPolynomial A = (∑ i, ∑ j, A i j • doubleCreation i j) + mixed A +296∑ i, ∑ j, A i j • doubleAnnihilation i j := by297have he : ∀ i j, A i j • leftRegular ((FreeGroup.of i)⁻¹ * FreeGroup.of j) =298A i j • doubleCreation i j +299A i j • (creation (i,false)).comp (creation (j,false)).adjoint +300A i j • doubleAnnihilation i j := by301intro i j302by_cases hij : i = j303· subst j304simp [hdiag]305· have hl := length_two_decomposition (s := (i,false)) (t := (j,true))306(by simpa [FreeCreation.flip] using hij)307simp [letter, FreeCreation.flip] at hl308rw [hl, smul_add, smul_add, doubleAnnihilation_eq]309rfl310unfold localPolynomial mixed311simp_rw [he]312simp only [Finset.sum_add_distrib]313314def offDiagonal (A : Matrix α α ℂ) : Matrix α α ℂ :=315fun i j => if i = j then 0 else A i j316317omit [Fintype α] in318@[simp] theorem offDiagonal_diagonal (A : Matrix α α ℂ) (i : α) : offDiagonal A i i = 0 :=319by simp [offDiagonal]320321/-- Trace zero cancels the identical diagonal words in the actual operator. -/322theorem local_polynomial_offDiagonal (A : Matrix α α ℂ) (htrace : A.trace = 0) :323localPolynomial A = localPolynomial (offDiagonal A) := by324have he : ∀ i j, A i j • leftRegular ((FreeGroup.of i)⁻¹ * FreeGroup.of j) =325offDiagonal A i j • leftRegular ((FreeGroup.of i)⁻¹ * FreeGroup.of j) +326if i = j then A i i • ContinuousLinearMap.id ℂ (Hilbert (FreeGroup α)) else 0 := by327intro i j328by_cases hij : i = j329· subst j330simp [offDiagonal]331· simp [offDiagonal, hij]332unfold localPolynomial333simp_rw [he]334simp only [Finset.sum_add_distrib]335have hdiag :336(∑ i, ∑ j, if i = j then A i i •337ContinuousLinearMap.id ℂ (Hilbert (FreeGroup α)) else 0) = 0 := by338simp only [Finset.sum_ite_eq, Finset.mem_univ, ↓reduceIte]339rw [← Finset.sum_smul]340have ht : ∑ i, A i i = 0 := htrace341rw [ht, zero_smul]342rw [hdiag, add_zero]343344theorem offDiagonal_coefficientLength_le (A : Matrix α α ℂ) :345coefficientLength (offDiagonal A) ≤ coefficientLength A := by346apply Real.sqrt_le_sqrt347apply Finset.sum_le_sum348intro i _349apply Finset.sum_le_sum350intro j _351by_cases hij : i = j352· simp [offDiagonal, hij]353· simp [offDiagonal, hij]354355/-- The actual length-two Haagerup estimate for the trace-zero matrix356polynomial is proved from its three cancellation components. -/357theorem local_polynomial_norm_le_three_hs (A : Matrix α α ℂ) (htrace : A.trace = 0) :358‖localPolynomial A‖ ≤ 3 * AdjointPurity.hsLength A := by359rw [local_polynomial_offDiagonal A htrace,360local_polynomial_three_components _ (offDiagonal_diagonal A)]361have hfirst := double_creation_sum_norm_le (offDiagonal A)362have hmiddle := mixed_norm_le (offDiagonal A)363have hlast := double_annihilation_sum_norm_le (offDiagonal A)364have hn1 := norm_add_le365(∑ i, ∑ j, offDiagonal A i j • doubleCreation i j) (mixed (offDiagonal A))366have hn2 := norm_add_le367((∑ i, ∑ j, offDiagonal A i j • doubleCreation i j) + mixed (offDiagonal A))368(∑ i, ∑ j, offDiagonal A i j • doubleAnnihilation i j)369have hcoeff := offDiagonal_coefficientLength_le A370rw [coefficientLength_eq_hsLength A] at hcoeff371linarith372373end LengthTwo374375end Nonadditivity.CollinsYoun