Courtade–Kumar proof module `CKLaneC.RST2.U_0091 (+1 modules: CKLaneC.RST2.U_0092)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0091__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0091 (+1 modules: CKLaneC.RST2.U_0092) 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_0091 (+1 modules: CKLaneC.RST2.U_0092) 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_0091 =====
section
/-! RA-stat u-tail cover batch U_0091 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0091
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 2757880273211392, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[321324451117003110]], [[1514783293334528, 321183809034541968], [(-6664756486786617)]], [[(-251689809487470), 1512794410546875, (-210854236468238)], [(-36864694114103), (-6656005783290744)], [138257470340059]], [[27380851370779, (-251368719490373), (-2980757910638), (-70103367587985)], [5908636960316, (-36733802741059), 13114764143405], [877482798072, 137894473556693], [(-2870904234648)]], [[(-2156047868116), 27348001221777, 481232786000, (-989312178142), 135857120698], [(-614376405045), 5887823613274, 196061735726, 4352784180899], [(-136722424649), 871757192395, (-543792653567)], [(-20556963971), (-2858352221086)], [59776604389]]], r0 := 1125899906842624, V1 := [[[2535993724308320418]], [[11636640100360602, 0], [(-51198988617403498)]], [[(-1935674951430924), 0, 0], [(-264000919425270), 0], [1019872494839998]], [[211063066825394, 0, 0, 0], [42345325352296, 0, 0], [5707674296572, 0], [(-20056265768682)]], [[(-16700508243498), 0, 0, 0, 0], [(-4419852833182), 0, 0, 0], [(-887646856770), 0, 0], [(-118389366402), 0], [389991720872]]], r1 := 4503599627370496, V2 := [[[18444162328725093877]], [[7863364003709, 53003453779], [522927235751645]], [[(-1288364042960), (-59210997), (-1042052)], [(-1656828559157), (-21661424695)], [(-52877092903034)]], [[140032064557, 8095257, (-857), 20], [270055540699, 25587333, 639893], [175451501258, 4426878736], [3557597531747]], [[(-11358221260), (-645185), 200, 0, 0], [(-29177546263), (-3504254), 498, (-17)], [(-28430417510), (-5544251), (-196513)], [(-12465360800), (-603241873)], [(-179082042956)]]], r2 := 17592186044416, Vm := [[[18444162729338585504]], [[7863243506157, 0], [522762892766172]], [[(-1288346408280), 0, 0], [(-1656774857163), 0], [(-52843367674669)]], [[140030726653, 0, 0, 0], [270047659018, 0, 0], [175439483634, 0], [3552981077227]], [[(-11358218339), 0, 0, 0, 0], [(-29176936727), 0, 0, 0], [(-28428649423), 0, 0], [(-12463559650), 0], [(-178607794622)]]], rm := 1099511627776, rhoP := [[[18451887756072776653]], [[1447683769688, (-735010320207759)], [(-1055112509224855)]], [[(-1575816262624), (-207060420615), 28372439586], [(-54191807935), 150811737000483], [108315955405638]], [[206650941342, 225241076816, 35512234, (-1082824)], [314535348224, 7828196110, (-11630161668)], [(-24427595623), (-15490391314086)], [(-7422790733969)]], [[(-18692849545), (-29537457982), (-17788337), (-2695), 42], [(-42190924791), (-44984085309), (-12369302), 665378], [(-31152557190), 3475390921, 2384773444], [4167625776, 1062679975600], [382277306471]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 2251799813685248 3377699720527872 0 4611686018427387904 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 2251799813685248 3377699720527872 0 4611686018427387904 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 3900231685777408, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[333054722942687733]], [[1580016060265191, 332898110250894457], [(-5070486936998829)]], [[(-262133101310672), 1577787330087552, (-234788773055454)], [(-28348255019477), (-5063334638021616)], [77214412876994]], [[28465081413978, (-261773913970331), (-3340005771725), (-78045946186257)], [4533120677936, (-28240420797876), 10718533856029], [496948758364, 76996631229652], [(-1177417097883)]], [[(-2236113890008), 28428420133817, 538297753551, (-1108190401086), 162507037937], [(-469917958431), 4516010329560, 161507802964, 3556334073884], [(-77216203950), 493481275120, (-326219672458)], [(-8570664855), (-1171888632915)], [18016907478]]], r0 := 281474976710656, V1 := [[[2625974103454919361]], [[12101982712592657, 0], [(-38836912357507420)]], [[(-2010229234752793), 0, 0], [(-201433715130851), 0], [566229467590728]], [[218833868948615, 0, 0, 0], [32235517865819, 0, 0], [3186256274873, 0], [(-8144874365567)]], [[(-17281135746540), 0, 0, 0, 0], [(-3355224066688), 0, 0, 0], [(-494023390547), 0, 0], [(-48244276531), 0], [115827363480]]], r1 := 1125899906842624, V2 := [[[18443102896757573770]], [[11249656494629, 106096335951], [521968128147478]], [[(-1839687762809), (-123430252), (-2956592)], [(-1681760822301), (-30707413977)], [(-37349382035468)]], [[199520406933, 16896340, (-2291), 81], [273527400939, 37852265, 1285977], [126416363031, 4444547392], [1777928690723]], [[(-16143159984), (-1351987), 547, 0, 0], [(-29478786529), (-5190352), 935, (-47)], [(-20434152482), (-5821601), (-279742)], [(-6379366437), (-428958244)], [(-63310930010)]]], r2 := 1099511627776, Vm := [[[18443103700841716811]], [[11249399348577, 0], [521734461829272]], [[(-1839650052687), 0, 0], [(-1681679397584), 0], [(-37315412144914)]], [[199517504930, 0, 0, 0], [273515429777, 0, 0], [126403412958, 0], [1774634309824]], [[(-16143141380), 0, 0, 0, 0], [(-29477848592), 0, 0, 0], [(-20432244532), 0, 0], [(-6377986609), 0], [(-63071136519)]]], rm := 274877906944, rhoP := [[[18454031455346986711]], [[1445415972300, (-1041452784538910)], [(-1058917751822754)]], [[(-2210570201987), (-206932188583), 56916500035], [51816199059, 151389589167841], [77017873545843]], [[292264235746, 316043434663, 63505869, (-3074519)], [311594540263, (-7296795807), (-16527166177)], [(-26772906775), (-11019345461396)], [(-3740461301596)]], [[(-26495070360), (-41783886472), (-35404845), (-7115), 166], [(-42241019375), (-44584552431), (-15094075), 1338254], [(-21770100639), 3813145006, 2400909180], [2660924547, 535978394026], [136590631195]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 3377699720527872 4503599627370496 0 4611686018427387904 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 3377699720527872 4503599627370496 0 4611686018427387904 72057594037927936 144115188075855872 (by decide +kernel)))
theorem region : TailPosI 2251799813685248 4503599627370496 0 4611686018427387904 72057594037927936 144115188075855872 :=
(TailPosI.split_b 3377699720527872 leaf_0 leaf_1)
end CKLaneC.RST2.U_0091
end
-- ===== source module CKLaneC.RST2.U_0092 =====
section
/-! RA-stat u-tail cover batch U_0092 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0092
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 2517588727560192, bh := 0, bN := 115, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[314223928785033002]], [[2867492996671033, 314092405101669339], [(-3545901329842898)]], [[(-469143571031615), 2863892555386259, (-197188147255297)], [(-37078310093969), (-3541449075014543)], [40019256765823]], [[49500391679759, (-468587361719107), (-5396219256740), (-65567172311337)], [5816802071034, (-36950510285667), 6672888499049], [471614802291, 39918775719447], [(-452068469719)]], [[(-3653311176452), 49448887908452, 833668182626, (-1791340807835), 121506796636], [(-580426813263), 5797426281690, 191441770145, 2215146736215], [(-71460511365), 468597122188, (-150535601547)], [(-5926683063), (-450178182458)], [5119749832]]], r0 := 281474976710656, V1 := [[[2481399528623286775]], [[22066573897755278, 0], [(-27287213541564570)]], [[(-3617929130696012), 0, 0], [(-266362794169417), 0], [296235805334675]], [[383416577996497, 0, 0, 0], [41930954168719, 0, 0], [3078924518444, 0], [(-3176613579916)]], [[(-28574171224811), 0, 0, 0, 0], [(-4226131160123), 0, 0, 0], [(-467862005208), 0, 0], [(-34240143122), 0], [33696447674]]], r1 := 281474976710656, V2 := [[[18444365898327841317]], [[13622484730819, 44286314660], [265166837460283]], [[(-2226132806858), (-81689415), (-789985)], [(-1573157051028), (-9960126958)], [(-14761757859192)]], [[241386104566, 10107072, (-1627), 14], [255640331003, 19442818, 266939], [91255205629, 1120192781], [546862117907]], [[(-19550659730), (-585279), 369, 0, 0], [(-27542350275), (-2417055), 530, (-6)], [(-14734701683), (-2320162), (-45110)], [(-3549161328), (-84005668)], [(-15159922731)]]], r2 := 274877906944, Vm := [[[18444366232131067025]], [[13622317838216, 0], [265091491583539]], [[(-2226113430492), 0, 0], [(-1573115971930), 0], [(-14753250307220)]], [[241385926076, 0, 0, 0], [255635469487, 0, 0], [91250130726, 0], [546221355567]], [[(-19550977232), 0, 0, 0, 0], [(-27542269793), 0, 0, 0], [(-14734090482), 0, 0], [(-3548741628), 0], [(-15123704336)]]], rm := 68719476736, rhoP := [[[18451427366817688162]], [[9898508829620, (-669206273157349)], [(-528809154983813)]], [[(-3060986290605), (-1414889626556), 23491498227], [(-979765423369), 75581252265459], [29884296537850]], [[383082553983, 437500091062, 116751523, (-814911)], [340743482133, 140142840207, (-5300109723)], [45932259882, (-4273370269733)], [(-1127445326251)]], [[(-34403804945), (-54752407544), (-30916297), (-6614), 29], [(-43189388176), (-48726176771), (-25208317), 275607], [(-18902121243), (-6580657949), 598190483], [(-1298270616), 161378617663], [31967195824]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 2251799813685248 2814749767106560 0 4611686018427387904 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 2251799813685248 2814749767106560 0 4611686018427387904 144115188075855872 288230376151711744 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 3083403882352640, bh := 0, bN := 47, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[320758121737616561]], [[2935999348547362, 320618221925761032], [(-3020203758793943)]], [[(-479882185771603), 2932158008867946, (-209741786631635)], [(-31748098381270), (-3016252249559339)], [28442982445330]], [[50570746525170, (-479289481947033), (-5757070461216), (-69734143191881)], [4972669095765, (-31634235832292), 5922183141900], [337546445472, 28368569365363], [(-268156151669)]], [[(-3725747679760), 50515966397120, 888338858363, (-1910798102589), 134665121646], [(-495092561132), 4955432783437, 170554432431, 1965599758932], [(-51043657945), 335301384654, (-111476113466)], [(-3545142298), (-266987986876)], [2535633842]]], r0 := 70368744177664, V1 := [[[2531642849275749233]], [[22557651176547660, 0], [(-23204604219911236)]], [[(-3695177775869217), 0, 0], [(-227089729752083), 0], [209872143058330]], [[391195231920250, 0, 0, 0], [35695983167333, 0, 0], [2185961999451, 0], [(-1874259410059)]], [[(-29115523720382), 0, 0, 0, 0], [(-3591197092118), 0, 0, 0], [(-331518818037), 0, 0], [(-20218294464), 0], [16555942288]]], r1 := 281474976710656, V2 := [[[18443835729279567350]], [[16781762785611, 66465516476], [264985383872087]], [[(-2739162201246), (-125566635), (-1453952)], [(-1585668198845), (-12219363541)], [(-12053377053958)]], [[296614883120, 15567610, (-2927), 31], [257324488080, 24458084, 401637], [75276982307, 1123416329], [364819205157]], [[(-23987308146), (-910132), 671, 0, 0], [(-27680589012), (-3046660), 777, (-11)], [(-12135823434), (-2388818), (-55487)], [(-2396807466), (-68870205)], [(-8262004175)]]], r2 := 274877906944, Vm := [[[18443836231008980825]], [[16781502425325, 0], [264892795732770]], [[(-2739131717085), 0, 0], [(-1585615725328), 0], [(-12044829709068)]], [[296614502888, 0, 0, 0], [257318229873, 0, 0], [75271673504, 0], [364292858735]], [[(-23987781121), 0, 0, 0, 0], [(-27680466815), 0, 0, 0], [(-12135179531), 0, 0], [(-2396447857), 0], [(-8237677998)]]], rm := 68719476736, rhoP := [[[18452486345556185795]], [[11824732533086, (-820571596650961)], [(-530093117263202)]], [[(-3741998828994), (-1690453092739), 35302948907], [(-947195860257), 75773150935909], [24493748236797]], [[469550916634, 534895604930, 172310883, (-1500658)], [340249908035, 135525837018, (-6511868375)], [35670599569, (-3503310403298)], [(-755670748384)]], [[(-42206548261), (-67118271317), (-46355503), (-12005), 66], [(-43273105572), (-48666599643), (-30328763), 414922], [(-15413615885), (-5114326946), 600903210], [(-794920908), 108211650031], [17526072165]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 2814749767106560 3377699720527872 0 4611686018427387904 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 2814749767106560 3377699720527872 0 4611686018427387904 144115188075855872 288230376151711744 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 3900231685777408, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[328680920516232733]], [[3019548395486013, 328530396748260244], [(-4993080257037630)]], [[(-492955806194807), 3015400209963987, (-225663718020523)], [(-52821223772461), (-4986220879236791)], [75871592530619]], [[51870642019963, (-492316695957881), (-6216678018210), (-75018134219199)], [8257476044140, (-52622652670874), 10279806186739], [908021794389, 75663180636572], [(-1154449775419)]], [[(-3813367818324), 51811707101938, 957853960800, (-2062899825612), 152122274693], [(-819930514943), 8227472278780, 297418459354, 3411180429133], [(-136981042208), 901699105258, (-312195827093)], [(-15416776376), (-1149170562788)], [17627601675]]], r0 := 281474976710656, V1 := [[[2592454707105050655]], [[23153678644659531, 0], [(-38286578182101548)]], [[(-3788783765613352), 0, 0], [(-375812765380133), 0], [557621850671999]], [[400602196578716, 0, 0, 0], [58969276662192, 0, 0], [5822048666107, 0], [(-8015842717550)]], [[(-29768491503167), 0, 0, 0, 0], [(-5919691015710), 0, 0, 0], [(-880880322931), 0, 0], [(-86529554847), 0], [113966578027]]], r1 := 1125899906842624, V2 := [[[18443071874508580464]], [[21377265771344, 106415280886], [526596529433423]], [[(-3484299832651), (-206818893), (-2949171)], [(-3184104580489), (-30805292540)], [(-37696511449418)]], [[376692158087, 25701644, (-5772), 80], [515880888493, 63519522, 1282909], [238357841262, 4459611195], [1795401327556]], [[(-30407401538), (-1519013), 1340, 0, 0], [(-55389556471), (-7930750), 2405, (-47)], [(-38355040267), (-9783485), (-279112)], [(-11972005706), (-430508880)], [(-63976084400)]]], r2 := 4398046511104, Vm := [[[18443072679265234380]], [[21376829373041, 0], [526362649794778]], [[(-3484248254408), 0, 0], [(-3183965810918), 0], [(-37662507578495)]], [[376691327849, 0, 0, 0], [515864195242, 0, 0], [238335685894, 0], [1792103321050]], [[(-30408151824), 0, 0, 0, 0], [(-55389175415), 0, 0, 0], [(-38352331909), 0, 0], [(-11969636896), 0], [(-63735999294)]]], rm := 274877906944, rhoP := [[[18454017387607065805]], [[14497097085893, (-1039440985785521)], [(-1057427223245783)]], [[(-4722300489583), (-2072904039407), 56613211369], [(-1804503062130), 151176090056633], [76958308346052]], [[594494677650, 675132961190, 270191811, (-3045954)], [675468846264, 258307988314, (-16446160183)], [104489184131, (-11010761858076)], [(-3740470027785)]], [[(-53495809539), (-84991268526), (-74128418), (-23942), 164], [(-86267177824), (-96645230424), (-74619117), 1326314], [(-48121726926), (-14998462951), 2390279089], [(-3478667922), 535973303599], [136721533867]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 3377699720527872 4503599627370496 0 4611686018427387904 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 3377699720527872 4503599627370496 0 4611686018427387904 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 2251799813685248 4503599627370496 0 4611686018427387904 144115188075855872 288230376151711744 :=
(TailPosI.split_b 3377699720527872 (TailPosI.split_b 2814749767106560 leaf_0 leaf_1) leaf_2)
end CKLaneC.RST2.U_0092
end