Buckets:
| import Mathlib | |
| import OAI.Probability.SKBarriers.Hierarchy.HierarchyMomentLevels | |
| import OAI.Probability.SKBarriers.Calculus.ParameterAlgebra | |
| import OAI.Probability.SKBarriers.Calculus.ParameterAverage | |
| import OAI.Probability.SKBarriers.Calculus.ParameterFieldMap | |
| import OAI.Probability.SKBarriers.Calculus.ParameterRecursion | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open scoped BigOperators | |
| open MeasureTheory ProbabilityTheory Filter | |
| namespace SK.Analytic | |
| attribute [local instance 2000] parameterNormedGroup parameterNormedSpace | |
| section ParameterHierarchyMoment | |
| variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| theorem hierarchyMomentLevel_paramSmooth (n : ℕ) (m : Fin n → ℝ) | |
| (f g : P × ParameterSpace n → ℝ) (hf : ParamRegular f) (hg : ParamSmooth g) | |
| (j : Fin (n+1)) : | |
| ParamSmooth (fun z : P × ParameterSpace n => | |
| hierarchyMomentLevel n m (fun w => f (z.1,w)) (fun w => g (z.1,w)) j z.2) := by | |
| induction n with | |
| | zero => exact hg | |
| | succ n ih => | |
| refine Fin.lastCases ?_ (fun j => ?_) j | |
| · simpa only [hierarchyMomentLevel,Fin.lastCases_last] using hg | |
| · have H := ih (fun i => m i.castSucc) | |
| (gaussianStep (m (Fin.last n)) (fun z : (P × ParameterSpace n) × ℝ => f (z.1.1,(z.1.2,z.2)))) | |
| (gaussianAverage (m (Fin.last n)) (fun z : (P × ParameterSpace n) × ℝ => f (z.1.1,(z.1.2,z.2))) | |
| (fun z : (P × ParameterSpace n) × ℝ => g (z.1.1,(z.1.2,z.2)))) | |
| (hf.gaussianStep _) (hg.gaussianAverage hf _) j | |
| simp only [hierarchyMomentLevel,Fin.lastCases_castSucc] | |
| convert H.fieldComp (ContinuousLinearMap.fst ℝ (ParameterSpace n) ℝ) using 1 | |
| rfl | |
| theorem hierarchyAverage_paramSmooth (n : ℕ) (m : Fin n → ℝ) | |
| (f g : P × ParameterSpace n → ℝ) (hf : ParamRegular f) (hg : ParamSmooth g) : | |
| ParamSmooth (fun z : P × ℝ => | |
| hierarchyAverage n m (fun w => f (z.1,w)) (fun w => g (z.1,w)) z.2) := by | |
| induction n with | |
| | zero => exact hg | |
| | succ n ih => | |
| exact ih (fun i => m i.castSucc) | |
| (gaussianStep (m (Fin.last n)) (fun z : (P × ParameterSpace n) × ℝ => f (z.1.1,(z.1.2,z.2)))) | |
| (gaussianAverage (m (Fin.last n)) (fun z : (P × ParameterSpace n) × ℝ => f (z.1.1,(z.1.2,z.2))) | |
| (fun z : (P × ParameterSpace n) × ℝ => g (z.1.1,(z.1.2,z.2)))) | |
| (hf.gaussianStep _) (hg.gaussianAverage hf _) | |
| end ParameterHierarchyMoment | |
| section ParameterCascadeMoment | |
| variable {P E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| theorem cascadeMoment_paramSmooth (n : ℕ) (m : Fin n → ℝ) | |
| (f g : P × CascadeSpace E n → ℝ) (hf : ParamRegular f) (hg : ParamSmooth g) : | |
| ParamSmooth (fun z : P × E => | |
| cascadeMoment n m (fun w => f (z.1,w)) (fun w => g (z.1,w)) z.2) := by | |
| induction n with | |
| | zero => exact hg | |
| | succ n ih => | |
| exact ih (fun i => m i.castSucc) | |
| (gaussianStep (m (Fin.last n)) (fun z : (P × CascadeSpace E n) × ℝ => f (z.1.1,(z.1.2,z.2)))) | |
| (gaussianAverage (m (Fin.last n)) (fun z : (P × CascadeSpace E n) × ℝ => f (z.1.1,(z.1.2,z.2))) | |
| (fun z : (P × CascadeSpace E n) × ℝ => g (z.1.1,(z.1.2,z.2)))) | |
| (hf.gaussianStep _) (hg.gaussianAverage hf _) | |
| end ParameterCascadeMoment | |
| end SK.Analytic | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.31 kB
- Xet hash:
- 7ec08fb065f83cd42ff6cc83195caf88b57f813519989a8e1fade4ff454a2172
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.