Manuscript Offprint

arXiv:2611.06995

Autonomous AI Agents Systematically Diverge From Human Preferences in Proof Formalization

Bálint Gyevnár, Simon DeDeo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

The use of proof assistants in mathematical reasoning has become increasingly popular and is now a core part of many recent successes in AI-enabled mathematics [e.g., Ope26a; Ale+26; Alp26; Ope26b]. One reason for this lies in the way people interact with these systems, which enable humans to decompose a theorem into a system of elaborately specified subproblems, each of which can in turn be resolved, in a formally verifiable fashion, by systematic search.

However, the fact that a proof is found in such a system tells us little about how the AI system resolved the formal statement or what subproblems it chose to visit and why. As has become increasingly apparent, the proofs that AI systems discover may not align with human concepts [DD26], and can be verbose, circuitous, redundant [ABB26; Lu+26], misformalized [BCH26], and may even exploit holes in the proof assistant kernel itself [dMou26]. These systems may solve problems, but such limitations of “problem-solving for problem-solving’s sake” have long been recognized in the mathematical community [e.g., Gow02; Thu06], and have now become a key point of contention [e.g., Avi26; Kon26; Abo+26; KT26; Lei26; Avi+26; Adv26], with even the proponents of AI in mathematics calling for “AI assistance in formalization that preserves high-level human control and agency over the proof discovery process” [Col+26].

With this goal in mind, effective collaboration between humans and AIs becomes contingent on a fundamental question:

To what extent do AI systems behave in ways that complement, augment, or hinder human mathematical understanding?

Figure

Figure 1: Summary of our experimental setup. After downloading a Lean formalization repository, we remove all merge commits and all commits in which no Lean file was modified. For each of the total NN remaining human parent commits, written as Ht−1H_{t-1}, an agent is called to “take the next step”, producing an artificial child state AtA_t. In our analysis, we then compare the human-authored child state HtH_t to AtA_t using a set of features extracted from each.

In particular, many visions for “Math 2.0” [Tao26] suggest that AI agents should serve as aligned collaborators that work towards the long-term goals of human mathematicians [Jia+26a]. In this collaborative setting, choosing what to work on next – which sub-lemma to resolve, which theorem to formalize next – has wide-ranging consequences.

Agents whose preferences and behavior differ from those of humans can be beneficial and complementary to human understanding, resolving laborious but straightforward statements, or formalizing definitions. But not all complementarities are beneficial: agents who are in some way misaligned can produce costly mismatches between intuition and formal code, which can in turn introduce subtle errors and distortions of human intent, redirect human effort into “AI-friendly” styles, and frustrate human desires to establish correspondences between the formal reasoning of a proof assistant and the conceptual structure of the proofs they are supposed to implement [DD26].

These questions are brought to the fore when agents are given freedom in what subproblems to attack: giving over the choice of the next step involves renouncing, in part, a key aspect of human agency [Col+26]. As agents become more capable, we expect this kind of unguided “help me” request to become increasingly common. Existing evaluations of AI agents in formal mathematics, however, have been unable to probe behavior in this unrestricted regime because they test performance on pre-selected problems where there is a clear, and human-chosen, prescription for what to work on [Xin+26; Let+26; Zha+26; Zhu+26; XLZ26]. As a result, we know little about what AI agents attend to when the choice of what to work on is left to them, and how an AI agent’s preferences differ from human ones.

At the broadest level, when we study this question, a key distinction is between the syntax of a proof – the organization of its textual form – and its semantics – the mathematical content that form represents. First, there is strong evidence to indicate that syntax plays an outsized role in how AI systems behave. Source code is repetitive and predictable [Hin+12], so neural models exploit such surface regularities as shortcuts in place of the intended task [Gei+20; MPL19]. As such, the mathematical reasoning of LLMs degrades when names or numbers are modified in ways that leave the underlying problem unchanged [Mir+25], with their accuracy depending on how probable the task and its text are under the training distribution [McC+24]. As it turns out, LLM-based provers for Lean are no exception: a prover may succeed almost every time on one formulation of a theorem but mostly fail on a semantically equivalent one, and a statement’s surprise under the prover is a useful signal of which formulations it will solve [Ole+26]. Second, language models trained on code can learn internal representations of program semantics that go beyond its surface form [JR24; NLW23]. However, in contrast to cases which have an obvious and efficient physical representation that can be shared by both human and machine [WHL23; Yan+25], the representations that can be induced from complex data may be far less identifiable and far more variable [Kim+21], particularly in the case of expert mathematical performance [SH25]. How the two aspects drive an agent's choice of the next step is, therefore, an open question – and one with direct consequences for whether that choice complements or conflicts with humans.

For these reasons, our work here addresses two related research questions:

RQ1. To what extent in mathematical collaboration do AI agents respond to and work with the surface syntax of a proof, or, conversely, attend to some underlying semantics?

RQ2. To what extent do these preferences of AI agents either match or differ from those of human experts?

To address these questions, we present the simulated collaboration method as shown in Figure 1 (see Methods for full details). Like previous work [Xin+26], we replay the full histories of human collaborations, but we leave the choice of the next step to the agent under a deliberately broad objective, so that where an agent chooses to work becomes the outcome of interest rather than an input. Simulated collaboration draws on a large database of human formal proof-making – Git repositories that track the activities of human collaborations as they formalize a proof over time – and allows us to compare the differences between the observed human actions and the actions that would have been taken by an AI prompted to “take the next step”. We compare the human baseline to three modern models (Claude Opus 4.6, Google Gemini 3.1 Pro, and GPT-5.2).

Using this methodology, we find the following:

  • AI agents respond primarily to surface-level markers of explicit proof gaps (RQ1). Definitions containing a sorry marker account for 59–92% of AI agent modifications, against 19% of human modifications, and the probability that an AI agent modifies a definition falls markedly with its distance to the nearest sorry marker. AI agents also modify larger definitions less often than humans, and their edits are larger and less often connected to other definitions edited in the same commit.

  • Where AI agents go beyond syntax, their modifications concentrate on different regions of the dependency graph than human modifications (RQ2). AI agents preferentially modify definitions near the “edges” of a proof – either close to, or far from, the leaves and roots – compared to humans, who tend more to modify definitions in the denser intermediate regions.

  • AI agents are attracted to high-surprise proofs and act to regularize that surprise toward baseline (RQ2). AI agents preferentially modify definitions whose bodies have high per-token surprise, and their modifications reduce it strongly towards baseline; human modifications leave the aggregate surprise of their definitions (almost) unchanged.

References (76)