Courtade–Kumar proof module `CKLaneC.RST2.U_0524` (transplant)
DefinitionCK_CKLaneC_RST2_U_0524Verbatim transplant of the Lean module CKLaneC.RST2.U_0524 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_0524 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_0524 =====
section
/-! RA-stat u-tail cover batch U_0524 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0524
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 8646911284551352320, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 1370989227816255488, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[7281824374616411697]], [[218369141544107087, 1147859446981115547], [303409570912003772]], [[(-12621854581140496), 17002007143731152, (-70100339443693515)], [8913944669091283, 23623171550914133], [4820593360379715]], [[349209723559200, (-1704261626983207), (-4831083849164476), 881832690891638], [(-457508274570894), (-1311023860058769), (-6712473508619977)], [71313077220407, (-1017619298922242)], [256904079849031]], [[93325337734, 106326842531515, 233436698523604, 358255628086337, 338518616257884], [9669953103354, 3555308734214, (-324486718063486), 497772650594638], [(-5207561497417), (-132897044790665), (-195071380728808)], [2095169674310, (-35720924676768)], [2984152035518]]], r0 := 4503599627370496, V1 := [[[10137528645280204212]], [[235706760133562820, 0], [327499052510301062]], [[(-15731568672702233), 0, 0], [3764958927465072, 0], [1134567415789606]], [[631818948382045, 0, 0, 0], [(-280510069561186), 0, 0], [(-190032528584563), 0], [178171025227307]], [[(-15451989512970), 0, 0, 0, 0], [16802461778002, 0, 0, 0], [10019819842378, 0, 0], [(-1760639186154), 0], [(-2591597590601)]]], r1 := 281474976710656, V2 := [[[8513303133989108884]], [[216073686219730212, 991568741942471013], [(-896264031574272203)]], [[(-12784859980462322), 9440758122488692, (-64903832668612973)], [12422034712229438, 169750752888738684], [(-25876383982456210)]], [[378813460911284, (-1266598517163729), (-3645888099163793), 1977936558817757], [(-394134494705399), 5110327359334961, (-12225800002954252)], [(-1009148647171001), 9175428549397508], [(-843833860618700)]], [[(-1437189317089), 97698033286503, 216646385305256, 354819336912096, 148052878910720], [(-15768227175603), (-390370514825360), (-1322192346969799), (-221598531471169)], [88836972563744, 924095324346137, (-80038985143198)], [(-123167833449662), (-28382931702732)], [(-5521996679647)]]], r2 := 18014398509481984, Vm := [[[12945070656873157082]], [[214264939417531942, 0], [(-123146804857702490)]], [[(-15701407640888086), 0, 0], [13065252241958965, 0], [20689106844518136]], [[780688908784897, 0, 0, 0], [(-984139838014870), 0, 0], [(-530162139864377), 0], [245746755602754]], [[(-30496051908669), 0, 0, 0, 0], [52424939438214, 0, 0, 0], [41455188961633, 0, 0], [(-35772652246577), 0], [(-11096111760617)]]], rm := 281474976710656, rhoP := [[[30631266439704874987]], [[147796256671882275, (-6378548537247282290)], [1321768467307709081]], [[(-24346092811422184), (-124452300300730300), 1184358437778623077], [26117122432282794, (-923694453707408190)], [50746465816840800]], [[1651764832165314, 18023328264774234, 49546260126699257, (-207310665120819527)], [(-4199314186986572), (-30490031532486134), 286070556030027427], [2624283918670508, (-58465713231143087)], [1621643189391546]], [[(-62313509788596), (-1068211451011951), (-5998709613008607), (-14682545122440021), 34761763394113437], [269022173325710, 4156021572374194, 16948800213461981, (-69233662082915881)], [(-367059621657196), (-3994248279803866), 30272651424750153], [205257692476387, (-2657730032188661)], [42903425963913]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 9223372036854775808 9223372036854775808 13835058055282163712 1152921504606846976 1630303065108119552 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 8070450532247928832 9223372036854775808 9223372036854775808 13835058055282163712 1152921504606846976 1630303065108119552 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 1938871559846363136, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[6655754531096832679]], [[267112392277443482, 1093287947639871701], [139697443166987938]], [[(-14417025579116997), 25722421021141779, (-56688008152104516)], [5372764191384839, 13452601049620913], [1071268597712757]], [[331478874531683, (-2408708017602355), (-5510117176221353), 40785689818722], [(-252476993484719), (-549907894887111), (-2881743053946766)], [22081737049907, (-175931815626221)], [30655562984991]], [[3185454329900, 133049515231309, 196682205190642, 282983659058151, 283444361508552], [4033594399655, (-21904487868253), (-216181975091556), 147997976774516], [(-1398172763007), (-34925771722766), (-49647217909159)], [518221335257, (-2618385590200)], [159701545594]]], r0 := 4503599627370496, V1 := [[[9444175553984010411]], [[303418841671891298, 0], [158685398415458451]], [[(-19659629763480417), 0, 0], [2669066583874927, 0], [318908276268883]], [[746894598702848, 0, 0, 0], [(-208467148166517), 0, 0], [(-57219249683801), 0], [23334410473347]], [[(-16090920867748), 0, 0, 0, 0], [13144992104156, 0, 0, 0], [2666286832900, 0, 0], [(-177267399005), 0], [(-168932855266)]]], r1 := 70368744177664, V2 := [[[8487034157808464779]], [[264047624463627000, 889875385547225991], [(-449617724790506910)]], [[(-14888031702214762), 12600935477165672, (-52038178502555661)], [7524868626884646, 75326721573807734], [(-5653696595522183)]], [[390392913997755, (-1728982943616251), (-3836188788651116), 1403551819262816], [(-183979415889501), 2913434936146784, (-4787192746774856)], [(-301322199769486), 1851344544185505], [(-74009866176899)]], [[1215195830263, 129362930965002, 210398260659038, 320900564108201, 97018419922305], [(-12973080664902), (-224051247130308), (-656469759385656), (-88472512489280)], [26487895701617, 240207354463134, 3972873399974], [(-16190116268664), (-13166467791788)], [270411305959]]], r2 := 4503599627370496, Vm := [[[12534075317623303170]], [[277759156982906077, 0], [(-87517561962255084)]], [[(-20458111979882995), 0, 0], [9176661408361816, 0], [5351898023330857]], [[1029664128517830, 0, 0, 0], [(-707088030067093), 0, 0], [(-161585406255331), 0], [44389346804094]], [[(-40921313622321), 0, 0, 0, 0], [39321272707271, 0, 0, 0], [12681638987059, 0, 0], [(-6799707843997), 0], [(-629213524914)]]], rm := 70368744177664, rhoP := [[[29613909699532751219]], [[243723375732205524, (-5641642250583550176)], [604086923682514469]], [[(-32772828615839812), (-185765779546798777), 944151682976182740], [21014435094179280, (-399028177566453834)], [10575519331964635]], [[1978818814896107, 22155142902133740, 64401982858467880, (-146910779716406370)], [(-2727852172513282), (-21843632216258919), 111005358709647401], [964817196764621, (-11485597983266488)], [136015521215910]], [[(-51828931562046), (-1044136378716879), (-6207811762223365), (-16726237794411872), 21561032532463829], [139876365524811, 2394054512351506, 10673032638705455, (-23652844760644771)], [(-107544439777592), (-1328986902279361), 5412104066910442], [34086549036138, (-213187149656923)], [962364788367]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 8070450532247928832 8646911284551352320 9223372036854775808 13835058055282163712 1630303065108119552 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 8070450532247928832 8646911284551352320 9223372036854775808 13835058055282163712 1630303065108119552 2305843009213693952 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := false, bc := 8935141660703064064, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 10376293541461622784, th := 1152921504606846976, sc := 1938871559846363136, shN := 179, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[6364259346130919683]], [[264182135396233920, 591119023624081048], [137205782076398984]], [[(-13649167552616060), 15339079837463056, (-15679016454816426)], [5756401044877835, 7966513111398842], [1342996218503213]], [[270864725381935, (-1330484722687350), (-1610611281943766), (-39862316322329)], [(-245567880564449), (-224579735514755), (-836487979131220)], [44362043052232, (-67134422547227)], [34136377155128]], [[5094813836172, 66180081900236, 49004275869926, 37102834429135, 24076661327389], [1788507444396, (-16835801429187), (-70628218719138), 19269748908136], [(-2026456413513), (-19227289916674), (-17415124261489)], [817566511357, (-1578404047197)], [350091964577]]], r0 := 281474976710656, V1 := [[[9763006261997551573]], [[308526311409707503, 0], [160236398213014824]], [[(-20065808403089591), 0, 0], [2437326827559769, 0], [455613136280341]], [[773128700065418, 0, 0, 0], [(-197654731304520), 0, 0], [(-58833392723785), 0], [22353862623388]], [[(-17600013422886), 0, 0, 0, 0], [13086269734086, 0, 0, 0], [2751417459700, 0, 0], [(-360201087353), 0], [(-78784692350)]]], r1 := 70368744177664, V2 := [[[7025231750361354259]], [[266651892726939339, 554928056908655903], [(-515443183129998004)]], [[(-13984147763989209), 12526813360183884, (-15639016080256052)], [3917395752952890, 43364216029390037], [(-6901983605189946)]], [[290811046508989, (-1217951607355768), (-1468343158184075), 58860203112047], [55946646710707, 2403239318948730, (-970683528620048)], [(-562292198615396), 758335874325033], [(-46488293373130)]], [[4989944728392, 68337146837166, 54342378363002, 44764887422340, 18727941143888], [(-18142901591417), (-128444595484454), (-208438886326302), (-65027505359940)], [31433172039495, 161823293757680, 67318863030751], [(-23047370266642), (-31799946050026)], [2431944643596]]], r2 := 1125899906842624, Vm := [[[12380792147114379335]], [[295411840468781854, 0], [(-65599142445315924)]], [[(-21815612512370801), 0, 0], [8448993070066071, 0], [5601431283710323]], [[1104735509680205, 0, 0, 0], [(-647416483857975), 0, 0], [(-202093328680433), 0], [38512139915632]], [[(-44439182817700), 0, 0, 0, 0], [35463075302868, 0, 0, 0], [17170454729552, 0, 0], [(-6643667347143), 0], [(-836029953669)]]], rm := 70368744177664, rhoP := [[[34433708588285089186]], [[433540331798054718, (-3922346843096023873)], [909712274164706887]], [[(-54713209176818458), (-173760443347773521), 386215510649285264], [43717963249708408, (-304228515002535478)], [19676057677789413]], [[2873299788017593, 18576421723414062, 34766010070893796, (-34774232183892642)], [(-4985020238663723), (-23760005299817332), 47751546377241116], [2424414276336712, (-10433053059766063)], [305243147336448]], [[(-21927259988894), (-593773345914102), (-2804397456457479), (-5248840680936461), 2891663564323670], [174429317481552, 2157184525481702, 6402617572135852, (-5710479373326004)], [(-216527965631670), (-1698694408874509), 2521711044548677], [99360021786185, (-220700033077930)], [1953350319889]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 8646911284551352320 9223372036854775808 9223372036854775808 11529215046068469760 1630303065108119552 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 8646911284551352320 9223372036854775808 9223372036854775808 11529215046068469760 1630303065108119552 2305843009213693952 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := false, bc := 8935141660703064064, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 12682136550675316736, th := 1152921504606846976, sc := 1938871559846363136, shN := 179, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[7483817927556171074]], [[288750622929899614, 528620795639023344], [149965685547672520]], [[(-16094851969877593), 9410224868681315, (-15414486683638909)], [5069852357875485, 4887299668032756], [1150593353427429]], [[412488818773121, (-1107162021584326), (-1341048917132464), 115850775953099], [(-264514044216778), (-439976342741475), (-696487918086875)], [5761551892068, (-119661312817420)], [30382405215907]], [[1044766397096, 74132171282551, 61045238645168, 49981840904540, 14976740173535], [6515280283546, (-1988444403952), (-37780967046932), 25958596937828], [(-1245967802565), (-18531112534302), (-9040260413079)], [84195517587, (-2018594160427)], [190409990137]]], r0 := 281474976710656, V1 := [[[9763006261997551573]], [[308526311409707503, 0], [160236398213014824]], [[(-20065808403089591), 0, 0], [2437326827559769, 0], [455613136280341]], [[773128700065418, 0, 0, 0], [(-197654731304520), 0, 0], [(-58833392723785), 0], [22353862623388]], [[(-17600013422886), 0, 0, 0, 0], [13086269734086, 0, 0, 0], [2751417459700, 0, 0], [(-360201087353), 0], [(-78784692350)]]], r1 := 70368744177664, V2 := [[[8073273782293472645]], [[286208641569360475, 493606651624489259], [(-433024544732318149)]], [[(-16190263392879331), 7224590557177207, (-14906700697918791)], [7903851871797760, 38884518014199738], [(-5203794501576146)]], [[433044169015027, (-983486946099335), (-1177632071436097), 174091307904161], [(-196415471750977), 1596080175968342, (-1227067421491484)], [(-271055509937854), 900843182533425], [(-80287156546304)]], [[174254302255, 72668932995419, 61376652077201, 50019287844873, 10384226070411], [(-12983686657493), (-120878500387844), (-189621000356152), (-22969374754778)], [25488626363161, 126165232170365, 8774763607090], [(-14753991905615), (-4799277527046)], [(-384415292474)]]], r2 := 1125899906842624, Vm := [[[12380792147114379335]], [[295411840468781854, 0], [(-65599142445315924)]], [[(-21815612512370801), 0, 0], [8448993070066071, 0], [5601431283710323]], [[1104735509680205, 0, 0, 0], [(-647416483857975), 0, 0], [(-202093328680433), 0], [38512139915632]], [[(-44439182817700), 0, 0, 0, 0], [35463075302868, 0, 0, 0], [17170454729552, 0, 0], [(-6643667347143), 0], [(-836029953669)]]], rm := 70368744177664, rhoP := [[[27895758015801056557]], [[191820065287383536, (-2717339310191745858)], [454359120801830163]], [[(-26825214496833423), (-81060597255733834), 232425661835622513], [14455186979784814, (-166774745491668577)], [6367110059930325]], [[1704741499147963, 10170419215819809, 14772258485326620, (-18476166540687897)], [(-1991485313312874), (-8269380178972955), 24020476137731104], [571002026657842, (-3882236239481498)], [61186190458096]], [[(-53271529911363), (-529902605698052), (-1514911629454631), (-1992732107549112), 1384586200317781], [113303792354500, 972648670039631, 2152443469317624, (-2628485185994413)], [(-68890127913341), (-432500957796226), 990445066768475], [17390810170681, (-55562190319185)], [220923812732]]], rhoR := 18014398509481984 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 8646911284551352320 9223372036854775808 11529215046068469760 13835058055282163712 1630303065108119552 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 8646911284551352320 9223372036854775808 11529215046068469760 13835058055282163712 1630303065108119552 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 9223372036854775808 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
(TailPosI.split_s 1630303065108119552 leaf_0 (TailPosI.split_b 8646911284551352320 leaf_1 (TailPosI.split_t 11529215046068469760 leaf_2 leaf_3)))
end CKLaneC.RST2.U_0524
end