Skip to content
Back to skills

Indimathbench Eval

ASecurity

This benchmark evaluates the ability of LLMs to autoformalize natural language mathematical problems into correct Lean 4 theorems and subsequently prove them. It probes semantic equivalence, syntactic structural similarity, and automated theorem proving success rates on Olympiad-level geometry and algebra problems. Use when the user wants to benchmark on IndiMathBench, or asks about evaluating this task. Reports BEq.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongogitdocumentation

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill indimathbench-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Indimathbench Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Indimathbench Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-indimathbench-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-indimathbench-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: indimathbench-eval
description: This benchmark evaluates the ability of LLMs to autoformalize natural language mathematical problems into correct Lean 4 theorems and subsequently prove them. It probes semantic equivalence, syntactic structural similarity, and automated theorem proving success rates on Olympiad-level geometry and algebra problems. Use when the user wants to benchmark on IndiMathBench, or asks about evaluating this task. Reports BEq.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2512.00997
  bibtex_key: [REDACTED]
  confidence: high
---

# indimathbench-eval

> IndiMathBench: Autoformalizing Mathematical Reasoning Problems with a Human Touch — Biyani et al. (2025) (arXiv:2512.00997, 2025)

## What this evaluates

This benchmark evaluates the ability of LLMs to autoformalize natural language mathematical problems into correct Lean 4 theorems and subsequently prove them. It probes semantic equivalence, syntactic structural similarity, and automated theorem proving success rates on Olympiad-level geometry and algebra problems.

## Datasets

- **IndiMathBench** — total 312; splits: test (312); repo https://github.com/prmbiy/IndiMathBench

## Metrics

- `BEq` **(primary)** — range: [0, 1]
  - Evaluates logical equivalence by attempting to prove each theorem using the other. The formalization is correct only if both directional proofs succeed using heuristic and LLM-guided tactics.
- `GTED` — range: [0, 1]
  - Measures syntactic similarity by representing Lean theorems as operator trees and computing the normalized cost of transforming the candidate theorem into the human-annotated ground truth.
- `Success Rate (pass@1)` — range: [0, 1]
  - Fraction of problems where the model generates a Lean-verifiable proof within a single or multi-turn interaction.

## Input / output format

**Input**: Natural language problem statement, optionally augmented with Mathlib documentation and iterative compiler feedback.

**Output**: Lean 4 theorem statement (in sorry-format for autoformalization) or a complete Lean proof script.

## Scoring recipe

```python
def score_autoformalization(candidate, ground_truth):
    beq_pass = prove(candidate, ground_truth) and prove(ground_truth, candidate)
    gted_score = normalized_tree_edit_distance(candidate, ground_truth)
    return beq_pass, gted_score

def score_theorem_proving(proof_script, theorem):
    return lean_compile_and_verify(proof_script, theorem)
```

## Common pitfalls

- Syntactic compilation success does not guarantee semantic correctness; BEq is required for logical equivalence.
- Geometry problems are significantly harder due to Mathlib's limited support for Olympiad-style geometry.
- BEq requires successful proofs in both directions; passing only one direction is insufficient.

## Evidence (verbatim from paper)

> Evaluating autoformalization quality presents unique challenges due to the rigorous logical nature of formal mathematical statements, where seemingly minor syntactic variations can alter meaning. To provide a comprehensive assessment, we employ two complementary evaluation metrics that have demonstrated high inter-annotator agreement with human evaluations (Liu et al., 2025b). - Bidirectional Equivalence (BEq) (Liu et al., 2025c) evaluates logical equivalence by attempting to prove each theorem using the other. Given two Lean 4 theorems in sorry-format, theorem_A and theorem_B, BEq employs a diverse set of heuristic and LLM-guided tactics to establish proofs in both directions. The formalization is deemed correct only if both directional proofs succeed, ensuring true logical equivalence rather than superficial syntactic similarity. - Generalized Tree Edit Distance (GTED) (Liu et al., 2025b) measures syntactic similarity by representing Lean theorems as operator trees and computing the normalized cost of transforming the candidate theorem into the human-annotated ground truth. Scores range from 0 to 1 per comparison, with higher values indicating greater structural correspondence.

## Citation

```bibtex
@misc{biyani2025indimathbench,
  title={IndiMathBench: Autoformalizing Mathematical Reasoning Problems with a Human Touch},
  author={Biyani et al. (2025)},
  year={2025},
  note={arXiv:2512.00997}
}
```

- arXiv: 2512.00997

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.