Download data/lean/OAI/Probability/FreeIsing/Conditioning/ComponentInformation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.84 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Conditioning/ComponentInformation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Conditioning/ComponentInformation.lean
-
curl -L -o ComponentInformation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Conditioning/ComponentInformation.lean
3.84 kB
| import OAI.Probability.FreeIsing.Conditioning.PlantedInformation | |
| import OAI.Probability.FreeIsing.Energy.ComponentCovariance | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory | |
| open scoped BigOperators NNReal | |
| namespace Problem367 | |
| abbrev ComponentIndex {d : β} (c : Fin d) := Ξ£ n : β, ReducedTail c n | |
| def componentIndexVertex {d : β} {c : Fin d} (u : ComponentIndex c) : TreeVertex d := | |
| componentVertex u.2 | |
| theorem componentIndexVertex_injective {d : β} (c : Fin d) : | |
| Function.Injective (componentIndexVertex (c := c)) := by | |
| rintro β¨k, uβ© β¨l, vβ© h | |
| have hw : u.1 = v.1 := (List.cons.inj (congrArg Subtype.val h)).2 | |
| have hkl : k = l := by | |
| simpa only [u.2.1, v.2.1] using congrArg List.length hw | |
| subst l | |
| have huv : u = v := Subtype.ext hw | |
| subst v | |
| rfl | |
| theorem HasFreeIsingLaw.component_critical_information_lower {d : β} {theta : β} | |
| {mu : Measure (TreeVertex d β IsingSpin)} | |
| (hmu : HasFreeIsingLaw theta mu) (hlo : -1 β€ theta) (hhi : theta β€ 1) | |
| (c : Fin d) (hcritical : ((d - 1 : β) : β) * theta ^ 2 = 1) | |
| {t : ββ₯0} (ht : 0 < t) : | |
| min (Real.sqrt (t : β)) 1 / 5 β€ | |
| β« p, (condExp | |
| (PlantedInformation.observationSigma (componentIndexVertex (c := c)) t) | |
| (mu.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t)) | |
| (fun q => spinSign (q.1 β¨[c], List.IsChain.singleton cβ©)) p) ^ 2 | |
| βmu.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t) := by | |
| classical | |
| let := hmu.isProbabilityMeasure | |
| apply PlantedInformation.critical_information_of_spin_sums mu | |
| (componentIndexVertex (c := c)) (componentIndexVertex_injective c) | |
| β¨[c], List.IsChain.singleton cβ© ht | |
| (componentIndexFinset c) (fun _ u => theta ^ u.1) | |
| Β· intro n | |
| simp only [componentIndexFinset, Finset.sum_sigma] | |
| have hlen (k : β) (u : ReducedTail c k) : u.1.length = k := u.2.1 | |
| simpa only [hlen] using sum_component_radial_sq_levels_critical theta c hcritical n | |
| Β· intro n | |
| simp only [componentIndexFinset, Finset.sum_sigma, componentIndexVertex] | |
| exact hmu.component_signal_critical hlo hhi c hcritical n | |
| Β· intro n | |
| simp only [componentIndexFinset, Finset.sum_sigma, componentIndexVertex] | |
| calc | |
| _ = β k β Finset.range (n + 1), β l β Finset.range (n + 1), | |
| β u : ReducedTail c k, β v : ReducedTail c l, | |
| theta ^ k * theta ^ l * | |
| (β« Ο, spinSign (Ο (componentVertex u)) * spinSign (Ο (componentVertex v)) βmu) := by | |
| apply Finset.sum_congr rfl | |
| intro k hk | |
| rw [Finset.sum_comm] | |
| _ β€ _ := hmu.component_covariance_sum_critical_le hlo hhi c hcritical n | |
| theorem HasFreeIsingLaw.component_critical_information_lower_of_le | |
| {d : β} {theta : β} {mu : Measure (TreeVertex d β IsingSpin)} | |
| (hmu : HasFreeIsingLaw theta mu) (hlo : -1 β€ theta) (hhi : theta β€ 1) | |
| (c : Fin d) (hcritical : ((d - 1 : β) : β) * theta ^ 2 = 1) | |
| {t : ββ₯0} (ht : 0 < t) | |
| (m' : MeasurableSpace ((TreeVertex d β IsingSpin) Γ (TreeVertex d β β))) | |
| (hm' : m' β€ MeasurableSpace.prod inferInstance inferInstance) | |
| (hobs : PlantedInformation.observationSigma (componentIndexVertex (c := c)) t β€ m') : | |
| min (Real.sqrt (t : β)) 1 / 5 β€ | |
| β« p, (condExp m' | |
| (mu.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t)) | |
| (fun q => spinSign (q.1 β¨[c], List.IsChain.singleton cβ©)) p) ^ 2 | |
| βmu.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t) := by | |
| let := hmu.isProbabilityMeasure | |
| apply (hmu.component_critical_information_lower hlo hhi c hcritical ht).trans | |
| apply posterior_information_mono hobs hm' | |
| exact (PlantedInformation.spinSign_memLp mu β¨[c], List.IsChain.singleton cβ©).comp_measurePreserving | |
| measurePreserving_fst | |
| end Problem367 | |
| end | |
| end OAI | |