Project Euler Lean solutions Created 2026-01-30 Updated 2026-02-08
Using Lean or other programmable proof assistants to solve Project Euler is the inevitable collision of two autisms. In particular, using Lean to prove that you have the correct solution, just making a Lean program that prints out the correct solution is likely now trivial as of 2025 by asking an LLM to port a Python solution to the new language.
Some efforts:
Mentions:
In other proof assistants, therefore with similar beauty:
Project Euler solutions 2026-01-30
Repositories of code solutions:
Repositories with hints but no solutions:
Basically no one has ever had the patience to create a single source that solves them all, all the above were done by individuals and stopped at some point. What we need is either a collaborative solution, or... LLMs.

Unlisted articles are being shown, click here to show only listed articles.