SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.10180 · EMNLP · 2023

TRIGO: Benchmarking Formal Mathematical Proof Reduction for Generative Language Models

Ming Zhang, Qun Liu, Ye Yuan, Xiaodan Liang, Zhijiang Guo, Lin Li, Zhengying Liu, Chuanyang Zheng, Jing Xiong, Yichun Yin, Qingxing Cao, Haiming Wang, and 2 more

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.10180.json · badge: /api/ran/2310.10180.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
menik1126/TRIGO canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
get_dataloader_batced Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/data_manager.py
pointer only (licence: NONE) · get_code("b1f565f85a0a30f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_test_dataloader Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/data_manager.py
pointer only (licence: NONE) · get_code("618ea61c989279b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mytrig2trig Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/utils_trigo.py
pointer only (licence: NONE) · get_code("2a5d8406a5fc673f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_const_replacement Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/generate_lemma_from_trigo.py
pointer only (licence: NONE) · get_code("702edc3e488e9212")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_data Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/delete_useless_data_trigo.py
pointer only (licence: NONE) · get_code("c61d1fab051dd610")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

simplify_pi_parts_without_evaluating_trig Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/generate_lemma_from_trigo.py
pointer only (licence: NONE) · get_code("610350f2e82667bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

trig2mytrig Ran
ran; our contract draft was wrong, not the code
menik1126/TRIGO/auto_generate_atp/utils_trigo.py
pointer only (licence: NONE) · get_code("5b6fdf79afd52535")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cal_branches Not yet run
unverified (harvested, no recorded run)
menik1126/TRIGO/auto_generate_atp/data_analysis.py
pointer only (licence: NONE) · get_code("171ebe0ec0768910")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_denominators Not yet run
unverified (harvested, no recorded run)
menik1126/TRIGO/auto_generate_atp/utils_trigo.py
pointer only (licence: NONE) · get_code("2b3a7c4812750587")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

read_data Not yet run
unverified (harvested, no recorded run)
menik1126/TRIGO/auto_generate_atp/generate_train_data_trigo_raw.py
pointer only (licence: NONE) · get_code("f00580db9b9f415c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

strToInfix Not yet run
unverified (harvested, no recorded run)
menik1126/TRIGO/auto_generate_atp/generate_lemma_from_trigo.py
pointer only (licence: NONE) · get_code("dcca5f6301a3b812")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, menik1126/TRIGO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Automated theorem proving (ATP) has become an appealing domain for exploring the reasoning ability of the recent successful generative language models. However, current ATP benchmarks mainly focus on symbolic inference, but rarely involve the understanding of complex number combination reasoning. In this work, we propose TRIGO, an ATP benchmark that not only requires a model to reduce a trigonometric expression with step-by-step proofs but also evaluates a generative LM's reasoning ability on formulas and its capability to manipulate, group, and factor number terms. We gather trigonometric expressions and their reduced forms from the web, annotate the simplification process manually, and translate it into the "Lean" formal language system. We then automatically generate additional examples from the annotated samples to expand the dataset. Furthermore, we develop an automatic generator based on Lean-Gym to create dataset splits of varying difficulties and distributions in order to thoroughly analyze the model's generalization ability. Our extensive experiments show our proposed TRIGO poses a new challenge for advanced generative LM's including GPT-4 which is pre-trained on a considerable amount of open-source formal theorem-proving language data, and provide a new tool to study the generative LM's ability on both formal and mathematical reasoning.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.10180")
get_code_for_paper("2310.10180")
have("2310.10180")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.10180.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.10180.svg)](https://syntology.ai/paper/2310.10180)

Connect an agent — have() is free.