Courtade–Kumar proof module `CKLaneG3.S.C0.B1` (transplant)
DefinitionCK_CKLaneG3_S_C0_B1Verbatim transplant of the Lean module CKLaneG3.S.C0.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.C0.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_CKLaneE_SAdapt
import Definitions.Def_CK_CKLaneE_NLSB005__4
import Definitions.Def_CK_CKLaneE_NLSB009__5
import Definitions.Def_CK_CKLaneE_NLSB014__6
-- ===== source module CKLaneG3.S.C0.B1 =====
section
/-! Lane G3b: (S) owner label 0, chunk block 1 (3 chunks, 4658 label leaves; generated by G3/pipeline/g3chunk.py). -/
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneG3.S.C0.B1
open CKLaneD CKLaneG3
noncomputable def SH : List (List (List ℕ)) := [
CKLaneE.NLSB007.paths,
CKLaneE.NLSB008.paths,
CKLaneE.NLSB009.paths,
CKLaneE.NLSB010.paths,
CKLaneE.NLSB011.paths,
CKLaneE.NLSB012.paths,
CKLaneE.NLSB013.paths,
CKLaneE.NLSB014.paths
]
theorem SH_ok : ∀ S ∈ SH, ∀ x ∈ S, SLeafOK (sBox (id x)) :=
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB007.paths CKLaneE.NLSB007.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB008.paths CKLaneE.NLSB008.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB009.paths CKLaneE.NLSB009.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB010.paths CKLaneE.NLSB010.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB011.paths CKLaneE.NLSB011.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB012.paths CKLaneE.NLSB012.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB013.paths CKLaneE.NLSB013.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB014.paths CKLaneE.NLSB014.family)
shards_nil))))))))
def r_502020203040_0 : List (ℕ × ℕ × ℕ) := [(0, 356, 16), (0, 384, 1), (0, 415, 1), (0, 385, 1), (0, 416, 4), (0, 476, 1), (0, 386, 1), (0, 477, 2), (0, 387, 2), (0, 420, 4), (0, 483, 4), (1, 0, 8), (0, 487, 4), (1, 8, 32), (1, 108, 2), (0, 389, 2), (1, 130, 4), (0, 424, 2), (1, 134, 2), (1, 138, 14), (1, 226, 4), (1, 257, 2), (0, 372, 12), (0, 426, 1), (0, 479, 1), (0, 391, 1), (0, 480, 2), (0, 392, 2), (0, 482, 1), (0, 394, 1), (0, 427, 9), (0, 491, 32), (1, 40, 18), (0, 523, 1), (1, 58, 2), (0, 524, 1), (1, 60, 26), (0, 525, 1), (1, 86, 2), (0, 526, 1), (1, 88, 8), (0, 527, 11), (1, 96, 2), (0, 538, 1), (1, 98, 2), (0, 539, 12), (1, 100, 8), (0, 551, 8), (1, 110, 2), (0, 395, 2), (1, 112, 2), (0, 397, 2), (1, 114, 2), (0, 399, 2), (1, 116, 2), (0, 401, 2), (0, 436, 6), (1, 136, 2), (0, 442, 9), (1, 152, 18), (1, 118, 1), (1, 170, 2), (0, 403, 1), (1, 172, 26), (0, 451, 1), (1, 198, 12), (1, 119, 1), (0, 404, 1), (1, 120, 2), (0, 405, 2), (0, 452, 8), (1, 122, 2), (0, 407, 2), (1, 210, 8), (1, 124, 2), (0, 409, 2), (1, 126, 2), (0, 411, 2), (0, 460, 4), (1, 218, 8), (0, 464, 8), (1, 342, 12), (1, 230, 27), (1, 354, 16), (1, 373, 16), (1, 403, 1), (1, 389, 6), (1, 404, 1), (1, 395, 4), (1, 370, 3), (1, 405, 2), (1, 399, 2), (1, 407, 2), (1, 401, 2), (1, 409, 2), (1, 259, 4), (1, 411, 4), (1, 263, 6), (1, 415, 4), (1, 269, 18)]
def r_502020203040_1 : List (ℕ × ℕ × ℕ) := [(1, 419, 64), (1, 503, 5), (1, 588, 2), (1, 508, 4), (1, 590, 4), (1, 512, 16), (1, 594, 53), (1, 287, 23), (1, 483, 8), (1, 310, 12), (1, 491, 8), (1, 322, 4), (1, 499, 2), (1, 326, 1), (1, 501, 2), (1, 327, 1), (1, 528, 29), (1, 647, 12), (1, 557, 2), (1, 659, 8), (1, 559, 4), (1, 667, 2), (1, 563, 1), (1, 669, 2), (1, 564, 5), (1, 671, 4), (1, 569, 2)]
/-- chunk `502020203040`: 839 label-0 leaves. -/
theorem c_502020203040 : ∀ q ∈ CKLaneG3.S.Chunk.C_502020203040.t.leavesR [0, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5], q.2 = 0 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_502020203040.t 0 [0, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_502020203040_0 ++ (r_502020203040_1)) (by decide +kernel)
def r_5020202030414_0 : List (ℕ × ℕ × ℕ) := [(1, 675, 4), (2, 0, 1), (1, 679, 2), (2, 106, 4), (2, 1, 1), (2, 110, 2), (1, 681, 8), (2, 112, 8), (2, 156, 1), (2, 256, 2), (2, 157, 1), (2, 258, 14), (1, 689, 8), (2, 120, 8), (1, 697, 8), (2, 128, 8), (2, 282, 32), (2, 356, 4), (2, 404, 4), (2, 360, 4), (2, 408, 4), (2, 456, 12), (2, 364, 4), (2, 412, 4), (2, 368, 6), (2, 416, 4), (2, 468, 1), (2, 581, 2), (2, 469, 1), (2, 583, 14), (2, 653, 42), (3, 0, 32), (2, 695, 48), (3, 32, 34), (3, 150, 7), (3, 229, 4), (3, 157, 4), (3, 233, 8), (3, 315, 8), (3, 415, 6), (3, 323, 8), (3, 421, 8), (3, 161, 10), (3, 241, 8), (3, 171, 12), (3, 249, 10), (3, 331, 12), (3, 429, 8), (3, 343, 4), (3, 437, 4), (3, 347, 8), (3, 441, 8), (3, 529, 8), (3, 591, 4), (4, 0, 4), (3, 595, 6), (4, 4, 4), (4, 116, 8), (3, 601, 8), (4, 8, 6), (3, 609, 8), (4, 14, 8), (4, 124, 14)]
/-- chunk `5020202030414`: 547 label-0 leaves. -/
theorem c_5020202030414 : ∀ q ∈ CKLaneG3.S.Chunk.C_5020202030414.t.leavesR [4, 1, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5], q.2 = 0 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_5020202030414.t 0 [4, 1, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_5020202030414_0) (by decide +kernel)
def r_5020202030415_0 : List (ℕ × ℕ × ℕ) := [(2, 2, 9), (1, 705, 2), (2, 11, 2), (2, 136, 4), (2, 13, 18), (2, 158, 8), (2, 272, 4), (2, 166, 2), (2, 276, 4), (2, 168, 1), (2, 280, 2), (2, 169, 16), (1, 707, 4), (2, 31, 1), (1, 711, 2), (2, 140, 8), (1, 713, 8), (2, 148, 8), (2, 32, 16), (2, 314, 32), (2, 185, 5), (2, 346, 2), (2, 190, 2), (2, 348, 4), (2, 192, 2), (2, 352, 4), (2, 194, 2), (2, 48, 18), (4, 328, 1), (2, 66, 2), (4, 388, 1), (2, 68, 8), (2, 196, 18), (4, 445, 1), (2, 214, 2), (4, 501, 1), (2, 216, 8), (2, 76, 26), (4, 329, 1), (2, 102, 4), (2, 224, 32), (4, 556, 1), (2, 374, 2), (4, 557, 3), (2, 420, 2), (4, 560, 2), (2, 376, 4), (4, 562, 1), (2, 380, 2), (2, 422, 8), (4, 563, 16), (2, 470, 1), (4, 659, 2), (2, 471, 7), (4, 661, 8), (2, 478, 4), (4, 669, 4), (2, 482, 13), (4, 673, 2), (2, 495, 2), (2, 382, 8), (2, 430, 8), (2, 390, 8), (2, 438, 8), (4, 579, 1), (2, 398, 2), (4, 580, 2), (2, 446, 4), (4, 582, 2), (2, 400, 4), (4, 584, 2), (2, 450, 4), (4, 586, 1), (2, 454, 2), (2, 597, 8), (2, 497, 4), (2, 605, 14), (2, 501, 1), (2, 619, 12), (2, 502, 2), (2, 631, 4), (2, 504, 1), (2, 635, 18), (4, 587, 32), (2, 505, 32), (4, 619, 32), (2, 537, 32), (2, 743, 32), (4, 675, 16), (3, 66, 36), (4, 691, 2), (3, 102, 4), (4, 693, 2), (3, 106, 4), (4, 695, 2), (3, 110, 4), (4, 697, 2), (2, 775, 6), (4, 699, 1), (2, 781, 12)]
def r_5020202030415_1 : List (ℕ × ℕ × ℕ) := [(4, 700, 2), (2, 793, 4), (4, 702, 18), (3, 114, 32), (4, 720, 4), (3, 146, 4), (4, 724, 28), (4, 330, 1), (4, 752, 2), (4, 389, 1), (4, 331, 2), (4, 390, 2), (4, 754, 18), (4, 446, 1), (4, 772, 6), (4, 447, 1), (4, 778, 2), (4, 502, 1), (4, 780, 2), (4, 333, 1), (4, 782, 4), (4, 334, 2), (4, 786, 2), (4, 392, 1), (4, 336, 2), (4, 393, 2), (4, 338, 2), (4, 395, 2), (4, 788, 10), (4, 448, 1), (4, 798, 4), (4, 449, 2), (4, 503, 2), (4, 451, 2), (4, 505, 2), (3, 183, 8), (3, 259, 8), (3, 191, 8), (3, 267, 8), (3, 199, 4), (5, 0, 2), (3, 275, 8), (3, 203, 4), (5, 2, 2), (3, 283, 8), (3, 355, 8), (3, 449, 12), (3, 363, 8), (3, 461, 12), (3, 371, 8), (3, 473, 8), (3, 379, 8), (3, 481, 8), (3, 207, 8), (3, 291, 8), (3, 215, 8), (3, 299, 8), (3, 223, 4), (5, 4, 2), (3, 307, 4), (5, 6, 2), (3, 227, 2), (5, 8, 3), (3, 311, 4), (5, 11, 2), (3, 387, 8), (3, 489, 12), (3, 395, 8), (3, 501, 12), (3, 403, 8), (3, 513, 8), (3, 411, 4), (5, 63, 2), (3, 521, 8), (5, 13, 26), (5, 123, 1), (5, 39, 4), (5, 65, 32), (5, 43, 18), (5, 124, 1), (5, 61, 2), (5, 125, 5), (5, 97, 18), (5, 187, 1), (5, 115, 6), (5, 188, 1), (5, 121, 2), (5, 189, 1), (5, 247, 29), (5, 382, 30), (5, 276, 9), (5, 541, 2), (5, 285, 8), (5, 412, 21), (5, 293, 2), (3, 537, 2), (5, 295, 3), (3, 539, 4), (5, 298, 8), (3, 543, 16)]
def r_5020202030415_2 : List (ℕ × ℕ × ℕ) := [(5, 306, 2), (3, 559, 2), (5, 308, 3), (3, 561, 2), (5, 311, 1), (5, 543, 2), (5, 433, 1), (5, 545, 4), (5, 434, 1), (5, 567, 2), (5, 435, 6), (5, 569, 2), (5, 441, 1), (5, 549, 8), (5, 571, 8), (5, 557, 2), (5, 442, 1), (5, 559, 4), (5, 579, 2), (5, 443, 1), (5, 581, 4), (3, 563, 8), (5, 312, 4), (3, 571, 12), (5, 316, 4), (3, 583, 4), (5, 444, 32), (5, 585, 18), (6, 0, 16), (5, 603, 23), (6, 16, 26), (6, 148, 4), (6, 168, 2), (5, 626, 2), (6, 152, 2), (5, 628, 3), (6, 170, 2), (5, 631, 1), (6, 154, 4), (6, 172, 4), (6, 158, 8), (6, 176, 8), (6, 186, 2), (6, 42, 1), (6, 188, 6), (6, 43, 1), (6, 194, 22), (5, 632, 18), (6, 166, 2), (5, 650, 3), (6, 184, 2), (5, 653, 9), (6, 44, 16), (6, 216, 2), (6, 60, 1), (6, 218, 6), (6, 61, 1), (6, 224, 4), (6, 62, 8), (5, 320, 32), (5, 476, 32), (5, 352, 12), (3, 587, 4), (5, 364, 18), (5, 508, 9), (5, 563, 4), (5, 517, 24), (5, 662, 16), (6, 70, 17), (5, 678, 16), (6, 87, 16), (5, 694, 27), (6, 103, 29), (5, 721, 16), (6, 132, 16), (3, 617, 8), (4, 22, 8), (3, 625, 2), (6, 228, 1), (3, 627, 2), (6, 229, 1), (4, 30, 8), (3, 629, 8), (4, 38, 8), (3, 637, 8), (4, 46, 8), (4, 138, 64), (3, 645, 8), (6, 230, 4), (4, 54, 4), (3, 653, 8), (6, 234, 4), (4, 58, 4), (6, 238, 2), (4, 202, 2), (6, 240, 1), (4, 204, 2), (6, 241, 1), (4, 206, 2), (6, 242, 9)]
def r_5020202030415_3 : List (ℕ × ℕ × ℕ) := [(4, 208, 2), (6, 251, 1), (4, 210, 2), (6, 252, 1), (4, 212, 2), (6, 253, 1), (4, 214, 4), (6, 254, 8), (3, 661, 8), (4, 62, 8), (3, 669, 8), (4, 70, 8), (3, 677, 8), (4, 78, 8), (3, 685, 6), (6, 314, 1), (4, 86, 8), (4, 218, 64), (3, 691, 8), (6, 321, 4), (4, 94, 4), (3, 699, 12), (4, 98, 4), (4, 282, 2), (6, 325, 1), (4, 284, 2), (6, 326, 1), (4, 286, 8), (6, 327, 8), (4, 294, 2), (6, 364, 1), (4, 296, 2), (6, 365, 1), (4, 298, 6), (6, 366, 9), (6, 391, 8), (6, 483, 4), (6, 399, 8), (6, 487, 8), (6, 407, 8), (6, 495, 4), (6, 501, 1), (6, 499, 2), (6, 415, 8), (6, 502, 8), (6, 578, 4), (6, 665, 4), (6, 582, 8), (6, 669, 8), (6, 590, 4), (6, 677, 1), (6, 594, 8), (6, 678, 8), (6, 423, 2), (7, 0, 1), (6, 425, 4), (6, 510, 8), (7, 1, 8), (6, 429, 8), (6, 518, 8), (7, 9, 4), (6, 526, 2), (7, 13, 1), (6, 528, 2), (7, 14, 1), (6, 602, 8), (6, 686, 8), (7, 122, 2), (6, 610, 2), (7, 124, 1), (6, 694, 2), (7, 125, 1), (6, 696, 2), (7, 126, 1), (6, 612, 8), (6, 698, 8), (6, 620, 2), (7, 127, 1), (6, 622, 2), (7, 128, 1), (6, 706, 8), (6, 437, 8), (6, 530, 4), (6, 445, 8), (6, 534, 8), (6, 453, 1), (7, 235, 2), (6, 454, 3), (7, 237, 2), (6, 457, 2), (7, 239, 2), (6, 542, 2), (7, 241, 4), (6, 544, 2), (6, 459, 8), (6, 546, 8), (6, 624, 1), (7, 245, 8), (6, 625, 8), (6, 714, 5)]
def r_5020202030415_4 : List (ℕ × ℕ × ℕ) := [(7, 253, 2), (6, 719, 2), (7, 255, 16), (6, 633, 8), (6, 721, 1), (7, 271, 2), (6, 722, 2), (7, 273, 4), (6, 724, 2), (6, 467, 8), (6, 554, 8), (7, 15, 4), (6, 562, 2), (7, 19, 1), (6, 564, 2), (7, 20, 1), (6, 475, 8), (6, 566, 8), (7, 21, 4), (6, 574, 2), (7, 25, 1), (6, 576, 2), (7, 26, 1), (6, 641, 8), (6, 726, 8), (6, 649, 2), (7, 129, 1), (6, 651, 2), (7, 130, 1), (6, 734, 8), (6, 653, 8), (6, 742, 8), (6, 661, 2), (7, 131, 1), (6, 663, 2), (7, 132, 1), (6, 750, 8), (3, 711, 4), (6, 262, 2), (4, 102, 4), (6, 264, 2), (3, 715, 4), (6, 266, 2), (4, 106, 4), (6, 268, 18), (4, 304, 4), (6, 286, 6), (4, 308, 8), (6, 292, 6), (4, 316, 4), (6, 298, 16), (3, 719, 2), (6, 335, 3), (4, 110, 4), (6, 338, 2), (6, 315, 4), (4, 114, 2), (3, 721, 3), (6, 340, 8), (6, 319, 2), (7, 277, 1), (3, 724, 4), (4, 320, 4), (6, 348, 8), (4, 324, 4), (6, 375, 8), (6, 356, 8), (6, 383, 8), (7, 27, 32), (7, 133, 32), (7, 59, 16), (7, 165, 20), (7, 75, 31), (7, 185, 32), (7, 106, 16), (7, 217, 18)]
/-- chunk `5020202030415`: 3272 label-0 leaves. -/
theorem c_5020202030415 : ∀ q ∈ CKLaneG3.S.Chunk.C_5020202030415.t.leavesR [5, 1, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5], q.2 = 0 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_5020202030415.t 0 [5, 1, 4, 0, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_5020202030415_0 ++ (r_5020202030415_1 ++ (r_5020202030415_2 ++ (r_5020202030415_3 ++ (r_5020202030415_4))))) (by decide +kernel)
end CKLaneG3.S.C0.B1
end