math / data /lean /OAI /Probability /FreeIsing /Spectral /OrthogonalBlocks.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.88 kB
import Mathlib
namespace OAI
noncomputable section
open scoped InnerProduct
namespace Problem367.OrthogonalBlocks
variable {๐•œ E : Type*} [RCLike ๐•œ] [NormedAddCommGroup E] [InnerProductSpace ๐•œ E]
theorem pow_mem_of_mem
(A : E โ†’L[๐•œ] E) (K : Submodule ๐•œ E)
(hAK : โˆ€ x โˆˆ K, A x โˆˆ K) {x : E} (hx : x โˆˆ K) (n : โ„•) :
(A ^ n) x โˆˆ K := by
induction n with
| zero => simpa using hx
| succ n ih =>
rw [pow_succ', mul_apply_eq_comp]
exact hAK _ ih
theorem opNorm_le_of_orthogonal_blocks
(A : E โ†’L[๐•œ] E) (K : Submodule ๐•œ E) [K.HasOrthogonalProjection]
(hAK : โˆ€ x โˆˆ K, A x โˆˆ K) (hAKo : โˆ€ x โˆˆ Kแ—ฎ, A x โˆˆ Kแ—ฎ)
{c d : โ„} (hc : 0 โ‰ค c) (_hd : 0 โ‰ค d)
(hK : โˆ€ x โˆˆ K, โ€–A xโ€– โ‰ค c * โ€–xโ€–)
(hKo : โˆ€ x โˆˆ Kแ—ฎ, โ€–A xโ€– โ‰ค d * โ€–xโ€–) :
โ€–Aโ€– โ‰ค max c d := by
have hM : 0 โ‰ค max c d := hc.trans (le_max_left _ _)
apply A.opNorm_le_bound hM
intro x
obtain โŸจy, hy, z, hz, rflโŸฉ := K.exists_add_mem_mem_orthogonal x
have hyz : inner ๐•œ y z = 0 := Submodule.inner_right_of_mem_orthogonal hy hz
have hAyz : inner ๐•œ (A y) (A z) = 0 :=
Submodule.inner_right_of_mem_orthogonal (hAK y hy) (hAKo z hz)
have hAy : โ€–A yโ€– โ‰ค max c d * โ€–yโ€– :=
(hK y hy).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) (norm_nonneg _))
have hAz : โ€–A zโ€– โ‰ค max c d * โ€–zโ€– :=
(hKo z hz).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) (norm_nonneg _))
apply (sq_le_sqโ‚€ (norm_nonneg _) (mul_nonneg hM (norm_nonneg _))).mp
calc
โ€–A (y + z)โ€– ^ 2 = โ€–A yโ€– ^ 2 + โ€–A zโ€– ^ 2 := by
rw [map_add]
simpa only [pow_two] using
norm_add_sq_eq_norm_sq_add_norm_sq_of_inner_eq_zero (A y) (A z) hAyz
_ โ‰ค (max c d * โ€–yโ€–) ^ 2 + (max c d * โ€–zโ€–) ^ 2 :=
add_le_add
((sq_le_sqโ‚€ (norm_nonneg _) (mul_nonneg hM (norm_nonneg _))).mpr hAy)
((sq_le_sqโ‚€ (norm_nonneg _) (mul_nonneg hM (norm_nonneg _))).mpr hAz)
_ = (max c d * โ€–y + zโ€–) ^ 2 := by
have hnorm : โ€–y + zโ€– ^ 2 = โ€–yโ€– ^ 2 + โ€–zโ€– ^ 2 := by
simpa only [pow_two] using
norm_add_sq_eq_norm_sq_add_norm_sq_of_inner_eq_zero y z hyz
rw [mul_pow, mul_pow, mul_pow, hnorm]
ring
theorem norm_pow_le_of_orthogonal_blocks
(A : E โ†’L[๐•œ] E) (K : Submodule ๐•œ E) [K.HasOrthogonalProjection]
(hAK : โˆ€ x โˆˆ K, A x โˆˆ K) (hAKo : โˆ€ x โˆˆ Kแ—ฎ, A x โˆˆ Kแ—ฎ)
(n : โ„•) {c d : โ„} (hc : 0 โ‰ค c) (hd : 0 โ‰ค d)
(hK : โˆ€ x โˆˆ K, โ€–(A ^ n) xโ€– โ‰ค c * โ€–xโ€–)
(hKo : โˆ€ x โˆˆ Kแ—ฎ, โ€–(A ^ n) xโ€– โ‰ค d * โ€–xโ€–) :
โ€–A ^ nโ€– โ‰ค max c d := by
apply opNorm_le_of_orthogonal_blocks (A ^ n) K
(fun x hx => pow_mem_of_mem A K hAK hx n)
(fun x hx => pow_mem_of_mem A Kแ—ฎ hAKo hx n) hc hd hK hKo
end Problem367.OrthogonalBlocks
end
end OAI