来源材料

资料来源

← 首页

                                                                                                                                                                    2025-12-10



                                        Gold-medalist Performance in Solving
                                        Olympiad Geometry with AlphaGeometry2
                                        Yuri Chervonyi*,1,⋄ , Trieu H. Trinh*,1,⋄ , Miroslav Olšák†,1,2 , Xiaomeng Yang†,1 , Hoang Nguyen1,3 , Marcelo
                                        Menegali1 , Junehyuk Jung1,4 , Junsu Kim1,5 , Vikas Verma1 , Quoc V. Le1 and Thang Luong1,⋄
                                        1 Google DeepMind, 2 University of Cambridge, 3 Georgia Institute of Technology, 4 Brown University, 5 Seoul National University

                                        This work was conducted entirely at Google DeepMind by all authors.



                                        We present AlphaGeometry2 (AG2), a significantly improved version of AlphaGeometry introduced in
                                        (Trinh et al., 2024), which has now surpassed an average gold medalist in solving Olympiad geometry
                                        problems. To achieve this, we first extend the original AlphaGeometry language to tackle problems




arXiv:2502.03544v3 [cs.AI] 8 Dec 2025
                                        involving movements of objects, and problems containing linear equations of angles, ratios, and distances.
                                        This, together with support for non-constructive problems, has markedly improved the coverage rate of
                                        the AlphaGeometry language on International Math Olympiads (IMO) 2000-2024 geometry problems
                                        from 66% to 88%. The search process of AG2 has also been greatly improved through the use of Gemini
                                        architecture for better language modeling, and a novel knowledge-sharing mechanism that enables
                                        effective communication between search trees. Together with further enhancements to the symbolic
                                        engine and synthetic data generation, we have significantly boosted the overall solving rate of AG to
                                        84% on all geometry problems over the last 25 years, compared to 54% previously. AG2 was also part of
                                        the system that achieved the silver-medal standard at IMO 2024 https://deepmind.google/blog/
                                        ai-solves-imo-problems-at-silver-medal-level/. Finally, we report progress towards using
                                        AG2 as a part of a fully automated system that reliably solves geometry problems from natural language
                                        input. Code: https://github.com/google-deepmind/alphageometry2.


                                        Keywords: Mathematics, theorem proving, language models, search.


                                        Contents

                                        1 Introduction                                                                                                                       2

                                        2 More general domain language                                                                                                       4

                                        3 Stronger and faster symbolic engine                                                                                                5
                                            3.1 Handling double points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                 6
                                            3.2 Faster algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                               6
                                            3.3 Faster implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                  7

                                        4 Better synthetic training data                                                                                                     7

                                        5 Novel search algorithm                                                                                                             9

                                        6 Better language model                                                                                                            11


                                        ⋄Corresponding author(s): cyuri@google.com, thtrieu@google.com, thangluong@google.com
                                        *, †: Equal contributions
                                        © 2025 Google DeepMind. All rights reserved
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



   6.1 Training setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    11
   6.2 Inference setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     13

7 Results                                                                                                13

8 Conclusions and Future Work                                                                            15

A Related work                                                                                           20

B Fine-tuning of math specialized language models on AG data                                             21

C Multi-modal                                                                                            22

D Featured AlphaGeometry2 solutions                                                                      23

E Additional evaluation on the hardest IMO shortlist problems                                            28

F Towards generating full proofs with a language model                                                   28

G Automated problem formalization and diagram generation                                                 29

H Inequality rules                                                                                       32
   H.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   32
   H.2 How to write some of the common geometric inequality statements using 𝜔 . . . . .                 32
   H.3 Trivial rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   32
   H.4 Rules for relating 𝜔 and 𝜂 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      32
   H.5 Basic rules using P in polygon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      32
   H.6 Basic rules using “∈ 𝑂” and “∉ 𝑂” . . . . . . . . . . . . . . . . . . . . . . . . . . . . .       33
   H.7 Acute and obtuse angles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .       33
   H.8 Some inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     33
   H.9 General 𝜔 and 𝜂 deduction rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .       34


1. Introduction
Advancing reasoning capabilities of artificial intelligence (AI) systems, especially in tackling complex
mathematical problems, has been a decade-long holy grail of AI research. Even with the rapid
developments of large language models, most systems until now still struggle with the fundamental
understanding of geometric objects (e.g., points, lines, circles) and their interactions. This had
motivated our previous work, AlphaGeometry (Trinh et al., 2024), a neuro-symbolic system capable
of solving Euclidean geometry problems at the Olympiad level. Specifically, AlphaGeometry (AG1)
combines the power of a neural language model, that is creative in suggesting insights for tackling

                                                                                                          2
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



challenging problems, with a symbolic engine, that uses a formal language to describe geometric
constructs and deduction rules to reliably derive new properties. Trained on 100M synthetically
generated examples of diverse levels of complexity, AG1 was able to solve geometry problems at the
level of the International Mathematical Olympiad (IMO), a prestigious competition for the world’s
brightest high-school mathematicians.
    Broadly speaking, there are two main approaches for automatically solving geometry problems.
The first group is about bashing the geometry problems algebraically with Wu’s method (Chou,
1985; Wu, 2008), Area method (Chou et al., 1993, 1994), or Gröbner bases (Kapur, 1986a,b). The
second group, on the other hand, relies on synthetic techniques, such as Deduction database (Chou
et al., 2000), or Full angle method (Chou et al., 1996). AG1 uses the latter, as a more human-like
approach suitable for transferring the research knowledge to other domains. The neuro-symbolic
system that AG1 employed has demonstrated a significant step towards mastering the domain of
Euclidean geometry. However, despite its success, AG1 exhibited limitations in several key areas.
Its performance was constrained by the scope of its domain-specific language, the efficiency of the
symbolic engine, and the capacity of the initial language model. As a result, when considering all the
recent IMO geometry problems from the year 2000 until now, AG1 can only achieve a solving rate of
54%.
    This paper introduces AlphaGeometry2 (AG2), a substantial upgrade that addresses the aforemen-
tioned limitations and significantly enhances performance. First, we expand the domain language to
encompass a wider range of geometric concepts, including locus theorems with moving constructs
and linear equations of angles, ratios, and distances. We also introduce a significantly faster and more
robust symbolic engine, incorporating optimizations such as a reduced rule set and enhanced handling
of double points. AG2 leverages a more powerful language model based on Gemini (Gemini Team,
2024) and trained on an order of magnitude larger and more diverse dataset. To further improve
performance, we develop a novel search algorithm, Shared Knowledge Ensemble of Search Trees (SKEST),
that explores a broader range of auxiliary construction strategies and employs a knowledge-sharing
mechanism to expand and accelerate the search process. Finally, we make progress towards building
a fully automated and reliable system that solves geometry problems in natural language. To do this
we utilize Gemini to translate problems from natural language into the AlphaGeometry language and
implement a new automated diagram generation algorithm.
    These enhancements culminate in a substantial improvement in performance. Specifically, AG2
achieves a new state-of-the-art solving rate of 84% on all IMO geometry problems from 2000 to
2024, compared to 54% achieved in AG1. This demonstrates a significant leap forward in AI’s ability
to tackle challenging mathematical reasoning tasks, surpassing an average IMO gold medalist. In
summary, the key improvements in AlphaGeometry2 include:
   • Expanded domain language: covering locus-type theorems of moving objects, linear equations of
     angles/ratios/distances, and non-constructive problem statements.
   • Stronger and faster symbolic engine: introducing an optimized rule set, better handling of double
     points, and a two-order-of-magnitude faster implementation in C++.
   • Enhanced Language Model: leveraging the Gemini architecture, trained on an order of magnitude
     larger and more diverse dataset.
   • Advanced Novel Search Algorithm: introducing Shared Knowledge Ensemble of Search Trees (SKEST)
     that enables utilizing multiple search trees with knowledge sharing.

   For related work and a discussion on how the AlphaGeometry2 positions among other systems
reported in the literature, we refer the readers to Appendix A.



                                                                                                      3
                     Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



2. More general domain language
First introduced in (Trinh et al., 2024), AG1 uses a simple domain-specific language that consists
of nine basic “predicates” listed in Table 1. While these predicates are sufficient to cover 66% of all
geometry problems for 2000-2024 IMO, AG1 language does not allow talking about linear equations,
movements of points/lines/circles or common computational problems such as “Find the angle ...”
(e.g., IMO 2009 P4). Below, we explain how AG2 addresses these and other challenges.

       Name                       Meaning
       cong a b c d               𝐴𝐵 = 𝐶 𝐷
       perp a b c d               𝐴𝐵 ⊥ 𝐶 𝐷
       para a b c d               𝐴𝐵 ∥ 𝐶 𝐷
       coll a b c                 𝐴, 𝐵, 𝐶 are collinear
       cyclic a b c d             𝐴, 𝐵, 𝐶, 𝐷 are concyclic points
       eqangle a b c d e f g h    Directed angle between 𝐴𝐵 and 𝐶 𝐷 is equal to the one between 𝐸𝐹 and 𝐺 𝐻
       eqratio a b c d e f g h    𝐴𝐵/𝐶 𝐷 = 𝐸𝐹 /𝐺 𝐻
       aconst a b c d x           Angle between 𝐴𝐵 and 𝐶 𝐷 is equal to 𝑥 , where 𝑥 ∈ [0, 180)
       rconst a b c d y           𝐴𝐵 : 𝐶 𝐷 = 𝑦 where 𝑦 is a constant


Table 1 | AG1 predicates.

   First of all, AG2 adds two predicates to allow questions of type “Find x”:

  1. acompute a b c d means “Find the angle between 𝐴𝐵 and 𝐶 𝐷”.
  2. rcompute a b c d means “Find the ratio 𝐴𝐵/𝐶 𝐷”.

    In some geometry problems, including the one appearing at IMO 2024, there are linear equations
of geometric quantities (angles, distances) that AG1 cannot capture. To express these notions, AG2
adds the following three predicates:

  1. distmeq a1 b1 a2 b2 ... an bn t1 t2 ... tn y means 𝑡1 log( 𝐴1 𝐵1 ) + 𝑡2 log( 𝐴2 𝐵2 ) + ... +
     𝑡𝑛 log( 𝐴𝑛 𝐵𝑛 ) + 𝑦 = 0.
  2. distseq a1 b1 a2 b2 ... an bn t1 t2 ... tn means 𝑡1 𝐴1 𝐵1 + 𝑡2 𝐴2 𝐵2 + ... + 𝑡𝑛 𝐴𝑛 𝐵𝑛 = 0.
  3. angeq a1 b1 a2 b2 ... an bn t1 t2 ... tn y means 𝑡1 𝑑 ( 𝐴1 𝐵1 )+ 𝑡2 𝑑 ( 𝐴2 𝐵2 )+ ... + 𝑡𝑛 𝑑 ( 𝐴𝑛 𝐵𝑛 )+ 𝑦 =
     0 where 𝑑 ( 𝐴𝐵) is the angle between the undirected line 𝐴𝐵 and the horizontal line.

     Another category that was not supported in AG1, so-called locus problems, talk about movements
of objects such as points, lines, and circles. AG2 captures this through a new predicate syntax. Table 2
lists 11 locus cases with the corresponding predicate and their syntax. Here we make use of one new
token * to serve as the fixed-point placeholder.
   Furthermore, in AG2 proofs, we include explicit predicates to represent diagram checks for
topological/non-degeneracy conditions:

  1. sameclock a b c d e f means the direction 𝐴 → 𝐵 → 𝐶 has the same clockwise direction to
     𝐷 → 𝐸 → 𝐹.
  2. noverlap a b means 𝐴 and 𝐵 are distinct points.
  3. lessthan a b c d means 𝐴𝐵 < 𝐶 𝐷, which is a statement used in the SSA triangle congruence
     theorem.


                                                                                                             4
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



      Case   Name                              Subcase                   Syntax for question
      1      circle through fixed points       circumcircle a b c        ? cyclic a b c * : X
      2                                        center a radius b c       ? cong b c a * : X
      3      line through fixed points         line a b                  ? coll a b *: X
      4                                        bline of a b              ? cong a * b * : X
      5                                        pline of a b c            ? para b c a * : X
      6                                        tline of a b c            ? perp b c a * : X
      7      point on fixed line                                         ? coll a * * : X
      8      point on fixed circle                                       ? cyclic a * * * : X
      9      fixed distance                                              ? cong a b * * : X
      10     fixed direction                                             ? para a b * * : X
      11     fixed angle                                                 ? eqangle a b a c * * * * : X

Table 2 | The 11 types of locus-type statements, and their corresponding predicate syntax in the AG
domain language.


    AG2 can also prove points being non-distinct by introducing a new predicate, overlap a b (points
𝐴 and 𝐵 are overlapping points), where any predicate involving 𝐴 can also be used for 𝐵 and vice
versa. During the deduction closure, overlapping points can be defined by being a center of the same
circle; we therefore introduce another predicate cyclic_with_center to capture this scenario.
Here, cyclic_with_center a1 a2 ... an x means 𝑎1 = 𝑎2 = · · · = 𝑎𝑥 is the center of the circle
that goes through 𝑎𝑥 +1 ...𝑎𝑛 (in case 𝑥 = 0, it is equivalent to cyclic).
    Notice that, when describing a problem, AG1 uses at most 2 predicates to define a point, i.e. each
point is defined as the intersection between at most two objects (line or circle). This limits AG1
to only constructive problems - problems where all points can be straightforwardly constructed by
following their definition order and taking the intersection of two well-defined objects. In AG2, we
relax this constraint to cover more problems where points can be defined by at least three predicates,
making the diagram construction non-trivial. Our approach for automating this process is discussed
in the next section.
    All changes described in this section improve the AG domain language coverage from 66 to 88%
on all 2000-2024 IMO geometry problems. The remaining 12% contain 3D geometry, inequalities,
non-linear equations, and countably many points (i.e. problems that have 𝑛 points where 𝑛 is an
arbitrary positive integer). All problems (covered and not covered) by AG1 and AG2 can be found on
Figure 8. Not covered are referred as "Not attempted".


3. Stronger and faster symbolic engine
A symbolic engine is a core component of AlphaGeometry. We call it DDAR, Deductive Database
Arithmetic Reasoning. It is an algorithm to compute the deduction closure, i.e. the set of all deducible
facts given a core set of initial facts. DDAR builds this deduction closure by following a fixed set of
deduction rules, iteratively adding new facts into the deduction closure until no more can be added.
    DDAR drives both the training data generation for our language model and the search for deduction
steps during the test-time proof search. In both scenarios, speed is crucial. Faster data generation
allows larger and more aggressive data filtering, while faster proof search enables more extensive
search, which increases the likelihood of finding a solution within a given time budget.
   There are three main DDAR improvements that will be discussed in the next three sections.

                                                                                                         5
                     Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




Figure 1 | Handling “double" points in AG2. It is hard to prove that the intersection of 𝑎, 𝑏 is on 𝜔.
But if a language model suggests a construction 𝑋 ′ ∈ 𝑎 ∩ 𝜔, then DDAR can prove the goal by proving
𝑋 ′ ∈ 𝑏, and hence 𝑋 = 𝑋 ′ .


   • Capability of handling double points.
   • Faster algorithm.
   • Faster implementation.


3.1. Handling double points

While re-implementing DDAR, we tried to keep approximately the same logical strength as the
original algorithm, just a little stronger because of the implementation differences (for example Thales
Theorem was replaced with a more general Central Angle Theorem). However, DDAR1 is missing
one key feature, which is crucial for tackling hard problems: it is unable to accept two points with
different names and the same coordinates.
    For example, imagine a problem where we intersect two lines 𝑎, 𝑏 at a point 𝑋 , and intend to
prove that 𝑋 lies on a certain circle 𝜔. The most plausible approach might be via a reformulation –
instead of proving that the intersection of 𝑎, 𝑏 is on 𝜔, we prove that the intersection of 𝑎, 𝜔 lies on 𝑏.
This is equivalent, yet can be much easier to prove because we can move angles on the circle. For
illustration see Figure 1. To do such “reformulation” of reasoning with double points, we proceed
through the following 4 steps:

   • Construct a new point 𝑋 ′ as the intersection of 𝑎, 𝜔 (we don’t know yet that 𝑋 ′ coincides with
     𝑋 ). This is an auxiliary construction that must be predicted by a language model.
   • Prove that 𝑋 lies on 𝑏.
   • Since both 𝑋 and 𝑋 ′ lie on both, 𝑎, 𝑏, we conclude 𝑋 = 𝑋 ′ .
   • Consequently 𝑋 lies on 𝜔.


3.2. Faster algorithm

The DDAR1 algorithm is processing a list of rules and tries to apply each rule to all combinations of
points. This process involves a candidate searching step, whose time complexity is polynomial in the
number of points, and a clause matching step, whose time complexity is exponential in the number
of clauses per premise. In theory, the worst case for searching similar triangle candidates in AG1


                                                                                                         6
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



is 𝑂 ( 𝑁 8 ), which is one of the most time-consuming steps. The exponential clause matching step is
another expensive step. To make the search more efficient, we take all essential rules and hard-code
search for their application, which reduces the number of queries for the AR sub-engine to at most
cubic. Furthermore, we discard the explicit rules for angles and distances (e.g., about perpendicular
or parallel lines) – all such deductions happen automatically in the AR engine.
    The two main time-consuming parts of DDAR are a search for similar triangles and a search for
cyclic quadrilaterals. In AG2, we designed an improved DDAR2 algorithm. For similar triangles, we
go through all triples of points, hash their “shape”, and detect a similar pair if the shape is recognized
twice. For cyclic quadrilaterals, we go through all pairs (point 𝑋 , segment 𝐴𝐵), and hash the value
of ( 𝐴, 𝐵, ∠ 𝐴𝑋 𝐵). If such a triple repeats, we get a cyclic quadrilateral. By the “value” of segment
𝐴𝐵, or ∠ 𝐴𝑋 𝐵, we mean a symbolic normal form calculated by the AR-submodule. This submodule
keeps track of known linear equations between angles, distances, and log-distances, understands its
algebraic consequences, and can reduce any linear expression to its normal form.

3.3. Faster implementation

While the new algorithm already significantly accelerates DDAR, we make further speed improvements
by implementing its core computation (Gaussian Elimination) in C++. The new C++ library, which
is exported into Python via pybind11 (Jakob et al., 2017), is over 300 times faster than DDAR1. In
order to benchmark the speed improvement, we select a set of 25 IMO problems that cannot be solved
by DDAR (see Figure 8), and run the test 50 times on a machine with AMD EPYC 7B13 64-core CPU.
While on average DDAR1 finishes its computations in 1179.57 ± 8.055 seconds, DDAR2 is much faster
- finishing in 3.44711 ± 0.05476 seconds1 .


4. Better synthetic training data
Supplementing the symbolic engine with a language model was a key to AG1’s success, bringing the
solve rate from 14 (pure deduction proofs) to 25 out of 30 selected IMO problems (Trinh et al., 2024).
This language model was trained on a large amount of algorithmically generated synthetic data. In
AG2, we use the same procedure.
     Similar to AG1, our synthetic data generation method starts by sampling a random diagram, and
uses the symbolic engine to deduce all possible facts from it. For each of the deduced facts, a traceback
algorithm is used to extract the corresponding premises, auxiliary points, and deduction steps that
prove the fact. Our data generation method deliberately avoids the use of human-crafted problems as
initial diagram seeds, and strictly starts from random diagrams. This design choice eliminates the
risk of data contamination and allows for the exploration of theorem distributions that may extend
beyond established human knowledge. This approach contrasts with methods like TongGeometry
(Zhang et al., 2024), which rely on human expertise and existing problem diagrams to guide and
filter data generation. In AG2, we keep using random diagrams as initial seeds and continue to push
for better synthetic training data.


Larger, more complex diagrams and better data distribution. First of all, we scale up resources
for data generation, and do more careful re-balancing of the data distribution. As demonstrated on
Figure 2, compared to AG1, AG2:

   • Explores random diagrams at twice the size, allowing for extracting much more complex
  1 The average running time may vary depending on the machine status at different times.




                                                                                                        7
                                                                         Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



                                     problems.
                                   • Produces theorems at up to 2x more complex, i.e. number of points and premises.
                                   • Produces up to 10x more complex proofs, i.e. 10x more proof steps.
                                   • Has a more balanced data distribution between question types.
                                   • Has a more balanced data distribution between problems with and without auxiliary points.


                                                                                           Problem size distribution in the training data




Number of examples (log scale)
                                    107                                                                                                                                                                                                  AG1
                                                                                                                                                                                                                                         AG2
                                    106
                                    105
                                    104
                                    103
                                    102
                                    101
                                                      0                               5                         10        15          20       25                                                                                30
                                                                                                               Number of points (problem size)
  (a) AG2 includes more complicated/longer problems compared to AG1.
                                                                       Question types in the training data
                                                                                                                                                             AG1                                          Auxiliary points in the training data
                                                                                                                                                             AG2
                                                                                                                                                                                                           AG1




 Number of examples (log scale)
                                                                                                                                                                                                           AG2
                                                                                                                                                                                                    108




                                                                                                                                                                   Number of examples (log scale)
                                  107




                                                                                                                                            Evaluate value
                                                                                                               Equal ratio
                                                                                    Parallel
                                                      Equal distance                           Perpendicular                 Equal angles
                                          Collinear                     Concyclic
                                                                                                                                                                                                    107
                                                                                                                                                                                                          with_aux                  without_aux
                                                                                                                                                                    (c) AG2 has a much more balanced mix
                                                                                                                                                                    between proofs with auxiliary points
  (b) AG2 has a more balanced distribution of examples per                                                                                                          and proofs without (50:50 in AG2 vs
  question type.                                                                                                                                                    9:91 in AG1).

    Figure 2 | Training data distributions for AG2 compared to AG1.


   More types of theorems. Besides generating theorems that prove classic statements such as “AB =
   CD”, AG2 data generating algorithm also produces problems of “locus” type, i.e. asserting statements
   such as “When X moves on line/circle Y, then Z moves on a fixed line/circle T”. Introduced in Section 2,
   these statements are not supported in the AG1 data generation algorithm, as there is no notion of


                                                                                                                                                                                                                                                  8
                         Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



movement and movement dependency. In AG2, we record the movement dependency for each point
𝑋 during random diagram generation through a function 𝑃 ( .) with the following definition:

    𝑃 ( 𝐴): the set of points that control the movements of 𝐴, where 𝐴 is a point or a set of points,
defined in a constructive problem statement. Two examples of 𝑃 are presented in Table 3 and all
cases where locus-type statements are detected are shown in Table 5.

                           If                                                    Then
                           a = midpoint b c, d = midpoint a c                    𝑃 ( 𝑑 ) = { 𝑏, 𝑐 }
                           a = on_line b c                                       𝑃 ( 𝑎) = { 𝑎, 𝑏, 𝑐 }

Table 3 | Two examples of 𝑃 . Top row: since 𝑑 is uniquely defined as the midpoint of 𝑎 and 𝑐, and 𝑎 is
uniquely defined as the midpoint of 𝑏 and 𝑐, the source of movement for 𝑑 is 𝑏 and 𝑐. Second row:
Since 𝑎 can be anywhere on line 𝑏𝑐, 𝑎 itself is also a part of its movement source.


Faster data generation algorithm. We also improved the speed of the data generation algorithm.
Recall that in AG1, we first run deduction closure on random diagrams, and “traceback" to obtain
the minimal problem and minimal proof that proves each fact in the closure. To obtain the minimal
problem in AG1, we have to exhaustively remove different subsets of points from the problem and
rerun DDAR to check provability. Such a search can find the subset with the smallest cardinality,
however, as an exponential search, it is infeasible for a larger number of points. Therefore, we
switched to a greedily discarding algorithm shown in Figure 3, which uses just a linear number of
checks for whether a set of points suffices to prove the goal. The greedy algorithm is guaranteed to
find a minimal set of points with respect to inclusion as long as the check is monotonic (if 𝐴 ⊆ 𝐵,
then check_provable ( 𝐴) ⇒ check_provable ( 𝐵)). In reality, we also require the pruned set to
remain closed under construction dependencies (so that we can still run a random construction).
If we incorporate this condition into the check_provable predicate, it stops being monotonic.
This difficulty can be fixed by processing the points via the algorithm from Figure 3 in a reverse-
topological order (first points that do not depend on any other points, and last the initial points of
the construction).

def p r u n e _ p o i n t s (
           points : set [ Point ] ,
           c h e c k _ p r o v a b l e : C a l l a b l e [ [ s e t [ P o i n t ] ] , bool ] ) :
    pruned = s e t ( p o i n t s )
    f o r p in r e v e r s e _ t o p o l o g i c a l ( p o i n t s ) :
            i f c h e c k _ p r o v a b l e ( pruned − {p } ) :
                   pruned = pruned − {p}
    return

Figure 3 | Basic greedy algorithm to find a minimal set of points satisfying a monotonic predicate
check.


5. Novel search algorithm
In AG1, we use a simple beam search to discover proofs. In AG2, we design a novel search algorithm,
in which several differently configured beam searches are executed in parallel and are allowed to
help each other through a knowledge sharing mechanism (see Figure 4). To improve the robustness

                                                                                                        9
                         Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




                                             1. Natural language problem
                                              “Given right triangle ABC…”




                                                    2. Formalization
                                           (A): “right_triangle a b c; …”
                              ls           (B): diagram construction
                        ode
                   ag em
                ngu
         e la
   l tipl
Mu




                        Classic LM Search         LM multi-aux search      LM operator search
                Classic LM Search         LM multi-aux search       LM operator search




                                                                   *Interesting = things about the original
                                   Shared workspace of             problem that cannot be found by DDAR
                                     interesting* facts            without a particular aux point



Figure 4 | Overview of our search algorithm. We employ several different search trees which can
share facts they proved via a special knowledge sharing mechanism.


of our system, we use multiple different language models for each search tree configuration. We call
this search algorithm Shared Knowledge Ensemble of Search Trees (SKEST).
     It works as follows. In each search tree, a node corresponds to one attempt at auxiliary construction
followed by one attempt of the symbolic engine run. If the attempt succeeds, all search trees terminate.
If the attempt fails, the node will write down the facts that the symbolic engine managed to prove
into a shared facts database. These shared facts are filtered such that they are not the auxiliary point
specific to the node itself, but only relevant to the original problem. This way, these facts can also be
useful to the other nodes in the same search tree, and the nodes in different search trees. Below we
list various types of search trees, which we employ to make sure different parts of the search space
are explored effectively:



                                                                                                              10
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



   • “Classic" search tree: the same beam tree search used in AG1, where a language model is asked
     to produce one auxiliary point at each node.
   • Tree predicting multiple auxiliary points at each node: a language model is allowed to produce
     as many auxiliary points as it wants at each tree node. Recall that this is possible because our
     LM is trained to produce full proofs, starting with auxiliary points and followed by the deduction
     steps2 . Note that even though we want our models to generate all necessary auxiliary points in
     one query, in practice, we observe the need to call the model multiple times given previously
     produced auxiliary points. Allowing the model to produce multiple auxiliary points accelerates
     finding a solution and effectively increases the tree search depth.
   • Tree predicting different types of aux points uniformly. Recall that LM outputs for auxiliary
     points look like x00 a : cong a b c d (00) coll a e f (01), i.e. “construct point a such that a
     b = c d and a e f are collinear". Typically, to predict aux points, we prompt the language model
     with the first token x00 and let it generate the rest. Here, instead, we prompt the LM with x00
     a : cong, x00 a : coll, x00 a : cyclic, x00 a : perp, etc. to force uniform distribution
     across the first 4 tokens, and then let the LM generate the rest.
   • Deep but narrow tree (e.g. beam size 64 and depth 10).
   • Shallow but wide tree (e.g. beam size 512 and depth 4).


System design details. For proof search, we use TPUv4 to serve multiple replicas per model3 and let
different search trees within the same model to query the same server under their own search strategy.
Besides running these search trees asynchronously, we also run the LM workers asynchronously with
DDAR workers. The LM workers write down the content of the nodes they explored to a database,
and the DDAR workers asynchronously pick up these nodes and attempt them. The DDAR workers
coordinate between themselves to make sure they divide work equally. A single DDAR worker pool is
shared across different problems (if multiple problems are solved at once), such that problems that
got solved earlier release its own DDAR compute resources for the rest of the problems that are being
solved.


6. Better language model
The final AG2 improvement is a new language model. In this section we discuss our new training and
inference setups.


6.1. Training setup

AG1 language model, a custom transformer, was trained in an unsupervised fashion in two phases:
training on problems with and without auxiliary constructions followed by training on only problems
that contain auxiliary constructions. For AG2, we leverage the Gemini training pipeline and simplify
training to just one phase: unsupervised learning on all data. Our new language model is a sparse
mixture-of-expert Transformer-based model that builds on Gemini (Gemini Team, 2024) and is trained
on AG2 data described in Section 4. We train multiple models of different sizes using three training
setups:

  1. Training from scratch with a custom tokenizer in the domain-specific language (AG1 setup).
  2. Fine-tuning already pre-trained custom math specialized Gemini models in natural language
     (for more details see Appendix B).
  2 See a more detailed discussion on producing full proofs with a language model alone in Section F
  3 The exact number of TPUs depends on the model size.




                                                                                                       11
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



   3. Multimodal training from scratch with an additional image input - a diagram of the given
      geometry problem (for more details see Appendix C).

    Apart from a large synthetic training set of around 300 million theorems, we create three evaluation
sets:

   1. Synthetic problem set with and without auxiliary points, “eval".
   2. Synthetic problem set with only auxiliary points, “eval_aux".
   3. Special set of geometry problems from IMO 2000-2024 that have been solved by AlphaGeometry
      previously, “imo_eval".

    All these sets contain full proofs, and we compute perplexity loss on them during training. Note,
however, that these are only proxy metrics for two reasons. First, during inference (just like in AG1),
we only use auxiliary points suggested by the language model, while the perplexity is computed on
the entire proof. Second, there might be multiple ways to solve a given problem, but perplexity is
computed for one particular solution. Just like in AG1, our main downstream metric is the solve rate
on IMO problems, where the language model produces auxiliary points followed by a DDAR run via
beam search described in section 5. These results will be discussed in Section 7.
    We train our models with the largest possible batch size allowed by the hardware4 using TPUv4. A
learning rate schedule is a linear warm-up followed by the cosine anneal. Learning rate hyperparame-
ters are determined from scaling laws. On Figure 5, we illustrate learning curves for different-sized
Gemini models in terms of parameter count. As expected, increasing the model size decreases
perplexity loss for train, eval and our special IMO evaluation set.

       0.6
                                                                                             51m train
                                                                                             51m eval
       0.5                                                                                   51m imo_eval
                                                                                             176m train
       0.4                                                                                   176m eval
                                                                                             176m imo_eval
Loss                                                                                         3p3B train
       0.3                                                                                   3p3B eval
                                                                                             3p3B imo_eval
       0.2

       0.1
             0.0           0.5              1.0             1.5                2.0                 2.5      3.0
                                                         Tokens                                          1e11
Figure 5 | Learning curves for AlphaGeometry2 language models of different sizes in terms of parameter
count (“m" - million, “B" - billion, for example, “3p3B” means a model with 3.3 billion parameters).
Increasing the model size results in decreasing loss for train, eval and IMO evaluation sets.

  4We did not observe any training issues compared to smaller batches.




                                                                                                              12
                                            Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



    6.2. Inference setup

  A new problem is solved via the search algorithm described in section 5 with multiple search trees
  and multiple language models of different sizes. In contrast to AG1, we use top-k sampling with
  temperature 𝑡 = 1.0 and 𝑘 = 32. Note that a high temperature and multiple samples are essential for
  solving IMO problems. With the greedy decoding 𝑡 = 0.0, 𝑘 = 1, and no tree search, our models can
  solve only two problems out of 26 that require auxiliary constructions. Increasing the temperature to
  𝑡 = 1.0 and using 𝑘 = 32 samples (without a search tree) allows our language models to solve 9 out
  of 26 problems. Lower temperatures 𝑡 < 1.0 do not produce diverse enough auxiliary constructions
  (see Figure 6), while higher temperatures result in an increasing number LM outputs with a wrong
  domain language syntax.

                       1.00                                                                         38



Unique samples ratio
                                                                                  Problems solved
                       0.75                                                                         35
                       0.50                                                                         30
                       0.25
                       0.00                                                                         25   109   1010       1011   1012
                              0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00                                       Tokens
                                               Temperature

    Figure 6 | Ratio of unique samples for various                                   Figure 7 | Number of 2000-2024 IMO problems
    temperatures for top-k sampling.                                                 solved by one language model as a function of
                                                                                     seen tokens during training.


    The analysis string. In AG1, the interface between LM and DDAR is minimal: DDAR takes auxiliary
    constructions proposed by LM, and the LM stops proposing auxiliary constructions when DDAR
    succeeds in finding a solution. In AG2, we enrich this neuro-symbolic interface by letting the LM
    know about the deductions made by DDAR before proposing auxiliary constructions. Namely, we feed
    the following information into the LM:

                        • 𝑆1 : Set of facts deducible by DDAR given the original problem premises.
                        • 𝑆2 : Set of facts deducible by DDAR given the original problem premises and assuming the goal
                          predicate is also true.
                        • 𝑆3 : Set of facts that is correct numerically (by inspecting the diagram).

         Note that by definition, 𝑆1 ⊂ 𝑆2 ⊂ 𝑆3 . Once these three sets are computed, we serialize and
    concatenate them into a string called analysis string, using our domain-specific language. This string
    is fed into the LM, together with the original problem statement as follows: <problem_statement>
    serialized(𝑆1 ) serialized(𝑆2 − 𝑆1 ) serialized(𝑆3 − 𝑆2 ). In contrast, the input to the AG1
    LM is simply <problem_statement>.


    7. Results
   Our main downstream metric is the solve rate on IMO geometry problems. There are a total of 45
   geometry problems in 2000-2024 IMO, which we translate into 50 AlphaGeometry problems (we
   call this set IMO-AG-50). Some problems are split into two due to the specifics of our formalization.
   Figure 8 demonstrates our main result: AlphaGeometry2 solves 42 out of 50 of all 2000-2024 IMO


                                                                                                                                    13
                        Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



geometry problems, thus surpassing an average gold medallist for the first time5 . More details
are presented in Table 4, which compares various AG2 configurations with other systems, such as
AG1 (Trinh et al., 2024) and TongGeometry (Zhang et al., 2024). We also perform an additional
evaluation on a new set of 30 hardest IMO shortlist problems, which are formalizable in the AG2
language, and which have never appeared at IMO. For these additional results, see Appendix E.




     D DD D D D
     2000-1    2002-2   2005-5   2007-4     2003-4   2001-5   2005-1
                                                                        2001-1
                                                                                          AlphaGeometry 1
                                                                                           Not attempted

     D D D DD
     2010-4   2012-1    2013-4   2015-4     2004-5   2007-2    2009-4
                                                                        2002-6             Not solved
                                                                                           Solved
     D D D D D
     2016-1   2017-4    2022-4   2014-4    2021-4    2013-3   2014-3
                                                                        2003-3
                                                                                           Solved by DDAR

                                                                        2006-1
                                                                                          AlphaGeometry 2
     2000-6   2004-1    2009-2   2010-2    2008-6    2011-6   2018-6
                                                                                           Not attempted
                                                              2006-6    2020-6

     2012-5   2015-3    2018-1    2008-1   2019-2    2023-6
                                                                                           Not solved
                                                                                           Solved
     2019-6   2020-1    2024-4   2021-3    2023-2
                                                                                     D Solved by DDAR

Figure 8 | AlphaGeometry2 results on all 2000-2024 IMO geometry problems. Problems are grouped
together based on their status, and ordered chronologically within the groups.

    On Figure 7, we present the IMO solve rate as a function of training time (seen tokens during
training) for one language model coupled with DDAR via the "classical" tree search described in
Section 5. Interestingly, AlphaGeometry2 can already solve 27 out of 50 problems after only 250
training steps with a batch size of 256, or around 200 million tokens6 . We also run ablation studies
on how inference settings affect the overall performance (see Figure 9). For a single search tree, we
find that the optimal configuration is a beam size of 128, a beam depth of 4, and 32 samples. More
samples or a larger beam search do not help solve more problems.
    Our geometry experts and IMO medalists consider many AlphaGeometry solutions to exhibit
superhuman creativity. In Appendix D we provide several such examples with the detailed analysis.
Out of the unsolved IMO problems, we have 2 attempted but not solved and 6 unformalizable
problems. The unformalizable problems involve inequalities and variable number of points, which
are currently not covered by the AlphaGeometry2 language. Two of the remaining unsolved IMO
problems (IMO 2018 P6, IMO 2023 P6) involve advanced geometry problem-solving techniques
such as inversion, projective geometry or radical axis, which are not implemented in our current
DDAR. While such problems in theory can be solved without these techniques, such solutions would
require longer inference time, longer proofs and more auxiliary constructions to make up for the
lack of the aforementioned machinery in our current DDAR, which hinders AlphaGeometry’s current
   5 (Sinha et al., 2024) previously claimed to achieve a gold medalist performance, but it was done on a subset of IMO

problems.
   6 Note that even without the language model, AlphaGeometry2 can solve 16 problems with its symbolic engine alone

(see Figure 8).


                                                                                                                    14
                                Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



                  System description                                       IMO-AG-50 solved          IMO-AG-30 solved
                  OpenAI o1                                                0                         0
                  Gemini thinking                                          0                         0
                  AG1 DDAR (Trinh et al., 2024)                            14                        14
                  AG2 DDAR                                                 16                        15
                  TongGeometry DD (Zhang et al., 2024)                     -                         18
                  Average bronze medalist                                  27.1                      19.3
                  Wu with AG1 DDAR (Sinha et al., 2024)                    -                         21
                  Average silver medalist                                  33.9                      22.9
                  AG1 (Trinh et al., 2024)                                 27                        25
                  Average gold medalist                                    40.9                      25.9
                  Wu + AG1 (Sinha et al., 2024)                            -                         27
                  TongGeometry w/o value (Zhang et al., 2024)              -                         28
                  AG2 with AG1 setup (a single search tree)                38                        28
                  TongGeometry full setting (Zhang et al., 2024)           -                         30
                  AG2 full setting (multiple search trees)                 42                        30

 Table 4 | Evaluation on IMO-AG-50 benchmark. IMO-AG-50 contains all IMO 2000-2024 geometry
 problems, while IMO-AG-30 introduced in (Trinh et al., 2024) contains only a subset formalizable in
 terms of the AG1 language.

                                                          Inference settings
                  38
                  35


Problems solved
                  31

                  24
                  19 0 2 4 6 7 9
                    2 2 2 22 2                          20 21 22 23 24                          20 22 23 24 25 27
                        Beam size                          Beam depth                             Number of samples
 Figure 9 | Number of 2000-2024 IMO geometry problems solved for different inference settings
 with one search tree. We start with beam size 512, beam depth 4, 32 samples and vary one of the
 parameters while keeping others fixed.


 problem-solving capabilities.


 8. Conclusions and Future Work
 This paper introduced AlphaGeometry2, a significant upgrade to AlphaGeometry that addresses
 previous limitations and enhances performance in several key areas. AG2 incorporates a more powerful
 language model trained on a larger and more diverse dataset, a faster and more general symbolic
 engine, an expanded domain language, and a novel proof search algorithm. These improvements have
 resulted in a substantial leap in performance, with AG2 achieving an 84% solve rate on 2000-2024
 IMO geometry problems, significantly improving upon the 54% solve rate achieved by its predecessor.

                                                                                                                        15
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



    We also present several studies related to language models in general. First, in Appendix B we
demonstrate that for AlphaGeometry neither a tokenizer, nor a domain language used to train the
model, plays a decisive role. We obtained similar results for custom tokenizers with small vocabularies
and the generic large Gemini tokenizer. Training in the domain-specific language achieves similar
results compared to training in natural language. Second, in the same appendix, we compare
training from scratch and fine-tuning language models pre-trained on math datasets. We find that
despite training on the same AlphaGeometry dataset, these models learn slightly different skills,
and combining them into our novel search algorithm, Shared Knowledge Ensemble of Search Trees,
improves the overall solve rate. Third, in Appendix F, we show that our models are quite capable in
generating not only auxiliary constructions, but also full proofs, demonstrating a potential for modern
language models to operate without external tools, such as symbolic engines. Finally, in Appendix
G we show that AlphaGeometry2 can be used to build a fully automated geometry problem-solving
system that takes inputs in natural language and reliably outputs corresponding diagrams and full
solutions without any hallucinations.
     Despite achieving an impressive 84% solve rate on all 2000-2024 IMO geometry problems, there is
still room for improvement. First, our domain language does not allow talking about variable number
of points, non-linear equations, and problems involving inequalities, which must be addressed in
order to fully “solve the Euclidean geometry”. Extending AlphaGeometry to encompass these topics
is a substantial undertaking that falls beyond the scope of this work. To illustrate the complexity
involved, in Appendix H we present the list of inequality rules the symbolic engine would need to
incorporate. Second, AG2 has not solved all IMO and IMOSL problems. We hypothesize that breaking
problems into subproblems and applying Reinforcement learning approaches could close this gap.


Code availability
Code for the Python implementation of the symbolic engine (DDAR2), along with multiple ex-
amples of proven IMO problems, will be shared at https://github.com/google-deepmind/
alphageometry2. Code for training Gemini models is not provided because it uses internal Google
infrastructure. Code for running the full tree search with multiple Gemini models is not provided
because it relies on internal Google infrastructure and running many workers in parallel.


Data availability
We share 27 IMO problems translated to the AlphaGeometry language along with their diagrams and
solutions. They can be found in the file test.py within the provided repository.


Acknowledgments
Special thanks to Dawsen Hwang, Edward Lockhart, and Steven Creech for contributions to the
development of AlphaGeometry2. We would also like to thank Yifeng Lu, Henryk Michalewski, Ed
Chi, David Silver, Pushmeet Kohli, and Demis Hassabis for their thoughtful discussions and support.




                                                                                                    16
                     Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



References
H. Chae, S. Yoon, C. Y. Chun, G. Go, Y. Cho, G. Lee, and E. K. Ryu. Decomposing complex visual
  comprehension into atomic visual skills for vision language models. In The 4th Workshop on
  Mathematical Reasoning and AI at NeurIPS’24, 2024. URL https://openreview.net/forum?
  id=nFU4xCyoe0.
X. Chen, M. Lin, N. Schärli, and D. Zhou. Teaching large language models to self-debug. In The
  Twelfth International Conference on Learning Representations, 2024. URL https://openreview.
  net/forum?id=KuPixIqPiq.
S.-C. Chou. Proving and discovering geometry theorems using Wu’s method. The University of Texas at
   Austin, 1985.

S.-C. Chou, X.-S. Gao, and J.-Z. Zhang. Automated production of traditional proofs for constructive
   geometry theorems. In [1993] Proceedings Eighth Annual IEEE Symposium on Logic in Computer
   Science, pages 48–56. IEEE, 1993.

S.-C. Chou, X. Gao, and J.-Z. Zhang. Machine proofs in geometry: Automated production of readable
   proofs for geometry theorems, volume 6. World Scientific, 1994.

S.-C. Chou, X.-S. Gao, and J.-Z. Zhang. Automated generation of readable proofs with geometric
   invariants: I. multiple and shortest proof generation. Journal of Automated Reasoning, 17(3):
   325–347, 1996.

S.-C. Chou, X.-S. Gao, and J.-Z. Zhang. A deductive database approach to automated geometry
   theorem proving and discovering. Journal of Automated Reasoning, 25(3):219–246, 2000.

B. Deiseroth, M. Brack, P. Schramowski, K. Kersting, and S. Weinbach. T-free: Tokenizer-free
  generative llms via sparse representations for memory-efficient embeddings, 2024. URL https:
  //arxiv.org/abs/2406.19223.
Gemini Team. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context.
  arXiv preprint arXiv:2403.05530, 2024.

Y. Hu, W. Shi, X. Fu, D. Roth, M. Ostendorf, L. Zettlemoyer, N. A. Smith, and R. Krishna. Visual
   sketchpad: Sketching as a visual chain of thought for multimodal language models. In NeurIPS
   2024 Workshop on Behavioral Machine Learning, 2024. URL https://openreview.net/forum?
   id=prJ4b0GMSB.
J. Huang, X. Chen, S. Mishra, H. S. Zheng, A. W. Yu, X. Song, and D. Zhou. Large language models
   cannot self-correct reasoning yet. In The Twelfth International Conference on Learning Representations,
   2024. URL https://openreview.net/forum?id=IkmD3fKBPQ.

W. Jakob, J. Rhinelander, and D. Moldovan. pybind11 – seamless operability between c++11 and
 python, 2017. https://github.com/pybind/pybind11.

P. Jha, P. Jana, P. Suresh, A. Arora, and V. Ganesh. Rlsf: Reinforcement learning via symbolic feedback,
   2024. URL https://arxiv.org/abs/2405.16661.

A. Q. Jiang, W. Li, and M. Jamnik. Multilingual mathematical autoformalization. arXiv preprint
  arXiv:2311.03755, 2023.

D. Kapur. Geometry theorem proving using hilbert’s nullstellensatz. In Proceedings of the fifth ACM
  symposium on Symbolic and algebraic computation, pages 202–208, 1986a.

                                                                                                       17
                     Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



D. Kapur. Using gröbner bases to reason about geometry problems. Journal of Symbolic Computation,
  2(4):399–408, 1986b.
R. Krueger, J. M. Han, and D. Selsam. Automatically building diagrams for olympiad geometry
  problems. In CADE, pages 577–588, 2021.
Z. Li, Z. Li, W. Tang, X. Zhang, Y. Yao, X. Si, F. Yang, K. Yang, and X. Ma. Proving olympiad inequalities
   by synergizing LLMs and symbolic reasoning. In The Thirteenth International Conference on Learning
   Representations, 2025. URL https://openreview.net/forum?id=FiyS0ecSm0.
H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever,
  and K. Cobbe. Let’s verify step by step. In The Twelfth International Conference on Learning
  Representations, 2024. URL https://openreview.net/forum?id=v8L0pN6EOi.
A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye,
  Y. Yang, S. Gupta, B. P. Majumder, K. Hermann, S. Welleck, A. Yazdanbakhsh, and P. Clark. Self-
  refine: Iterative refinement with self-feedback. In Thirty-seventh Conference on Neural Information
  Processing Systems, 2023. URL https://openreview.net/forum?id=S37hOerQLB.
S. Mouselinos, H. Michalewski, and M. Malinowski. Beyond lines and circles: Unveiling the geometric
   reasoning gap in large language models. In Y. Al-Onaizan, M. Bansal, and Y.-N. Chen, editors,
   Findings of the Association for Computational Linguistics: EMNLP 2024, pages 6192–6222, Miami,
   Florida, USA, Nov. 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.
   findings-emnlp.360. URL https://aclanthology.org/2024.findings-emnlp.360/.
L. Murphy, K. Yang, J. Sun, Z. Li, A. Anandkumar, and X. Si. Autoformalizing euclidean geometry. In
   Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/
   forum?id=bylZbZOsGA.
S. Peng, D. Fu, Y. Liang, L. Gao, and Z. Tang. GeoDRL: A self-learning framework for geometry problem
   solving using reinforcement learning in deductive reasoning. In A. Rogers, J. Boyd-Graber, and
   N. Okazaki, editors, Findings of the Association for Computational Linguistics: ACL 2023, pages 13468–
   13480, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/
   2023.findings-acl.850. URL https://aclanthology.org/2023.findings-acl.850/.
A. Poiroux, G. Weiss, V. Kunčak, and A. Bosselut. Improving autoformalization using type checking.
  arXiv preprint arXiv:2406.07222, 2024.
S. Polu and I. Sutskever. Generative language modeling for automated theorem proving, 2020. URL
   https://arxiv.org/abs/2009.03393.
N. Shinn, F. Cassano, A. Gopinath, K. R. Narasimhan, and S. Yao. Reflexion: language agents with
  verbal reinforcement learning. In Thirty-seventh Conference on Neural Information Processing Systems,
  2023. URL https://openreview.net/forum?id=vAElhFcKW6.
A. K. Singh and D. Strouse. Tokenization counts: the impact of tokenization on arithmetic in frontier
  llms, 2024. URL https://arxiv.org/abs/2402.14903.
S. Sinha, A. Prabhu, P. Kumaraguru, S. Bhat, and M. Bethge. Wu’s method can boost symbolic ai to
   rival silver medalists and alphageometry to outperform gold medalists at imo geometry, 2024. URL
   https://arxiv.org/abs/2404.06405.
K. Stechly, K. Valmeekam, and S. Kambhampati. On the self-verification limitations of large language
  models on reasoning and planning tasks. In The Thirteenth International Conference on Learning
  Representations, 2025. URL https://openreview.net/forum?id=4O0v4s3IzY.

                                                                                                        18
                   Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



C. Szegedy. A promising path towards autoformalization and general artificial intelligence. In
  Intelligent Computer Mathematics: 13th International Conference, CICM 2020, Bertinoro, Italy, July
  26–31, 2020, Proceedings 13, pages 3–20. Springer, 2020.

T. H. Trinh, Y. Wu, Q. V. Le, H. He, and T. Luong. Solving olympiad geometry without human
  demonstrations. Nature, 625(7995):476, 2024.

B. Tversky and M. Suwa. Thinking with sketches. In Tools for Innovation, pages 75–84. Oxford
  University Press, Nov. 2009.

X. Wang, Y. Wang, W. Zhu, and R. Wang. Do large language models truly understand geometric
  structures? In The Thirteenth International Conference on Learning Representations, 2025. URL
  https://openreview.net/forum?id=FjQOXenaXK.
C. Wei, M. Sun, and W. Wang. Proving olympiad algebraic inequalities without human demonstrations.
  In The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks
  Track, 2024. URL https://openreview.net/forum?id=8kFctyli9H.

W.-t. Wu. On the decision problem and the mechanization of theorem-proving in elementary geometry.
  In Selected Works Of Wen-Tsun Wu, pages 117–138. World Scientific, 2008.

Y. Wu, A. Q. Jiang, W. Li, M. N. Rabe, C. Staats, M. Jamnik, and C. Szegedy. Autoformalization with
   large language models, 2022. URL https://arxiv.org/abs/2205.12615.

Y. Yan, Y. Lu, R. Xu, and Z. Lan. Do phd-level llms truly grasp elementary addition? probing rule
   learning vs. memorization in large language models, 2025. URL https://arxiv.org/abs/
   2504.05262.
C. Zhang, J. Song, S. Li, Y. Liang, Y. Ma, W. Wang, Y. Zhu, and S.-C. Zhu. Proposing and solving
  olympiad geometry with guided tree search. arXiv preprint arXiv:2412.10673, 2024.

L. Zhang, A. Hosseini, H. Bansal, M. Kazemi, A. Kumar, and R. Agarwal. Generative verifiers:
  Reward modeling as next-token prediction. In The Thirteenth International Conference on Learning
  Representations, 2025. URL https://openreview.net/forum?id=Ccwp4tFEtE.




                                                                                                  19
                                                                                                                                                                                                                                    Given a random diagram,   Then let X =                   Then if X is nonempty, we create a syn-     Auxiliary construc-      Case
                                                                                                                                                                                                                                    if DDAR proves:                                          thetic proof that says: "when X moves,      tions will be the fol-
                                                                                                                                                                                                                                                                                             ...                                         lowing points and
                                                                                                                                                                                                                                                                                                                                         everything else they
                                                                                                             A. Related work

                                                                                                                                                                                                                                                                                                                                         depend on
                                                                                                                                                                                                                                    cong a b c d              𝑃 ( 𝑏, 𝑐, 𝑑 ) − 𝑃 ( 𝑎)         circle center 𝑏, radius 𝑐𝑑 goes through a   𝑎                         2
     Neuro-symbolic system: At the high level, AlphaGeometry is a neuro-symbolic system with a gener-

                                                                                                                                                                                                                                                                                             fixed point
                                                                                                                                                                                                                                                              𝑃 ( 𝑎) − 𝑃 ( 𝑏, 𝑐, 𝑑 )         𝑎 moves on a fixed circle                   𝑏, 𝑐, 𝑑                   8
                                                                                                                                                                                                                                                              𝑃 ( 𝑎, 𝑏) − 𝑃 ( 𝑐, 𝑑 )         the distance between 𝑎 and 𝑏 is fixed       𝑐, 𝑑                      9
                                                                                                                                                                                                                                    cong a b a c              𝑃 ( 𝑎) − 𝑃 ( 𝑏, 𝑐)             𝑎 moves on a fixed line                     𝑏, 𝑐                      7
                                                                                                                                                                                                                                                              𝑃 ( 𝑏, 𝑐) − 𝑃 ( 𝑎) ≥ 𝑀         𝑏 & 𝑐 are equidistant to a fixed point,     𝑎                         4
                                                                                                                                                                                                                                                                                             when M move
                                                                                                                               Table 5 | 17 cases where locus-type statements are detected during data generation. These 17 cases




                                                                                                                                                                                                                                    cyclic a b c d            𝑃 ( 𝑏, 𝑐, 𝑑 ) − 𝑃 ( 𝑎)         the circumcircle of 𝑏 𝑐 𝑑 moves through     𝑎                         1
                                                                                                                                                                                                                                                                                             a fixed point
                                                                                                                                                                                                                                                              𝑃 ( 𝑑 ) − 𝑃 ( 𝑎, 𝑏, 𝑐)         𝑑 moves on a fixed circle                   𝑎, 𝑏, 𝑐                   8
                                                                                                                                                                                                                                    coll a b c                𝑃 ( 𝑏, 𝑐) − 𝑃 ( 𝑎)             line 𝑏 𝑐 goes through a fixed point         𝑎                         3
                                                                                                                                                                                                                                                              𝑃 ( 𝑐) − 𝑃 ( 𝑎, 𝑏)             𝑐 moves on a fixed line                     𝑎, 𝑏                      7
                                                                                                                                                                                                                                    eqangle b a b c e d e f   𝑃 ( 𝑎, 𝑏, 𝑐) − 𝑃 ( 𝑑, 𝑒, 𝑓 )   the angle 𝑎 𝑏 𝑐 has a fixed value           𝑑, 𝑒, 𝑓                  11
                                                                                                                                                                                                                                                              𝑃 ( 𝑏) − 𝑃 ( 𝑎, 𝑐, 𝑑, 𝑒, 𝑓 )   the point 𝑏 moves on a fixed circle         𝑎, 𝑐, 𝑑, 𝑒, 𝑓             8
     ative component (i.e. language model). This framework was motivated from the fact that a major



                                                                                                                                                                                                                                    para a b c d              𝑃 ( 𝑏, 𝑐, 𝑑 ) − 𝑃 ( 𝑎)         The line through 𝑏 and ∥ 𝑐𝑑 moves           𝑎                         5
                                                                                                                                                                                                                                                                                             through a fixed point
                                                                                                                                                                                                                                                              𝑃 ( 𝑐, 𝑑 ) − 𝑃 ( 𝑎, 𝑏)         The line 𝑐𝑑 is always parallel to a fixed   𝑎, 𝑏                     10
                                                                                                                                                                                                                                                                                             line
                                                                                                                                                                                                                                                              𝑃 ( 𝑎) − 𝑃 ( 𝑏, 𝑐, 𝑑 )         𝑎 moves on a fixed line                     𝑏, 𝑐, 𝑑                   7
                                                                                                                                                                                                                                                                                                                                                                         Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




                                                                                                                                                                                                                                    perp a b c d              𝑃 ( 𝑏, 𝑐, 𝑑 ) − 𝑃 ( 𝑎)         the line through 𝑏 and ⊥ 𝑐𝑑 moves           𝑎                         6
                                                                                                                                                                                                                                                                                             through fixed point
                                                                                                                                                                                                                                                              𝑃 ( 𝑐, 𝑑 ) − 𝑃 ( 𝑎, 𝑏)         the line 𝑐𝑑 is always ⊥ to a fixed line     𝑎, 𝑏                     10
                                                                                                                                                                                                                                                              𝑃 ( 𝑎) − 𝑃 ( 𝑏, 𝑐, 𝑑 )         𝑎 moves on a fixed line                     𝑏, 𝑐, 𝑑                   7



20
                                                                                                                               produce 11 different types of locus-type statements, as numbered in the last column.
     limitation of automated theorem provers is the ability to generate original mathematical terms, which
                       Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



could be addressed using language models (Polu and Sutskever, 2020). Such framework was used in
several papers such as (Li et al., 2025; Trinh et al., 2024; Wei et al., 2024) to great success. Addition-
ally, because the symbolic system is able to provide consistent and verifiable feedback, neuro-symbolic
systems have been augmented with reinforcement learning techniques to give AI agents the ability to
self-improve without human intervention (Jha et al., 2024; Peng et al., 2023). In contrast, our AG2
does not use any reinforcement learning techniques to achieve gold-medalist level performance on
IMO geometry problems.

LLM-based feedback: In the era of large language models (LLMs), one might think of using them
(instead of symbolic engines) as verifiers due to their versatility. This approach is used in (Chen
et al., 2024; Lightman et al., 2024; Madaan et al., 2023; Shinn et al., 2023; Zhang et al., 2025).
However, this approach lies on the assumption that LLMs are reliable verifiers and this notion has
been challenged (Huang et al., 2024; Stechly et al., 2025). Solving Olympiad geometry problems
involves performing numerous precise algebraic manipulations consistently throughout a potentially
long solution, whereas LLMs are notoriously unreliable even for basic arithmetics (Yan et al., 2025).
And so, it is natural for AlphaGeometry to favor symbolic engines over LLMs to provide consistent
feedback to the solver.

Visual reasoning: While AlphaGeometry can solve difficult Olympiad geometry problems and surpass
the performance of top human experts, many papers have demonstrated the limitations of various
foundation models in performing geometric reasoning (Mouselinos et al., 2024; Wang et al., 2025).
As visual thinkers (Tversky and Suwa, 2009), humans want to teach AI agents to leverage visual
information to further unlock its reasoning capabilities (Hu et al., 2024). Even though AlphaGeometry
mostly relies on algebraic reasoning, we discuss incorporating visual modality in Appendix C.


B. Fine-tuning of math specialized language models on AG data
Even though during the initial transition to AG2, we maintained the AG1 training setup (training
from scratch using a custom tokenizer in the AG domain-specific language), it is natural to ask
whether fine-tuning language models that already possess problem-solving capabilities can improve
the performance. Such fine-tuning is not immediately possible due to the difference in the utilized
tokenizers and training language. In this section, we explore the role of the custom tokenizer and the
domain-specific language, followed by a discussion about fine-tuning of a math-specialized Gemini
model on AG data.


Tokenizers. Tokenizer is an essential part of modern language models and, more broadly, any
foundation models7 . It is generally believed that a tokenizer might be the major bottleneck in the
models’ abilities to do math, e.g. see (Singh and Strouse, 2024). We investigate this hypothesis in
the controlled setting of AlphaGeometry. To do so, we train models of the same architecture with
different tokenizers: custom tokenizers with vocabularies of a few thousand tokens and the large
language model tokenizers with a vocabulary of 300k tokens. Recall that our custom tokenizers are
created at word-level, i.e. each token has full meaning, as opposed to subword-level tokens. In AG
language, there are the following types of tokens:

  1. Point names: “a”, “b”, “c”, . . . “z”, “a1”, . . . , “z1”.
  2. Predicate names: coll, cong, coll, cyclic, eqangle, eqratio, acompute, rcompute,
     aconst, rconst, distmeq, distseq, angeq, overlap, noverlap, sameclock, lessthan.
  7 Tokenizer-free models is an active area of research, for example, see (Deiseroth et al., 2024)




                                                                                                       21
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



  3. Number and fractions: 1, 2, 3, . . . , −, /.
  4. Predicate reference tokens: (000), (001), (002), . . . (999).
  5. Reserved tokens: {Analysis}, {Numerical}, {FromGoal}, {Proof}, x00, :, ;, ..

Somewhat surprisingly, we find that AlphaGeometry’s performance on the 2000-2024 IMO geometry
problems stays the same with different tokenizers, which suggests that modern LLM tokenizers might
be flexible enough to perform mathematical manipulations.


domain-specific language. Alongside tokenizers, it is interesting to study the role of the domain-
specific language in the LM’s ability to solve math problems. It is natural to assume that using domain-
specific languages simplifies mathematical manipulations and prevents obvious mistakes, which might
occur from using a less strict language. To investigate this, we translate all AlphaGeometry2 data
from the AlphaGeometry language into natural language and train a new model. Then we compare
its performance against the model of the same size trained on the original AlphaGeometry data.
Somewhat surprising again, we get the same results on 2000-2024 IMO geometry problems, which
opens a path for fine-tuning large language models pre-trained in natural language on math data.
Below, we demonstrate an example of translating AlphaGeometry into natural language.
   AlphaGeometry language: d e f g : coll a d g (000) coll f a b (001) coll d b c (002)
coll e c a (003) cong d b d c (004) cong f a f b (005)
   Natural language: Construct points d e f g such that a d g are collinear (000), f a
b are collinear (001), d b c are collinear (002), e c a are collinear (003), |d b| =
|d c| (004), |f a| = |f b| (005)

Fine-tuning of language models pre-trained on math data. Having shown that the custom
tokenizer and the domain-specific language does not play a critical role for AlphaGeometry, we
leverage language models pre-trained on various math data. We start with a Gemini model with 3.3B
parameters trained on public math datasets (see Section 7 in (Gemini Team, 2024)), and fine-tune
it in an unsupervised manner on the AlphaGeometry data. On our IMO-AG-50 evaluation set, the
fine-tuned model performs on par with smaller models and the 3.3B model trained from scratch8 . On
the other hand, we find that even though all these models are trained on the same AG data, they
do produce slightly different auxiliary points proposals and do help each other via the knowledge
sharing mechanism described in Section 5, thus forming an ensemble-like system (see Figure 4).


C. Multi-modal
Until now, we have talked about AG2 as a system that couples a language model together with a
symbolic engine. However, since our language model is based on Gemini 1.5, which is multi-modal
by design (see (Gemini Team, 2024)), it is natural to enhance the AG system through multi-modal
reasoning. For this, we train a new family of models that, alongside the problem text, take the
corresponding diagram image as the input.
    Despite promising results during the training, we do not observe any improvements in the solve
rate on the downstream IMO problems when using this model alone. However, just like in the case
of fine-tuning pre-trained models (see Section B), we find that the multimodal model produces
slightly different auxiliary point proposals. Combined with other models via the knowledge sharing
mechanism (see Section 5) this boosts the overall performance. We hypothesize that adding the
  8We also train even larger models in a supervised manner and achieve the same results




                                                                                                     22
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




                                                                    3p3B baseline + AG train
       0.14                                                         3p3B baseline + AG eval
                                                                    3p3B baseline + math + AG train
       0.12                                                         3p3B baseline + math + AG eval


       0.10
Loss
       0.08

       0.06

       0.04
              0           1                 2               3                  4                 5       6
                                                         Tokens                                      1e11
Figure 10 | Learning curves for two 3B models: one is trained from scratch and another one pre-trained
on math data and then fine-tuned on the AG data. The model pre-trained on math has initially lower
loss but both converge to the same point after training for 200B tokens.


image on its own might not help that much due to very complicated diagrams, which become very
crowded for the IMO problems. The image tokenization process might also play a negative role, as
it splits the diagram into independent sequential patches, which leads to the loss of some spatial
information. Recall also that some details about the diagram are already provided through the text,
as mentioned in Section 6.2, and our symbolic engine, DDAR, does have access to topological aspects
of the diagram, e.g., through inspecting sameclock predicates. Furthermore, (Chae et al., 2024)
shows that vision-language models have poor atomic visual skills, which suggests that adding visual
elements might not aid the geometry problem-solving process. Finally, note that the core of geometry
problem-solving lies in algebraic reasoning, as previously demonstrated in (Trinh et al., 2024), rather
than geometric reasoning. Many human IMO contestants can reliably solve geometry problems
(including very hard problems such as IMO 2011 P6) using computational methods such as complex
numbers, barycentric coordinates and trigonometry bashing, which means that visual information
and diagrams are not critical to solving geometry problems.


D. Featured AlphaGeometry2 solutions
Out of the solved IMO problems (see Figure 8), our geometry experts consider many AlphaGeometry
solutions to exhibit superhuman creativity. One such example is the IMO 2024 P4 problem (see
Figure 11).




                                                                                                         23
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




                                         A




                                                                             K
                          L                                      E


                                                      I

                                                               O           T2

                              T1

               B                                  D                                                C
                                        X                            Y




                                                               P

Figure 11 | IMO 2024 P4 diagram with AlphaGeometry auxiliary construction, point 𝐸.


  IMO 2024 P4: Let triangle 𝐴𝐵𝐶 with incenter 𝐼 satisfying 𝐴𝐵 < 𝐴𝐶 < 𝐵𝐶 . Let 𝑋 be a point
  on line 𝐵𝐶 , different from 𝐶 , such that the line through 𝑋 and parallel to 𝐴𝐶 is tangent to the
  incircle. Similarly, let 𝑌 be a point on line 𝐵𝐶 , different from 𝐵, such that the line through 𝑌 and
  parallel to 𝐴𝐵 is tangent to the incircle. Line 𝐴𝐼 intersects the circumcircle of triangle 𝐴𝐵𝐶 again
  at 𝑃 . Let 𝐾 and 𝐿 be the midpoints of 𝐴𝐶 and 𝐴𝐵, respectively. Prove that ∠ 𝐾 𝐼𝐿 + ∠𝑌 𝑃𝑋 = 180◦ .

    The problem asks about the relationship between ∠ 𝐾 𝐼𝐿 and ∠ 𝑋 𝑃𝑌 . The former is the angle formed
by a midpoint and the incenter, which usually does not go well together and cannot be computed by the
angles of the main triangle 𝐴𝐵𝐶 . Typically, a human contestant would rely on trigonometry, complex
numbers or other computational methods to find the solution. For AlphaGeometry, its DDAR system
only relies on simple angle chasing and ratio chasing, so this necessitates the need for some auxiliary
point constructions. To this end, AlphaGeometry constructs 𝐸 as a point on the line BI such that ∠ 𝐴𝐸𝐵 =
90◦ , which elegantly ties these seemingly unrelated geometric elements together by creating pairs of
similar triangles 𝐴𝐵𝐸 and 𝑌 𝐵𝐼 , 𝐴𝐿𝐸 and 𝐼𝑃𝐶 . These pairs of similar triangles create new pairs of equal
angles and equal side length ratios. That being said, the point 𝐸 gives purposes to the midpoint 𝐿 of 𝐴𝐵.


                                                                                                          24
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



To complete the proof, we need to prove ∠ 𝐴𝐼 𝐾 = ∠ 𝐵𝑌 𝑃 and ∠ 𝐴𝐼𝐿 = ∠𝐶𝑃𝑋 . To this end, we need to prove
that triangle 𝐴𝐾𝐼 is similar to triangle 𝐵𝑃𝑌 and triangle 𝐴𝐿𝐼 is similar to triangle 𝐶𝑃𝑋 , which is done
by side length ratio chasing, which is obtained from the pairs of similar triangles above. A full solution
is published at https://storage.googleapis.com/deepmind-media/DeepMind.com/Blog/
imo-2024-solutions/P4/index.html. This solution was obtained within 30 seconds at IMO
2024 and was given the full seven points by Joseph Myers, a two-time IMO gold medalist and Chair
of the IMO 2024 Problem Selection Committee.

                                                                                   Ib

                                                       O1
                                                A



                               Ic


                                         C1                           B1

                                                            A1
                                                      O
                                     B                                         C




                                                                           D




                                                                 Ia



Figure 12 | IMO 2013 P3 diagram with AlphaGeometry auxiliary construction, point 𝐷. It allows
proving 𝐵𝐴1 𝐷𝐼 𝑎 is cyclic, which is the key to solve this problem.

   Along with IMO 2024 P4, AlphaGeometry can solve many challenging problems with only 1 extra
auxiliary point, some of which involve rather unconventional constructions. One such problem is IMO
2013 P3.

   IMO 2013 P3: Let the excircle of triangle 𝐴𝐵𝐶 opposite the vertex 𝐴 be tangent to the side
   𝐵𝐶 at the point 𝐴1 . Define the points 𝐵1 on 𝐶 𝐴 and 𝐶1 on 𝐴𝐵 analogously, using the excircles
   opposite 𝐵 and 𝐶 , respectively. Suppose that the circumcenter of triangle 𝐴1 𝐵1 𝐶1 lies on the
   circumcircle of triangle 𝐴𝐵𝐶 . Prove that triangle 𝐴𝐵𝐶 is right-angled.

    In this problem, AlphaGeometry simply takes the midpoint 𝐷 of arc ˆ          𝐴𝐵𝐶 containing 𝐵 as the
extra point, which is a highly unconventional construction as it is non-symmetric. Yet, it allows
AlphaGeometry to uncover the fact that 𝐵, 𝐴1 , 𝐷, 𝐼 𝑎 are concyclic points, which is a key result that
is only true if and only if 𝐴𝐵 ⊥ 𝐴𝐶 . To prove this fact, AlphaGeometry exploits the fact that 𝑂1
and 𝐷 give rise to the similar triangle pairs △𝑂1 𝐶1 𝐵1 ∼ △𝑂1 𝐵𝐶 and △ 𝐷𝐴1 𝐵1 ∼ △ 𝐷𝐵𝐴 and then uses
these results to facilitate angle chasing, which gives ∠ 𝐷𝐴1 𝐼 𝑎 = ∠ 𝐷𝐵𝐼 𝑎 and the fact that 𝐵, 𝐴1 , 𝐷, 𝐼 𝑎 are
concyclic points follows.
    Another example is IMO 2014 P3, one of the hard geometry problems given at the IMO.




                                                                                                            25
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



                                                     A




                                                                  T


                                           E
                               I                                                                 F




                                                     O


                    G




                                       S




                                   B                                               D
                                                    H




                                                              C




Figure 13 | IMO 2014 P3 diagram with AlphaGeometry auxiliary constructions.


  IMO 2014 P3: Convex quadrilateral 𝐴𝐵𝐶 𝐷 has ∠ 𝐴𝐵𝐶 = ∠𝐶 𝐷𝐴 = 90◦ . Point 𝐻 is the foot of the
  perpendicular from 𝐴 to 𝐵𝐷. Points 𝑆 and 𝑇 lie on sides 𝐴𝐵 and 𝐴𝐷, respectively, such that 𝐻 lies
  inside triangle 𝑆𝐶𝑇 and ∠𝐶 𝐻𝑆 − ∠𝐶𝑆𝐵 = 90◦ , ∠𝑇 𝐻𝐶 − ∠ 𝐷𝑇𝐶 = 90◦ . Prove that line 𝐵𝐷 is tangent
  to the circumcircle of triangle 𝑇𝑆𝐻 .

    To our surprise, AlphaGeometry manages to prove a more generalized result 𝑂𝐻 ⊥ 𝐵𝐷, which
implies that the circumcircle of △ 𝐻𝑆𝑇 touches 𝐵𝐷 when combining with the condition 𝐻 ∈ 𝐵𝐷
in the original problem. To do this, AlphaGeometry constructs points 𝐸, 𝐹, 𝐺, 𝐼 as reflections of 𝑆
w.r.t 𝑂𝐻 , 𝐻 w.r.t 𝐴𝑇 , 𝐻 w.r.t 𝐴𝑆, 𝐻 w.r.t 𝑆𝑇 respectively. Since the given conditions ∠𝐶 𝐻𝑆 − ∠𝐶𝑆𝐵 =
90◦ , ∠𝑇 𝐻𝐶 − ∠ 𝐷𝑇𝐶 = 90◦ imply that the circumcenters of △𝐶 𝐻𝑆, △𝐶 𝐻𝑇 lie on 𝐴𝐵, 𝐴𝐷 respectively,
the constructions of 𝐹 and 𝐺 create cyclic quadrilaterals 𝐶 𝐻𝑆𝐺, 𝐶 𝐻𝑇 𝐹 , which will facilitate angle
chasing. Moreover, the constructions of 𝐸 and 𝐼 create the cyclic quadrilateral 𝐻𝐺𝐼𝐸 with center 𝑆,
and the points 𝐶, 𝑇 now become the circumcenter of △ 𝐹 𝐻 𝐼 and △ 𝐹𝐺𝐼 respectively. Combining these
facts altogether, AlphaGeometry obtains an extraordinary angle chasing proof, in contrast to the
common approaches using ratio chasing (possibly combined with the knowledge of Apollonius circles),
trigonometry or inversion by most human contestants. This shows that AlphaGeometry is capable of
solving hard problems with only a simple deduction engine.
   Our final example is the G7 problem from the IMO 2009 Shortlist.

  IMOSL 2009 G7: Let 𝐴𝐵𝐶 be a triangle with incenter 𝐼 and let 𝑋 , 𝑌 and 𝑍 be the incenters of
  the triangles 𝐵𝐼𝐶 , 𝐶𝐼 𝐴 and 𝐴𝐼 𝐵, respectively. Let the triangle 𝑋𝑌 𝑍 be equilateral. Prove that 𝐴𝐵𝐶
  is equilateral too.

   To the best of our knowledge, this problem previously had only computational solutions, e.g.,
by using complex numbers, trigonometric computations or proof by contradiction via an inequality
argument. Since AlphaGeometry does not have access to these computational and reasoning tools, as


                                                                                                          26
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



                                                                                                     x5
                                                        A




                                                       E
                                              x2



                                                                        x6
                 x8            X7


                                                       x9




                                    Z                       Y




                                                        I
                          x1
                                                                   x3

                                        x10




                                                   X




           B

                                                                                 C




Figure 14 | IMOSL 2009 G7 diagram with AlphaGeometry auxiliary constructions (colored red), key
cyclic properties (colored polygons) and key similar triangle pairs (colored triangle pairs).


well as advanced Euclidean geometry knowledge, we originally expected that this problem cannot
be solved by AlphaGeometry. Nevertheless, AlphaGeometry was able to produce an elegant solution
with only angle and ratio chasing by constructing key auxiliary constructions. First, AlphaGeometry
shows that 𝑋 and 𝑍 are reflections of each other w.r.t. 𝐵𝐼 , and by symmetry it follows that 𝐼 is the
circumcenter of △ 𝑋𝑌 𝑍 . From this we can show that 𝐴𝐵 = 𝐴𝐶 , and by symmetry, we have △ 𝐴𝐵𝐶 is an
equilateral triangle. However, the main challenge with this problem is to use the condition △ 𝑋𝑌 𝑍 being
an equilateral triangle, i.e., 𝑋𝑌 = 𝑌 𝑍 and its cyclic variants. To this end, AlphaGeometry constructs a
series of circumcenters of key triangles:

  1. 𝐷 as the circumcenter of △ 𝐵𝑋𝐶 .
  2. 𝐸 as the circumcenter of △ 𝐴𝑌 𝑍 .
  3. 𝑋1 as the circumcenter of △ 𝐵𝐼𝑋 .
  4. 𝑋2 as the circumcenter of △ 𝐴𝐼𝑌 .
  5. 𝑋3 as the circumcenter of △𝐶𝐼𝑋 .
  6. 𝑋4 as the circumcenter of △ 𝐴𝐵𝑍 .
  7. 𝑋5 as the circumcenter of △ 𝐴𝐶𝑌 .
  8. 𝑋6 as the circumcenter of △ 𝐴𝑋 𝑍 (which we will later show that 𝐴, 𝐶, 𝑋, 𝑍 are concyclic).
  9. 𝑋7 as the reflection of 𝐼 w.r.t 𝐵𝑍
 10. 𝑋8 as the circumcenter of △ 𝐴𝑋𝑌 (which we will later show that 𝐴, 𝐵, 𝑋, 𝑌 are concyclic).
 11. 𝑋9 , 𝑋10 are points such that △ 𝐼𝑍𝑋9 , △ 𝐼𝑍𝑋10 are equilateral triangles.
 12. 𝑋11 as the reflection of 𝑍 w.r.t 𝐵𝐼 (which is shown to be equivalent to 𝑋 using the point substitution
     technique described in Section 3.1).

At first, these constructions seem very counter-intuitive since most humans would not construct these
points. Given the nature of the points 𝑋, 𝑌 , 𝑍 , there are not many geometric properties related to
these points and this particular configuration as a whole, which makes this problem very hard for


                                                                                                          27
                         Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



humans to come up with a synthetic solution. Nevertheless, these circumcenter constructions help
facilitate pairs of equal/similar triangles, which allow AlphaGeometry to exploit the fact that △ 𝑋𝑌 𝑍 is
an equilateral triangle and solve the problem.
   All these examples demonstrate that AlphaGeometry is very efficient in constructing auxiliary
points and can offer rather elegant solutions to hard problems without using highly complex Euclidean
geometry knowledge and machinery. As such, it leads to creative and efficient solutions that humans
normally would not come up with.


E. Additional evaluation on the hardest IMO shortlist problems
To further investigate the robustness of AG2, we perform additional evaluations on problems from
the IMO shortlist that were nominated by experts but have never been selected for the IMO. Since
the shortlist problems are sorted by difficulty, we select 29 problems from the end of each year’s
IMO shortlist that did not appear at the IMO from 2002 to 2022. These problems are selected such
that they can be formalized in the AG2 language. After formalization we get 30 problems and call it
IMOSL-AG-30. As demonstrated on Figure 15, the full AG2 system (see Figure 4) solves 20 out of 30
problems. This shows that even though AG2 is a very capable system that can solve a wide range of
Olympiad geometry problems, there is still a room for future improvements.




    2002-g7    2002-g8
                             D
                             2003-g5    2004-g7     2005-g5    2005-g6
                                                                                         Not solved
                                                                                         Solved
    2006-g9    2007-g8      2009-g6     2009-g7
                                        2007-2      2009-g8    2010-g5
                                                                                   D Solved by DDAR

    2011-g3
               D
               2011-g6       2011-g7    2012-g6     2012-g8    2014-g7




    2015-g5    2016-g5      2016-g6       2016-g7   2017-g7
                                                                D
                                                                2018-g7




     2019-g6   2020-g8       2021-g8    2022-g6     2022-g7




Figure 15 | AlphaGeometry2 results on the hardest IMO shortlist problems.


F. Towards generating full proofs with a language model
As discussed in the rest of the paper, our inference setup utilizes a language model only to produce
auxiliary points followed by a symbolic engine run. On the other hand, the model is trained on
whole proofs, so it is natural to ask how good the model is at generating full proofs without using
the symbolic engine. Given that with greedy decoding, our model + DDAR can only solve 2 IMO
problems, it is not surprising that without any further tuning, the model cannot generate complete
full proofs. But can it generate partial solutions? To investigate this question we build tools to verify

                                                                                                       28
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



validity of each deduction proof step. Namely, we isolate the predicates in the premise of the proof
step, and add them to a new DDAR engine, then run a deduction closure with respect to only the
deduction rule being used in that step. If the new DDAR manages to prove the conclusion of the step,
and the numerical check of the conclusion in the diagram passed, the step is considered verified.
   Our step verification recognizes the following errors:

   • Wrong grammar: The step has wrong grammar.
   • Theorem name error: The step refers to a name of a theorem (deduction rule) that does not
     exist.
   • Step reference error: The step refers to a previous step that does not exist.
   • Point not found error: The step refers to a point that does not exist, or a point with an invalid
     construction.
   • Numerical error: DDAR fails due to numerical instability.
   • Unverified: The premises of the step do not imply the conclusion of the step under the deduction
     rule that it uses.
   • Invalid auxiliary point: The auxiliary point is invalid because the step is wrong in grammar, or
     it is geometrically invalid (e.g. intersection of two parallel lines, etc.)
   • Verified: all checks passed and no error from above found.

    For evaluation, we query our language models with the 2000-2024 IMO problems and 32 samples
at temperature 1.0. The models are queried without any end-of-sentence tokens such that they
generate full proofs. Then we compute how many valid proof steps the models produce on average
across samples and all problems. It turns out our models do not make many syntax mistakes (see
Figure 16), the majority of generated steps are either valid (either fully verified or correct but
unverified). One surprising find is that both small and larger models perform similarly. These results
support the idea that large language models can be self-sufficient without depending on external
tools, but until inference speed is improved and hallucinations are completely resolved, the tools will
stay essential for math applications.


G. Automated problem formalization and diagram generation
In this section we describe our progress in building a fully-automated AG2 system taking input in
natural language and outputting the full proof along with automatically constructed diagrams. This
system was used at IMO 2025 to solve the geometry problem (P2) from natural language in 20
seconds.


Automated formalization. A major weakness of AlphaGeometry, and other similar neuro-symbolic
systems, is the need to manually transform input problems from natural language into a domain-
specific language. For example, a simple geometry problem in natural language, “Given a triangle
𝐴𝐵𝐶 with two equal sides 𝐴𝐵 = 𝐴𝐶 , prove that angles 𝐵 and 𝐶 are equal”, becomes triangle a b c; a
b = a c ? eqangle b a b c c b c a in the AlphaGeometry domain language.
    Automating this process, called formalization, is an active area of research (see for example, (Jiang
et al., 2023; Murphy et al., 2024; Poiroux et al., 2024; Szegedy, 2020; Wu et al., 2022)). It is a
significantly more complicated problem compared to a translation between human languages. While
translation aims to preserve meaning, formalization frequently requires re-formulating the original
problem into an alternative form, and sometimes disambiguating the nuances in the original problem
statement. Automated formalization (auto-formalization), therefore, demands significant background


                                                                                                       29
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2




Figure 16 | Proof steps validity statistics. Models almost do not make any syntax errors. Small and
larger models perform similarly.


knowledge and problem-solving skills on its own. Given that recently foundation models started
demonstrating such capabilities, we use one such model, Gemini (Gemini Team, 2024), to automate
the problem formalization for AlphaGeometry. We start by manually translating several dozens of
geometry problems into the AG language. Then we use these examples to write a few-shot prompt
asking Gemini to translate a given geometry problem from natural language into the AG language. We
query Gemini five times with this prompt, followed by another Gemini call asking to combine these
results into one final answer. With this approach, we are able to formalize 33 out of 44 formalizable
IMO 2000-2024 geometry problems. For easier geometry problems, it is very consistent and makes
almost no mistakes.


Automated diagram generation. Another manual part of our pipeline was diagram generation.
In AG1, each point is defined by at most two basic predicates recalled in Table 1, the problem is
therefore defined constructively and diagrams can be generated automatically. In AG2, we allow one
or multiple points to be defined simultaneously by an arbitrary number of predicates, allowing us to
also cover non-constructive problems. Consider a non-constructive problem statement, “Let 𝐴𝐵𝐶 be a


                                                                                                   30
                      Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



triangle with incenter 𝐼 , such that 𝐼 𝐴 = 2 𝐼 𝐵 ...”, here point 𝐼 is not only defined as an incenter, i.e. the
intersection of two internal bisectors, but also defined by a third predicate 𝐼 𝐴 = 2 𝐼 𝐵 and there is no
general strategy to construct such four points. Since AG2 covers non-constructive problems, diagram
construction becomes a non-trivial part of the pipeline and generally requires human intervention.
Similar to (Krueger et al., 2021), below we propose a new algorithm to automatically generate
diagrams given non-constructive problem specifications.
    We start by initializing the points. We have three initialization methods, which we alternate in
different attempts:

   1. Random – the points are chosen randomly using the normal distribution.
   2. Construction in order.
   3. Construction in a heuristically chosen order.

     In order to construct a new point 𝑋 , we look at each predicate 𝑝 ( 𝑋, 𝐴1 , . . . , 𝐴𝑘 ) involving 𝑋 point,
and already constructed points 𝐴1 , . . . , 𝐴𝑘 , and find a circle or line that X must be on. For example, if
we know | 𝐴1 𝐴2 | = | 𝐴3 𝑋 |, we have already constructed, we know 𝑋 should be on a circle with center
𝐴3 , and radius | 𝐴1 𝐴2 |. If we cannot obtain such a circle, or a line, we skip that predicate. If there
is not such set, 𝑋 is sampled randomly with a normal distribution. If there is exactly one such set,
𝑋 is sampled from it. If there are more such sets, 𝑋 is sampled to be any intersection of any two of
them. We sample 10 examples for 𝑋 , and choose one which minimizes the loss described below (with
added noise to improve exploration).
     After point initialization, we optimize their coordinates. Let 𝑥¯ ∈ ℝ2𝑛 be a vector representing all
coordinates of all points. We encode every exact constraint 𝑐 in the diagram, including the goal, as
    𝑥 ) = 0 with a nonlinear function 𝑓𝑐 , and each topological constraint as 𝑔𝑐 (¯
𝑓𝑐 (¯                                                                                   𝑥 ) < 0, or ℎ𝑐 (¯
                                                                                                        𝑥 ) ≠ 0. We
numerically search for a suitable 𝑥¯ in two steps. The overall loss for the Adam optimizer consists of
        ∑︁
    1.           𝑥 ) 2 where 𝐶 is the set of all the exact constraints,
             𝑓𝑐 (¯
        𝑐 ∈𝐶
        ∑︁
    2.       softplus( 𝑔𝑐 (¯
                           𝑥 )) where 𝐶 is the set of all the topological constraints requiring 𝑔𝑐 (¯  𝑥 ) < 0,
        𝑐∈
        ∑︁𝐶
    3.       softplus(min( ℎ𝑐 (¯            𝑥 )) where 𝐶 is the set of all the topological constraints requiring
                                 𝑥 ) , −ℎ𝑐 (¯
      𝑐 ∈𝐶
          𝑥 ) = 0,
      ℎ𝑐 (¯
   4. non-degeneracy loss of the form of a fraction of 𝐿2 norm of all the point coordinates,
   5. non-degeneracy loss of the form of 1/(| 𝐴𝐵 | 2 + 𝜖) for all pairs of distinct points 𝐴, 𝐵.

We run the ADAM gradient descent optimization for a fixed number of steps simultaneously for 10
initial setups. Afterwards, we filter only the diagrams where the loss got below a given threshold, and
all the topological constraints are satisfied. Finally, we switch from a gradient descent optimization
to the Gauss-Newton-Levenberg method to look for a numerical solution of a combined under- and
over-determined system of nonlinear equations.
   This three-stage optimization method is similar to the methodology introduced in (Krueger et al.,
2021). The final stage addresses the practical limitations encountered when tuning the gradient
descent optimization in the original method, where achieving a consistently satisfactory error margin
proved challenging.
    We benchmark this method on 44 IMO problems formalized in AG language (see Figure 8) and
are able to find diagrams for 43. We run the three-stage convergence procedure in a loop which
restarts and generates another random initial configuration after a failure. This way, 43 / 44 problems
got their diagram sequentially generated within 1 hour.

                                                                                                                31
                       Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



H. Inequality rules
This section details a set of inequality rules. Although potentially useful for many inequality-related
questions from Euclidean geometry, these rules were not included in the AlphaGeometry2 system.


H.1. Definitions

   • 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ) is a polygon formed by 𝐴1 , 𝐴2 , . . . , 𝐴𝑛 .
   • 𝜔 ( 𝐴𝐵𝐶 ) = 1 if 𝐴𝐵𝐶 is clockwise, −1 otherwise.
   • 𝜂 ( 𝐴𝐵𝐶 ) = 1 if 𝐴𝐵𝐶 collinear and 𝐵 is between 𝐴 and 𝐶 , −1 if 𝐴 and 𝐶 are on the same side with
     respect to 𝐵.
   • ∠ 𝐴𝐵𝐶 the angle formed by the segments 𝐴𝐵 and 𝐵𝐶 whose measure is less than 𝜋.
   • ∠0 ( 𝐴𝐵𝐶 ): traditional unoriented measure of ∠ 𝐴𝐵𝐶 Ranges from 0 to 𝜋.
   • ∠1 ( 𝐴𝐵𝐶 ): angle measured from line 𝐴𝐵 to 𝐵𝐶 counterclockwise. Ranges from 0 to 𝜋.
   • ∠2 ( 𝐴𝐵𝐶 ): angle measured from ray 𝐵𝐴 to 𝐵𝐶 . Positive if counterclockwise and negative if
     clockwise. Ranges from −𝜋 to 𝜋.


H.2. How to write some of the common geometric inequality statements using 𝜔

   • 𝐶 and 𝐷 separated by 𝐴𝐵: 𝜔 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐴𝐷𝐵)
   • 𝐷 is contained in 𝑃 ( 𝐴𝐵𝐶 ): 𝜔 ( 𝐷𝐵𝐶 ) = 𝜔 ( 𝐴𝐷𝐶 ) = 𝜔 ( 𝐴𝐵𝐷) (= 𝜔 ( 𝐴𝐵𝐶 ))
   • 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ) is convex: 𝜔 ( 𝐴1 𝐴2 𝐴3 ) = 𝜔 ( 𝐴2 𝐴3 𝐴4 ) = . . . = 𝜔 ( 𝐴𝑛 𝐴1 𝐴2 ).
   • 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ) is convex: 𝜔 ( 𝑝𝐴1 𝐴2 ) = 𝜔 ( 𝑝𝐴2 𝐴3 ) = . . . = 𝜔 ( 𝑝𝐴𝑛 𝐴1 ) (= 𝜔 ( 𝐴1 𝐴2 𝐴3 ) =
     𝜔 ( 𝐴2 𝐴3 𝐴4 ) = . . . = 𝜔 ( 𝐴𝑛 𝐴1 𝐴2 ))
   • 𝐷 is in the (minor) sector determined by the ray 𝐴𝐵 and ray 𝐴𝐶 : 𝜔 ( 𝐵𝐴𝐷) = 𝜔 ( 𝐵𝐴𝐶 ) = 𝜔 ( 𝐷𝐴𝐶 )


H.3. Trivial rules

   • ncol 𝐴 𝐵 𝐶 ⇒ 𝜔 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐵𝐶 𝐴)
   • ncol 𝐴 𝐵 𝐶 ⇒ 𝜔 ( 𝐴𝐵𝐶 ) ≠ 𝜔 ( 𝐴𝐶 𝐵)
   • ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = 𝜂 ( 𝐶 𝐵𝐴)
   • 𝜔 ( 𝐴𝐵𝐶 ) ≠ 𝜔 ( 𝐷𝐸𝐹 ) ⇒ 𝜔 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐷𝐹𝐸)
   • ⇒ ∠0 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐴𝐵𝐶 )∠2 ( 𝐴𝐵𝐶 )
   • ⇒ ∠0 ( 𝐴𝐵𝐶 ) = |∠2 ( 𝐴𝐵𝐶 )|
   • ⇒ ∠1 ( 𝐴𝐵𝐶 ) = ∠2 ( 𝐴𝐵𝐶 ) + 𝜋 (1 − 𝜔 ( 𝐴𝐵𝐶 ))/2


H.4. Rules for relating 𝜔 and 𝜂

   • 𝜂 ( 𝐴𝐵𝐶 ) = 1, ncol 𝑋 𝐴 𝐵 ⇒ 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝑋 𝐵𝐶 ) = 𝜔 ( 𝑋 𝐴𝐶 )
   • 𝜂 ( 𝐴𝐵𝐶 ) = −1, ncol 𝑋 𝐴 𝐵 ⇒ 𝜔 ( 𝑋 𝐵𝐴) = 𝜔 ( 𝑋 𝐵𝐶 )
   • ncol 𝑋 𝐴 𝐵, col 𝐴 𝐵 𝐶 , 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝑋 𝐵𝐶 ) ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = 1
   • ncol 𝑋 𝐴 𝐵, col 𝐴 𝐵 𝐶 , 𝜔 ( 𝑋 𝐵𝐴) = 𝜔 ( 𝑋 𝐵𝐶 ) ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = −1


H.5. Basic rules using P in polygon

   • ncol 𝐴1 𝐴2 𝐴3 ⇒ 𝑃 ( 𝐴1 𝐴2 𝐴3 ): convex
   • 𝜔 ( 𝐴1 𝐴2 𝐴3 ) = 𝜔 ( 𝐴2 𝐴3 𝐴4 ) = . . . = 𝜔 ( 𝐴𝑛 𝐴1 𝐴2 ) ⇒ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ): convex
   • 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ): convex ⇒ 𝜔 ( 𝐴1 𝐴2 𝐴3 ) = 𝜔 ( 𝐴𝑖 𝐴 𝑗 𝐴𝑘 ) with any 𝑖 < 𝑗 < 𝑘
   • 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ): convex, 𝜔 ( 𝑝𝐴1 𝐴2 ) = 𝜔 ( 𝑝𝐴2 𝐴3 ) = . . . = 𝜔 ( 𝑝𝐴𝑛 𝐴1 ) ⇒ 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 )


                                                                                                                   32
                       Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



   • 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ) ⇒ 𝜔 ( 𝑝𝐴1 𝐴2 ) = 𝜔 ( 𝐴1 𝐴2 𝐴3 )
   • 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ), 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 𝐴𝑛+1 ): convex ⇒ 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 𝐴𝑛+1 )
   • 𝑝 ∈ 𝑃 ( 𝐴𝐵𝐶 ), 𝜂 ( 𝐷𝐵𝐶 ) = 1 ⇒ 𝑝 ∈ 𝑃 ( 𝐴𝐷𝐶 )
   • 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛 ), col 𝑋 𝐴𝑛 𝐴1 , col 𝑋 𝐴𝑛−1 𝐴𝑛−2 ⇒ 𝑝 ∈ 𝑃 ( 𝐴1 𝐴2 . . . 𝐴𝑛−2 𝑋 )
   • 𝑃 ( 𝐴1 . . . 𝐴𝑛 ): convex ⇒ 𝑃 ( 𝐴1 . . . 𝐴𝑛 − 1): convex
   • 𝑃 ( 𝐴𝐵𝐶 𝐷): convex, col 𝐴 𝑋 𝐶 , col 𝐵 𝑋 𝐷 ⇒ 𝑋 ∈ 𝑃 ( 𝐴𝐵𝐶 𝐷)


H.6. Basic rules using “∈ 𝑂” and “∉ 𝑂”

Here, 𝑂 ( 𝑃, 𝐴𝐵) is a circle centered at 𝑃 with the radius 𝐴𝐵, and 𝑂 ( 𝐴𝐵𝐶 ) is the circumcircle of 𝑃 ( 𝐴𝐵𝐶 ).

   • col 𝐴 𝑂 𝐵, 𝑂𝐴 = 𝑂𝐵, 𝜂 ( 𝐴𝑂𝐵) = 1, ∠0 𝐴𝐶 𝐵 < 𝜋/2 ⇒ 𝐶 ∉ 𝑂 ( 𝑂, 𝐴𝑂)
   • col 𝐴 𝑂 𝐵, 𝑂𝐴 = 𝑂𝐵, 𝜂 ( 𝐴𝑂𝐵) = 1, ∠0 𝐴𝐶 𝐵 > 𝜋/2 ⇒ 𝐶 ∈ 𝑂 ( 𝑂, 𝐴𝑂)
   • 𝜔 ( 𝐴𝐷𝐵) = 𝜔 ( 𝐴𝐶 𝐵), ∠0 𝐴𝐶 𝐵 > ∠0 𝐴𝐷𝐵 ⇒ 𝐷 ∉ 𝑂 ( 𝐴𝐵𝐶 )
   • 𝜔 ( 𝐴𝐷𝐵) = 𝜔 ( 𝐴𝐶 𝐵), ∠0 𝐴𝐶 𝐵 < ∠0 𝐴𝐷𝐵 ⇒ 𝐷 ∈ 𝑂 ( 𝐴𝐵𝐶 )
   • 𝜔 ( 𝐴𝐷𝐵) = −𝜔 ( 𝐴𝐶 𝐵), 𝜋 − ∠0 𝐴𝐶 𝐵 > ∠0 𝐴𝐷𝐵 ⇒ 𝐷 ∉ 𝑂 ( 𝐴𝐵𝐶 )
   • 𝜔 ( 𝐴𝐷𝐵) = −𝜔 ( 𝐴𝐶 𝐵), 𝜋 − ∠0 𝐴𝐶 𝐵 < ∠0 𝐴𝐷𝐵 ⇒ 𝐷 ∈ 𝑂 ( 𝐴𝐵𝐶 )
   • 𝐷 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝐴𝐷𝐵) = 𝜔 ( 𝐴𝐶 𝐵) ⇒ ∠0 𝐴𝐶 𝐵 > ∠0 𝐴𝐷𝐵
   • 𝐷 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝐴𝐷𝐵) = −𝜔 ( 𝐴𝐶 𝐵) ⇒ 𝜋 − ∠0 𝐴𝐶 𝐵 > ∠0 𝐴𝐷𝐵
   • 𝑝 ∈ 𝑃 ( 𝐴𝐵𝐶 ) ⇒ 𝑝 ∈ 𝑂 ( 𝐴𝐵𝐶 )
   • 𝑝 ∈ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑝𝐵𝐶 ) = 𝜔 ( 𝐴𝐵𝐶 ) ⇒ ∠0 𝐵𝑝𝐶 > ∠0 𝐵𝐴𝐶
   • 𝑝 ∈ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑝𝐵𝐶 ) = −𝜔 ( 𝐴𝐵𝐶 ) ⇒ ∠0 𝐵𝑝𝐶 > 𝜋 − ∠0 𝐵𝐴𝐶
   • 𝐷 ∈ 𝑂 ( 𝑂, 𝑂𝐴) ⇒ 𝑂𝐷 < 𝑂𝐴
   • 𝑂𝐷 < 𝑂𝐴 ⇒ 𝐷 ∈ 𝑂 ( 𝑂, 𝑂𝐴)
   • 𝐷 ∉ 𝑂 ( 𝑂, 𝑂𝐴) ⇒ 𝑂𝐷 > 𝑂𝐴
   • 𝑂𝐷 > 𝑂𝐴 ⇒ 𝐷 ∉ 𝑂 (𝑂, 𝑂𝐴)


H.7. Acute and obtuse angles

   • ∠ 𝐴𝐵𝐶 : acute ⇒ ∠0 𝐴𝐵𝐶 < 𝜋/2
   • 𝜋 > ∠2 ( 𝐴𝐵𝐶 ) > 𝜋/2, circ 𝑂 𝐴 𝐵 𝐶 ⇒ 𝜔 (𝑂𝐴𝐶 ) = 𝜔 ( 𝐵𝐶 𝐴)
   • 𝜋 > ∠2 ( 𝐴𝐵𝐶 ) > 𝜋/2, 𝐻 : orthocenter of 𝑃 ( 𝐴𝐵𝐶 ) ⇒ 𝜔 ( 𝐴𝐻𝐶 ) = 𝜔 ( 𝐴𝐵𝐶 )
   • 𝐺 : centroid of 𝑃 ( 𝐴𝐵𝐶 ) ⇒ 𝐺 ∈ 𝑃 ( 𝐴𝐵𝐶 )
   • 𝐼 : incenter of 𝑃 ( 𝐴𝐵𝐶 ) ⇒ 𝐼 ∈ 𝑃 ( 𝐴𝐵𝐶 )
   • 𝑃 ( 𝐴𝐵𝐶 ): acute ⇒ 𝑂, 𝐻 ∈ 𝑃 ( 𝐴𝐵𝐶 )
   • col 𝐵 𝐷 𝐶 , ncol 𝐴 𝐵 𝐷, 𝐴𝐵 = 𝐴𝐷, ∠ 𝐴𝐵𝐶 : acute ⇒ 𝜂 ( 𝐷𝐵𝐶 ) = −1
   • col 𝐵 𝐷 𝐶 , ncol 𝐴 𝐵 𝐷, 𝐴𝐵 = 𝐴𝐷, ∠ 𝐴𝐵𝐶 : obtuse ⇒ 𝜂 ( 𝐷𝐵𝐶 ) = 1
   • col 𝐵 𝐷 𝐶 , ∠0 ( 𝐴𝐵𝐶 ) < ∠0 ( 𝐴𝐷𝐶 ) ⇒ 𝜂 ( 𝐷𝐵𝐶 ) = −1
   • midpoint 𝑀 𝐵 𝐶 , col 𝐴 𝑋 𝐵, 𝑋 𝑀 ⊥ 𝐵𝐶 , 𝐴𝐵 > 𝐴𝐶 ⇒ 𝜂 ( 𝐴𝑋 𝐵) = 1
   • midpoint 𝑀 𝐵 𝐶 , col 𝐴 𝑋 𝐵, 𝑋 𝑀 ⊥ 𝐵𝐶 , 𝐴𝐵 < 𝐴𝐶 ⇒ 𝜂 ( 𝑋 𝐴𝐵) = 1


H.8. Some inequalities

   • 𝜂 ( 𝐴𝐵𝐶 ) = 1 ⇒ 𝐴𝐶 > 𝐴𝐵
   • 𝜂 ( 𝐴𝐵𝐶 ) = 1 ⇒ 𝐴𝐶 = 𝐴𝐵 + 𝐵𝐶
   • col 𝐴 𝐵 𝐶 , 𝐴𝐶 > 𝐴𝐵, 𝐴𝐶 > 𝐵𝐶 ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = 1
   • 𝜔 ( 𝐵𝐴𝐷) = 𝜔 ( 𝐵𝐴𝐶 ) = 𝜔 ( 𝐷𝐴𝐶 ) ⇒ ∠0 ( 𝐵𝐴𝐷) < ∠0 ( 𝐵𝐴𝐶 ), ∠0 ( 𝐷𝐴𝐶 ) < ∠0 ( 𝐵𝐴𝐶 )
   • ∠0 ( 𝐵𝐴𝐷) < ∠0 ( 𝐵𝐴𝐶 ), ∠0 ( 𝐷𝐴𝐶 ) < ∠0 ( 𝐵𝐴𝐶 ) ⇒ 𝜔 ( 𝐵𝐴𝐷) = 𝜔 ( 𝐵𝐴𝐶 ) = 𝜔 ( 𝐷𝐴𝐶 )
   • ⇒ 𝐴𝐵 + 𝐵𝐶 ≥ 𝐴𝐶 .


                                                                                                           33
                    Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2



  • 𝐴𝐵 + 𝐵𝐶 = 𝐴𝐶 ⇒ col 𝐴 𝐵 𝐶 , 𝜂 ( 𝐴𝐵𝐶 ) = 1
  • col 𝐵 𝐶 𝐷, col 𝐴 𝑂 𝐷, 𝑂𝐴 = 𝑂𝐵, 𝑂𝐵 = 𝑂𝐶 , 𝑃 ( 𝐴𝐵𝐶 ) : acute, 𝐴𝐵 < 𝐴𝐶 ⇒ 𝐵𝐷 > 𝐷𝐶
  • col 𝐵 𝐶 𝐷, col 𝐴 𝑂 𝐷, 𝑂𝐴 = 𝑂𝐵, 𝑂𝐵 = 𝑂𝐶 , ∠0 ( 𝐵𝐴𝐶 ) > 𝜋/2, 𝐴𝐵 < 𝐴𝐶 ⇒ 𝐵𝐷 < 𝐷𝐶
  • col 𝐴 𝐵 𝐶 , 𝜂 ( 𝐵𝐴𝐶 ) = −1, 𝐶 𝐴 > 𝐵𝐴 ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = 1
  • 𝜂 ( 𝐴𝐶 𝐵) = 1, 𝜂 ( 𝐴𝐷𝐵) = 1 ⇒ 𝜂 (𝐶 𝐴𝐷) = −1
  • 𝐴𝐵 ⊥ 𝐵𝐶 ⇒ 𝐴𝐶 > 𝐴𝐵, 𝐴𝐶 > 𝐵𝐶
  • 𝐴𝐵 > 𝐴𝐶 ⇒ ∠0 ( 𝐴𝐶 𝐵) > ∠0 ( 𝐴𝐵𝐶 )
  • ∠0 ( 𝐴𝐶 𝐵) > ∠0 ( 𝐴𝐵𝐶 ) ⇒ 𝐴𝐵 > 𝐴𝐶


H.9. General 𝜔 and 𝜂 deduction rules

  • 𝜔 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐵𝐶 𝐷), 𝜔 ( 𝐵𝐶 𝐷) = 𝜔 ( 𝐶 𝐷𝐴) ⇒ 𝜔 ( 𝐷𝐴𝐵) = 𝜔 ( 𝐶 𝐷𝐴)
  • ∠2 ( 𝐴𝐵𝐶 ) > 0 ⇐⇒ 𝜔 ( 𝐴𝐵𝐶 ) = 1
  • ∠2 ( 𝐴𝐵𝐶 ) < 0 ⇐⇒ 𝜔 ( 𝐴𝐵𝐶 ) = −1
  • ⇒ ∠0 ( 𝐴𝐵𝐶 ) + ∠0 ( 𝐵𝐶 𝐴) + ∠0 ( 𝐶 𝐴𝐵) = 𝜋
  • 𝜂 ( 𝐵𝐶𝑋 ) = 1 ⇒ ∠2 ( 𝐴𝐶𝑋 ) = ∠2 ( 𝐴𝐵𝐶 ) + ∠2 ( 𝐶 𝐴𝐵)
  • circ 𝑂 𝐴 𝐵 𝐶 , 𝜔 ( 𝐵𝑂𝐴) = 𝜔 ( 𝐶𝑂𝐵) ⇒ 𝜔 ( 𝐴𝐵𝐶 ) = 𝜔 ( 𝐵𝑂𝐴)
  • 𝜂 ( 𝐶 𝐴𝐵) = −1, 𝜂 ( 𝐴𝐶 𝐵) = −1 ⇒ 𝜂 ( 𝐴𝐵𝐶 ) = 1
  • 𝜂 ( 𝐴𝐵𝐶 ) = 1 ⇒ 𝜂 ( 𝐶 𝐴𝐵) = −1, 𝜂 ( 𝐴𝐶 𝐵) = −1
  • 𝜂 ( 𝐴𝐵𝐶 ) = 1, 𝜂 ( 𝐵𝐶 𝐷) = 1 ⇒ 𝜂 ( 𝐴𝐵𝐷) = 1, 𝜂 ( 𝐴𝐶 𝐷) = 1
  • col 𝐵 𝑋 𝐶 , 𝐴𝑋 ⊥ 𝐵𝐶 , ∠0 ( 𝐴𝐵𝐶 ) < 𝜋/2, ∠0 ( 𝐴𝐶 𝐵) < 𝜋/2 ⇒ 𝜂 ( 𝐵𝑋𝐶 ) = 1
  • col 𝐵 𝑋 𝐶 , ∠2 ( 𝐵𝐴𝑋 ) = ∠2 ( 𝑋 𝐴𝐶 ) ⇒ 𝜂 ( 𝐵𝑋𝐶 ) = 1
  • midpoint 𝑀 𝐴 𝐵 ⇒ 𝜂 ( 𝐴𝑀 𝐵) = 1
  • 𝜂 ( 𝐴𝐷𝐵) = 𝜂 ( 𝐴𝐸𝐶 ) = 1 ⇒ 𝑃 ( 𝐷𝐸𝐶 𝐵): convex
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝐶 𝐴𝐵), cyclic 𝐴 𝐵 𝐶 𝐷, col 𝑋 𝐴 𝐷, ∠0 ( 𝐶 𝐵𝐴) > ∠0 ( 𝐶 𝐴𝑋 ) ⇒ 𝜂 ( 𝑋 𝐷𝐴) = 1
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝐶 𝐴𝐵), cyclic 𝐴 𝐵 𝐶 𝐷, col 𝑋 𝐴 𝐷, ∠0 ( 𝐵𝐶 𝐴) +∠0 ( 𝑋 𝐴𝐵) < 𝜋 ⇒ 𝜂 ( 𝑋 𝐷𝐴) = 1
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝐶 𝐴𝐵), cyclic 𝐴 𝐵 𝐶 𝐷, col 𝑋 𝐴 𝐷, ∠0 ( 𝐶 𝐵𝐴) < ∠0 ( 𝐶 𝐴𝑋 ) ⇒ 𝜂 ( 𝑋 𝐴𝐷) = 1
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐶 ), 𝜔 ( 𝑋 𝐴𝐵) = 𝜔 ( 𝐶 𝐴𝐵), cyclic 𝐴 𝐵 𝐶 𝐷, col 𝑋 𝐴 𝐷, ∠0 ( 𝐵𝐶 𝐴) +∠0 ( 𝑋 𝐴𝐵) > 𝜋 ⇒ 𝜂 ( 𝑋 𝐴𝐷) = 1
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐷), col 𝐴 𝑂 𝐵, col 𝑋 𝐴 𝐷, ∠0 ( 𝑋 𝐴𝐵) < 𝜋/2 ⇒ 𝜂 ( 𝑋 𝐷𝐴) = 1
  • 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐷), col 𝐴 𝑂 𝐵, col 𝑋 𝐴 𝐷, ∠0 ( 𝑋 𝐴𝐵) > 𝜋/2 ⇒ 𝜂 ( 𝑋 𝐴𝐷) = 1
  • 𝑋 ∈ 𝑂 ( 𝐴𝐵𝐶 ), col 𝐴 𝑋 𝐵 ⇒ 𝜂 ( 𝐴𝑋 𝐵) = 1
  • ∠2 𝑋 𝐵𝐴 + ∠2 𝑋 𝐵𝐶 = 𝜔 ( 𝑋 𝐵𝐴) 𝜋, ∠2 𝑋𝐶 𝐴 + ∠2 𝑋𝐶 𝐵 = 𝜔 ( 𝑋𝐶 𝐴) 𝜋 ⇒ 𝑋 ∉ 𝑂 ( 𝐴𝐵𝐶 ) ( 𝑋 will be the excenter
    relative to 𝐴: 𝑋 == 𝐼 𝐴 )




                                                                                                            34