import OAI.Combinatorics.GotsmanLinial.WeightedGrading import OAI.Combinatorics.GotsmanLinial.ProjectionBlocks import OAI.Combinatorics.GotsmanLinial.CoordinateDegree namespace OAI /-! # A degree shift is tridiagonal in the associated orthogonal grading These lemmas retain the degree-shift premise explicitly. The cube application discharges it using coordinate multiplication and the weighted Fourier flag. -/ noncomputable section namespace LeanBlast.GotsmanLinial section FiniteFlag variable {๐•œ E : Type*} [RCLike ๐•œ] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] [FiniteDimensional ๐•œ E] local instance : CompleteSpace E := FiniteDimensional.complete ๐•œ E /-- An operator that raises the flag index by at most one has no blocks strictly above the first off-diagonal. -/ theorem flagProjection_mul_shift_eq_zero (K : โ„• โ†’ Submodule ๐•œ E) (hK : Monotone K) (Z : E โ†’L[๐•œ] E) (hshift : โˆ€ k x, x โˆˆ K k โ†’ Z x โˆˆ K (k + 1)) {r s : โ„•} (hrs : r + 1 < s) : flagProjection K s * Z * flagProjection K r = 0 := by ext x change flagProjection K s (Z (flagProjection K r x)) = 0 apply flagProjection_apply_eq_zero_of_mem_prev exact hK (by omega : r + 1 + 1 โ‰ค s) (hshift (r + 1) (flagProjection K r x) (flagProjection_apply_mem_next K r x)) /-- Self-adjointness gives the other half of the band by taking adjoints. -/ theorem flagProjection_tridiagonal (K : โ„• โ†’ Submodule ๐•œ E) (hK : Monotone K) (Z : E โ†’L[๐•œ] E) (hZ : IsSelfAdjoint Z) (hshift : โˆ€ k x, x โˆˆ K k โ†’ Z x โˆˆ K (k + 1)) {r s : โ„•} (hrs : r + 1 < s โˆจ s + 1 < r) : flagProjection K s * Z * flagProjection K r = 0 := by rcases hrs with hrs | hsr ยท exact flagProjection_mul_shift_eq_zero K hK Z hshift hrs ยท have h := congrArg star (flagProjection_mul_shift_eq_zero K hK Z hshift hsr) simpa only [star_mul, star_zero, (flagProjection_isSelfAdjoint K r).star_eq, (flagProjection_isSelfAdjoint K s).star_eq, hZ.star_eq, mul_assoc] using h /-- The band property is preserved by taking matrices or any other ring representation of the operator algebra. -/ theorem map_flagProjection_tridiagonal {A : Type*} [Ring A] (F : (E โ†’L[๐•œ] E) โ†’+* A) (K : โ„• โ†’ Submodule ๐•œ E) (hK : Monotone K) (Z : E โ†’L[๐•œ] E) (hZ : IsSelfAdjoint Z) (hshift : โˆ€ k x, x โˆˆ K k โ†’ Z x โˆˆ K (k + 1)) {r s : โ„•} (hrs : r + 1 < s โˆจ s + 1 < r) : F (flagProjection K s) * F Z * F (flagProjection K r) = 0 := by rw [โ† map_mul, โ† map_mul, flagProjection_tridiagonal K hK Z hZ hshift hrs, map_zero] omit [FiniteDimensional ๐•œ E] in /-- Commutation transports a degree-shift statement through a weight map. -/ theorem shift_mem_map_of_commute (V : โ„• โ†’ Submodule ๐•œ E) (D Z : E โ†’โ‚—[๐•œ] E) (hcommute : โˆ€ x, Z (D x) = D (Z x)) (hshift : โˆ€ k x, x โˆˆ V k โ†’ Z x โˆˆ V (k + 1)) (k : โ„•) {x : E} (hx : x โˆˆ (V k).map D) : Z x โˆˆ (V (k + 1)).map D := by rcases hx with โŸจy, hy, rflโŸฉ exact โŸจZ y, hshift k y hy, (hcommute y).symmโŸฉ end FiniteFlag section MatrixFlag variable {E ฮน : Type*} [NormedAddCommGroup E] [InnerProductSpace โ„‚ E] [FiniteDimensional โ„‚ E] [Fintype ฮน] [DecidableEq ฮน] local instance : CompleteSpace E := FiniteDimensional.complete โ„‚ E /-- The concrete matrix form consumed by the commutator estimate. -/ theorem operatorMatrix_flagProjection_tridiagonal (b : OrthonormalBasis ฮน โ„‚ E) (K : โ„• โ†’ Submodule โ„‚ E) (hK : Monotone K) (Z : E โ†’L[โ„‚] E) (hZ : IsSelfAdjoint Z) (hshift : โˆ€ k x, x โˆˆ K k โ†’ Z x โˆˆ K (k + 1)) (n : โ„•) (r s : Fin (n + 1)) (hrs : r.val + 1 < s.val โˆจ s.val + 1 < r.val) : operatorMatrix b (flagProjection K s.val) * operatorMatrix b Z * operatorMatrix b (flagProjection K r.val) = 0 := by exact map_flagProjection_tridiagonal (operatorMatrixEquiv b).toRingHom K hK Z hZ hshift hrs end MatrixFlag section WeightedCube variable {n : โ„•} /-- Coordinate signs commute with the actual positive square-root weight. -/ theorem coordinateMultiplier_sqrtWeight_commute (w : Cube n โ†’ โ„) (hw : โˆ€ x, 0 < w x) (i : Fin n) (a : EuclideanSpace โ„‚ (Cube n)) : coordinateMultiplier i (sqrtWeightEquiv w hw a) = sqrtWeightEquiv w hw (coordinateMultiplier i a) := by ext x simp only [coordinateMultiplier_apply, sqrtWeightEquiv_apply] exact mul_left_comm _ _ _ /-- The actual weighted Fourier flag retains the one-step coordinate shift. -/ theorem coordinateMultiplier_weightedFlag_shift (w : Cube n โ†’ โ„) (hw : โˆ€ x, 0 < w x) (i : Fin n) : โˆ€ k (a : EuclideanSpace โ„‚ (Cube n)), a โˆˆ transportFlag (sqrtWeightEquiv w hw) (fourierFlag n) k โ†’ coordinateMultiplier i a โˆˆ transportFlag (sqrtWeightEquiv w hw) (fourierFlag n) (k + 1) := by intro k a ha exact shift_mem_map_of_commute (fourierFlag n) (sqrtWeightEquiv w hw).toLinearMap (coordinateMultiplier i).toLinearMap (coordinateMultiplier_sqrtWeight_commute w hw i) (coordinateMultiplier_fourierFlag_shift i) k ha /-- Tridiagonality for the actually constructed weighted Fourier projections, expressed in an arbitrary orthonormal coordinate system. -/ theorem weightedFlag_operatorMatrix_tridiagonal (w : Cube n โ†’ โ„) (hw : โˆ€ x, 0 < w x) (b : OrthonormalBasis (Cube n) โ„‚ (EuclideanSpace โ„‚ (Cube n))) (i : Fin n) (r s : Fin (n + 1)) (hrs : r.val + 1 < s.val โˆจ s.val + 1 < r.val) : flagProjectionMatrix b (transportFlag (sqrtWeightEquiv w hw) (fourierFlag n)) s.val * operatorMatrix b (coordinateMultiplier i) * flagProjectionMatrix b (transportFlag (sqrtWeightEquiv w hw) (fourierFlag n)) r.val = 0 := by exact operatorMatrix_flagProjection_tridiagonal b (transportFlag (sqrtWeightEquiv w hw) (fourierFlag n)) (transportFlag_monotone _ _ (fourierFlag_mono n)) (coordinateMultiplier i) (coordinateMultiplier_isSelfAdjoint i) (coordinateMultiplier_weightedFlag_shift w hw i) n r s hrs /-- The raw coordinate-sign matrices are tridiagonal for the actual weighted Fourier projection family. There is no remaining degree-shift hypothesis. -/ theorem weightedProjectionMatrix_tridiagonal (w : Cube n โ†’ โ„) (hw : โˆ€ x, 0 < w x) (i : Fin n) (r s : Fin (n + 1)) (hrs : r.val + 1 < s.val โˆจ s.val + 1 < r.val) : weightedProjectionMatrix w hw s * coordinateSignMatrix i * weightedProjectionMatrix w hw r = 0 := by simpa only [weightedProjectionMatrix, weightedFourierFlag, coordinateMultiplier, signMultiplier, operatorMatrix_toEuclideanCLM, coordinateSignMatrix] using weightedFlag_operatorMatrix_tridiagonal w hw (EuclideanSpace.basisFun (Cube n) โ„‚) i r s hrs end WeightedCube end LeanBlast.GotsmanLinial end end OAI