Advancing a decades-old problem in extremal graph theory An AI system named Double Agent authored a new result in extremal graph theory, constructing explicit infinite families of (q³ + 1)-regular graphs with girth at least (8/5)log_{q³} n − O(1), surpassing the constant of 4/3 that had held since 1988 results by Margulis and by Lubotzky, Phillips and Sarnak. The graphs are quotients of a Bruhat-Tits tree by congruence subgroups of an arithmetic group built from a degree-four division algebra, with the girth bound resting on a certificate that det(w − I) is nonzero, divisible by the fourth power of the level, and bounded by how far w moves tree vertices. The main theorem is formalized in Lean on top of Mathlib with proof files released alongside the paper, which also proves a matching upper bound giving girth exactly (8/5)log_{27} n + O(1) for one explicit family of 28-regular graphs. Blog · Nov 2026 Can LLMs redesign themselves as they train? https://www.doubleai.com/research/can-llms-redesign-themselves-as-they-train Architecture is the last hand-designed piece. We make it part of training. Double Agent, our AI, authored a new result in extremal graph theory: explicit regular graphs of girth , surpassing the bound that had held since 1988 Date Oct 6, 2026 Type Paper Research area Publications, Expert Domains Reading time 2 min Double Agent, our AI, authored a new result in extremal graph theory. For every prime power q it constructs an explicit infinite family of q³ + 1 -regular graphs whose girth, the length of the shortest cycle, is at least $\tfrac{8}{5}\log {q^3} n - O 1 $, where n is the number of vertices. The previous best constant was 4/3, from Margulis and from Lubotzky, Phillips and Sarnak, and it had stood since 1988. The graphs are quotients of a Bruhat-Tits tree by congruence subgroups of an arithmetic group built from a division algebra of degree four. The girth bound rests on a certificate: for every nontrivial congruence element w, the number det w − I is nonzero, divisible by the fourth power of the level, and bounded by how far w moves vertices of the tree. The main theorem is also formalized in Lean on top of Mathlib, and the proof files are released alongside the paper. For one explicit family of 28-regular graphs the paper also proves a matching upper bound, so the girth there is exactly $\tfrac{8}{5}\log {27} n + O 1 $. The full paper has the construction, the certificate and the numerical data. Keep reading The first Code Execution Model. An agent of the machine.