Courtade–Kumar proof module `CKLaneG3.S.C2.B3 (piece 1 of 4)` (transplant)
DefinitionCK_CKLaneG3_S_C2_B3_q00Verbatim transplant of the Lean module CKLaneG3.S.C2.B3 (piece 1 of 4) 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 CKLaneG3.S.C2.B3 (piece 1 of 4) from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneG3_SChunkBind
import Definitions.Def_CK_CKLaneG3_SCover
import Definitions.Def_CK_CKLaneG3_S_Chunk_C_50202030042152__11
import Definitions.Def_CK_CKLaneG3_S_Chunk_C_5020203015__14
import Definitions.Def_CK_CKLaneM03_G3Bridge
import Definitions.Def_CK_CKLaneM03_Family_F02
import Definitions.Def_CK_CKLaneM03_Family_F03
/-! Lane G3b: (S) owner label 2, chunk block 3 (8 chunks, 3818 label leaves; generated by G3/pipeline/g3chunk.py). -/
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneG3.S.C2.B3
open CKLaneD CKLaneG3
noncomputable def SH : List (List (List ℕ)) := [
CKLaneM03.EP.P0063.leaves,
CKLaneM03.EP.P0064.leaves,
CKLaneM03.EP.P0065.leaves,
CKLaneM03.EP.P0066.leaves,
CKLaneM03.EP.P0067.leaves,
CKLaneM03.EP.P0068.leaves,
CKLaneM03.EP.P0069.leaves,
CKLaneM03.EP.P0070.leaves,
CKLaneM03.EP.P0071.leaves,
CKLaneM03.EP.P0072.leaves,
CKLaneM03.EP.P0073.leaves,
CKLaneM03.EP.P0074.leaves,
CKLaneM03.EP.P0075.leaves,
CKLaneM03.EP.P0076.leaves,
CKLaneM03.EP.P0077.leaves,
CKLaneM03.EP.P0078.leaves,
CKLaneM03.EP.P0079.leaves,
CKLaneM03.EP.P0080.leaves,
CKLaneM03.EP.P0081.leaves,
CKLaneM03.EP.P0082.leaves,
CKLaneM03.EP.P0083.leaves,
CKLaneM03.EP.P0084.leaves,
CKLaneM03.EP.P0085.leaves,
CKLaneM03.EP.P0086.leaves,
CKLaneM03.EP.P0087.leaves,
CKLaneM03.EP.P0088.leaves,
CKLaneM03.EP.P0089.leaves,
CKLaneM03.EP.P0090.leaves,
CKLaneM03.EP.P0091.leaves,
CKLaneM03.EP.P0092.leaves,
CKLaneM03.EP.P0093.leaves,
CKLaneM03.EP.P0094.leaves,
CKLaneM03.EP.P0095.leaves,
CKLaneM03.EP.P0096.leaves
]
theorem SH_ok : ∀ S ∈ SH, ∀ x ∈ S, SLeafOK (sBox (id x)) :=
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0063.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0064.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0065.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0066.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0067.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0068.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0069.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0070.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0071.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0072.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0073.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0074.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0075.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0076.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0077.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0078.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0079.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0080.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0081.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0082.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0083.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0084.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0085.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0086.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0087.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0088.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0089.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0090.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0091.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0092.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0093.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0094.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0095.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0096.leaves_sem x hx))
shards_nil))))))))))))))))))))))))))))))))))
def r_50202030143_0 : List (ℕ × ℕ × ℕ) := [(0, 0, 117), (1, 0, 115), (2, 0, 119), (3, 0, 117), (4, 0, 108), (5, 0, 113), (6, 0, 37)]
/-- chunk `50202030143`: 726 label-2 leaves. -/
theorem c_50202030143 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202030143.t.leavesR [3, 4, 1, 0, 3, 0, 2, 0, 2, 0, 5], q.2 = 2 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_50202030143.t 2 [3, 4, 1, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202030143_0) (by decide +kernel)
/-- chunk `5020203015`: 0 label-2 leaves. -/
theorem c_5020203015 : ∀ q ∈ CKLaneG3.S.Chunk.C_5020203015.t.leavesR [5, 1, 0, 3, 0, 2, 0, 2, 0, 5], q.2 = 2 → SLeafOK (sBox q.1) :=
sub_family_of_none (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_5020203015.t 2 [5, 1, 0, 3, 0, 2, 0, 2, 0, 5] (by decide +kernel)
end CKLaneG3.S.C2.B3