FormalGen uses AI agents to formalize published physical mechanisms as category-theoretic models, compose and mutate them, and verify claims in Lean before finite-element testing. A sunflower–bamboo coupling predicts and simulates a 2.46×/2.45× rigidity increase.
Going deeper
![Verified formalizations of published mechanisms. a, Schematics (top) and string diagram (bottom) of sunflower phototropism [29]. Transport $p_{\mathrm{tr}}$ maps the light-direction signal $e$ to the auxin asymmetry coefficient $q$. The growth, section, and rod maps $p_{\mathrm{gr}}$, $g_{\mathrm{sec}}$, and $g_{\mathrm{rod}}$ yield the growth coefficient $b$, intrinsic curvature $\kappa$, and tangent angle $\theta$, given initial value $b_{0}$, stem radius $R$, and base angle $\theta_{0}$. The projection $\pi_{L}$ returns tip inclination $y$, $g_{x}$ and $g_{z}$ give centerline coordinates…](https://arxiv.org/html/2611.41809v1/fig2.png)
Imagine you have a shelf of recipe cards, each describing one cooking technique with exact instructions: what goes in, what comes out, and when it works. You want to invent a new dish by chaining techniques from different cards. But you cannot just stack any two cards; the output of one must actually be the right kind of ingredient for the next.
FormalGen does this for physics. It reads published papers about how materials work, writes each mechanism as a recipe card with precise inputs, outputs, and conditions, and then tries combining cards. A proof-checker makes sure each handoff is valid before anyone runs an expensive simulation. When agents combined a sunflower's bending-toward-light card with a bamboo stem's stiffness card, they invented a new link: bending reorients internal fibers, which changes stiffness.
The prediction said the stem would become 2.46 times stiffer. A computer simulation got 2.45 times. But no one has built it yet. The real test is whether light can actually turn fibers far enough inside a physical stem. The framework's value is not the one dish it cooked but the growing recipe shelf: as more cards are added, the number of certified two-card chains grows 27 times faster than the cards themselves.
The abstract, word for word, with the seven densest phrases unpacked.
Artificial intelligence (AI) is undergoing a transition from open-ended to formal mathematical reasoning. Can a similar transition be achieved in the physical sciences, where discovery also requires constructing, composing and testing representations of physical reality? Here we introduce FormalGen, a multi-agent framework that brings this paradigm to physics-driven design1, applied to multiscale materials. Agents formalize published mechanisms as category-theoretic models2, propose mutations with genetic operators3, and use Lean to check behavioral claims before finite-element testing4. In one mutation, agents couple sunflower phototropism to bamboo graded-wall mechanics through bending-induced fiber reorientation. The model predicts a 2.46-fold increase in flexural rigidity, and simulations yield 2.45-fold5 between prescribed orientations. Ranking by interface and domain compatibility finds 100 verified connections with 97% fewer candidates6 than connectivity-based ranking. From 8 to 32 mechanisms, proofs of individual laws increase fourfold while two-mechanism chains certified by proof reuse increase 27-fold7, a basis for cumulative discovery.
Three lines converge: formal verification, category-theoretic composition, and AI-driven scientific agents.
Read four parts, in this order.
Skip Methods (Section 4) unless you want implementation details of graph construction or finite-element setup.
If the results are weaker than they look, these are the places to check.
For the longer cantilevers, the bamboo-inspired gradient increased stiffness relative to a uniform wall with the same mean modulus. At 0circ, the graded tube was 1.143 times as stiff as the uniform tube at 800 mm and 1.157 times at twice that length, compared with a predicted factor of 1.167. The closer agreement for the longer tube is consistent with a smaller contribution from shear deformation. At a length of five outer radii, the stiffness ratio between the two fiber orientations fell to 1.95, and the aligned graded tube was slightly less stiff than its uniform comparator. The stiffness simulations prescribe the fiber angle of each state. In a separate finite-strain test of a bonded strip, the twelve fiber units ended at angles of 16circ to 18circ with 0circ as the target, and the matrix exceeded the specified strength limit. These results motivate a wall that releases the fibers during rotation. With the fibers prescribed at 16.2circ and 18.1circ in an intact wall, the simulated flexural rigidity of the reference design is 2.18 and 2.12 times its value at 53circ, or 89% and 87% of the aligned value (Supplementary Fig. 1). Together, the simulations support the predicted stiffening between prescribed orientations and guide experimental design. An experiment can measure how far the fibers rotate under illumination and how much that rotation changes the flexural rigidity of the stem.
We introduced faults into models from 5 mutations across 4 parent mechanisms. These diagnostics used sampled numerical evaluations alongside the separate Lean checks of the encoded models. The connectivity screen missed all 30 faulty variants. Dimension checks caught 5, and checks of the retained laws and their domains caught 28. All screens accepted the original models and their algebraically equivalent rewrites. The remaining defects failed subsequent physical checks. The 4 controls with the added feature disabled passed those checks and failed on the design objective. Checking the retained laws catches faults that survive dimensional checks. The disabled-feature controls show why the requested response also needs its own check.
Figure 3b shows a design generated through several compositional edits in response to a user query. The user asked FormalGen to couple sunflower phototropism with the graded-wall mechanics of bamboo. The sunflower model supplies a bend angle, and the bamboo model requires a radial modulus profile. The researcher set aside one verified candidate because it left the bamboo wall unchanged. A later candidate passed Lean and failed the simulation test, with rigidity at 53circ above the prediction by 53.8% and 12.3% at two design points. The agents traced the error to the wall law, which treated each fiber layer as free, and replaced it with the law of a bonded laminate from the corpus. The revised composition was accepted on the fourth pass and passed the same test (Supplementary Methods, section 2).
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all