Courtade–Kumar proof module `CKLaneG3.S.C0.B2` (transplant)
DefinitionCK_CKLaneG3_S_C0_B2Verbatim transplant of the Lean module CKLaneG3.S.C0.B2 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.B2 from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneG3_S_C0_B2_q01
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneG3.S.C0.B2
open CKLaneD CKLaneG3
/-- chunk `50202020314`: 3248 label-0 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 = 0 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_50202020314.t 0 [4, 1, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202020314_0 ++ (r_50202020314_1 ++ (r_50202020314_2 ++ (r_50202020314_3 ++ (r_50202020314_4 ++ (r_50202020314_5 ++ (r_50202020314_6 ++ (r_50202020314_7 ++ (r_50202020314_8))))))))) (by decide +kernel)
def r_50202020315_0 : List (ℕ × ℕ × ℕ) := [(9, 91, 1), (9, 134, 1), (9, 92, 1), (9, 135, 1), (9, 93, 1), (9, 136, 1), (9, 94, 1), (9, 137, 1), (9, 242, 1), (9, 284, 2), (9, 243, 1), (9, 286, 1), (9, 244, 1), (9, 287, 1), (9, 245, 1), (9, 288, 1), (9, 95, 1), (9, 138, 1), (12, 591, 3), (9, 246, 1), (9, 289, 1), (9, 247, 1), (9, 290, 1), (12, 594, 4), (12, 241, 1), (9, 248, 1), (9, 291, 1), (12, 598, 3), (12, 242, 4), (10, 225, 2), (10, 264, 2), (10, 227, 1), (10, 266, 1), (10, 228, 1), (10, 267, 1), (10, 229, 1), (10, 268, 1), (11, 50, 2), (11, 90, 2), (11, 52, 2), (11, 92, 2), (11, 54, 1), (11, 94, 2), (11, 55, 1), (11, 96, 1), (10, 230, 1), (10, 269, 1), (10, 231, 1), (10, 270, 1), (12, 601, 2), (11, 56, 1), (11, 97, 1), (11, 57, 1), (11, 98, 1), (11, 58, 1), (11, 99, 1), (12, 603, 1), (10, 232, 1), (10, 271, 1), (12, 604, 3), (11, 59, 1), (11, 100, 1), (12, 607, 5), (13, 0, 1), (12, 612, 2), (13, 1, 1), (12, 230, 2), (12, 246, 1), (12, 232, 2), (12, 247, 11), (12, 234, 2), (13, 2, 1), (11, 60, 1), (11, 101, 1), (12, 236, 3), (13, 3, 2), (9, 391, 2), (13, 5, 7), (12, 258, 12), (13, 26, 1), (13, 12, 12), (13, 27, 4), (13, 24, 2), (12, 239, 1), (13, 31, 1), (13, 34, 14), (13, 65, 2), (13, 83, 2), (13, 67, 2), (13, 85, 2), (13, 69, 2), (13, 87, 2), (13, 71, 1), (13, 89, 2), (13, 48, 7), (13, 102, 1), (13, 72, 2), (13, 91, 2), (13, 74, 1), (13, 93, 1)]
def r_50202020315_1 : List (ℕ × ℕ × ℕ) := [(13, 75, 1), (13, 94, 1), (13, 76, 1), (13, 95, 1), (13, 55, 4), (13, 103, 2), (13, 77, 1), (13, 96, 1), (13, 78, 1), (13, 97, 1), (13, 79, 1), (13, 98, 1), (13, 105, 3), (13, 124, 1), (13, 108, 2), (13, 141, 1), (13, 148, 16), (13, 212, 2), (13, 277, 2), (13, 214, 13), (13, 164, 12), (13, 227, 14), (13, 176, 8), (13, 293, 1), (13, 241, 10), (13, 184, 2), (13, 294, 3), (13, 251, 2), (13, 297, 3), (13, 330, 5), (11, 144, 4), (13, 335, 4), (13, 125, 1), (13, 339, 2), (13, 357, 1), (13, 126, 2), (13, 358, 2), (13, 128, 2), (13, 360, 2), (13, 368, 4), (13, 383, 2), (13, 372, 7), (13, 385, 3), (13, 419, 1), (13, 434, 2), (13, 388, 5), (13, 420, 1), (13, 393, 2), (13, 436, 1), (13, 421, 2), (13, 437, 2), (13, 110, 2), (13, 130, 1), (13, 112, 2), (13, 142, 1), (13, 131, 2), (13, 143, 2), (13, 133, 2), (13, 145, 2), (13, 135, 1), (13, 147, 1), (13, 300, 2), (13, 423, 1), (13, 302, 2), (13, 439, 1), (13, 424, 2), (13, 440, 2), (13, 426, 2), (13, 442, 2), (13, 428, 2), (13, 444, 2), (13, 136, 1), (13, 362, 2), (13, 450, 1), (13, 32, 1), (13, 430, 2), (13, 446, 2), (13, 451, 1), (13, 33, 1), (11, 18, 2), (14, 83, 1), (14, 87, 1), (11, 325, 6), (10, 438, 1), (14, 84, 1), (14, 88, 2), (10, 535, 2), (14, 90, 5), (12, 86, 9), (14, 85, 1), (12, 103, 2), (11, 560, 2), (12, 105, 8), (14, 86, 1), (12, 95, 2), (12, 218, 1), (14, 96, 1), (12, 113, 2), (12, 219, 1), (14, 97, 5)]
def r_50202020315_2 : List (ℕ × ℕ × ℕ) := [(14, 95, 1)]
/-- chunk `50202020315`: 473 label-0 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 = 0 → SLeafOK (sBox q.1) :=
sub_family_of_slices (Q := fun p => SLeafOK (sBox p)) CKLaneG3.S.Chunk.C_50202020315.t 0 [5, 1, 3, 0, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202020315_0 ++ (r_50202020315_1 ++ (r_50202020315_2))) (by decide +kernel)
def r_50202021_0 : List (ℕ × ℕ × ℕ) := [(0, 30, 2), (0, 34, 2), (8, 174, 1), (0, 47, 3), (0, 38, 2), (0, 50, 6), (0, 63, 1), (0, 56, 2), (0, 64, 1), (0, 71, 1), (8, 175, 3), (0, 65, 1), (0, 72, 1), (8, 178, 5), (0, 74, 1), (8, 183, 4), (0, 80, 1), (0, 82, 2), (8, 187, 6), (0, 88, 1), (8, 193, 2), (0, 89, 1), (8, 198, 2), (0, 90, 2), (8, 200, 2), (8, 204, 4), (8, 202, 2), (8, 208, 13), (0, 92, 5), (8, 221, 10), (0, 97, 6), (8, 243, 1), (8, 245, 4), (8, 231, 6), (0, 103, 2), (8, 244, 1), (8, 237, 2), (8, 249, 3), (8, 254, 6), (8, 279, 1), (8, 260, 6), (8, 280, 4), (8, 314, 2), (8, 284, 3), (8, 316, 11), (8, 287, 1), (8, 327, 4), (8, 288, 3), (8, 266, 2), (8, 291, 11), (8, 348, 2), (8, 331, 6), (8, 268, 1), (8, 337, 7), (8, 269, 3), (8, 344, 2), (8, 272, 3), (8, 302, 3), (8, 346, 2), (8, 305, 7), (8, 365, 11), (8, 350, 1), (8, 376, 2), (8, 482, 2), (8, 494, 2), (8, 484, 4), (8, 351, 6), (8, 496, 1), (8, 488, 4), (8, 503, 1), (8, 509, 1), (8, 504, 1), (8, 492, 2), (8, 505, 1), (8, 510, 1), (0, 105, 2), (8, 195, 1), (8, 514, 1), (8, 239, 4), (8, 196, 2), (8, 515, 2), (8, 252, 2), (8, 517, 1), (8, 357, 6), (8, 520, 1), (8, 275, 4), (8, 506, 1), (8, 511, 1), (8, 507, 1), (8, 512, 1), (8, 521, 1), (8, 363, 2), (8, 522, 1), (8, 312, 2), (8, 523, 1), (8, 497, 3), (8, 508, 1), (8, 513, 1), (8, 500, 3), (8, 524, 1)]
def r_50202021_1 : List (ℕ × ℕ × ℕ) := [(8, 531, 1), (0, 117, 3), (0, 136, 2), (0, 120, 3), (0, 139, 1), (0, 123, 2), (0, 140, 1), (0, 146, 2), (0, 141, 2), (0, 155, 5), (8, 541, 1), (0, 163, 4), (8, 542, 3), (0, 167, 2), (8, 545, 3), (0, 160, 2), (8, 550, 3), (0, 169, 6), (8, 554, 1), (8, 528, 1), (8, 555, 2), (0, 143, 2), (8, 557, 1), (8, 529, 1), (8, 548, 2), (8, 558, 1), (8, 530, 1), (8, 553, 1), (8, 559, 1), (8, 518, 2), (8, 535, 2), (8, 525, 2), (8, 532, 2), (8, 527, 1), (8, 534, 1), (8, 538, 1), (8, 537, 1), (8, 539, 2), (0, 183, 1), (0, 196, 1), (9, 0, 1), (0, 188, 2), (0, 203, 5), (0, 218, 1), (9, 2, 1), (0, 219, 1), (0, 208, 1), (0, 222, 1), (9, 1, 1), (0, 209, 1), (0, 223, 2), (0, 220, 1), (9, 3, 1), (0, 210, 3), (9, 4, 2)]
/-- chunk `50202021`: 390 label-0 leaves. -/
theorem c_50202021 : ∀ q ∈ CKLaneG3.S.Chunk.C_50202021.t.leavesR [1, 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_50202021.t 0 [1, 2, 0, 2, 0, 2, 0, 5] SH id SH_ok
(r_50202021_0 ++ (r_50202021_1)) (by decide +kernel)
end CKLaneG3.S.C0.B2