The Swarm Simulator: A Dynamical Systems Model of Collective Intelligence Using the TO/TOGT Operator Pipeline
Version 3, September 2026 (corrections and formal checks)
Pablo Nogueira Grossi, G6 LLC, Newark, NJ. ORCID: 0009-0000-6496-2186
Versions: V1 10.5281/zenodo.19208284; V2 10.5281/zenodo.20230613; V3 (this deposit) 10.5281/zenodo.23027566.
Series root: 10.5281/zenodo.19117399. Formal-verification hub: github.com/TOTOGT/AXLE.
The Swarm Simulator is a multi-agent dynamical system whose collective state Xt = (It, Ct, Mt, Ft) has four quantities: shared-intent stability, coordination efficiency, type-propagation multiplier and diffusion factor. Four collective operators, motivated by the generative operator pipeline G = U∘F∘K∘C of Topographical Orthogonal Generative Theory (TO/TOGT), govern its evolution. The agent-level pipeline is not formalised in this paper; the collective operators are taken as definitions.
Versions 1 and 2 stated a contraction theorem on R4 and a multi-orbit claim of distinct fixed points, and version 1 said that no numerical or unverifiable claims were made. Checking version 2 against Lean 4.32.0 and Mathlib v4.32.0 showed that its Lean file did not compile, that several of its theorems did not concern the swarm map, that Theorem 5.1 as printed is false, and that the two clusters of its multi-orbit figure were not contractive. Version 3 replaces the paper, the Lean file, the simulator and the open-questions table. The V1 and V2 texts are superseded.
Lean 4.32.0, Mathlib v4.32.0, no sorry, axioms propext, Classical.choice, Quot.sound only. Write a = ftypes·fagents·(1 − η), c = 1/(1 + D), m = (1 + β·reuse)·avg_quality.
no_global_lipschitz).step_lipschitz_ball, default_radius).orbit_nrm_le, paper_bound, printed_bound_fails).fixed_point_zero, two_clusters).diffuse_unbounded).Shared intent decays as It = I0·at, the same law as a chain of steps that each hold with probability a.
swarm_simulator_v3.pdf, swarm_simulator_v3.tex: the revised paper, with figures/SwarmSimulator.lean: the Lean 4 proofs (build with lake build SwarmSimulator) and swarmsimulator.axioms.txt, the axiom reportswarm_simulator.py: simulator and figures; python swarm_simulator.py --check runs ten numerical checks of the statements proved in LeanOPEN_QUESTIONS_SwarmSimulator.md and CHANGES_SwarmSimulator_V3.mdMSC codes: 37C25, 37D10, 47H10, 68T99. Keywords: swarm simulator, collective intelligence, TO/TOGT, contraction on a ball, fixed point, Lean 4.
License: CC BY-NC-ND 4.0 (paper), MIT (code). © 2026 Pablo Nogueira Grossi, G6 LLC.