Pratik Patil

FixedMarginalSlope.lean

1module23public import SubentropyCertificates.SpatialSignSupport4import all SubentropyCertificates.SpatialSignSupport5import Mathlib.MeasureTheory.Integral.DominatedConvergence67/-! Boundary derivative for splitting mass out of a positive eigenvalue. -/8@[expose] public section9noncomputable section10open MeasureTheory Set Filter11open scoped BigOperators Topology1213namespace SubentropyCertificates.ConditionalContinuity1415variable {D : Type*} [Fintype D]1617/-- The subentropy difference quotient after moving mass `e` out of coordinate `i`. -/18def splitSlope (w : D → ℝ) (i : D) (e : ℝ) : ℝ :=19  ∫ t in Ioi (0 : ℝ), (w i - e) / ((1 + t * (w i - e)) * (1 + t * e)) *20    ∏ j, (1 + t * w j)⁻¹2122/-- Along a positive spectral coordinate the boundary slope tends to its spatial sign23weight. Other spectral coordinates may be zero. -/24theorem splitSlope_tendsto (w : D → ℝ) (hw : ∀ j, 0 ≤ w j) (i : D) (hi : 0 < w i) :25    Tendsto (splitSlope w i) (𝓝[>] 0)26      (𝓝 (∫ t in Ioi (0 : ℝ), w i / (1 + t * w i) * ∏ j, (1 + t * w j)⁻¹)) := by27  classical28  let μ := volume.restrict (Ioi (0 : ℝ))29  let f (e t : ℝ) := (w i - e) / ((1 + t * (w i - e)) * (1 + t * e)) *30    ∏ j, (1 + t * w j)⁻¹31  let g (t : ℝ) := w i / (1 + t * w i) * ∏ j, (1 + t * w j)⁻¹32  have hg : Integrable g μ :=33    Integrable.of_integral_ne_zero fun h ↦ hi.ne' ((signWeight_zero_iff w hw i).mp h)34  have hnear : ∀ᶠ e in 𝓝[>] (0 : ℝ), e ∈ Ioo 0 (w i) :=35    Ioo_mem_nhdsGT_of_mem ⟨le_rfl, hi⟩36  apply tendsto_integral_filter_of_dominated_convergence (μ := μ) (F := f) (f := g) g37  · exact .of_forall fun e ↦ by apply Measurable.aestronglyMeasurable; dsimp [f]; fun_prop38  · filter_upwards [hnear] with e he39    filter_upwards [ae_restrict_mem measurableSet_Ioi] with t ht40    have ht0 : 0 < t := ht41    have hd : 0 < 1 + t * (w i - e) := by nlinarith [mul_nonneg ht0.le (sub_nonneg.mpr he.2.le)]42    have hd' : 0 < 1 + t * e := by nlinarith [mul_nonneg ht0.le he.1.le]43    have hdw : 0 < 1 + t * w i := by positivity44    have hp : 0 ≤ ∏ j, (1 + t * w j)⁻¹ :=45      Finset.prod_nonneg fun j _ ↦ inv_nonneg.mpr (by nlinarith [mul_nonneg ht0.le (hw j)])46    have ha := sub_nonneg.mpr he.2.le47    dsimp only [f, g]48    rw [Real.norm_of_nonneg (mul_nonneg (div_nonneg ha (mul_pos hd hd').le) hp)]49    apply mul_le_mul_of_nonneg_right _ hp50    calc51      _ ≤ (w i - e) / (1 + t * (w i - e)) := by52        apply div_le_div_of_nonneg_left ha hd53        nlinarith [mul_nonneg hd.le (mul_nonneg ht0.le he.1.le)]54      _ ≤ w i / (1 + t * w i) := (div_le_div_iff₀ hd hdw).mpr (by nlinarith [he.1.le])55  · exact hg56  · filter_upwards [ae_restrict_mem measurableSet_Ioi] with t ht57    have ht0 : 0 < t := ht58    have hden : 1 + t * w i ≠ 0 := ne_of_gt (by positivity)59    have hc : ContinuousAt (fun e ↦ f e t) 0 := by60      dsimp only [f]61      fun_prop (disch := simp [hden])62    simpa [f, g] using hc.tendsto.mono_left (nhdsWithin_le_nhds (s := Ioi 0))6364end SubentropyCertificates.ConditionalContinuity

Axioms used

Choose a statement to see which axioms its proof uses.