Courtade–Kumar proof module `CKLaneC.RST2.U_0138` (transplant)
DefinitionCK_CKLaneC_RST2_U_0138Verbatim transplant of the Lean module CKLaneC.RST2.U_0138 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_0138 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_0138 =====
section
/-! RA-stat u-tail cover batch U_0138 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0138
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 4776788754395136, bh := 0, bN := 61, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[283100334235631321]], [[18829060519736884, 283004147197442118], [(-1783108423566922)]], [[(-2559441983237543), 18809869430843879, (-144222749198295)], [(-125154911538067), (-1781291031125772)], [11235375066040]], [[174580007521881, (-2558109539390361), (-28767410960341), (-47977944467162)], [15680200033138, (-124785636801415), 2724268306100], [829806613461, 11212478558120], [(-70908619931)]], [[(-574783633392), 174720745629136, 1998609424238, (-9557119027540), 72156280652], [(-919936346832), 15656361114620, 553300124342, 905057340760], [(-95873287417), 825070416055, (-34310364449)], [(-5497524220), (-70668102185)], [449325583]]], r0 := 281474976710656, V1 := [[[2241012284110730029]], [[145944230695034769, 0], [(-13820890683870179)]], [[(-20140495561644303), 0, 0], [(-912833564190429), 0], [84375033067830]], [[1429460253215811, 0, 0, 0], [119443838219585, 0, 0], [5532536519615, 0], [(-510464715941)]], [[(-13208951092910), 0, 0, 0, 0], [(-8000548650869), 0, 0, 0], [(-695558603359), 0, 0], [(-32502019885), 0], [3068288952]]], r1 := 281474976710656, V2 := [[[18441784482659965225]], [[178401139113252, 162795327322], [293907603141003]], [[(-28861939938178), (-355999775), (-5104308)], [(-10818375110470), (-19456158018)], [(-8699732959734)]], [[3115321481693, (-223999247), (-162032), 157], [1736593746092, 51461956, 916344], [329140106215, 1163084942], [171470881201]], [[(-254125316275), 79896922, 38011, 10, 0], [(-185867247531), 26064278, 28792, (-38)], [(-52350963499), (-3668487), (-82284)], [(-6705096372), (-46375092)], [(-2531420309)]]], r2 := 1099511627776, Vm := [[[18441785693909453083]], [[178404858243338, 0], [293762378788179]], [[(-28864188843594), 0, 0], [(-10818792180054), 0], [(-8691021043695)]], [[3115925009447, 0, 0, 0], [1736861922753, 0, 0], [329163159669, 0], [171122184551]], [[(-254233074805), 0, 0, 0, 0], [(-185939937495), 0, 0, 0], [(-52366951511), 0, 0], [(-6705929301), 0], [(-2520942736)]]], rm := 274877906944, rhoP := [[[18455081380851218334]], [[261568278929012, (-1191561302659090)], [(-500849093899536)]], [[(-50281439983441), (-37399922831021), 73949542842], [(-15469606917916), 71611942464966], [15071487818217]], [[6047223463250, 7188774113401, 4721038120, (-4522769)], [3017734949675, 2213880520354, (-8873104671)], [456419420268, (-2156795851006)], [(-303148215073)]], [[(-541580114528), (-864437119965), (-816367570), (-437506), 276], [(-364745265018), (-431790635186), (-562930378), 813214], [(-90692794125), (-65437393120), 532820610], [(-8953245478), 43456155917], [4591243088]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4503599627370496 5066549580791808 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4503599627370496 5066549580791808 0 4611686018427387904 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 5340612184489984, bh := 0, bN := 27, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[286479878156384892]], [[19066415948922652, 286380205318785407], [(-1616417463178966)]], [[(-2589150306284520), 19046516276711673, (-149447914826346)], [(-113596613838708), (-1614730403704363)], [9124507671620]], [[176319550409803, (-2587772201389332), (-29829097556407), (-49713780795491)], [14204293273971, (-113253526240566), 2528858823293], [675108308392, 9105466915171], [(-51598404003)]], [[(-556565710874), 176465809324929, 2067102030451, (-9909035613466), 76564148728], [(-830090315681), 14182224246486, 514049208613, 840070742805], [(-77771723547), 671165518946, (-28531843124)], [(-4009592834), (-51419211092)], [293058719]]], r0 := 281474976710656, V1 := [[[2267197391325827079]], [[147673539065890257, 0], [(-12519504873647818)]], [[(-20366673390591954), 0, 0], [(-826735382209428), 0], [68420641717548]], [[1444606700135165, 0, 0, 0], [108081251937190, 0, 0], [4481851488758, 0], [(-370530714470)]], [[(-13361794338830), 0, 0, 0, 0], [(-7236324802990), 0, 0, 0], [(-562975282364), 0, 0], [(-23535476031), 0], [1993838552]]], r1 := 281474976710656, V2 := [[[18441202334240540117]], [[199863280902767, 203638158033], [290687067876674]], [[(-32305255024658), (-466466049), (-7144510)], [(-10733293893587), (-21546522006)], [(-7615999244472)]], [[3483642642034, (-278521007), (-226008), 246], [1721120077342, 59479265, 1135572], [289225242762, 1140365327], [132865533788]], [[(-283895531215), 100007008, 53166, 16, 0], [(-183998213390), 28667511, 35545, (-52)], [(-45944381454), (-3743666), (-90282)], [(-5219291784), (-40257150)], [(-1736177098)]]], r2 := 1099511627776, Vm := [[[18441203850473504143]], [[199867867802687, 0], [290526113014598]], [[(-32308066712451), 0, 0], [(-10733747843674), 0], [(-7607450094762)]], [[3484398916415, 0, 0, 0], [1721416881843, 0, 0], [289247362108, 0], [132562551592]], [[(-284030597094), 0, 0, 0, 0], [(-184078870618), 0, 0, 0], [(-45960045277), 0, 0], [(-5219995059), 0], [(-1728115707)]]], rm := 274877906944, rhoP := [[[18456074361468513762]], [[292203520899210, (-1333546043292296)], [(-496286199444661)]], [[(-56263939257850), (-41784646984367), 92586032337], [(-15294456902108), 70966834692158], [13224460332047]], [[6770578886154, 8044857024365, 5902403185, (-6333911)], [2989803539170, 2189279031647, (-9836511202)], [399348891160, (-1892865894720)], [(-235581785344)]], [[(-606606442100), (-967912441058), (-1022294207), (-611946), 432], [(-361632963491), (-427874957914), (-623052698), 1008360], [(-79563615006), (-57279695313), 523029687], [(-6932589027), 33784274181], [3160830515]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 5066549580791808 5629499534213120 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 5066549580791808 5629499534213120 0 4611686018427387904 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 6166807764705280, bh := 0, bN := 47, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1370989227816255488, shN := 179, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[299873204016841436]], [[8392444592435150, 299758888931856916], [(-2996934537028531)]], [[(-581971962599017), 8382847361746160, (-171395543722002)], [(-89417745792052), (-2993507374442604)], [29967197462576]], [[21337741230558, (-581574993426234), (-14385060562333), (-57003437136034)], [5724455557921, (-89123694811872), 5136892396686], [949404970793, 29898683063292], [(-300252251967)]], [[(-180356634294), 21348081624144, 595309433258, (-4777056576924), 96199365063], [(-181901328490), 5713013788146, 440530473076, 1705882676141], [(-56219742259), 943400179872, (-102656117220)], [(-10067494857), (-299110036829)], [3022880308]]], r0 := 70368744177664, V1 := [[[2370775000520930367]], [[64803730576589053, 0], [(-23141354840554971)]], [[(-4556925197842970), 0, 0], [(-645369751181456), 0], [223347050541239]], [[173010113488259, 0, 0, 0], [42965383808893, 0, 0], [6205472828961, 0], [(-2134330149317)]], [[(-1909946782505), 0, 0, 0, 0], [(-1530851820211), 0, 0, 0], [(-395897863155), 0, 0], [(-57648103798), 0], [20255592831]]], r1 := 281474976710656, V2 := [[[18440455188017185577]], [[97895784875674, 271374425300], [573904678247293]], [[(-7836673753673), (-464531418), (-11174631)], [(-9168243808267), (-49977539607)], [(-26156234469401)]], [[418045252956, (-50325719), (-136433), 452], [728031361916, 96660914, 3091838], [430994895594, 4603964992], [793661607693]], [[(-16822693227), 11126379, 15970, 12, 0], [(-38493870424), 8781380, 37264, (-167)], [(-33900788016), (-10044082), (-427908)], [(-13574975565), (-282896320)], [(-18035693015)]]], r2 := 1099511627776, Vm := [[[18440457215664016767]], [[97897258490366, 0], [573529953186968]], [[(-7837286623315), 0, 0], [(-9168478835141), 0], [(-26121582764568)]], [[418131766474, 0, 0, 0], [728143380785, 0, 0], [431012697797, 0], [791523517043]], [[(-16830503356), 0, 0, 0, 0], [(-38509927862), 0, 0, 0], [(-33911015770), 0, 0], [(-13575796498), 0], [(-17936645075)]]], rm := 68719476736, rhoP := [[[18457682295816386950]], [[138062944787544, (-1563493543043988)], [(-1012827753295022)]], [[(-13386746307118), (-19746238000284), 127269265174], [(-12534641134949), 144854314718348], [46985530504309]], [[800542992498, 1914423947915, 3282822417, (-10208367)], [1237370716794, 1794874602582, (-23539172189)], [567140655457, (-6727452992430)], [(-1457388998796)]], [[(-35580665928), (-114464921173), (-290456934), (-399960), 815], [(-74416773223), (-177143034838), (-602426409), 2829228], [(-57269131671), (-81406290175), 2179078901], [(-17038594531), 209139259945], [34057631843]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 5629499534213120 6755399441055744 0 4611686018427387904 1152921504606846976 1630303065108119552 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 5629499534213120 6755399441055744 0 4611686018427387904 1152921504606846976 1630303065108119552 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 6166807764705280, bh := 0, bN := 47, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1938871559846363136, shN := 179, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[280778216413907806]], [[10955128049121267, 280684376783857505], [(-2795735580118530)]], [[(-710808585185126), 10944144680430751, (-140703969048164)], [(-114251280438344), (-2792932637560493)], [27852383249026]], [[21529113011914, (-710524418309349), (-16464231464280), (-46808902186989)], [6793057465495, (-113918042497400), 4201652184948], [1189581035926, 27796554080499], [(-278032476656)]], [[164205176974, 21557561060729, 426392488617, (-5470051911861), 69247023456], [(-173689841105), 6785258286650, 499313115162, 1395950707878], [(-64747700988), 1182840816188, (-83661252552)], [(-12389359878), (-277105161218)], [2788740836]]], r0 := 281474976710656, V1 := [[[2223008940569406651]], [[84956520663972460, 0], [(-21680802498915161)]], [[(-5613862364709123), 0, 0], [(-834170337077962), 0], [209378811930864]], [[178977009412148, 0, 0, 0], [52323782869155, 0, 0], [7941099663679, 0], [(-2005022296988)]], [[676994195935, 0, 0, 0, 0], [(-1592028654464), 0, 0, 0], [(-480528180140), 0, 0], [(-73312238205), 0], [19096046393]]], r1 := 281474976710656, V2 := [[[18440226756120012521]], [[134470067467048, 271991439271], [595269043021646]], [[(-10766693307793), (-93058226), (-10830400)], [(-12560987141273), (-50115067511)], [(-27158971885177)]], [[575741156588, (-149253628), (-217007), 423], [997416015321, 30092573, 2997606], [588698857987, 4619084877], [825185565915]], [[(-23310240156), 23542704, 25368, 17, 0], [(-52860719203), 27061919, 59512, (-156)], [(-46288235927), (-4100591), (-415017)], [(-18475755098), (-283993465)], [(-18783555467)]]], r2 := 1099511627776, Vm := [[[18440228777622982744]], [[134475281996090, 0], [594895375239104]], [[(-10768054109445), 0, 0], [(-12561909743175), 0], [(-27124409714099)]], [[575915899497, 0, 0, 0], [997666940142, 0, 0], [588779843903, 0], [823052418539]], [[(-23325488575), 0, 0, 0, 0], [(-52893181069), 0, 0, 0], [(-46311379948), 0, 0], [(-18480446658), 0], [(-18684705631)]]], rm := 68719476736, rhoP := [[[18457349116643937416]], [[201799647096977, (-1515842177850963)], [(-982477142587799)]], [[(-19095452662383), (-28860817082415), 119499825983], [(-18432046120701), 140508531213326], [45606360669805]], [[1138875547891, 2730618000086, 4617519384, (-9278765)], [1768411793462, 2639089010085, (-22111380611)], [840451601856, (-6529511902978)], [(-1415720036648)]], [[(-50628523390), (-162817071333), (-385446379), (-542575), 717], [(-106007594739), (-253129587725), (-849557705), 2572533], [(-82048435588), (-120610785213), 2047855725], [(-25506076696), 203130404957], [33115872486]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 5629499534213120 6755399441055744 0 4611686018427387904 1630303065108119552 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 5629499534213120 6755399441055744 0 4611686018427387904 1630303065108119552 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 4503599627370496 6755399441055744 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 5629499534213120 (TailPosI.split_b 5066549580791808 leaf_0 leaf_1) (TailPosI.split_s 1630303065108119552 leaf_2 leaf_3))
end CKLaneC.RST2.U_0138
end