Skip to content

About

EXPERIMENTAL: Kirby-Paris Theorem formalized in Lean 4

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Goodstein independence over PA

CI License: Apache 2.0

Disclaimers

Experimental. Not maintained or reviewed by FFL.

The proofs here are AI-generated. FFL judged that this formalization would be better redesigned from scratch. FFL does not maintain this repository or review its pull requests. Trevor Morris maintains it independently. Whether these formalizations are useful remains an open question within FFL.

FFL's own experiment in AI formalization of arithmetic is AlphaCentauri. There, humans choose each target as a GitHub issue, and AI agents write, review and maintain the Lean code.

What's here

Lean 4 formalizations of independence results over Peano Arithmetic, built on Foundation. The headline results:

Result Declaration
Goodstein's theorem is independent of PA (Kirby–Paris) goodstein_independent
Wainer's bound: a $\Pi_2$ sentence PA proves has witnesses eventually below some $f_\alpha$, $\alpha < \varepsilon_0$ pa_provable_pi2_eventually_witnessed_below_fastGrowing
PA does not prove that the hydra battle terminates (Kirby–Paris) pa_not_proves_hydra
PA does not prove the Paris–Harrington principle pa_not_proves_ph
PA does not prove transfinite induction along Kreisel's $\Delta_1$ well-ordering of type $\omega$ pa_not_proves_TI_kreisel

Import Graph

Import Graph

License

Apache License 2.0, Copyright 2026 Trevor Morris

About

EXPERIMENTAL: Kirby-Paris Theorem formalized in Lean 4

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages