Download data/lean/OAI/Analysis/HardSphere/Geometry/BufferedAllowed.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/Geometry/BufferedAllowed.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/HardSphere/Geometry/BufferedAllowed.lean
-
curl -L -o BufferedAllowed.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/Geometry/BufferedAllowed.lean
4.88 kB
Lean 4 Β· 7
declarations fullstatements
| import Mathlib | |
| import OAI.Analysis.HardSphere.Geometry.NormSqIntegral | |
| import OAI.Analysis.HardSphere.Comparison.KilledLaplace | |
| import OAI.Analysis.HardSphere.FormDomain.DirichletScalarInjective | |
| 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 | |
| namespace HardSphere | |
| open MeasureTheory Set Filter | |
| open scoped Topology | |
| lemma killedLaplace_innerRadius_tendsto (N : β) (L : Length) (a : β) (f : ScalarL2 N L) : | |
| Tendsto (fun n β¦ killedLaplace N L (innerRadius a n) f) atTop (π (killedLaplace N L a f)) := by | |
| apply tendsto_integral_of_dominated_convergence (fun t : β β¦ Real.exp (-t)*βfβ) | |
| Β· intro n | |
| exact (laplaceIntegrand_integrable (killedTransition N L (innerRadius a n)) | |
| (killedTransition_clamped_continuous N L (innerRadius a n)) | |
| (fun t _ β¦ killedTransition_apply_contraction N L (innerRadius a n) t) f 0).aestronglyMeasurable | |
| Β· exact (integrableOn_exp_neg_Ioi 0).mul_const βfβ | |
| Β· intro n | |
| apply Eventually.of_forall | |
| intro t | |
| rw [laplaceIntegrand_eq_complex] | |
| rw [norm_smul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos (Real.exp_pos _)] | |
| exact mul_le_mul_of_nonneg_left (killedTransition_apply_contraction N L (innerRadius a n) _ f) | |
| (Real.exp_nonneg _) | |
| Β· apply Eventually.of_forall | |
| intro t | |
| simp_rw [laplaceIntegrand_eq_complex] | |
| exact tendsto_const_nhds.smul (killedTransition_innerRadius_tendsto N L a (max 0 t) f) | |
| def bufferedAllowed (N : β) (L : Length) (b : β) : Set (Configuration N L) := | |
| {X | β i j : Fin N, i<j β bβ€torusDistance L (X i) (X j)} | |
| lemma bufferedAllowed_closed (N : β) (L : Length) (b : β) : IsClosed (bufferedAllowed N L b) := by | |
| let P := {p : Fin N Γ Fin N // p.1 < p.2} | |
| have he : bufferedAllowed N L b = β p : P, | |
| {X : Configuration N L | bβ€torusDistance L (X p.1.1) (X p.1.2)} := by | |
| ext X | |
| simp only [bufferedAllowed,mem_ofPred_eq,mem_iInter] | |
| exact β¨fun h p β¦ h _ _ p.2,fun h i j hij β¦ h β¨(i,j),hijβ©β© | |
| rw [he] | |
| apply isClosed_iInter | |
| intro p | |
| have hc : Continuous (fun X : Configuration N L β¦ torusDistance L (X p.1.1) (X p.1.2)) := by | |
| unfold torusDistance | |
| fun_prop | |
| exact isClosed_le continuous_const hc | |
| lemma allowed_subset_buffered (N : β) (L : Length) (b : β) : | |
| allowed N L bβbufferedAllowed N L b := fun _ h i j hij β¦ (h i j hij).le | |
| lemma bufferedAllowed_subset (N : β) (L : Length) {a b : β} (hab : a<b) : | |
| bufferedAllowed N L bβallowed N L a := fun _ h i j hij β¦ hab.trans_le (h i j hij) | |
| lemma killedLaplace_buffered_graph (N : β) (L : Length) {a b : β} (hab : a<b) (f : ScalarL2 N L) : | |
| β v : hilbertDomain N L a, scalarEmbedding N L a v=killedLaplace N L b f β§ | |
| βvβ^2β€(1+4*Real.exp 1)*βfβ^2 := by | |
| obtain β¨u,hu,hubβ© := killedLaplace_free_graph N L b f | |
| have hj : hilbertJetEquiv N L (u : HilbertJet N L)βdirichletDomain N L a := by | |
| apply dirichletDomain_of_closed_support (isOpen_allowed N L a) | |
| (bufferedAllowed_closed N L b) (bufferedAllowed_subset N L hab) u.property | |
| have he : (hilbertJetEquiv N L (u : HilbertJet N L)).1=killedLaplace N L b f := hu | |
| change βα΅ X β(volume : Measure (Configuration N L)), XβbufferedAllowed N L b β | |
| (hilbertJetEquiv N L (u : HilbertJet N L)).1 X=0 | |
| rw [he] | |
| filter_upwards [killedLaplace_support N L b f] with X hX | |
| intro hn | |
| exact hX (fun ha β¦ hn (allowed_subset_buffered N L b ha)) | |
| let v : hilbertDomain N L a := β¨u.val,hjβ© | |
| refine β¨v,hu,?_β© | |
| have hn := killedLaplace_norm_le N L b f | |
| change βuβ^2β€_ | |
| nlinarith [norm_nonneg (killedLaplace N L b f),norm_nonneg f] | |
| lemma killedLaplace_graph (N : β) (L : Length) (a : β) (f : ScalarL2 N L) : | |
| β v : hilbertDomain N L a, scalarEmbedding N L a v=killedLaplace N L a f β§ | |
| βvβ^2β€(1+4*Real.exp 1)*βfβ^2 := by | |
| choose v hv hb using fun n β¦ killedLaplace_buffered_graph N L (innerRadius_gt a n) f | |
| let C := (1+4*Real.exp 1)*βfβ^2 | |
| have hC : 0β€C := by dsimp [C]; positivity | |
| have hvb : β n, βv nββ€Real.sqrt C := by | |
| intro n | |
| exact (Real.le_sqrt (norm_nonneg _) hC).mpr (hb n) | |
| have ht : Tendsto (fun n β¦ scalarEmbedding N L a (v n)) atTop (π (killedLaplace N L a f)) := by | |
| simp_rw [hv] | |
| exact killedLaplace_innerRadius_tendsto N L a f | |
| obtain β¨u,hub,huβ© := exists_bounded_lift_of_tendsto (scalarEmbedding N L a) v hvb ht | |
| refine β¨u,hu,?_β© | |
| calc | |
| βuβ^2 β€ (Real.sqrt C)^2 := sq_le_sqβ (norm_nonneg _) (Real.sqrt_nonneg _) |>.mpr hub | |
| _ = C := Real.sq_sqrt hC | |
| end HardSphere | |
| open ProbabilityTheory | |
| end | |
| end OAI | |
Outline