MindFormal v1.0.0One Mind

MindFormal.Run.A784CutWellPosed.Calculus

The calculus of a best gap.

For a function F of the gap with derivative J at every positive gap: a positive gap is a global best over an allowed set exactly when J integrates to at most zero from it to every allowed gap (best_iff_integral), so a best positive gap exists exactly when some positive gap obeys that condition (exists_best_iff); at an interior best gap J = 0 (deriv_zero_of_best); J = 0 with a negative derivative of J gives a strict local maximum (strict_max). On a differentiable branch ℓ*(d) of zeros of J(ℓ, d), where J has partial derivatives near the point continuous at it and ∂_ℓ J ≠ 0, the branch moves at -∂_d J / ∂_ℓ J, and with ∂_ℓ J < 0 it grows, holds or shrinks exactly as ∂_d J is positive, zero or negative (branch_rate).

theorem MindFormal.A784CutWellPosed.Spacing.best_iff_integral {F J : ℝ → ℝ} (hF : ∀ (z : ℝ), 0 < z → HasDerivAt F (J z) z) {𝒜 : Set ℝ} (h𝒜 : 𝒜 ⊆ Set.Ioi 0) {ℓs : ℝ} (hℓs : 0 < ℓs) (hJ : ∀ ℓ ∈ 𝒜, IntervalIntegrable J MeasureTheory.volume ℓs ℓ) :
(∀ ℓ ∈ 𝒜, F ℓ ≤ F ℓs) ↔ ∀ ℓ ∈ 𝒜, ∫ (z : ℝ) in ℓs..ℓ, J z ≤ 0

The best-gap condition.

theorem MindFormal.A784CutWellPosed.Spacing.exists_best_iff {F J : ℝ → ℝ} (hF : ∀ (z : ℝ), 0 < z → HasDerivAt F (J z) z) {𝒜 : Set ℝ} (h𝒜 : 𝒜 ⊆ Set.Ioi 0) (hJ : ∀ a ∈ 𝒜, ∀ b ∈ 𝒜, IntervalIntegrable J MeasureTheory.volume a b) :
(∃ ℓs ∈ 𝒜, ∀ ℓ ∈ 𝒜, F ℓ ≤ F ℓs) ↔ ∃ ℓs ∈ 𝒜, ∀ ℓ ∈ 𝒜, ∫ (z : ℝ) in ℓs..ℓ, J z ≤ 0

A best positive gap exists exactly when some positive gap obeys the integral condition.

theorem MindFormal.A784CutWellPosed.Spacing.deriv_zero_of_best {F : ℝ → ℝ} {j ℓs : ℝ} {𝒜 : Set ℝ} (hint : 𝒜 ∈ nhds ℓs) (hbest : ∀ ℓ ∈ 𝒜, F ℓ ≤ F ℓs) (hF : HasDerivAt F j ℓs) :
j = 0

At an interior best gap, where F is differentiable, J = 0.

theorem MindFormal.A784CutWellPosed.Spacing.strict_max {F J : ℝ → ℝ} {ℓs j : ℝ} (hF : ∀ᶠ (z : ℝ) in nhds ℓs, HasDerivAt F (J z) z) (hJ0 : J ℓs = 0) (hJ : HasDerivAt J j ℓs) (hj : j < 0) :
∃ δ > 0, ∀ (ℓ : ℝ), 0 < |ℓ - ℓs| → |ℓ - ℓs| < δ → F ℓ < F ℓs

A negative derivative of J at a zero of J gives a strict local maximum.

theorem MindFormal.A784CutWellPosed.Spacing.branch_rate {G G₁ G₂ : ℝ → ℝ → ℝ} {ℓb : ℝ → ℝ} {d₀ r : ℝ} (h₁ : ∀ᶠ (v : ℝ × ℝ) in nhds (ℓb d₀, d₀), HasDerivAt (fun (x : ℝ) => G x v.2) (G₁ v.1 v.2) v.1) (h₂ : ∀ᶠ (v : ℝ × ℝ) in nhds (ℓb d₀, d₀), HasDerivAt (fun (y : ℝ) => G v.1 y) (G₂ v.1 v.2) v.2) (c₁ : ContinuousAt (fun (v : ℝ × ℝ) => G₁ v.1 v.2) (ℓb d₀, d₀)) (c₂ : ContinuousAt (fun (v : ℝ × ℝ) => G₂ v.1 v.2) (ℓb d₀, d₀)) (hb : HasDerivAt ℓb r d₀) (hz : ∀ᶠ (d : ℝ) in nhds d₀, G (ℓb d) d = 0) (hne : G₁ (ℓb d₀) d₀ ≠ 0) :
r = -G₂ (ℓb d₀) d₀ / G₁ (ℓb d₀) d₀ ∧ (G₁ (ℓb d₀) d₀ < 0 → (0 < r ↔ 0 < G₂ (ℓb d₀) d₀) ∧ (r = 0 ↔ G₂ (ℓb d₀) d₀ = 0) ∧ (r < 0 ↔ G₂ (ℓb d₀) d₀ < 0))

The motion of a best gap.