Nonlinear stability of the upper branch.
ProvedGrokkingBifurcation.lyapunov_decreasing_stable_branchaether-catalogmachinelearning
Nonlinear stability of the upper branch. For any solution of
x' = μ - x² strictly above the unstable branch -√μ and not sitting on the
stable branch, the squared distance to √μ is strictly decreasing.
theorem GrokkingBifurcation.lyapunov_decreasing_stable_branch(mu : ℝ) (hmu : 0 < mu) (x : ℝ → ℝ) (t : ℝ)
(hx : HasDerivAt x (snField mu (x t)) t)
(hgt : -Real.sqrt mu < x t) (hne : x t ≠ Real.sqrt mu) :
deriv (fun s => (x s - Real.sqrt mu) ^ 2) t < 0 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/GrokkingDelayedTransition/SaddleNodeLocal.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/GrokkingDelayedTransition/SaddleNodeLocal.lean import Mathlib import Definitions.Def_MachineLearning_GrokkingDelayedTransition_SaddleNodeLocal /-! # Local saddle-node bifurcation theory for the grokking normal form The catalog file `Catalog/MachineLearning/GrokkingPhaseTransition.lean` pairs a delayed ReLU transition with the *algebraic* equilibrium structure of the saddle-node normal form `μ - x²` (no equilibria / one / two). This file supplies the missing *analytic* layer, i.e. Future Direction 4 (local dynamical bifurcation theory), Direction 5 (robustness) and Direction 6 (the connection to a reduced loss landscape): * `snField_hasDerivAt_state`, `snField_hasDerivAt_param`, `snField_secondDeriv`: the derivatives of the normal form; * `saddleNode_nondegenerate`: the three classical saddle-node nondegeneracy conditions at the critical point `(μ, x) = (0, 0)`; * `snField_deriv_stable_branch` / `snField_deriv_unstable_branch`: exchange of linear stability between the two branches; * `lyapunov_decreasing_stable_branch` / `lyapunov_increasing_unstable_branch`: the *nonlinear* statement — along any solution of `x' = μ - x²` the squared distance to `√μ` strictly decreases, and the squared distance to `-√μ` strictly increases; * `perturbed_two_equilibria`, `perturbed_zero_near_branch`, `perturbed_no_equilibrium`: the whole bifurcation diagram is robust: any continuous field uniformly `ε`-close to `μ - x²` still has two zeros for `μ > ε` (each within `O(ε)` of a branch) and none for `μ < -ε`; * `reducedLoss_negGradient`, `reducedLoss_isLocalMin_stable_branch`, `reducedLoss_isLocalMax_unstable_branch`: the normal form is the negative gradient of the cubic reduced loss `x³/3 - μ x`, whose local minimum is the stable branch and whose local maximum is the unstable branch. -/ open GrokkingBifurcation open Real Set /-! ### The normal form and its derivatives -/ /-! ### The two branches and exchange of stability -/ /-! ### Nonlinear (Lyapunov) stability along solutions -/
Formal statement
theorem GrokkingBifurcation.lyapunov_decreasing_stable_branch(mu : ℝ) (hmu : 0 < mu) (x : ℝ → ℝ) (t : ℝ)
(hx : HasDerivAt x (snField mu (x t)) t)
(hgt : -Real.sqrt mu < x t) (hne : x t ≠ Real.sqrt mu) :
deriv (fun s => (x s - Real.sqrt mu) ^ 2) t < 0 := by sorrySource