Download data/lean/OAI/Probability/InvariantIsing/Fields/CascadeSeedLeaf.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Fields/CascadeSeedLeaf.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/InvariantIsing/Fields/CascadeSeedLeaf.lean
-
curl -L -o CascadeSeedLeaf.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Fields/CascadeSeedLeaf.lean
1.88 kB
| import OAI.Probability.InvariantIsing.Fields.CascadeSeedRegular | |
| namespace OAI | |
| /-! The weight-preserving leaf map for ancestor-dependent vector marks. -/ | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory IsingPerceptron | |
| namespace InvariantIsing | |
| variable {ΞΉ : Type} | |
| def cascadeSeedLeaf : (n : β) β | |
| (β β (ΞΉ β β) β unitInterval β (ΞΉ β β)) β (ΞΉ β β) β | |
| NoiseLeaf unitInterval n β NoiseLeaf (ΞΉ β β) n | |
| | 0, _, _, _ => PUnit.unit | |
| | n+1, Ο, z, v => | |
| (v.1,(Ο 0 z v.2.1, | |
| cascadeSeedLeaf n (fun j => Ο (j+1)) (z+Ο 0 z v.2.1) v.2.2)) | |
| lemma measurable_cascadeSeedLeaf (n : β) | |
| (Ο : β β (ΞΉ β β) β unitInterval β (ΞΉ β β)) | |
| (hΟ : β i, Measurable (Function.uncurry (Ο i))) : | |
| Measurable (fun p : (ΞΉ β β) Γ NoiseLeaf unitInterval n => cascadeSeedLeaf n Ο p.1 p.2) := by | |
| induction n generalizing Ο with | |
| | zero => exact measurable_const | |
| | succ n ih => | |
| have hm : Measurable (fun p : (ΞΉ β β) Γ NoiseLeaf unitInterval (n+1) => Ο 0 p.1 p.2.2.1) := | |
| (hΟ 0).comp (measurable_fst.prodMk | |
| (measurable_fst.comp (measurable_snd.comp measurable_snd))) | |
| exact (measurable_fst.comp measurable_snd).prodMk (hm.prodMk | |
| ((ih _ (fun i => hΟ (i+1))).comp | |
| ((measurable_fst.add hm).prodMk (measurable_snd.comp (measurable_snd.comp measurable_snd))))) | |
| lemma cascadeSeedLeaf_forget (n : β) | |
| (Ο : β β (ΞΉ β β) β unitInterval β (ΞΉ β β)) (z : ΞΉ β β) (v : NoiseLeaf unitInterval n) : | |
| noiseLeafForget (ΞΉ β β) n (cascadeSeedLeaf n Ο z v) = noiseLeafForget unitInterval n v := by | |
| induction n generalizing Ο z with | |
| | zero => rfl | |
| | succ n ih => | |
| change (v.1,noiseLeafForget (ΞΉ β β) n | |
| (cascadeSeedLeaf n (fun j => Ο (j+1)) (z+Ο 0 z v.2.1) v.2.2)) = _ | |
| rw [ih] | |
| rfl | |
| end InvariantIsing | |
| end | |
| end OAI | |