Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions LeanPool/CatalyticRegisters.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/-
Copyright (c) 2026 Lean Pool contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lean Pool contributors
-/

module

public import LeanPool.CatalyticRegisters.BalancedProduct
public import LeanPool.CatalyticRegisters.BilinearFrobenius
public import LeanPool.CatalyticRegisters.CommRing
public import LeanPool.CatalyticRegisters.DigitSumDichotomy
public import LeanPool.CatalyticRegisters.ExtensionFieldSeparation
public import LeanPool.CatalyticRegisters.FourRegisterPowering
public import LeanPool.CatalyticRegisters.MathlibRing
public import LeanPool.CatalyticRegisters.NonVacuity
public import LeanPool.CatalyticRegisters.Pass2Soundness
public import LeanPool.CatalyticRegisters.PrimeFieldTools
public import LeanPool.CatalyticRegisters.ThreeRegisterBreakthrough

/-!
# Passive catalytic register programs over finite fields and commutative rings

Source: url:https://github.com/0thernes/catalytic-register-frontiers/blob/c80125c42956ff17e7d6d56c66d94ee9bb57ae33/dist/Donahue_2026_catalytic_register_frontiers.pdf
Authors: Alexander S. Donahue
Status: verified
Main declarations: `Catalytic.rp_pass_two_iff`, `Catalytic.four_reg_powering_x13`,
`Catalytic.balancedProdProg_clean`
Tags: catalytic-computation, register-programs, finite-fields, arithmetic-complexity
MSC: 68Q17, 68Q05, 12E20
-/

/-!
## Upstream Lean sources

The Apache 2.0 proofs come from Alexander S. Donahue's `catalytic-register-frontiers`,
commit `c80125c42956ff17e7d6d56c66d94ee9bb57ae33`. Lean Pool relocated the core
modules and adapted the proofs to its toolchain, Mathlib, and project checks.

The project card cites the corrected manuscript at that commit. The historical v1.0.1
manuscript remains available as [Zenodo deposit 24517199](https://doi.org/10.5281/zenodo.24517199).
-/
409 changes: 409 additions & 0 deletions LeanPool/CatalyticRegisters/BalancedProduct.lean

Large diffs are not rendered by default.

766 changes: 766 additions & 0 deletions LeanPool/CatalyticRegisters/BilinearFrobenius.lean

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions LeanPool/CatalyticRegisters/Certificates/EleventhPower.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/-
Copyright (c) 2026 Alexander S. Donahue. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander S. Donahue
-/
module

-- Modified for Lean Pool. See the project entry module for upstream attribution.

public import LeanPool.CatalyticRegisters.PoweringPrograms

/-! # Symbolic certificate for the eleventh power -/

namespace Catalytic

@[expose] public section

theorem prog7_x11_cert :
exec3Poly prog7Power11 =
([((11, 0, 0), 68724637549388656012800)], [((0, 1, 0), 1)], [((0, 0, 1), 1)]) := rfl

end

end Catalytic
28 changes: 28 additions & 0 deletions LeanPool/CatalyticRegisters/Certificates/FifteenthPower.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/-
Copyright (c) 2026 Alexander S. Donahue. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander S. Donahue
-/
module

-- Modified for Lean Pool. See the project entry module for upstream attribution.

public import LeanPool.CatalyticRegisters.PoweringPrograms

/-! # Symbolic certificate for the fifteenth power -/

namespace Catalytic

@[expose] public section

theorem prog9_x15_cert :
exec3Poly prog9Power15 =
([((15, 0, 0), 876702103804656272895371895753963647960420947968000)],
[((0, 1, 0), 1)], [((0, 0, 1), 1)]) := by
-- Replay the concrete symbolic execution in the kernel.
apply beq_iff_eq.mp
decide +kernel

end

end Catalytic
23 changes: 23 additions & 0 deletions LeanPool/CatalyticRegisters/Certificates/NinthPower.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/-
Copyright (c) 2026 Alexander S. Donahue. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander S. Donahue
-/
module

-- Modified for Lean Pool. See the project entry module for upstream attribution.

public import LeanPool.CatalyticRegisters.PoweringPrograms

/-! # Symbolic certificate for the ninth power -/

namespace Catalytic

@[expose] public section

theorem prog6_x9_cert :
exec3Poly prog6Power9 = ([((9, 0, 0), 382500000)], [((0, 1, 0), 1)], [((0, 0, 1), 1)]) := rfl

end

end Catalytic
23 changes: 23 additions & 0 deletions LeanPool/CatalyticRegisters/Certificates/SeventhPower.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/-
Copyright (c) 2026 Alexander S. Donahue. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander S. Donahue
-/
module

-- Modified for Lean Pool. See the project entry module for upstream attribution.

public import LeanPool.CatalyticRegisters.PoweringPrograms

/-! # Symbolic certificate for the seventh power -/

namespace Catalytic

@[expose] public section

theorem prog5_x7_cert :
exec3Poly prog5Power7 = ([((7, 0, 0), 576)], [((0, 1, 0), 1)], [((0, 0, 1), 1)]) := rfl

end

end Catalytic
27 changes: 27 additions & 0 deletions LeanPool/CatalyticRegisters/Certificates/ThirteenthPower.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/-
Copyright (c) 2026 Alexander S. Donahue. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander S. Donahue
-/
module

-- Modified for Lean Pool. See the project entry module for upstream attribution.

public import LeanPool.CatalyticRegisters.PoweringPrograms

/-! # Symbolic certificate for the thirteenth power -/

namespace Catalytic

@[expose] public section

theorem prog8_x13_cert :
exec3Poly prog8Power13 =
([((13, 0, 0), 2656207148788801777680)], [((0, 1, 0), 1)], [((0, 0, 1), 1)]) := by
-- Replay the concrete symbolic execution in the kernel.
apply beq_iff_eq.mp
decide +kernel

end

end Catalytic
Loading
Loading