I have started publishing the series Mathematical challenges in Lean 4.
The format is simple: each week I will post a mathematical problem so that anyone interested can share their solutions in Lean 4.
At the end of the week I will publish the solutions to the challenge, which will follow this scheme:
- A solution in natural language.
- Several Lean 4 formalizations, from least to most detailed:
- The most automated one, usually with
grind.
- Others using more specific tactics, such as
norm_num, ring, positivity or linarith.
- A final proof in which those tactics are replaced by specific lemmas.
Through this process of successive refinement, the aim is for the final proof to correspond, as far as possible, to the one written in natural language.