Courtade–Kumar proof module `CKLaneG3.S.C2.B1` (transplant)
DefinitionCK_CKLaneG3_S_C2_B1Verbatim transplant of the Lean module CKLaneG3.S.C2.B1 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.B1 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_50202020204__11
import Definitions.Def_CK_CKLaneG3_S_ChunkG_G_50202020315__3
import Definitions.Def_CK_CKLaneG3_S_Chunk_C_50202030042152__11
import Definitions.Def_CK_CKLaneM03_G3Bridge
import Definitions.Def_CK_CKLaneM03_Family_F01
-- ===== source module CKLaneG3.S.C2.B1 =====
section
/-! Lane G3b: (S) owner label 2, chunk block 1 (11 chunks, 2056 label leaves; generated by G3/pipeline/g3chunk.py). -/
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneG3.S.C2.B1
open CKLaneD CKLaneG3
noncomputable def SH : List (List (List ℕ)) := [
CKLaneM03.EP.P0028.leaves,
CKLaneM03.EP.P0029.leaves,
CKLaneM03.EP.P0030.leaves,
CKLaneM03.EP.P0031.leaves,
CKLaneM03.EP.P0032.leaves,
CKLaneM03.EP.P0033.leaves,
CKLaneM03.EP.P0034.leaves,
CKLaneM03.EP.P0035.leaves,
CKLaneM03.EP.P0036.leaves,
CKLaneM03.EP.P0037.leaves,
CKLaneM03.EP.P0038.leaves,
CKLaneM03.EP.P0039.leaves,
CKLaneM03.EP.P0040.leaves,
CKLaneM03.EP.P0041.leaves,
CKLaneM03.EP.P0042.leaves,
CKLaneM03.EP.P0043.leaves,
CKLaneM03.EP.P0044.leaves,
CKLaneM03.EP.P0045.leaves,
CKLaneM03.EP.P0046.leaves
]
theorem SH_ok : ∀ S ∈ SH, ∀ x ∈ S, SLeafOK (sBox (id x)) :=
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0028.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0029.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0030.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0031.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0032.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0033.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0034.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0035.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0036.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0037.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0038.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0039.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0040.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0041.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0042.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0043.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0044.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0045.leaves_sem x hx))
(shards_cons (fun x hx => CKLaneM03.sLeafOK_of_sem (CKLaneM03.EP.P0046.leaves_sem x hx))
shards_nil)))))))))))))))))))
/-- chunk `50202020305`: 0 label-2 leaves. -/
theorem c_50202020305 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202020305.t.leavesR [5, 0, 3, 0, 2, 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_50202020305.t 2 [5, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5] (by decide +kernel)
def r_50202020314_0 : List (ℕ × ℕ × ℕ) := [(0, 2, 118), (1, 0, 116), (2, 0, 118), (3, 0, 120), (4, 0, 109), (5, 0, 120), (6, 0, 6)]
/-- chunk `50202020314`: 707 label-2 leaves. -/
theorem c_50202020314 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202020314.t.leavesR [4, 1, 3, 0, 2, 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_50202020314.t 2 [4, 1, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202020314_0) (by decide +kernel)
/-- chunk `50202020315`: 0 label-2 leaves. -/
theorem c_50202020315 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202020315.t.leavesR [5, 1, 3, 0, 2, 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_50202020315.t 2 [5, 1, 3, 0, 2, 0, 2, 0, 2, 0, 5] (by decide +kernel)
def r_50202021_0 : List (ℕ × ℕ × ℕ) := [(6, 6, 28)]
/-- chunk `50202021`: 28 label-2 leaves. -/
theorem c_50202021 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202021.t.leavesR [1, 2, 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_50202021.t 2 [1, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202021_0) (by decide +kernel)
def r_502020300420_0 : List (ℕ × ℕ × ℕ) := [(6, 34, 84), (7, 0, 70)]
/-- chunk `502020300420`: 154 label-2 leaves. -/
theorem c_502020300420 : ∀ q ∈ CKLaneG3.S.Chunk.C_502020300420.t.leavesR [0, 2, 4, 0, 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_502020300420.t 2 [0, 2, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_502020300420_0) (by decide +kernel)
def r_5020203004214_0 : List (ℕ × ℕ × ℕ) := [(8, 0, 102)]
/-- chunk `5020203004214`: 102 label-2 leaves. -/
theorem c_5020203004214 : ∀ q ∈ CKLaneG3.S.Chunk.C_5020203004214.t.leavesR [4, 1, 2, 4, 0, 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_5020203004214.t 2 [4, 1, 2, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_5020203004214_0) (by decide +kernel)
def r_50202030042152_0 : List (ℕ × ℕ × ℕ) := [(8, 102, 16), (9, 0, 119), (10, 0, 104), (11, 0, 35)]
/-- chunk `50202030042152`: 274 label-2 leaves. -/
theorem c_50202030042152 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202030042152.t.leavesR [2, 5, 1, 2, 4, 0, 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_50202030042152.t 2 [2, 5, 1, 2, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202030042152_0) (by decide +kernel)
def r_50202030042153_0 : List (ℕ × ℕ × ℕ) := [(11, 35, 80), (12, 0, 88), (13, 0, 119), (14, 0, 119)]
/-- chunk `50202030042153`: 406 label-2 leaves. -/
theorem c_50202030042153 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202030042153.t.leavesR [3, 5, 1, 2, 4, 0, 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_50202030042153.t 2 [3, 5, 1, 2, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202030042153_0) (by decide +kernel)
def r_502020300430_0 : List (ℕ × ℕ × ℕ) := [(15, 0, 68)]
/-- chunk `502020300430`: 68 label-2 leaves. -/
theorem c_502020300430 : ∀ q ∈ CKLaneG3.S.Chunk.C_502020300430.t.leavesR [0, 3, 4, 0, 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_502020300430.t 2 [0, 3, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_502020300430_0) (by decide +kernel)
def r_5020203004314_0 : List (ℕ × ℕ × ℕ) := [(15, 68, 35)]
/-- chunk `5020203004314`: 35 label-2 leaves. -/
theorem c_5020203004314 : ∀ q ∈ CKLaneG3.S.Chunk.C_5020203004314.t.leavesR [4, 1, 3, 4, 0, 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_5020203004314.t 2 [4, 1, 3, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_5020203004314_0) (by decide +kernel)
def r_50202030043150_0 : List (ℕ × ℕ × ℕ) := [(16, 0, 119), (17, 0, 120), (18, 0, 43)]
/-- chunk `50202030043150`: 282 label-2 leaves. -/
theorem c_50202030043150 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202030043150.t.leavesR [0, 5, 1, 3, 4, 0, 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_50202030043150.t 2 [0, 5, 1, 3, 4, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202030043150_0) (by decide +kernel)
end CKLaneG3.S.C2.B1
end