This repository contains Lean files for the formalisation of the two Key Formulas from
the companion spec KeyFormulasSpec.tex to Ken Ono's paper The partition function and
elliptic curves (Ono_PofN.tex).
Working with the values, at a fixed point
-
key_formula_one—$P = -\vartheta_{-2}F + \tfrac{1}{6}E_2^{*}F$ . -
key_formula_two— If$\Phi_{XX} = \Phi_{YY}$ (and$\Phi_Y \neq 0$ ), then$\dfrac{\tfrac12\Phi_{XX} - \Phi_{XY} + \tfrac12\Phi_{YY}}{\Phi_Y} = \tau_{\mathrm{CM}}(J)$ .
Both are equalities of complex numbers that follow by elementary field arithmetic from the definitions; they are singled out for formal verification precisely because they are where a sign, constant, or normalization error could enter unnoticed.
The proofs were produced by AxiomProver and are fully sorry-free. They were developed and verified using Lean 4.28.0. Compatibility with earlier or later versions is not guaranteed due to the evolving nature of the Lean 4 compiler and its core libraries.
input/KeyFormulasSpec.tex,input/Ono_PofN.tex, andinput/task.mdcontain the informal source and the task given to AxiomProver.
output/problem.leanis the formal problem statement.output/solution.leanis the formal solution.
This repository uses the MIT License. See LICENSE for details.