Courtade–Kumar proof module `CKLaneM07.CE.R3Cells.K7.S0000` (transplant)
DefinitionCK_CKLaneM07_CE_R3Cells_K7_S0000Verbatim transplant of the Lean module CKLaneM07.CE.R3Cells.K7.S0000 of the machine-checked proof of the general Courtade–Kumar theorem (the most informative Boolean function conjecture), so that the complete proof can be verified on this platform.
It is the original source with only two mechanical changes. Imports of project modules are redirected to their transplanted bundles Definitions.Def_CK_*. Declarations that already exist in earlier platform definition bundles of this mission are removed, and those bundles are imported instead, so every constant keeps a single platform identity.
The module contains both definitions and the lemmas proved alongside them in the source. They are kept together so the transplant stays faithful and every proof is re-checked by the server.
Source: Z. Chen, A. Gohari, A. Javanmard, H. Lin, V. Mirrokni, C. Nair, D. P. Woodruff, A Proof of the Most Informative Boolean Function Conjecture, arXiv:2609.24931 (2026). Lean development: https://github.com/dpwoodru/general-courtade-kumar-lean (Apache-2.0), module CKLaneM07.CE.R3Cells.K7.S0000 from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneM07_CE_R3Glue2
-- ===== source module CKLaneM07.CE.R3Cells.K7.S0000 =====
section
/-! Lane M07 row-3 cell K7/S0000 (generated by work/cestat/emit_r3.py from gen_r3.py):
sub-root at path [] of root7; leaves {"ok2": 16, "tc": 13, "vac": 1}. -/
namespace CKLaneM07.CE.R3Cells.K7.S0000
open CKLaneN1
def box : B3 := ⟨(dy 1 7), (dy 1 6), 0, (dy 1 0), 0, (dy 8966729 29)⟩
set_option maxRecDepth 100000 in
noncomputable def tree : PT CKLaneM07.CE.R3.RWit :=
(.node 0 (.node 0 (.node 2 (.node 0 (.node 2 (.node 0 (.node 0 (.leaf ⟨(dy 4023678959 33), (dy 8589934591 40), 0, true⟩) (.leaf ⟨(dy 515899513243 40), (dy 8858370047 40), 0, true⟩)) (.leaf ⟨(dy 516720733967 40), (dy 9126805503 40), 0, true⟩)) (.node 1 (.node 1 (.leaf ⟨(dy 7513995887 34), (dy 8589934591 40), 0, true⟩) (.node 2 (.leaf ⟨(dy 250254847135 39), (dy 9127874087 40), 0, true⟩) (.leaf ⟨(dy 485973903829 40), (dy 4693963583 39), 0, true⟩))) (.node 2 (.node 1 (.leaf ⟨(dy 502850927389 40), (dy 1207496123 37), 0, true⟩) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩)))) (.node 2 (.node 0 (.leaf ⟨(dy 518236058407 40), (dy 9663676415 40), 0, true⟩) (.leaf ⟨(dy 519603147919 40), (dy 10200547327 40), 0, true⟩)) (.node 1 (.node 1 (.leaf ⟨(dy 243579314675 39), (dy 9663676415 40), 0, true⟩) (.leaf ⟨(dy 61249620145 37), (dy 10178454903 40), 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩)))) (.node 1 (.node 2 (.node 1 (.leaf ⟨(dy 111970765249 38), (dy 8589934591 40), 0, true⟩) (.node 1 (.node 2 (.leaf ⟨(dy 236148489535 39), (dy 9683205629 40), 0, true⟩) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩))) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩))) (.node 0 (.node 0 (.node 0 (.node 2 (.node 1 (.leaf ⟨(dy 123068181997 38), (dy 10737418239 40), 0, true⟩) (.node 2 (.leaf ⟨(dy 260421602443 39), (dy 10737418239 40), 0, true⟩) (.leaf ⟨0, 0, 0, true⟩))) (.node 1 (.node 1 (.leaf ⟨(dy 437390855529 40), (dy 10737418239 40), 0, true⟩) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩))) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩)) (.leaf ⟨0, 0, 0, true⟩))) (.leaf ⟨0, 0, 0, true⟩))
theorem ok : tree.allLeaves (fun p w => CKLaneM07.CE.R3Glue.leaf21 (box.ofPath p) w) = true := by
decide +kernel
theorem sem : CKLaneN1.R3.Sem box := CKLaneM07.CE.R3Glue.sem_of_tree21 box tree ok
end CKLaneM07.CE.R3Cells.K7.S0000
end