Autonomous AI Agents Systematically Diverge From Human Preferences in Proof Formalization

Bálint Gyevnár (Carnegie Mellon) and Simon DeDeo (Carnegie Mellon, Santa Fe Institute) replay nine major human Lean formalization projects and ask Claude Code, Codex and Gemini CLI what they would edit next, then compare their choices with what humans actually did.
Ask this paper
Method. "Simulated collaboration" covers 4.7M definitions over more than 6K commits. At each human commit, the agent sees the same state and makes its own edit.
Sorry markers. At least 59% of every agent's edits touch a definition containing a sorry placeholder (Claude 92%, Gemini 80%, Codex 59%), against 19% for humans. Agents treat each sorry as a request to fill, while humans often leave it as a planning marker.
Isolated edits. 62% of human edits touch definitions connected to another edited definition. Agents make isolated edits 77% (Claude), 69% (Gemini) and 82% (Codex) of the time.
Proof structure. Agents avoid densely connected proof centers and complex or surprising goals, and when they edit surprising proof bodies they move them back toward typical forms.
Implication. The authors read these patterns as blind spots to address before agents can collaborate on large formalization projects.
Abstract
Artificial intelligence (AI) systems have ushered in a new age of proof abundance, but helping humans understand these proofs requires new attention to the differences in how AI agents and humans pursue a proof-making task. We present "simulated collaboration", a methodology that allows us to examine two key questions: (1) the relative attention AI agents pay to surface syntax or, conversely, deeper underlying semantics, and (2) how and where AI agent preferences for what to do next diverge from human preferences. On a set of nine major human collaborations in Lean with 4.7M definitions across more than 6K commits, we find that, over the course of proof construction, AI agents (1) are far more strongly drawn than humans to explicitly marked gaps; (2) show a relative aversion to densely connected proof centers and to complex or surprising proof goals; and (3) are relatively attracted to surprising proof bodies, which they tend to regularize toward baseline. Our results highlight important blind spots and potential interventions for future human-AI collaboration in mathematics.