Ported for Lean Pool: imports relocated and code adapted to Lean/Mathlib v4.34.0.
Radial test functions for Laplace barriers #
This file collects the analytic ingredients of the exterior-sphere barriers for the Laplace operator.
- Euclidean geometry on
Point n(which carries the sup norm): the square root ofeucSqis theEuclideanSpacedistance, so it satisfies the triangle inequality, andeucSqis comparable to the sup norm. - A scalar Peano form of Taylor's theorem of order two.
- The second-order expansion of a radial function
x ↦ G (eucSq x c): ifGhas the expansionG s₀ + G₁ (s - s₀) + G₂ (s - s₀)² / 2 + o((s - s₀)²)ats₀ = |x̂ - c|², thenx ↦ G (eucSq x c)has the jet(2 G₁ z, 2 G₁ I + 4 G₂ z zᵀ)atx̂, wherez = x̂ - c. - The exponential profile
s ↦ a - k exp (-α (s - ρ)), whose radial Hessian has trace2 k α e (n - 2 α s₀). - Trace comparison: a subjet and a superjet of the same function at an interior point have ordered traces.
Euclidean geometry on Point n #
The square root of eucSq is the distance in EuclideanSpace.
Trace comparison of semijets #
theorem
ViscositySolns.trace_hessian_le_of_mem_subjet_of_mem_superjet
{n : ℕ}
{C : Set (Point n)}
{u : Point n → ℝ}
{x : Point n}
{J K : Jet n}
(hx : x ∈ interior C)
(hJ : J ∈ Subjet C u x)
(hK : K ∈ Superjet C u x)
:
At an interior point, the trace of any subjet is at most the trace of any superjet of the same function.
Scalar Taylor expansion #
theorem
ViscositySolns.isLittleO_taylor_two_of_hasDerivAt
{G G' : ℝ → ℝ}
{s₀ G₂ : ℝ}
(hG : ∀ (s : ℝ), HasDerivAt G (G' s) s)
(hG' : HasDerivAt G' G₂ s₀)
:
Peano form of the second-order Taylor expansion of a scalar function whose derivative is differentiable at the base point.
Radial functions #
theorem
ViscositySolns.hasSecondOrderExpansionWithin_comp_eucSq
{n : ℕ}
{C : Set (Point n)}
{G : ℝ → ℝ}
{G₁ G₂ : ℝ}
{c x₀ : Point n}
(hG :
(fun (s : ℝ) => G s - (G (eucSq x₀ c) + G₁ * (s - eucSq x₀ c) + G₂ / 2 * (s - eucSq x₀ c) ^ 2)) =o[nhds (eucSq x₀ c)] fun (s : ℝ) => (s - eucSq x₀ c) ^ 2)
:
HasSecondOrderExpansionWithin C (fun (x : Point n) => G (eucSq x c)) x₀ (radialJet G₁ G₂ (x₀ - c))
Second-order expansion of a radial function x ↦ G (eucSq x c) from a scalar
second-order Peano expansion of G at s₀ = eucSq x̂ c.
The exponential profile #
theorem
ViscositySolns.hasDerivAt_expProfile
(a k α ρ s : ℝ)
:
HasDerivAt (expProfile a k α ρ) (k * α * Real.exp (-(α * (s - ρ)))) s
theorem
ViscositySolns.hasSecondOrderExpansionWithin_expProfile
{n : ℕ}
(C : Set (Point n))
(a k α ρ : ℝ)
(c x₀ : Point n)
:
HasSecondOrderExpansionWithin C (fun (x : Point n) => expProfile a k α ρ (eucSq x c)) x₀ (expProfileJet k α ρ c x₀)