Courtade–Kumar proof module `CKLaneG3.S.C0.B7` (transplant)
DefinitionCK_CKLaneG3_S_C0_B7Verbatim transplant of the Lean module CKLaneG3.S.C0.B7 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.B7 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_CKLaneE_SAdapt
import Definitions.Def_CK_CKLaneE_NLSB020__5
import Definitions.Def_CK_CKLaneE_NLSB025__5
import Definitions.Def_CK_CKLaneE_NLSB030__5
-- ===== source module CKLaneG3.S.C0.B7 =====
section
/-! Lane G3b: (S) owner label 0, chunk block 7 (1 chunks, 3396 label leaves; generated by G3/pipeline/g3chunk.py). -/
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneG3.S.C0.B7
open CKLaneD CKLaneG3
noncomputable def SH : List (List (List ℕ)) := [
CKLaneE.NLSB022.paths,
CKLaneE.NLSB023.paths,
CKLaneE.NLSB024.paths,
CKLaneE.NLSB025.paths,
CKLaneE.NLSB026.paths,
CKLaneE.NLSB027.paths,
CKLaneE.NLSB028.paths,
CKLaneE.NLSB029.paths,
CKLaneE.NLSB030.paths,
CKLaneE.NLSB031.paths,
CKLaneE.NLSB032.paths,
CKLaneE.NLSB033.paths
]
theorem SH_ok : ∀ S ∈ SH, ∀ x ∈ S, SLeafOK (sBox (id x)) :=
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB022.paths CKLaneE.NLSB022.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB023.paths CKLaneE.NLSB023.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB024.paths CKLaneE.NLSB024.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB025.paths CKLaneE.NLSB025.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB026.paths CKLaneE.NLSB026.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB027.paths CKLaneE.NLSB027.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB028.paths CKLaneE.NLSB028.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB029.paths CKLaneE.NLSB029.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB030.paths CKLaneE.NLSB030.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB031.paths CKLaneE.NLSB031.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB032.paths CKLaneE.NLSB032.family)
(shards_cons (CKLaneE.SAdapt.family_sLeafOK CKLaneE.NLSB033.paths CKLaneE.NLSB033.family)
shards_nil))))))))))))
def r_50202030053_0 : List (ℕ × ℕ × ℕ) := [(0, 501, 2), (3, 389, 1), (0, 581, 1), (3, 390, 1), (0, 503, 4), (0, 597, 4), (3, 391, 2), (0, 507, 1), (0, 601, 1), (0, 612, 5), (0, 508, 1), (0, 555, 2), (0, 509, 2), (0, 557, 1), (0, 648, 2), (0, 558, 10), (0, 650, 8), (0, 511, 3), (0, 568, 3), (0, 514, 1), (0, 571, 2), (0, 515, 1), (0, 573, 1), (0, 658, 2), (0, 574, 1), (1, 2, 1), (0, 690, 2), (1, 3, 3), (0, 731, 2), (1, 6, 2), (0, 692, 8), (0, 733, 8), (1, 8, 8), (0, 700, 2), (1, 16, 1), (0, 702, 1), (1, 17, 1), (0, 741, 2), (1, 18, 1), (0, 743, 2), (0, 516, 2), (0, 575, 2), (1, 19, 4), (1, 26, 1), (3, 393, 1), (1, 41, 8), (1, 60, 2), (1, 70, 1), (1, 62, 2), (1, 71, 1), (3, 394, 3), (1, 49, 2), (3, 397, 1), (1, 51, 2), (3, 398, 1), (1, 64, 1), (1, 72, 1), (3, 399, 1), (1, 65, 1), (1, 73, 1), (1, 78, 4), (3, 400, 8), (2, 87, 8), (2, 279, 8), (2, 95, 8), (2, 287, 9), (2, 103, 8), (2, 296, 8), (2, 111, 8), (2, 304, 8), (2, 455, 8), (2, 641, 8), (2, 463, 10), (2, 649, 10), (2, 473, 8), (2, 659, 8), (2, 481, 8), (2, 667, 8), (2, 119, 13), (2, 312, 14), (2, 132, 16), (2, 326, 16), (2, 148, 8), (2, 342, 8), (2, 156, 8), (2, 350, 10), (2, 489, 15), (2, 675, 16), (2, 504, 16), (2, 691, 16), (2, 520, 8), (2, 707, 9), (2, 528, 12), (2, 716, 13), (5, 723, 1), (2, 360, 2), (5, 724, 1), (2, 164, 6), (2, 362, 6), (5, 725, 2)]
def r_50202030053_1 : List (ℕ × ℕ × ℕ) := [(2, 540, 2), (5, 727, 1), (2, 729, 2), (5, 728, 1), (2, 542, 6), (2, 731, 8), (2, 170, 8), (2, 368, 8), (2, 178, 8), (2, 376, 8), (2, 186, 3), (2, 384, 4), (2, 189, 6), (5, 729, 1), (2, 388, 8), (2, 548, 8), (2, 739, 8), (2, 556, 8), (2, 747, 8), (2, 564, 4), (2, 755, 6), (2, 568, 8), (2, 761, 8), (4, 56, 8), (4, 245, 8), (4, 64, 11), (4, 253, 14), (4, 75, 8), (4, 267, 8), (4, 83, 8), (4, 275, 8), (4, 433, 8), (4, 651, 4), (4, 441, 14), (4, 611, 14), (4, 455, 8), (4, 655, 4), (4, 463, 8), (4, 625, 8), (4, 91, 16), (4, 283, 16), (4, 107, 16), (4, 299, 16), (4, 123, 10), (4, 315, 11), (4, 133, 15), (4, 326, 16), (4, 471, 16), (7, 0, 16), (4, 487, 4), (7, 16, 2), (4, 491, 1), (7, 18, 2), (4, 492, 9), (7, 20, 2), (7, 159, 2), (7, 22, 1), (7, 161, 2), (7, 23, 1), (7, 163, 4), (7, 24, 8), (4, 501, 14), (7, 32, 14), (4, 515, 16), (7, 46, 16), (4, 150, 2), (9, 713, 1), (4, 344, 4), (9, 714, 1), (4, 152, 8), (4, 348, 8), (4, 541, 4), (9, 715, 1), (4, 659, 2), (4, 545, 8), (4, 633, 8), (4, 553, 2), (4, 641, 2), (4, 160, 8), (4, 356, 8), (4, 168, 8), (4, 364, 8), (4, 176, 6), (4, 372, 6), (4, 182, 8), (4, 378, 8), (4, 555, 8), (7, 126, 8), (4, 563, 10), (7, 134, 11), (4, 573, 6), (7, 145, 6), (4, 579, 8), (7, 151, 8), (6, 0, 16), (6, 160, 16), (6, 16, 16), (6, 176, 16), (6, 32, 12), (6, 192, 12)]
def r_50202030053_2 : List (ℕ × ℕ × ℕ) := [(6, 44, 12), (6, 204, 12), (6, 314, 16), (6, 475, 6), (6, 631, 2), (6, 481, 9), (6, 330, 2), (6, 633, 2), (6, 332, 1), (6, 635, 2), (6, 333, 1), (6, 637, 2), (6, 334, 9), (6, 639, 2), (6, 490, 1), (6, 641, 2), (6, 491, 1), (6, 643, 2), (6, 492, 1), (6, 645, 4), (6, 493, 8), (6, 343, 15), (6, 501, 16), (6, 358, 16), (6, 517, 16), (6, 56, 16), (6, 216, 2), (6, 741, 2), (6, 218, 1), (6, 743, 2), (6, 219, 1), (6, 745, 2), (6, 220, 9), (6, 72, 16), (6, 747, 2), (6, 229, 1), (6, 749, 2), (6, 230, 1), (6, 751, 2), (6, 231, 1), (6, 753, 2), (6, 232, 9), (6, 88, 12), (6, 241, 12), (6, 100, 12), (6, 253, 12), (7, 287, 2), (6, 374, 1), (7, 289, 2), (6, 375, 1), (7, 291, 2), (6, 376, 1), (7, 293, 4), (6, 377, 8), (7, 297, 16), (6, 533, 8), (7, 313, 2), (6, 385, 1), (7, 315, 12), (6, 386, 8), (7, 327, 16), (6, 541, 2), (7, 343, 2), (6, 543, 3), (7, 345, 2), (6, 546, 1), (6, 394, 16), (6, 547, 16), (6, 410, 15), (6, 563, 16), (6, 112, 8), (6, 265, 8), (6, 120, 8), (6, 273, 8), (6, 128, 4), (7, 381, 2), (6, 281, 6), (7, 383, 1), (6, 132, 4), (7, 384, 2), (6, 287, 4), (7, 386, 2), (6, 425, 8), (6, 579, 8), (6, 433, 8), (6, 587, 8), (6, 441, 8), (6, 595, 8), (6, 449, 4), (7, 388, 2), (6, 603, 6), (7, 390, 1), (6, 136, 8), (6, 291, 8), (6, 144, 6), (7, 437, 1), (6, 299, 8), (7, 438, 4), (6, 307, 2), (7, 442, 11)]
def r_50202030053_3 : List (ℕ × ℕ × ℕ) := [(6, 453, 8), (6, 609, 8), (6, 461, 8), (6, 617, 8), (6, 469, 4), (7, 453, 2), (6, 625, 4), (7, 455, 6), (6, 629, 2), (7, 461, 3), (7, 566, 2), (8, 266, 2), (7, 568, 1), (8, 268, 2), (7, 569, 1), (8, 270, 2), (7, 570, 9), (8, 272, 2), (8, 91, 1), (8, 274, 2), (8, 92, 1), (8, 276, 8), (8, 93, 8), (8, 284, 16), (7, 579, 8), (9, 0, 16), (8, 101, 2), (9, 16, 2), (8, 103, 1), (9, 18, 2), (8, 104, 1), (9, 20, 2), (8, 105, 1), (7, 587, 16), (8, 106, 16), (7, 603, 16), (8, 122, 16), (9, 27, 16), (8, 353, 2), (8, 439, 2), (8, 355, 2), (9, 43, 2), (8, 441, 1), (9, 128, 16), (8, 524, 2), (8, 614, 2), (9, 144, 2), (8, 526, 1), (9, 146, 2), (8, 616, 1), (9, 45, 13), (9, 227, 1), (9, 312, 1), (9, 58, 4), (8, 357, 1), (9, 62, 2), (8, 442, 1), (9, 64, 2), (8, 358, 1), (9, 66, 4), (9, 148, 5), (9, 399, 1), (9, 491, 1), (9, 153, 2), (9, 538, 1), (9, 626, 1), (9, 539, 1), (9, 627, 1), (9, 155, 2), (9, 400, 1), (9, 492, 1), (9, 401, 1), (9, 493, 1), (9, 157, 18), (8, 359, 2), (8, 443, 2), (8, 361, 2), (8, 445, 2), (8, 363, 2), (8, 447, 2), (8, 365, 2), (8, 449, 2), (8, 527, 2), (8, 617, 2), (8, 529, 2), (8, 619, 2), (8, 531, 2), (8, 621, 2), (8, 533, 2), (8, 623, 2), (8, 367, 2), (8, 451, 2), (8, 369, 2), (8, 453, 2), (8, 371, 2), (8, 455, 2), (8, 373, 2), (8, 457, 2), (8, 535, 2), (8, 625, 2)]
def r_50202030053_4 : List (ℕ × ℕ × ℕ) := [(8, 537, 2), (8, 627, 2), (8, 539, 2), (8, 629, 2), (8, 541, 2), (8, 631, 2), (8, 726, 16), (7, 619, 2), (8, 742, 2), (7, 621, 1), (8, 744, 2), (7, 622, 1), (8, 746, 2), (7, 623, 1), (9, 716, 9), (10, 0, 2), (9, 725, 2), (10, 216, 1), (10, 325, 1), (10, 217, 1), (10, 326, 1), (9, 727, 4), (8, 150, 1), (9, 731, 2), (8, 151, 1), (9, 733, 2), (8, 152, 1), (9, 735, 4), (8, 748, 12), (10, 430, 4), (8, 760, 4), (7, 624, 1), (8, 764, 2), (7, 625, 1), (8, 766, 2), (7, 626, 1), (8, 768, 2), (7, 627, 1), (10, 2, 4), (9, 739, 2), (10, 218, 1), (10, 327, 1), (10, 219, 1), (10, 328, 1), (9, 741, 2), (10, 6, 4), (9, 743, 2), (10, 220, 1), (10, 329, 1), (10, 221, 1), (10, 330, 1), (9, 745, 18), (7, 628, 16), (8, 153, 16), (7, 644, 16), (8, 169, 16), (10, 633, 1), (10, 724, 1), (10, 634, 1), (10, 725, 1), (9, 70, 2), (9, 228, 1), (9, 313, 1), (9, 229, 1), (9, 314, 1), (9, 72, 2), (10, 635, 1), (10, 726, 1), (10, 636, 1), (10, 727, 1), (9, 74, 2), (9, 230, 1), (9, 315, 1), (9, 231, 1), (9, 316, 1), (9, 76, 1), (9, 232, 1), (9, 317, 1), (9, 77, 16), (9, 540, 1), (9, 628, 1), (9, 541, 1), (9, 629, 1), (9, 175, 2), (9, 402, 1), (11, 0, 1), (9, 403, 1), (11, 1, 1), (9, 404, 1), (11, 2, 1), (9, 405, 1), (11, 3, 1), (9, 542, 1), (9, 630, 1), (9, 543, 1), (9, 631, 1), (9, 544, 1), (9, 632, 1), (9, 545, 1), (9, 633, 1)]
def r_50202030053_5 : List (ℕ × ℕ × ℕ) := [(9, 406, 1), (11, 4, 1), (9, 407, 1), (11, 5, 1), (9, 408, 1), (11, 6, 1), (9, 409, 1), (11, 7, 1), (9, 177, 16), (10, 637, 1), (10, 728, 1), (10, 638, 1), (10, 729, 1), (9, 97, 2), (9, 233, 1), (9, 318, 1), (9, 234, 1), (9, 319, 1), (9, 235, 1), (9, 320, 1), (9, 236, 1), (9, 321, 1), (10, 639, 1), (10, 730, 1), (10, 640, 1), (10, 731, 1), (10, 641, 1), (10, 732, 1), (10, 642, 1), (10, 733, 1), (9, 237, 1), (9, 322, 1), (9, 238, 1), (9, 323, 1), (9, 239, 1), (9, 324, 1), (9, 240, 1), (9, 325, 1), (9, 99, 16), (9, 546, 1), (9, 634, 1), (9, 547, 1), (9, 635, 1), (9, 548, 1), (9, 636, 1), (9, 549, 1), (9, 637, 1), (9, 410, 1), (11, 8, 1), (9, 411, 1), (11, 9, 1), (9, 412, 1), (11, 10, 1), (9, 413, 1), (11, 11, 1), (9, 550, 1), (9, 638, 1), (9, 551, 1), (9, 639, 1), (9, 552, 1), (9, 640, 1), (9, 553, 1), (9, 641, 1), (9, 414, 1), (11, 12, 1), (9, 415, 1), (11, 13, 1), (9, 416, 1), (11, 14, 1), (9, 417, 1), (11, 15, 1), (9, 207, 12), (9, 418, 1), (11, 16, 1), (9, 419, 1), (11, 17, 1), (9, 219, 2), (8, 414, 2), (8, 498, 2), (8, 416, 2), (8, 500, 2), (8, 418, 2), (8, 502, 2), (8, 420, 2), (8, 504, 2), (8, 588, 2), (9, 193, 2), (8, 680, 1), (9, 195, 2), (8, 590, 1), (9, 197, 2), (8, 681, 1), (8, 591, 2), (8, 682, 2), (8, 593, 2), (8, 684, 2), (8, 422, 2), (9, 93, 2), (8, 506, 1), (8, 424, 2)]
def r_50202030053_6 : List (ℕ × ℕ × ℕ) := [(9, 95, 2), (8, 507, 1), (8, 426, 2), (8, 508, 2), (8, 428, 2), (8, 510, 2), (9, 199, 2), (8, 595, 1), (9, 201, 2), (8, 686, 1), (9, 203, 2), (8, 596, 1), (9, 205, 2), (8, 687, 1), (8, 597, 2), (8, 688, 2), (8, 599, 2), (8, 690, 2), (7, 660, 9), (8, 185, 11), (7, 669, 10), (8, 196, 12), (7, 679, 8), (8, 208, 8), (7, 687, 8), (8, 216, 8), (8, 375, 2), (8, 459, 2), (8, 377, 2), (8, 461, 2), (8, 379, 1), (8, 463, 1), (8, 380, 1), (8, 464, 1), (8, 543, 2), (8, 633, 2), (8, 545, 2), (8, 635, 2), (8, 547, 1), (8, 637, 1), (8, 548, 1), (8, 638, 2), (8, 381, 2), (8, 465, 2), (8, 383, 2), (8, 467, 2), (8, 385, 1), (8, 469, 1), (8, 386, 1), (8, 470, 1), (8, 549, 2), (8, 640, 2), (8, 551, 2), (8, 642, 2), (8, 553, 2), (8, 644, 2), (8, 555, 2), (8, 646, 2), (8, 387, 1), (8, 471, 1), (8, 388, 1), (8, 472, 1), (8, 389, 1), (8, 473, 1), (8, 390, 1), (8, 474, 1), (8, 557, 1), (8, 648, 1), (8, 558, 1), (8, 649, 1), (8, 559, 1), (8, 650, 1), (8, 560, 1), (8, 651, 1), (8, 391, 1), (8, 475, 1), (8, 392, 1), (8, 476, 1), (8, 393, 1), (8, 477, 1), (8, 394, 1), (8, 478, 1), (8, 561, 1), (8, 652, 1), (8, 562, 1), (8, 653, 1), (8, 563, 1), (8, 654, 1), (8, 564, 1), (8, 655, 1), (7, 695, 10), (8, 224, 12), (7, 705, 9), (8, 236, 12), (7, 714, 4), (8, 75, 2), (8, 248, 8), (7, 718, 4), (8, 77, 2), (8, 256, 4)]
def r_50202030053_7 : List (ℕ × ℕ × ℕ) := [(8, 79, 2), (8, 395, 2), (8, 479, 2), (8, 397, 2), (8, 481, 2), (8, 399, 1), (8, 483, 1), (8, 400, 1), (8, 484, 1), (8, 565, 2), (8, 656, 2), (8, 567, 2), (8, 658, 2), (8, 569, 2), (8, 660, 2), (8, 571, 2), (8, 662, 2), (8, 401, 2), (8, 485, 2), (8, 403, 2), (8, 487, 2), (8, 405, 1), (8, 489, 1), (8, 406, 1), (8, 490, 1), (8, 573, 2), (8, 664, 2), (8, 575, 2), (8, 666, 2), (8, 577, 2), (8, 668, 2), (8, 579, 1), (8, 670, 2), (8, 407, 1), (8, 491, 1), (8, 408, 1), (8, 492, 1), (8, 409, 1), (8, 493, 1), (8, 410, 1), (8, 494, 1), (8, 580, 1), (8, 672, 1), (8, 581, 1), (8, 673, 1), (8, 582, 1), (8, 674, 1), (8, 583, 1), (8, 675, 1), (8, 411, 1), (8, 495, 1), (8, 412, 1), (8, 496, 1), (8, 413, 1), (8, 497, 1), (8, 790, 1), (8, 584, 1), (8, 676, 1), (8, 585, 1), (8, 677, 1), (8, 586, 1), (8, 678, 1), (8, 587, 1), (8, 679, 1), (5, 730, 14), (7, 216, 9), (4, 148, 2), (4, 686, 2), (4, 342, 2), (5, 57, 1), (4, 688, 1), (5, 58, 1), (4, 531, 3), (7, 62, 4), (7, 225, 2), (7, 391, 18), (7, 476, 1), (7, 409, 2), (7, 477, 5), (7, 411, 24), (7, 482, 2), (7, 435, 2), (7, 484, 1), (7, 464, 2), (7, 485, 1), (7, 466, 2), (7, 486, 13), (7, 468, 2), (7, 499, 1), (7, 470, 4), (7, 500, 2), (7, 474, 2), (7, 502, 64), (8, 0, 3), (8, 81, 4), (8, 3, 6), (8, 260, 4), (8, 9, 10), (8, 85, 1), (8, 264, 2)]
def r_50202030053_8 : List (ℕ × ℕ × ℕ) := [(8, 19, 1), (8, 350, 1), (8, 436, 1), (8, 351, 1), (8, 437, 1), (8, 20, 2), (8, 519, 1), (8, 609, 1), (8, 520, 1), (8, 610, 1), (8, 521, 1), (8, 611, 1), (8, 22, 1), (8, 352, 1), (8, 438, 1), (8, 700, 3), (8, 522, 1), (8, 612, 1), (8, 523, 1), (8, 613, 1), (8, 703, 2), (8, 23, 8), (8, 705, 8), (8, 31, 10), (8, 86, 1), (8, 41, 2), (8, 713, 1), (8, 87, 2), (8, 714, 2), (8, 89, 2), (8, 716, 2), (8, 772, 16), (8, 43, 2), (8, 788, 2), (8, 45, 5), (8, 138, 3), (8, 50, 2), (8, 141, 1), (8, 52, 7), (8, 142, 2), (8, 718, 2), (8, 144, 2), (8, 720, 2), (8, 146, 2), (8, 722, 2), (8, 148, 2), (8, 724, 2), (8, 59, 16)]
/-- chunk `50202030053`: 3396 label-0 leaves. -/
theorem c_50202030053 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202030053.t.leavesR [3, 5, 0, 0, 3, 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_50202030053.t 0 [3, 5, 0, 0, 3, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202030053_0 ++ (r_50202030053_1 ++ (r_50202030053_2 ++ (r_50202030053_3 ++ (r_50202030053_4 ++ (r_50202030053_5 ++ (r_50202030053_6 ++ (r_50202030053_7 ++ (r_50202030053_8))))))))) (by decide +kernel)
end CKLaneG3.S.C0.B7
end