Download data/lean/OAI/Analysis/HardSphere/Geometry/IntegralConfigurationCons.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.93 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/Geometry/IntegralConfigurationCons.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/HardSphere/Geometry/IntegralConfigurationCons.lean
-
curl -L -o IntegralConfigurationCons.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/Geometry/IntegralConfigurationCons.lean
5.93 kB
| import Mathlib | |
| import OAI.Analysis.HardSphere.Geometry.NormSqIntegral | |
| import OAI.Analysis.HardSphere.PathBounds.ConfigurationTailLp | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory Filter Set | |
| open scoped ENNReal Topology BigOperators | |
| open scoped BigOperators ComplexConjugate | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped ENNReal NNReal Topology BigOperators | |
| open MeasureTheory ProbabilityTheory Real Complex | |
| open scoped ENNReal ComplexConjugate | |
| open ProbabilityTheory | |
| namespace HardSphere | |
| open MeasureTheory Set Filter | |
| open scoped ComplexConjugate | |
| lemma integral_configuration_cons {n : β} {L : Length} {E : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] (F : Configuration (n+1) L β E) | |
| (hF : Integrable F volume) : | |
| β« X, F X = β« Y : Configuration n L, β« x : Torus L, F (Fin.cons x Y) := by | |
| let e := MeasurableEquiv.piFinSuccAbove (fun _ : Fin (n+1) β¦ Torus L) 0 | |
| have he := (volume_preserving_piFinSuccAbove (fun _ : Fin (n+1) β¦ Torus L) 0).symm | |
| have hi := (he.integrable_comp_emb e.symm.measurableEmbedding).mpr hF | |
| rw [β he.integral_comp' F] | |
| simp only [MeasurableEquiv.piFinSuccAbove_symm_apply, Fin.insertNthEquiv, | |
| Equiv.coe_fn_mk, Fin.insertNth_zero', Function.comp_def] at hi β’ | |
| exact integral_prod_symm _ hi | |
| lemma coe_weightedTail {n : β} {L : Length} (h : Configuration (n+1) L β β) | |
| (hh : MemLp h β volume) (u : ScalarL2 n L) : | |
| L2Multiplier.clm h hh (configurationTailCLM n L u) =α΅[volume] fun X β¦ h X*u (Fin.tail X) := by | |
| filter_upwards [coe_configurationTailCLM u, | |
| L2Multiplier.coe_clm h hh (configurationTailCLM n L u)] with X h1 h2 | |
| exact h2.trans (by rw [h1]) | |
| lemma weightedTail_pairing {n : β} {L : Length} | |
| (f g : Configuration (n+1) L β β) (hf : MemLp f β volume) (hg : MemLp g β volume) | |
| (u v : ScalarL2 n L) : | |
| inner β (L2Multiplier.clm f hf (configurationTailCLM n L u)) | |
| (L2Multiplier.clm g hg (configurationTailCLM n L v)) = | |
| β« Y : Configuration n L, (conj (u Y)*v Y)* | |
| β« x : Torus L, conj (f (Fin.cons x Y))*g (Fin.cons x Y) := by | |
| have hfm : MemLp (fun X : Configuration (n+1) L β¦ f X*u (Fin.tail X)) 2 volume := | |
| hf.mul (memLp_configurationTail (Lp.memLp u)) | |
| have hgm : MemLp (fun X : Configuration (n+1) L β¦ g X*v (Fin.tail X)) 2 volume := | |
| hg.mul (memLp_configurationTail (Lp.memLp v)) | |
| have hi : Integrable (fun X : Configuration (n+1) L β¦ | |
| conj (f X*u (Fin.tail X))*(g X*v (Fin.tail X))) volume := by | |
| have h := (hfm.inner_const (π := β) (1:β)).integrable_mul hgm | |
| exact h.congr (Eventually.of_forall fun X β¦ by | |
| dsimp only [Pi.mul_apply] | |
| rw [RCLike.inner_apply,one_mul]) | |
| rw [L2.inner_def] | |
| calc | |
| _ = β« X : Configuration (n+1) L, conj (f X*u (Fin.tail X))*(g X*v (Fin.tail X)) := by | |
| apply integral_congr_ae | |
| filter_upwards [coe_weightedTail f hf u,coe_weightedTail g hg v] with X h1 h2 | |
| simp only [h1,h2,RCLike.inner_apply'] | |
| _ = β« Y : Configuration n L, β« x : Torus L, | |
| conj (f (Fin.cons x Y)*u Y)*(g (Fin.cons x Y)*v Y) := by | |
| simpa only [Fin.tail_cons] using integral_configuration_cons _ hi | |
| _ = _ := by | |
| apply integral_congr_ae | |
| exact Eventually.of_forall fun Y β¦ by | |
| dsimp only | |
| rw [β integral_const_mul] | |
| apply integral_congr_ae | |
| exact Eventually.of_forall fun x β¦ by simp only [map_mul]; ring | |
| lemma norm_weightedTail_sq {n : β} {L : Length} | |
| (f : Configuration (n+1) L β β) (hf : MemLp f β volume) (u : ScalarL2 n L) : | |
| βL2Multiplier.clm f hf (configurationTailCLM n L u)β^2 = | |
| β« Y : Configuration n L, βu Yβ^2 * β« x : Torus L, βf (Fin.cons x Y)β^2 := by | |
| have hm : MemLp (fun X : Configuration (n+1) L β¦ f X*u (Fin.tail X)) 2 volume := | |
| hf.mul (memLp_configurationTail (Lp.memLp u)) | |
| rw [IndicatorStrong.norm_sq_integral] | |
| calc | |
| _ = β« X : Configuration (n+1) L, βf X*u (Fin.tail X)β^2 := by | |
| exact integral_congr_ae ((coe_weightedTail f hf u).mono fun _ h β¦ by dsimp only at h β’; rw [h]) | |
| _ = β« Y : Configuration n L, β« x : Torus L, βf (Fin.cons x Y)*u Yβ^2 := by | |
| simpa only [Fin.tail_cons] using integral_configuration_cons _ (hm.integrable_norm_pow (by decide : (2:β)β 0)) | |
| _ = _ := by | |
| apply integral_congr_ae | |
| exact Eventually.of_forall fun Y β¦ by | |
| dsimp only | |
| rw [β integral_const_mul] | |
| apply integral_congr_ae | |
| exact Eventually.of_forall fun x β¦ by dsimp only; rw [norm_mul,mul_pow,mul_comm] | |
| lemma SmoothMultiplier.norm_insertionScalar_sq {n : β} {L : Length} | |
| (f : SmoothMultiplier (n+1) L) | |
| (hn : β Y : Configuration n L, β« x : Torus L, βf.toFun (Fin.cons x Y)β^2=1) | |
| (u : ScalarL2 n L) : βf.insertionScalar uβ^2=βuβ^2 := by | |
| rw [SmoothMultiplier.insertionScalar,ContinuousLinearMap.comp_apply,SmoothMultiplier.onScalar, | |
| norm_weightedTail_sq,IndicatorStrong.norm_sq_integral] | |
| simp only [hn,mul_one] | |
| lemma SmoothMultiplier.norm_insertionScalar {n : β} {L : Length} | |
| (f : SmoothMultiplier (n+1) L) | |
| (hn : β Y : Configuration n L, β« x : Torus L, βf.toFun (Fin.cons x Y)β^2=1) | |
| (u : ScalarL2 n L) : βf.insertionScalar uβ=βuβ := | |
| (sq_eq_sqβ (norm_nonneg _) (norm_nonneg _)).mp (f.norm_insertionScalar_sq hn u) | |
| lemma SmoothMultiplier.insertion_cross_zero {n : β} {L : Length} | |
| (f : SmoothMultiplier (n+1) L) (p : Direction (n+1)) | |
| (ho : β Y : Configuration n L, β« x : Torus L, | |
| conj (f.toFun (Fin.cons x Y))*coordDerivative (n+1) L f.toFun p (Fin.cons x Y)=0) | |
| (u v : ScalarL2 n L) : | |
| inner β (f.insertionScalar u) | |
| (L2Multiplier.clm _ (f.partial_memLp_top p) (configurationTailCLM n L v))=0 := by | |
| rw [SmoothMultiplier.insertionScalar,ContinuousLinearMap.comp_apply,SmoothMultiplier.onScalar, | |
| weightedTail_pairing] | |
| simp only [ho,mul_zero,integral_zero] | |
| end HardSphere | |
| end | |
| end OAI | |