import NavierStokes.R3.H3Definitions import Mathlib.MeasureTheory.Integral.Pi import Mathlib.MeasureTheory.Group.Integral import NavierStokes.R3.H3Approximation import Mathlib.MeasureTheory.Function.ConvergenceInMeasure /-! # Sobolev embedding for genuine weak H³ fields The estimate is passed through a smooth compact approximation in L² of all weak jets. No classical derivatives of the limiting field are used. -/ /-! ## From `NavierStokes/R3/H3BoxIntegral.lean` The text of `NavierStokes/R3/H3BoxIntegral.lean`, folded into this file, which was its only importer. -/ section noncomputable section open Set MeasureTheory namespace NavierStokesR3.H3Embedding open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration private def unitMeasure : Measure ℝ := volume.restrict (Icc 0 1) private instance : IsFiniteMeasure unitMeasure := by unfold unitMeasure infer_instance private theorem unitPi_eq (n : ℕ) : Measure.pi (fun _ : Fin n => unitMeasure) = volume.restrict (Icc 0 1) := by unfold unitMeasure rw [← Measure.restrict_pi_pi] congr 1 ext x simp [Set.mem_Icc, Pi.le_def] private theorem integrable_unitPi {n : ℕ} {g : (Fin n → ℝ) → ℝ} (hg : Continuous g) : Integrable g (Measure.pi (fun _ : Fin n => unitMeasure)) := by rw [unitPi_eq] exact hg.integrableOn_Icc end NavierStokesR3.H3Embedding end end /-! ## From `NavierStokes/R3/H3Embedding.lean` The text of `NavierStokes/R3/H3Embedding.lean`, folded into this file, which was its only importer. -/ section /-! # The whole-space H³ supremum estimate The unit-cube fundamental-theorem-of-calculus estimate is applied after translation to an arbitrary point. Each local derivative integral is bounded by its genuine Lebesgue integral over all of ℝ³. -/ noncomputable section open Set MeasureTheory open scoped BigOperators ContDiff namespace NavierStokesR3.H3Embedding open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration end NavierStokesR3.H3Embedding end end noncomputable section open Set Filter MeasureTheory open scoped ContDiff Topology InnerProductSpace BigOperators namespace NavierStokesR3.H3Embedding open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration open H3Comparison theorem squareEnergy_eq_norm_toLp {f : Space → Space} (hf : MemLp f 2 volume) : squareEnergy f = ‖hf.toLp f‖ ^ 2 := by rw [← real_inner_self_eq_norm_sq, L2.inner_def] apply integral_congr_ae filter_upwards [hf.coeFn_toLp] with x hx rw [hx, real_inner_self_eq_norm_sq] end NavierStokesR3.H3Embedding