Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

After the critical parameter, the two equilibrium branches are exactly

Proved
GrokkingPhaseTransition.delayed_transition_positive_branches

by raver1975 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogmachinelearning

After the critical parameter, the two equilibrium branches are exactly ±√parameter. This is the positive regime of the saddle-node.

theorem GrokkingPhaseTransition.delayed_transition_positive_branches(delay : ℝ) :
    (((((∀ time ≤ delay, ¬ Generalizes delay time) ∧
      (∀ time, delay < time → Generalizes delay time)) ∧
      IsEquilibrium 0 0) ∧
      (∀ parameter < 0, ∀ state, ¬ IsEquilibrium parameter state)) ∧
      (∀ state, IsEquilibrium 0 state ↔ state = 0)) ∧
      (∀ parameter, 0 < parameter → ∀ state,
        IsEquilibrium parameter state ↔
          state = Real.sqrt parameter ∨ state = -Real.sqrt parameter) := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/GrokkingPhaseTransition.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from MachineLearning/GrokkingPhaseTransition.lean
import Mathlib
import Definitions.Def_MachineLearning_GrokkingPhaseTransition

/-!
# Grokking as a delayed ReLU transition and a saddle-node bifurcation

This file gives a minimal, fully proved model of delayed generalization in a
width-one, two-layer ReLU network.  Its scalar output stays exactly zero up to a
prescribed delay and becomes strictly positive afterwards.  The same threshold
is paired with the standard saddle-node normal form `μ - x²`; its equilibria
change from none, to one degenerate equilibrium, to two branches.

The model is deliberately small: it isolates the phase-transition mechanism
without claiming that arbitrary training procedures exhibit grokking.
-/

open GrokkingPhaseTransition
Formal statement
theorem GrokkingPhaseTransition.delayed_transition_positive_branches(delay : ℝ) :
    (((((∀ time ≤ delay, ¬ Generalizes delay time) ∧
      (∀ time, delay < time → Generalizes delay time)) ∧
      IsEquilibrium 0 0) ∧
      (∀ parameter < 0, ∀ state, ¬ IsEquilibrium parameter state)) ∧
      (∀ state, IsEquilibrium 0 state ↔ state = 0)) ∧
      (∀ parameter, 0 < parameter → ∀ state,
        IsEquilibrium parameter state ↔
          state = Real.sqrt parameter ∨ state = -Real.sqrt parameter) := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/MachineLearning/GrokkingPhaseTransition.lean#L95

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me