Courtade–Kumar proof module `CKLaneC.RST2.U_0402 (+1 modules: CKLaneC.RST2.U_0403)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0402__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0402 (+1 modules: CKLaneC.RST2.U_0403) 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_0402 (+1 modules: CKLaneC.RST2.U_0403) 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_0402 =====
section
/-! RA-stat u-tail cover batch U_0402 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0402
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 1152921504606846976, th := 1152921504606846976, lam1 := 1249463644794972929, u1 := 7146832832885, w1 := 105514009680155 }
noncomputable def q0 : TCert := { V0 := [[[931471370371287681]], [[0, 928048313738348563], [27483699613840856]], [[0, 0, (-5112343716173316)], [0, 27180900466559332], [421445700324653]], [[0, 0, 0, (-1667218617063780)], [0, 0, (-450920753614952)], [0, 407882888810009], [13056053036130]], [[0, 0, 0, 0, 27371094424429], [0, 0, 0, (-144879279716906)], [0, 0, (-20100849297628)], [0, 12551509406895], [226818791797]]], r0 := 70368744177664, V1 := [[[10907667287542047449]], [[0, 0], [180091197774290331]], [[0, 0, 0], [0, 0], [(-448948409078108)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [29175596251101]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-640718181831)]]], r1 := 70368744177664, V2 := [[[7993063651848291253]], [[0, 600120452795045627], [(-806226001733114518)]], [[0, 0, (-21728816481354012)], [0, 76155010951340865], [(-26262189275089252)]], [[0, 0, 0, 291783375857019], [0, 0, (-2462957310861369)], [0, 2646151858893054], [(-221639814094122)]], [[0, 0, 0, 0, 23083259671771], [0, 0, 0, (-98120856833835)], [0, 0, 160210669350000], [0, (-164207336038666)], [45699352017897]]], r2 := 1125899906842624, Vm := [[[14597287144395087206]], [[0, 0], [(-59617392762714421)]], [[0, 0, 0], [0, 0], [4160378481728699]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [13494374277028]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-393172286454)]]], rm := 70368744177664, rhoP := [[[72164057163674984698]], [[3380667537182434610, (-13636175884147618398)], [8181709587889563453]], [[166549197788603123, (-1129814367068094875), 2534093852680954793], [677888956413547367, (-3586361437099667045)], [912274691779298324]], [[11111383153031116, (-79868606736155501), 259644359819091081, (-468198220149376651)], [47921187806344559, (-356765983389861396), 1045484822950932883], [93472062242525142, (-627291204851261101)], [101130966008111027]], [[791139854295461, (-6554002818110124), 23258435111793519, (-54358491657998842), 86247659526739919], [3932403640988884, (-31104881828856086), 118616892593364561, (-263178299795153705)], [8373044944816268, (-71170170850099847), 257770294105819405], [11741451666269404, (-94744281895723190)], [11177718847270536]]], rhoR := 4611686018427387904 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 0 17592186044416 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 6917529027641081856 7493989779944505344 0 2305843009213693952 0 17592186044416 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 1152921504606846976, th := 1152921504606846976, sc := 35184372088832, shN := 375, shD := 512 }
noncomputable def q1 : TCert := { V0 := [[[931458949127565543]], [[11976825425715, 928036029342721398], [27482849513528295]], [[(-4108705042306), 11844875360193, (-5112139925467029)], [636784535225, 27180067794238332], [421423903931004]], [[935365232226, (-4063440659342), (-196496704280), (-1667153139781494)], [(-216858849312), 621995421613, (-450894887554794)], [18250780706, 407862126107479], [13055281014771]], [[(-158858488307), 925061367851, 67406593982, (-63133774986), 27369282720839], [48953032993, (-211803156056), (-21939437411), (-144871113626746)], [(-6193707119), 17403278579, (-20099323680246)], [562938778, 12550784016254], [226801159999]]], r0 := 70368744177664, V1 := [[[10907585894763253735]], [[78481267945067, 0], [180088529297084727]], [[(-26923969597777), 0, 0], [1374562984614, 0], [(-448905187609085)]], [[6129642624781, 0, 0, 0], [(-461152370728), 0, 0], [(-17065957604), 0], [29174864648788]], [[(-1041128609501), 0, 0, 0, 0], [102276941730, 0, 0, 0], [5922470331, 0, 0], [(-22423806), 0], [(-640678351667)]]], r1 := 4398046511104, V2 := [[[7992991240410578686]], [[69627201645378, 600117664208110620], [(-806226443917395322)]], [[(-23712362026356), 2702898641027, (-21728340452612615)], [(-637985335545), 76153638169455318], [(-26261391522101200)]], [[5353046638794, (-939884533051), (-459280411338), 291760519272843], [219439499710, 1282281744545, (-2462820333835845)], [(-715880835681), 2645964213106155], [(-221580477656038)]], [[(-900285955143), 217274242226, 157812664929, 22008676348, 23083171967076], [(-50119477517), (-438737345361), (-124931956165), (-98123519279777)], [243341729291, 162550188932, 160220057146608], [(-48035202015), (-164214266913260)], [45700082394700]]], r2 := 1125899906842624, Vm := [[[14597218413851993679]], [[66065704440836, 0], [(-59621553621506461)]], [[(-22479583466769), 0, 0], [2986728223069, 0], [4160392488049562]], [[5069681131817, 0, 0, 0], [(-1011417761070), 0, 0], [(-20438597088), 0], [13496540689135]], [[(-851675934862), 0, 0, 0, 0], [226826743829, 0, 0, 0], [7090269040, 0, 0], [(-1529940348), 0], [(-393167090408)]]], rm := 1099511627776, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 17592186044416 70368744177664 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 true 6917529027641081856 7493989779944505344 0 2305843009213693952 17592186044416 70368744177664 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 1152921504606846976, th := 1152921504606846976, sc := 140737488355328, shN := 375, shD := 512 }
noncomputable def q2 : TCert := { V0 := [[[931412524500413350]], [[43706050611277, 927990116155585553], [27480396341293951]], [[(-14895122625701), 43224583934304, (-5111378301639148)], [2299600130240, 27177671777456497], [421353800140972]], [[3365040437942, (-14731060229572), (-716988531219), (-1666908431977226)], [(-776694380538), 2245904119636, (-450810099161300)], [65578873620, 407795290297173], [13053118147886]], [[(-566335676742), 3327986462556, 244317996614, (-230367026295), 27362512289929], [173618444001, (-758474964507), (-79655839305), (-144844411654401)], [(-22052261986), 62513546629, (-20094503303672)], [2023609428, 12548765987032], [226742622246]]], r0 := 70368744177664, V1 := [[[10907281676141657442]], [[286412529010607, 0], [180083299777554564]], [[(-97618168816006), 0, 0], [4858869425216, 0], [(-448838392914513)]], [[22057166632489, 0, 0, 0], [(-1610481056714), 0, 0], [(-63303636927), 0], [29174942934945]], [[(-3713479128848), 0, 0, 0, 0], [351957767088, 0, 0, 0], [21870372470, 0, 0], [(-68041253), 0], [(-640644100318)]]], r1 := 4398046511104, V2 := [[[7992722996534974370]], [[251460488814301, 600107066966573986], [(-806223965131142596)]], [[(-84939860141830), 10055578941336, (-21726557769688708)], [(-2337721646314), 76148678711918585], [(-26258637895615839)]], [[18990979552052, (-3482856034109), (-1679875950410), 291675467559157], [799803793478, 4661912464537, (-2462337903168309)], [(-2578476311008), 2645338271632169], [(-221395989689361)]], [[(-3157182990261), 801627188249, 573627196445, 79900776835, 23082805684141], [(-181666843759), (-1583778923286), (-452977000195), (-98131947272848)], [868947805589, 586574929949, 160248316248916], [(-172565607103), (-164232859531791)], [45701257210122]]], r2 := 1125899906842624, Vm := [[[14596964075296103509]], [[238307014087396, 0], [(-59633005917456157)]], [[(-80415436954304), 0, 0], [10700203485040, 0], [4160472458325173]], [[17959752454016, 0, 0, 0], [(-3589313049009), 0, 0], [(-75774830554), 0], [13502400431149]], [[(-2982443811135), 0, 0, 0, 0], [795980545334, 0, 0, 0], [26168082324, 0, 0], [(-5470534246), 0], [(-393158115403)]]], rm := 4398046511104, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 70368744177664 281474976710656 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 true 6917529027641081856 7493989779944505344 0 2305843009213693952 70368744177664 281474976710656 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 1152921504606846976, th := 1152921504606846976, sc := 562949953421312, shN := 375, shD := 512 }
noncomputable def q3 : TCert := { V0 := [[[931244051760846349]], [[157986369764796, 927823498979772264], [27471598918142634]], [[(-53399741824340), 156246617440860, (-5108615037347476)], [8205714377999, 27169080554493684], [421103850424758]], [[11944734008599, (-52811996361700), (-2590803884828), (-1666020594504672)], [(-2742129852365), 8012876784115, (-450504213151333)], [232514077216, 407557078761849], [13045403182320]], [[(-1985722711960), 11813397290135, 875261813393, (-832431536285), 27337953912399], [604957431087, (-2677335559763), (-286061202681), (-144748090139961)], [(-77249690989), 221558713566, (-20077189948362)], [7178076318, 12541570017378], [226534359442]]], r0 := 70368744177664, V1 := [[[10906177527488529233]], [[1035535492386996, 0], [180065000257355187]], [[(-350119405519335), 0, 0], [16878642097780, 0], [(-448591576643726)]], [[78364552143714, 0, 0, 0], [(-5505927691617), 0, 0], [(-233288260868), 0], [29175167010202]], [[(-13043772526737), 0, 0, 0, 0], [1179486267339, 0, 0, 0], [80146630914, 0, 0], [(-184857598), 0], [(-640520153733)]]], r1 := 17592186044416, V2 := [[[7991760874012859927]], [[897530286241818, 600067771965693913], [(-806214920004754785)]], [[(-300042399478708), 37203262945243, (-21720071702277562)], [(-8507934194213), 76130755677231285], [(-26248791420332805)]], [[66244410532228, (-12828005390645), (-6089414441162), 291368649308156], [2896632270934, 16776746714449, (-2460600002744947)], [(-9172819227266), 2643095524905413], [(-220738362522872)]], [[(-10841494572012), 2938078135973, 2063267877580, 286931659264, 23081290360942], [(-655481428222), (-5649059621515), (-1624281890182), (-98161431851882)], [3057517058827, 2091030178713, 160348422842878], [(-611690307899), (-164298535890998)], [45705323195752]]], r2 := 1125899906842624, Vm := [[[14596053000003127290]], [[849472465072916, 0], [(-59673711575089821)]], [[(-283695044843272), 0, 0], [37819586721380, 0], [4160767799899324]], [[62582874791810, 0, 0, 0], [(-12535526559269), 0, 0], [(-279093095116), 0], [13523182088854]], [[(-10239215633167), 0, 0, 0, 0], [2740238988038, 0, 0, 0], [95843120081, 0, 0], [(-19288842550), 0], [(-393129323618)]]], rm := 17592186044416, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 281474976710656 1125899906842624 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 true 6917529027641081856 7493989779944505344 0 2305843009213693952 281474976710656 1125899906842624 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 0 1125899906842624 :=
(TailPosI.split_s 281474976710656 (TailPosI.split_s 70368744177664 (TailPosI.split_s 17592186044416 leaf_0 leaf_1) leaf_2) leaf_3)
end CKLaneC.RST2.U_0402
end
-- ===== source module CKLaneC.RST2.U_0403 =====
section
/-! RA-stat u-tail cover batch U_0403 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0403
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 1152921504606846976, th := 1152921504606846976, sc := 2251799813685248, shN := 375, shD := 512 }
noncomputable def q0 : TCert := { V0 := [[[930639345535633689]], [[564188020084167, 927225447488061417], [27440491745137003]], [[(-188608103038669), 557983211472967, (-5098704896498466)], [28821378463636, 27138707599755128], [420226790405568]], [[41600223076127, (-186537590389475), (-9240162178326), (-1662836365048419)], [(-9489844830775), 28139104147233, (-449415061915406)], [809599433496, 406721575165375], [13018320988729]], [[(-6786379923478), 41145223604120, 3083435062968, (-2969030558749), 27249949897989], [2053085391379, (-9263850421478), (-1012091743358), (-144405155086810)], [(-264348454268), 771089782271, (-20015899069295)], [25001751185, 12516319240698], [225805897437]]], r0 := 70368744177664, V1 := [[[10902212372406098415]], [[3700922155089230, 0], [180002269156601538]], [[(-1238573131028144), 0, 0], [57298592060172, 0], [(-447686485453504)]], [[273792320679534, 0, 0, 0], [(-18288045721383), 0, 0], [(-852411422738), 0], [29175701678764]], [[(-44868330259026), 0, 0, 0, 0], [3808601360664, 0, 0, 0], [290570315824, 0, 0], [(-382885549), 0], [(-640076747593)]]], r1 := 70368744177664, V2 := [[[7988356799372274731]], [[3155435998416918, 599922925878040051], [(-806182102110346092)]], [[(-1040360318582180), 136796575514891, (-21696715757376886)], [(-30827860761336), 76066740430652638], [(-26214085280839245)]], [[225692195787924, (-46937054668773), (-21823234893948), 290276102849214], [10485641938508, 59597714502756, (-2454421040463561)], [(-32115958777855), 2635175139370171], [(-218431440248584)]], [[(-36085896795416), 10695148457209, 7318714428358, 1015345421325, 23074986530708], [(-2384331843584), (-19834972610179), (-5738903346315), (-98262076855917)], [10549766730615, 7333669163236, 160696225049682], [(-2129202509909), (-164525748484369)], [45718891499131]]], r2 := 1125899906842624, Vm := [[[14592833242758246014]], [[2983686207705335, 0], [(-59816167110704135)]], [[(-983448241482431), 0, 0], [131420442340693, 0], [4161850292672248]], [[213538190408991, 0, 0, 0], [(-42898700398689), 0, 0], [(-1019343447348), 0], [13595710212876]], [[(-34268960868116), 0, 0, 0, 0], [9204891525137, 0, 0, 0], [347418152098, 0, 0], [(-66826324390), 0], [(-393041753341)]]], rm := 70368744177664, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 1125899906842624 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 6917529027641081856 7493989779944505344 0 2305843009213693952 1125899906842624 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 7493989779944505344 0 2305843009213693952 1125899906842624 4503599627370496 :=
leaf_0
end CKLaneC.RST2.U_0403
end