Download data/lean/OAI/Probability/FreeIsing/Spectral/OrthogonalBlocks.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Spectral/OrthogonalBlocks.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Spectral/OrthogonalBlocks.lean
-
curl -L -o OrthogonalBlocks.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Spectral/OrthogonalBlocks.lean
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 | |