The Lagrangian Brain: A Constraint Mechanics of Mind and Machine
The paper proposes that a brain follows Lagrangian constraint mechanics: everything a circuit knows, is told, or wants constrains its single current state and acts through its own multiplier, which accumulates constraint violation and pushes the state back. Neurons and synapses carry these multipliers with distinct time constants—inhibitory interneurons for what never happens, adaptation for the cost of staying put, synapses for experience statistics, and apical feedback for the future. The hypothesis is claimed to yield Dale's law, excitatory–inhibitory reciprocity and balance, paradoxical cortical responses, and brain rhythm frequencies, with belief as time spent per state, learning as sleep proposing and waking refuting laws, and planning as goal and present waves meeting. A gradient-free machine trained on 1000 puzzles is reported to solve all 422,786 Sudoku-Extreme test puzzles with one trajectory each, rediscover Sudoku rules, plan shortest paths in mazes 64 times the training area, and track permutations on strings 25 times longer than training, where Transformers fail.

arXiv ·
· November 7, 2026