Courtade–Kumar proof module `CKLaneC.RST2.U_0288 (+1 modules: CKLaneC.RST2.U_0289)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0288__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0288 (+1 modules: CKLaneC.RST2.U_0289) 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 CKLaneC.RST2.U_0288 (+1 modules: CKLaneC.RST2.U_0289) from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneR2_Tail_Leaf
import Definitions.Def_CK_CKLaneC_RSTail_Bridge
-- ===== source module CKLaneC.RST2.U_0288 =====
section
/-! RA-stat u-tail cover batch U_0288 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0288
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 176504337485529088, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[533700709833044273]], [[10248950105982655, 533056410927303455], [(-19086790497298274)]], [[(-1566451500811095), 10211839656204654, (-965072664126422)], [(-435756692831119), (-19017679088534587)], [691386408583308]], [[147430888456771, (-1561491799349166), (-55533626481164), (-319401576087110)], [61652887254855, (-431525927639321), 103421197609540], [18309469414080, 686412665415914], [(-25658801412893)]], [[(-8615584709592), 147110232084627, 7424438627246, (-18291600457481), 1710847466362], [(-5121561277561), 61110158315558, 6321654402843, 34064752211876], [(-2432907053700), 17986943547729, (-7434127481621)], [(-772577704736), (-25357543799197)], [983727427394]]], r0 := 4503599627370496, V1 := [[[4117355220023148783]], [[73581962038980541, 0], [(-137032913546759602)]], [[(-11391433612248731), 0, 0], [(-2587859701314752), 0], [4460362414447112]], [[1102291722570896, 0, 0, 0], [375436787956931, 0, 0], [83126191066700, 0], [(-144172283134342)]], [[(-69164116616129), 0, 0, 0, 0], [(-33532150482288), 0, 0, 0], [(-11407808562309), 0, 0], [(-2471216590920), 0], [4712197737220]]], r1 := 4503599627370496, V2 := [[[18284409643793272766]], [[2145154874850387, 226696471178008], [32744032712644294]], [[(-335832419177645), (-1247162896393), (-296206039997)], [(-466081265641975), (-93685153511339)], [(-3311811249404329)]], [[34667678127578, 135749354339, (-689726601), 376935055], [71978093217690, 562825152291, 184545568828], [51544790584354, 19455785735000], [225667441938237]], [[(-2657735795867), (-3963434436), 245608554, 3850554, (-472677)], [(-7303387862010), (-61738021576), 369501214, (-313584043)], [(-7829543869951), (-127783654296), (-57709134061)], [(-3899058601274), (-2713719170309)], [(-11857285894042)]]], r2 := 1125899906842624, Vm := [[[18286186661493261190]], [[2141498395888022, 0], [32005610064553772]], [[(-335499614469541), 0, 0], [(-464335846136038), 0], [(-3157748643375964)]], [[34686174717134, 0, 0, 0], [71812837174231, 0, 0], [51125044013530, 0], [204116917328025]], [[(-2667655526878), 0, 0, 0, 0], [(-7309726601955), 0, 0, 0], [(-7788554410637), 0, 0], [(-3831200082595), 0], [(-9578733253366)]]], rm := 70368744177664, rhoP := [[[18790484654567753754]], [[1260943075538947, (-49977629209516218)], [(-72287029897108965)]], [[(-440451056159436), (-187907477185671), 126718789115034], [(-202865624106215), 10692489491690517], [7752110784149221]], [[57777369779072, 65176132395582, 1142588379304, (-315551201431)], [90596199077700, 31980348805779, (-53617407234359)], [13589986386941, (-1184910854131956)], [(-574426849274673)]], [[(-5332180607856), (-8536233204893), (-330497437602), (-4712416237), 778229022], [(-12262100763641), (-13881545670852), (-447891018056), 199399121966], [(-9511688283858), (-2515535096025), 11498006894148], [(-299396995749), 93149203414588], [33979288500164]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 144115188075855872 216172782113783808 0 4611686018427387904 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 144115188075855872 216172782113783808 0 4611686018427387904 288230376151711744 576460752303423488 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 249614827889754112, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[568238844414191297]], [[11045756408558319, 567461223442813837], [(-15350774343285617)]], [[(-1678669364111743), 11000419994031422, (-1164549366397875)], [(-357843321047371), (-15287768330551457)], [421843632071189]], [[156676964239370, (-1672660136218494), (-67821763325790), (-385051751007621)], [50168003912284, (-353926589999852), 94254892636526], [11481179963675, 418411167767046], [(-11945692489336)]], [[(-9014826583374), 156295901412677, 8993156516089, (-22303231131806), 2339013969542], [(-4099862681110), 49670861612621, 5849425914025, 30995782956538], [(-1508626586323), 11254493951701, (-5127991565152)], [(-371247318407), (-11787892090654)], [351070986587]]], r0 := 1125899906842624, V1 := [[[4363651475638248668]], [[78228640605101450, 0], [(-108717788505679925)]], [[(-12063485311401123), 0, 0], [(-2048601824753794), 0], [2650076438385803]], [[1162119514813608, 0, 0, 0], [295390878355326, 0, 0], [48636611615337, 0], [(-64387984267770)]], [[(-72550430480832), 0, 0, 0, 0], [(-26212081994673), 0, 0, 0], [(-6622183730842), 0, 0], [(-1062194818142), 0], [1590545268360]]], r1 := 1125899906842624, V2 := [[[18218048155228434430]], [[3106377902995894, 457945801183134], [32715507573086606]], [[(-483773209670254), (-2688659330522), (-855239781806)], [(-481446040577366), (-134584334544373)], [(-2354616223428262)]], [[49612036401803, 294156101724, (-1689945988), 1553077464], [73868856566143, 863467316358, 379125463469], [38116234662954, 19917359489803], [115047923479625]], [[(-3771623966785), (-9115427987), 676859948, 15362190, (-2776337)], [(-7431191907028), (-94985439603), 621393839, (-919402884)], [(-5742413926497), (-139575758836), (-84472607124)], [(-2075935822150), (-1985863304024)], [(-4404159144014)]]], r2 := 281474976710656, Vm := [[[18221650849190787752]], [[3098132605793404, 0], [31651798420094702]], [[(-483000036847718), 0, 0], [(-478640829850615), 0], [(-2196727995875466)]], [[49644772423369, 0, 0, 0], [73597097279077, 0, 0], [37635065125982, 0], [99306780338520]], [[(-3792041960220), 0, 0, 0, 0], [(-7438826946426), 0, 0, 0], [(-5694655078872), 0, 0], [(-2020405467195), 0], [(-3214854312307)]]], rm := 17592186044416, rhoP := [[[18938705687834212485]], [[1645789127654615, (-72062670563289025)], [(-73879866382048817)]], [[(-625515800148292), (-250055086257014), 260971046417756], [(-177679866663074), 11088131500839912], [5699357372560139]], [[83036181239683, 93947055497737, 2224212145937, (-927552722333)], [91964723678364, 29445083418700, (-79108563552812)], [7242762788192, (-895205340311711)], [(-307730722306539)]], [[(-7701464664047), (-12443519202660), (-679885874263), (-13251390595), 3263791989], [(-12649471910108), (-14503596037215), (-618610113161), 419342819979], [(-6984729811035), (-1582633598583), 12215978146463], [4485271968, 52312253945865], [13530762018333]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 216172782113783808 288230376151711744 0 4611686018427387904 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 216172782113783808 288230376151711744 0 4611686018427387904 288230376151711744 576460752303423488 (by decide +kernel)))
theorem region : TailPosI 144115188075855872 288230376151711744 0 4611686018427387904 288230376151711744 576460752303423488 :=
(TailPosI.split_b 216172782113783808 leaf_0 leaf_1)
end CKLaneC.RST2.U_0288
end
-- ===== source module CKLaneC.RST2.U_0289 =====
section
/-! RA-stat u-tail cover batch U_0289 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0289
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 176504337485529088, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[506240900551199609]], [[18389335770157284, 505691005410809811], [(-17949529591395572)]], [[(-2643268215220985), 18329422179712053, (-823786246787352)], [(-744045093928649), (-17891048916614014)], [644559650339531]], [[217395284546490, (-2636831601631050), (-89678560128651), (-272837069508822)], [96608021574785, (-737374365846278), 87533774403922], [30068718711157, 640387125032369], [(-23713787590760)]], [[(-8283013015566), 217286065649976, 9641276633699, (-29573761033316), 1314518584614], [(-6583641232263), 95935874768989, 9971138805426, 28866463989296], [(-3564462545283), 29571302569734, (-6238793538726)], [(-1230379014240), (-23463233831638)], [901529179059]]], r0 := 4503599627370496, V1 := [[[3919177404078082775]], [[133399185093071174, 0], [(-130208760676495789)]], [[(-19627078971965644), 0, 0], [(-4514284665810265), 0], [4244730825916003]], [[1703609174637377, 0, 0, 0], [620616570474708, 0, 0], [140780270649742, 0], [(-137848699376483)]], [[(-78591165052972), 0, 0, 0, 0], [(-50003220816749), 0, 0, 0], [(-18385346556766), 0, 0], [(-4086666177193), 0], [4538926685762]]], r1 := 18014398509481984, V2 := [[[18278585173303267405]], [[3962353227818762, 229679193723622], [34003422833338636]], [[(-616405669187148), (-1772037570239), (-293428372211)], [(-853209914216797), (-95035129857676)], [(-3450279324433991)]], [[63322440989415, 109563276670, (-2448279592), 365039295], [130632330409194, 805261472587, 182959940751], [93333560366792, 19762927956074], [236067521679154]], [[(-4850331925785), 18865005275, 730584909, 8945527, (-447466)], [(-13148844495327), (-52422576278), 1438070617, (-303856177)], [(-14005877105439), (-183765517498), (-57260033554)], [(-6965923678480), (-2760569946294)], [(-12464595460807)]]], r2 := 1125899906842624, Vm := [[[18280370314867485937]], [[3958073021158760, 0], [33261067489925287]], [[(-616597653015993), 0, 0], [(-851088078974677), 0], [(-3295259987311272)]], [[63526193700799, 0, 0, 0], [130681244362640, 0, 0], [92807391203586, 0], [214360916722485]], [[(-4894992216778), 0, 0, 0, 0], [(-13234050356246), 0, 0, 0], [(-14008896842668), 0, 0], [(-6878790478385), 0], [(-10166817253931)]]], rm := 281474976710656, rhoP := [[[18785770987735216028]], [[3858861757356273, (-49277700537181180)], [(-71424805361565046)]], [[(-940609096421531), (-572023917473161), 122821509751534], [(-743489919631799), 10558705950696810], [7676203550570237]], [[119063850077307, 138968291218395, 3044988489454, (-300230790423)], [197243309889111, 114651903719355, (-52037739347162)], [71248016704043, (-1171942131498915)], [(-570178797047218)]], [[(-10911538680867), (-17541701870238), (-672888454263), (-11631106352), 726267468], [(-25469972372388), (-30110059651953), (-1254756986587), 189941321421], [(-21248078042500), (-11904714679313), 11174731858580], [(-4614258830385), 92256721398919], [33807817253374]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 144115188075855872 216172782113783808 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 144115188075855872 216172782113783808 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 249614827889754112, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[538702636777919388]], [[19745941115363771, 538040056201340041], [(-14419660062295851)]], [[(-2818296342704985), 19673097265275512, (-992429506561065)], [(-607515435853538), (-14366465152528585)], [392583033772723]], [[229165448693446, (-2810568085735439), (-109001700381900), (-328411320761225)], [77887499158307, (-601376750177693), 79599521569334], [18727258230037, 389711670221634], [(-11014414718041)]], [[(-8464809775014), 229049276225928, 11574042527106, (-35894737108690), 1792335852612], [(-5167614569381), 77279362585293, 9171645854869, 26212470912821], [(-2182524713033), 18380098120429, (-4291477242173)], [(-587061296755), (-10883622852718)], [320834452281]]], r0 := 1125899906842624, V1 := [[[4153231734077481833]], [[141491536233521620, 0], [(-103325531169133608)]], [[(-20736562796561814), 0, 0], [(-3561939758853202), 0], [2524175927981064]], [[1792865258814409, 0, 0, 0], [487046155976160, 0, 0], [82071644600183, 0], [(-61675852322571)]], [[(-82539886549123), 0, 0, 0, 0], [(-39128334517902), 0, 0, 0], [(-10661489856457), 0, 0], [(-1750406174505), 0], [1536420939778]]], r1 := 4503599627370496, V2 := [[[18209629506136045720]], [[5718016406147272, 464388743721231], [34013418826493424]], [[(-884110426105066), (-3838444887423), (-847941545643)], [(-877544731519775), (-136658053322721)], [(-2456713264566910)]], [[90119209775903, 246106456133, (-6636962577), 1505226503], [133302851490162, 1239346466117, 376194056195], [68640436881563, 20252946957218], [120564536879765]], [[(-6833007200759), 37854993207, 2078645322, 36190764, (-2630018)], [(-13273997246880), (-82709741516), 2761573848, (-891547779)], [(-10192538899415), (-200935326103), (-83886804223)], [(-3682443307540), (-2022276715089)], [(-4637921271074)]]], r2 := 281474976710656, Vm := [[[18213250715758640366]], [[5708081470585001, 0], [32943333986775064]], [[(-884388837965608), 0, 0], [(-874054311373441), 0], [(-2297720973948653)]], [[90534804662075, 0, 0, 0], [133337005390598, 0, 0], [68026411109272, 0], [104695089239761]], [[(-6925357267842), 0, 0, 0, 0], [(-13398069534561), 0, 0, 0], [(-10189825838574), 0, 0], [(-3610248407664), 0], [(-3437349837659)]]], rm := 70368744177664, rhoP := [[[18932286743458192923]], [[5351538301882774, (-71093309808729976)], [(-73058158258988690)]], [[(-1345612292814891), (-805981593196586), 253192647772009], [(-729805376370830), 10955883616056627], [5648791569189131]], [[171629667734697, 201647989932756, 6153219663684, (-883654321641)], [202224229962945, 116268985541645, (-76855950732543)], [49924544591850, (-885860006015354)], [(-305737848226445)]], [[(-15780578264776), (-25619158408091), (-1393399154954), (-33664971287), 3050510914], [(-26369642457300), (-31722493016491), (-1816403483600), 399976926489], [(-15807238605392), (-8890237735271), 11884422700569], [(-2362209722555), 51822996556711], [13471527052375]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 216172782113783808 288230376151711744 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 216172782113783808 288230376151711744 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 144115188075855872 288230376151711744 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 216172782113783808 leaf_0 leaf_1)
end CKLaneC.RST2.U_0289
end