frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Grok is a surprisingly good automated theorem prover

1•henryrobbins00•1h ago
TL;DR: I'm working on a Python package called OpenATP [1] that provides a common interface to coding agents for automated theorem proving in Lean. In the latest release, I added support for Leanstral 1.5 [2,3], Grok, and Kimi Code [4]. I was surprised to find that Grok has accuracy competitive with Claude Code and Codex at faster wall-clock times and a fraction of the cost. See the rest of this post and the OpenATP docs [5] for more details.

Automated theorem provers take formal statements (in a proof assistant like Lean) and attempt to synthesize a proof. Unsurprisingly, LLMs have become the dominant approach to this task. Many have fine-tuned LLMs specifically for theorem proving, like Mistral's Leanstral 1.5 model. However, a number of recent papers have shown that general-purpose frontier models in a coding harness are competitive with, and sometimes outperform, these specialized models [6,7].

In my own research, I've had a lot of success using Claude Code and Codex as automated theorem provers. As new models and harnesses have been released in the last few months, I've been curious how they would compare, both in accuracy and in time/cost. I ran into two main issues trying to run benchmarks:

- I needed to bill against subscription plans to make it affordable.

- Compiling Lean is RAM intensive and I needed a cheap way to run multiple isolated agents in parallel remotely.

I created an open-source Python package called OpenATP [1] to solve both of these problems. OpenATP automatically forwards agent CLI credentials into a Docker container to bill against subscription plans and it offers a Modal backend to run multiple agents in parallel remotely (Modal offers $30/month in free compute). See the OpenATP docs [5] for all of the supported provers / harnesses and how to set up credentials for each.

The most recent release of OpenATP added support for Leanstral 1.5, Grok, and Kimi Code. I ran some small benchmarks on a subset of the FATE-H and FATE-X datasets [8] to compare them. The Kimi Code subscription rate limits were too restrictive to include it in the benchmark.

On FATE-H, Claude Code and Codex are the fastest at ~10 minutes per proof. They are also significantly more expensive. Aristotle [9] is free and achieves perfect accuracy in 2x the time. Leanstral 1.5 is also free and has similar time and accuracy to Aristotle (the one miss was due to 60 min timeout). DeepSeek is incredibly cheap, but is also the slowest. It's roughly 3x slower than Claude and hits 3 timeouts.

In comes Grok! Grok achieves accuracy comparable to Claude Code and Codex, but at a fraction of the cost and the fastest wall-clock time. The difference on FATE-X, a more challenging dataset, is even more pronounced. Grok is ~50% faster and ~3x cheaper than Claude Code and Codex. On these more challenging problems, the cheapest provers really begin to struggle. DeepSeek was 4x slower than Grok and hit 4 timeouts.

FATE-H

---------------------------------

prover acc. time cost t/o

---------------------------------

claude 10/10 9:50 $2.05 0

codex 9/10 10:00 $2.68 0

grok 10/10 8:46 $0.94 0

deepseek 7/10 28:21 $0.15 3

leanstral 9/10 23:00 free 1

aristotle 10/10 19:39 free 0

---------------------------------

FATE-X

---------------------------------

prover acc. time cost t/o

---------------------------------

claude 8/9 15:43 $3.60 0

codex 9/9 14:27 $3.70 0

grok 9/9 10:42 $1.31 0

deepseek 3/9 41:48 $0.21 4

---------------------------------

[1] https://github.com/henryrobbins/open-atp

[2] https://news.ycombinator.com/item?id=48780801

[3] https://mistral.ai/news/leanstral-1-5/

[4] https://news.ycombinator.com/item?id=48935342

[5] https://open-atp.henryrobbins.com

[6] https://arxiv.org/abs/2601.14027

[7] https://arxiv.org/abs/2602.24273

[8] https://github.com/frenzymath/FATE

[9] https://aristotle.harmonic.fun

Comments

henryrobbins00•56m ago
Some additional details about these results that didn't make it into the main post:

- The OpenATP "standard provers" were used; see docs [5] for model / harness configuration details

- Time and cost are function of effort level, which may lead to unfair comparison across provers

- FATE-X excludes task 10 since claude and grok hit session limits

- FATE-X excludes leanstral and aristotle due to temporary endpoint failures

- Deepseek's FATE-X accuracy is corrected from 2 to 3 due to verifier bug (now fixed)

- 2 FATE-X deepseek misses are sorry-free, but rely on native_decide

- Claude's FATE-X miss is due to a failed delegation to a background subagent

- All costs come from underlying CLI, except codex which uses pricing table

Reddit stock sinks as company weighs blocking Google's AI access to its content

https://qz.com/reddit-stock-google-ai-content-deal-072226
1•01-_-•1m ago•0 comments

Opbox – multiplayer sync for text files on disk

https://www.opbox.dev/
1•sensodine•2m ago•0 comments

AI tech companies have 'hidden debt' worth around $1.65T

https://www.tomshardware.com/tech-industry/big-tech/ai-tech-companies-have-hidden-debt-worth-arou...
3•01-_-•2m ago•0 comments

When your vehicle outlives its cloud: What happens next?

https://arstechnica.com/cars/2026/07/when-your-vehicle-outlives-its-cloud-what-happens-next/
1•apparent•3m ago•0 comments

Jacobian Conjecture for Baby

https://muchmirul.github.io/jacobian-conjecture/
2•porphyra•4m ago•0 comments

Using AI makes people less likely to admit they don't know something

https://www.theregister.com/ai-and-ml/2026/07/19/using-ai-makes-people-less-likely-to-admit-they-...
1•smartmic•7m ago•0 comments

Navigating the volatile silicon market: updates on memory and storage pricing

https://frame.work/blog/updates-on-memory-pricing-and-navigating-the-volatile-memory-market
2•davidjade•7m ago•0 comments

What to Expect from China's New Five-Year Plan

https://institute.global/insights/geopolitics-and-security/what-to-expect-from-chinas-new-five-ye...
1•toomuchtodo•8m ago•1 comments

RefluXFS: LPE in the Linux kernel via XFS reflink race (CVE-2026-64600)

https://www.openwall.com/lists/oss-security/2026/07/22/14
1•ilreb•9m ago•0 comments

Amazon once again locking me out of my own order data

https://bsky.app/profile/jon.moeller.io/post/3mrawmjzsmc2u
3•jmole•10m ago•1 comments

It's time to wake up: An Emacs alarm clock

https://lars.ingebrigtsen.no/2026/07/22/its-time-to-wake-up-an-emacs-alarm-clock/
1•meetpateltech•11m ago•0 comments

AI-maestro: Conduct a roster of AI coding agents against a work board

https://github.com/my-chiefmind/ai-maestro
1•mychiefmind•11m ago•0 comments

Comhad: A TUI replacement for Cyberduck, written in Rust

https://github.com/Eoin-McMahon/comhad
1•emcmahon478•11m ago•0 comments

The Healthcare Industry Is Coming for Your Face

https://www.karenschoellkopf.com/writing/biometric-data-healthcare
2•kgunette•12m ago•0 comments

Low-volume wearable interface for voice computing

https://twitter.com/augmentaltech/status/2079962940896338039
1•tomasero•13m ago•0 comments

How Gumclaw Works

https://gumclaw.github.io/how-i-work/index.html
1•tosh•16m ago•0 comments

Show HN: An open source schema definition for datasheets

https://nkorai.github.io/datasheet-schema/
1•nkorai•16m ago•0 comments

Show HN: Window Hints – Keyboard-first window switching

https://windowhints.com/
1•mihau•17m ago•0 comments

The Architecture of Open Source Applications

https://aosabook.org/en/index.html
2•blobcode•18m ago•0 comments

Amazon Cuts Jobs in Artificial General Intelligence Unit

https://www.wsj.com/tech/ai/amazon-cuts-jobs-in-artificial-general-intelligence-unit-fb86e2ba
3•N_A_T_E•18m ago•2 comments

Show HN: Caustic – a self-hosted compiler with no LLVM, Libc, or external tools

https://github.com/Caua726/Caustic
1•cauaneves•19m ago•0 comments

Dots-note 3.0 scored perfect points International Mathematical Olympiad problems

https://www.chinadaily.com.cn/a/202607/22/WS6a6085aaa310986e2b466b54.html
2•yogthos•20m ago•0 comments

Building a Tiny 3D Renderer for a Tiny Handheld

https://saffroncr.itch.io/katavatis/devlog/1534514/building-a-tiny-3d-renderer-for-a-tiny-handheld
1•g0xA52A2A•20m ago•0 comments

'The Odyssey' Proves It: Audiences Want Movies Made the Hard Way

https://www.hollywoodreporter.com/movies/movie-news/odyssey-box-office-2026-practical-effects-123...
3•randycupertino•21m ago•1 comments

Oido Studio – Build AI employees that run your business

https://oidostudio.com
1•djancyp•21m ago•1 comments

Zero-Copy Go: Why Io.Copy Is Lying to You (Sendfile/Splice)

https://blog.devgenius.io/zero-copy-go-why-io-copy-is-lying-to-you-sendfile-splice-11748e293462
2•cheikhdev•22m ago•0 comments

Show HN: SF Speedrun – a Mario style game about surviving SF startup culture

https://sfspeedrun.com/
1•ayaangazali•22m ago•1 comments

A Guide to Trust Anchor Rotation with Cert-Manager

https://www.buoyant.io/blog/a-guide-to-linkerd-trust-anchor-rotation-with-cert-manager
2•PagCatOli•22m ago•1 comments

A Rhino from the Arctic

https://nature.ca/en/about-the-museum/media-centre/a-rhino-from-the-arctic/
1•speckx•22m ago•0 comments

Show HN: SyncLite – An embedded synchronization layer for SQLite and DuckDB

https://github.com/syncliteio/SyncLite
1•mahcha•22m ago•2 comments