Download data/lean/OAI/Probability/Perceptron/Pressure/EnrichedConcentration.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.54 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/Perceptron/Pressure/EnrichedConcentration.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/Perceptron/Pressure/EnrichedConcentration.lean
-
curl -L -o EnrichedConcentration.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/Perceptron/Pressure/EnrichedConcentration.lean
2.54 kB
| import Mathlib | |
| import OAI.Probability.Perceptron.Variational.GaussianLinearVariance | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped Topology NNReal ENNReal BigOperators BoundedContinuousFunction | |
| namespace SphericalPerceptronFreeEnergy | |
| lemma enrichedTerminal_C1 (n M : β) (f : β βα΅ β) | |
| (g : Fin M β Fin (n+1) β β) (p : Fin (n+1) β β) (u : Fin (n+1) β β) | |
| (htop : β) : | |
| β D : EnrichedMark (n+1) (n+1) p β StrongDual β (EnrichedMark (n+1) (n+1) p), | |
| Continuous D β§ β x, HasFDerivAt (enrichedTerminal n M f g p u htop) (D x) x := by | |
| let W := normalizedPatternEnergy (n+1) M f g | |
| let V := fun x : NormalizedSpin (n+1) => innerSL β (sourceEnrichedFeature (n+1) p u x) | |
| have hW : Continuous W := (normalizedPatternEnergy_continuous (n+1) M f).comp | |
| (continuous_const.prodMk continuous_id) | |
| have hV : Continuous V := (innerSL β).continuous.comp (enrichedFeature_continuous _ _ _ _ _) | |
| have hWB : β x, |W x| β€ (M:β)*βfβ := normalizedPatternEnergy_bound _ _ _ _ | |
| have hVB : β x, βV xβ β€ enrichedFeatureBound (n+1) u := fun x => by | |
| change βinnerSL β (sourceEnrichedFeature (n+1) p u x)β β€ _ | |
| rw [innerSL_apply_norm,sourceEnrichedFeature_norm] | |
| refine β¨vectorLogDerivative (unitSphereLaw (n+1)) W V, | |
| vectorLogDerivative_continuous (unitSphereLaw (n+1)) hW.measurable hV.measurable | |
| (enrichedFeatureBound (n+1) u).coe_nonneg hWB hVB,?_β© | |
| intro x | |
| exact (vectorLogPartition_hasFDerivAt (unitSphereLaw (n+1)) hW.measurable hV.measurable | |
| (enrichedFeatureBound (n+1) u).coe_nonneg hWB hVB x).sub_const _ | |
| lemma enrichedCascadeLog_fixed_patterns_variance (n M k : β) (f : β βα΅ β) | |
| (g : Fin M β Fin (n+1) β β) (p d : Fin (n+1) β β) (u : Fin (n+1) β β) | |
| (h : Fin (k+1) β β) (z : Fin k β β) | |
| (hz : StrictMono z) (hz0 : β i, 0<z i) (hz1 : β i, z i<1) : | |
| MemLp (enrichedCascadeLog n M k f g p d u h) 2 (enrichedDisorderLaw n k p z) β§ | |
| variance (enrichedCascadeLog n M k f g p d u h) (enrichedDisorderLaw n k p z) β€ | |
| cascadeLogFluctuationConstant k z+(Real.pi^2/8)* | |
| ((enrichedFeatureBound (n+1) u:β)*βenrichedRootMap p d hβ)^2 := by | |
| obtain β¨D,hD,hdβ© := enrichedTerminal_C1 n M f g p u (h (Fin.last k)) | |
| exact gaussianLinearCascadeLog_variance (enrichedIncrementMap p d h) (enrichedRootMap p d h) | |
| (enrichedTerminal_lipschitz n M f g p u _) hd hD k z hz hz0 hz1 | |
| end SphericalPerceptronFreeEnergy | |
| end | |
| end OAI | |