Work

DescentCore: A Verified Kernel for Descent Systems in Lean 4 — Termination and the Attractor as Theorems

Year: 2026
Type: preprint
Abstract: Many computational and dynamical systems are organized by a single pattern: a quantity attached to each state strictly decreases at every step until it reaches zero, where the system rests. Termination of such systems is usually argued instance by instance, or assumed. This paper presents DescentCore, a small verified kernel in Lean 4 that states the pattern once, as a structure, and proves its two consequences once, as theorems: from any state, the orbit reaches an energy-zero state within a number of steps bounded by the initial energy (terminates_within), and the state reached is a rest state that the orbit never leaves (reaches_rest). No convergence axiom is assumed; convergence is derived from strict energy descent. The kernel is developed in core Lean only, without Mathlib and without sorry; its checked axiom basis is [propext, Quot.sound]. Three larger verified constructions in the same repository — a universal register machine, its stored-program form, and a stacking theorem for layers of descent systems — stand on this kernel, which supports reading the kernel as a base layer: a system built to this specification carries its termination and attractor guarantees in advance.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7227322452
Cites: 1
Cited by: 1
Related to: 10