Local non-constancy does not locate approximate roots.
ProvedBishop.local_nonconstancy_insufficientLocal non-constancy does not locate approximate roots.
For every accuracy δ ∈ (0,2) there is a 1-Lipschitz function on [0,4] with
f 0 ≤ 0 ≤ f 4, satisfying Bishop's local non-constancy condition with the explicit
modulus ν h = h/8 — on every interval of length at least h the function takes a
value of absolute value at least ν h — and a point x with |f x| ≤ ν δ / 2 whose
distance to every root of f exceeds δ. So the passage from "|f x| is small"
to "x is near a root", which Bishop.constructive_ivt performs using a slope bound,
cannot be performed under local non-constancy alone.
theorem Bishop.local_nonconstancy_insufficient{δ : ℝ} (hδ0 : 0 < δ) (hδ2 : δ < 2) :
∃ (f : ℝ → ℝ) (ν : ℝ → ℝ) (x : ℝ),
HasModulusOn f (Icc (0 : ℝ) 4) id ∧ f 0 ≤ 0 ∧ 0 ≤ f 4 ∧
(∀ h > 0, 0 < ν h) ∧
(∀ h > 0, ∀ p q : ℝ, p + h ≤ q → ∃ z ∈ Icc p q, ν h ≤ |f z|) ∧
x ∈ Icc (0 : ℝ) 4 ∧ |f x| ≤ ν δ / 2 ∧ ∀ r : ℝ, f r = 0 → δ < |x - r| := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Logic/ConstructiveAnalysis/RootLocation.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
-- Thm stub generated from Logic/ConstructiveAnalysis/RootLocation.lean import Mathlib import Definitions.Def_Logic_ConstructiveAnalysis_ConstructiveIVT import Definitions.Def_Logic_ConstructiveAnalysis_RootLocation /- # Locating roots: what the grid search really delivers `Bishop.exists_grid_abs_le` produces a grid point at which `|f|` is small. Turning a *small value* into a *small distance to a root* is the delicate step of the intermediate value theorem, and `Bishop.constructive_ivt` does it with a global slope bound `c > 0`, at the price of the factor `1/c`. This file isolates the two sides of that step. * `Bishop.exists_grid_near_root` : **the bracketing form of the search**. With no non-degeneracy hypothesis whatsoever — only a modulus of uniform continuity and the sign condition `f a ≤ 0 ≤ f b` — the *sign-change* grid search returns a grid point within one mesh `(b-a)/N` of a genuine root. The location comes from the bracket `f (grid k) ≤ 0 < f (grid (k+1))`, not from the size of `|f|`. * `Bishop.local_nonconstancy_insufficient` : **a bound on `|f|` alone is not enough**, even under Bishop's local non-constancy hypothesis with an explicit modulus `ν`. The `1`-Lipschitz function `Bishop.dipFn η x = min (x-1) (|x-3| + η)` has the unique root `1`, satisfies local non-constancy with the explicit modulus `ν h = h/8`, and yet `|dipFn η 3| = η` is as small as one likes while `3` is at distance `2` from the root. So no theorem of the form "`|f x|` small ⟹ `x` near a root" can be derived from local non-constancy alone. -/ open Bishop open Set /-! ## 1. The bracketing form of the grid search -/ /-! ## 2. Local non-constancy does not locate approximate roots Bishop's exact intermediate value theorem replaces a slope bound by *local non-constancy*. The following explicit function shows that this hypothesis, even with an explicit modulus `ν`, does not let one conclude that a point with small `|f|` is close to a root. -/
theorem Bishop.local_nonconstancy_insufficient{δ : ℝ} (hδ0 : 0 < δ) (hδ2 : δ < 2) :
∃ (f : ℝ → ℝ) (ν : ℝ → ℝ) (x : ℝ),
HasModulusOn f (Icc (0 : ℝ) 4) id ∧ f 0 ≤ 0 ∧ 0 ≤ f 4 ∧
(∀ h > 0, 0 < ν h) ∧
(∀ h > 0, ∀ p q : ℝ, p + h ≤ q → ∃ z ∈ Icc p q, ν h ≤ |f z|) ∧
x ∈ Icc (0 : ℝ) 4 ∧ |f x| ≤ ν δ / 2 ∧ ∀ r : ℝ, f r = 0 → δ < |x - r| := by sorry