Courtade–Kumar proof module `CKLaneC.RST2.U_0008 (+1 modules: CKLaneC.RST2.U_0009)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0008__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0008 (+1 modules: CKLaneC.RST2.U_0009) 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_0008 (+1 modules: CKLaneC.RST2.U_0009) 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_0008 =====
section
/-! RA-stat u-tail cover batch U_0008 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0008
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 975057921444352, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[870608374470802681]], [[4024697790106242, 289271024965949207], [(-11532215640168772)]], [[(-671497658287472), 1328651102445344, (-464119992184261)], [(-61532868636014), (-3807066225353945)], [152533853220311]], [[73421685847413, (-221737405561725), (-6416692304448), (-50593282918958)], [9925230191550, (-19971852706002), 18386145546993], [920373068154, 49865675836911], [(-2015331299838)]], [[(-5820547081746), 24258095206352, 1041155384237, (-690471721796), 241584057187], [(-1040887032932), 3222166651718, 266774820933, 1978451353231], [(-144475831488), 291845520186, (-484841134851)], [(-13537675046), (-650212951302)], [26622340689]]], r0 := 1125899906842624, V1 := [[[2299232907687251558]], [[10425698917063012, 0], [(-29873400285247509)]], [[(-1740844458347198), 0, 0], [(-151507637966665), 0], [383825936077004]], [[190651243701077, 0, 0, 0], [24452566375175, 0, 0], [2113114415710, 0], [(-4877566708722)]], [[(-15165330870062), 0, 0, 0, 0], [(-2571532172286), 0, 0, 0], [(-331316348894), 0, 0], [(-28443241356), 0], [61343888468]]], r1 := 1125899906842624, V2 := [[[18445824743568558438]], [[2695540422647, 6610785854], [132043256251188]], [[(-443936396723), (-6593980), (-45682)], [(-400221711104), (-1912724887)], [(-9471341949633)]], [[48536069680, 898118, (-44), 0], [65617229547, 2006520, 19853], [29831483386, 276728358], [452224874662]], [[(-3963222218), (-70717), 10, 0, 0], [(-7137296515), (-273773), 18, 0], [(-4866224447), (-306000), (-4315)], [(-1489639751), (-26693207)], [(-16162566119)]]], r2 := 274877906944, Vm := [[[18445824779956285896]], [[2695541037115, 0], [132032682763902]], [[(-443936366553), 0, 0], [(-400221790624), 0], [(-9469805049169)]], [[48536079078, 0, 0, 0], [65617203567, 0, 0], [29831477934, 0], [452075869430]], [[(-3963228887), 0, 0, 0, 0], [(-7137297442), 0, 0, 0], [(-4866217764), 0, 0], [(-1489637268), 0], [(-16151725149)]]], rm := 68719476736, rhoP := [[[18448036807120557745]], [[644165549498, (-258564273876721)], [(-187626959726479)]], [[(-405748264683), (-128861342347), 3518571958], [(-58376289465), 37530494056194], [13624186530575]], [[52145528378, 81160895360, 5647191, (-47373)], [57715522579, 11682669015, (-1020525169)], [1202268103, (-2725577372548)], [(-660034660618)]], [[(-4691680198), (-10430516677), (-2248712), (-139), 2], [(-7544324286), (-11546339319), (-1482512), 20601], [(-4083514225), (-241404820), 148035682], [118334947, 132078517585], [24006521617]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 975057921444352, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[859443375196889629]], [[7721867213714564, 285584728987007345], [(-11363654116508463)]], [[(-1268882406183693), 2549807666150617, (-446544879377873)], [(-115345276602414), (-3752347920502219)], [150037536661924]], [[134645862043041, (-419209371646034), (-11999832457874), (-48701320554322)], [18225823061730, (-37450033182523), 17659193266776], [1693648818078, 49074098033681], [(-1978910155348)]], [[(-10021147676393), 44531444296107, 1864853289371, (-1292319610593), 226576827325], [(-1837837457985), 5922813474801, 494169047297, 1901803366505], [(-258943581502), 537116270711, (-464881873941)], [(-24535285854), (-639001552563)], [26096951716]]], r0 := 1125899906842624, V1 := [[[2270300201746139522]], [[20017529388892636, 0], [(-29458196307544551)]], [[(-3294355696434477), 0, 0], [(-284265979511749), 0], [378094954532033]], [[350678020108912, 0, 0, 0], [45032374294656, 0, 0], [3889248093126, 0], [(-4801131841081)]], [[(-26281434149848), 0, 0, 0, 0], [(-4574121238899), 0, 0, 0], [(-595989773419), 0, 0], [(-51465691925), 0], [60356266021]]], r1 := 1125899906842624, V2 := [[[18445817290950532497]], [[5146650513148, 6627789699], [133147952767512]], [[(-845342143361), (-11000091), (-45546)], [(-761835305541), (-1917902783)], [(-9553530250547)]], [[92193397455, 1347893, (-103), 0], [124519879273, 3352416, 19796], [56592215684, 277518562], [456320399256]], [[(-7515478196), (-74495), 22, 0, 0], [(-13504937306), (-412805), 43, 0], [(-9198690401), (-512032), (-4303)], [(-2815136301), (-26773806)], [(-16316506283)]]], r2 := 1099511627776, Vm := [[[18445817327336938420]], [[5146651480262, 0], [133137379387542]], [[(-845342501496), 0, 0], [(-761835395415), 0], [(-9551993318435)]], [[92193564874, 0, 0, 0], [124519952836, 0, 0], [56592196249, 0], [456171385559]], [[(-7515520550), 0, 0, 0, 0], [(-13504983286), 0, 0, 0], [(-9198695980), 0, 0], [(-2815130720), 0], [(-16305664233)]]], rm := 68719476736, rhoP := [[[18448033494509810511]], [[3016007857351, (-257901639896158)], [(-187219921013201)]], [[(-852701608364), (-603294880135), 3496203221], [(-397767038062), 37449055508077], [13601032739604]], [[105589737607, 170563531377, 18663747, (-46869)], [122479910854, 79579590298, (-1014363012)], [25399357574, (-2720942406060)], [(-659286843153)]], [[(-9449751723), (-21120744860), (-4642406), (-402), 2], [(-15316893157), (-24502688222), (-5237395), 20388], [(-8774848477), (-5083528572), 147193801], [(-1026214483), 131928574795], [23995853722]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 72057594037927936 288230376151711744 :=
(TailPosI.split_s 144115188075855872 leaf_0 leaf_1)
end CKLaneC.RST2.U_0008
end
-- ===== source module CKLaneC.RST2.U_0009 =====
section
/-! RA-stat u-tail cover batch U_0009 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0009
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 912083168576000, bh := 0, bN := 79, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[833093373303517310]], [[14519479717964848, 276881300371410585], [(-5827413311119487)]], [[(-2320850394406134), 4797158718767113, (-406830378834942)], [(-111990458008219), (-1925346301404496)], [40707666150983]], [[232613275670007, (-767539253338437), (-21210719879227), (-44420203833316)], [17089873967099, (-36404921864179), 8512951824967], [853096856646, 13329967424647], [(-284085498171)]], [[(-15154552168633), 77087311664202, 3023367153330, (-2288655614561), 194089357588], [(-1605554907002), 5567739445328, 458222579385, 918555103344], [(-124962045993), 271022426628, (-118591053499)], [(-6433304763), (-91911534759)], [1982304013]]], r0 := 281474976710656, V1 := [[[2201934828959941798]], [[37702513267984576, 0], [(-15131955961796219)]], [[(-6043746830469235), 0, 0], [(-276973574353503), 0], [102929564962917]], [[609442245750392, 0, 0, 0], [42539586115597, 0, 0], [1968800014097, 0], [(-693134024527)]], [[(-40300946368633), 0, 0, 0, 0], [(-4063100425413), 0, 0, 0], [(-291199406651), 0, 0], [(-13572495789), 0], [4623921299]]], r1 := 281474976710656, V2 := [[[18445863525473869487]], [[9164034293108, 5822203462], [67560400127311]], [[(-1502142514566), (-14699163), (-36999)], [(-721549405378), (-899502981)], [(-2589102599265)]], [[163619099872, 1352981, (-200), 0], [117654148080, 2400396, 8584], [28497062076, 69491901], [66060461946]], [[(-13346395189), 34748, 44, 0, 0], [(-12740161769), (-225139), 45, 0], [(-4618967549), (-196434), (-996)], [(-753250976), (-3579549)], [(-1262009086)]]], r2 := 68719476736, Vm := [[[18445863557284723566]], [[9164039965198, 0], [67555466004367]], [[(-1502145269996), 0, 0], [(-721550128300), 0], [(-2588719765061)]], [[163619947442, 0, 0, 0], [117654554050, 0, 0], [28497104043, 0], [66040649315]], [[(-13346566855), 0, 0, 0, 0], [(-12740292096), 0, 0, 0], [(-4618997139), 0, 0], [(-753252297), 0], [(-1261239624)]]], rm := 17179869184, rhoP := [[[18447940280109822313]], [[7443639788332, (-239256305637878)], [(-92747760308458)]], [[(-1642846709364), (-1488925662832), 3005303310], [(-554533774717), 18551879731883], [3598297868286]], [[199378100139, 328610129526, 39544836, (-37312)], [126684164165, 110936917062, (-465577361)], [20455331500, (-719839924351)], [(-93156884920)]], [[(-17792513367), (-39880345011), (-8158274), (-760), 2], [(-15468156416), (-25343139873), (-6033295), 8667], [(-4880140732), (-4093363408), 36075172], [(-496204761), 18640696195], [1811098672]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 844424930131968 985162418487296 4611686018427387904 9223372036854775808 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 844424930131968 985162418487296 4611686018427387904 9223372036854775808 288230376151711744 576460752303423488 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 1053182925801472, bh := 0, bN := 69, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[844101792988018869]], [[14731290563168044, 280517994789812121], [(-5224981111729292)]], [[(-2353154339117955), 4865989825093081, (-423123872247637)], [(-100652630676003), (-1725898000380807)], [32298617564531]], [[235645614915264, (-778060467448932), (-22088447305339), (-46177589725333)], [15342016192501, (-32697808735788), 7834460902320], [679027093758, 10571332720363], [(-199464323793)]], [[(-15330970410553), 78080620138279, 3145704647170, (-2381478570387), 207176324754], [(-1438933598264), 4995310464793, 422376906280, 844676879795], [(-99311383585), 215452346818, (-96570116164)], [(-4534233343), (-64481795493)], [1231807908]]], r0 := 70368744177664, V1 := [[[2230510282552073295]], [[38225855633497044, 0], [(-13558172164768991)]], [[(-6124085667808178), 0, 0], [(-248451576721355), 0], [81553400706336]], [[617110975780615, 0, 0, 0], [38121196632024, 0, 0], [1561304613295, 0], [(-485534748128)]], [[(-40769310790117), 0, 0, 0, 0], [(-3636624887634), 0, 0, 0], [(-230623097065), 0, 0], [(-9508690000), 0], [2863246983]]], r1 := 70368744177664, V2 := [[[18445728116824787447]], [[10613474319360, 7765845143], [68072306132292]], [[(-1738377749900), (-19932799), (-57026)], [(-730240779412), (-1047947736)], [(-2278064370467)]], [[189186776394, 1845297, (-305), 0], [118965700705, 2844994, 11557], [25204442753, 70714603], [50754406696]], [[(-15417437472), 43674, 67, 0, 0], [(-12869333773), (-268329), 61, 0], [(-4081121436), (-203500), (-1171)], [(-582311838), (-3181589)], [(-846603858)]]], r2 := 68719476736, Vm := [[[18445728159304277505]], [[10613481493895, 0], [68066550490349]], [[(-1738381374935), 0, 0], [(-730241559764), 0], [(-2277674264975)]], [[189187905324, 0, 0, 0], [118966165776, 0, 0], [25204480545, 0], [50736770288]], [[(-15417666949), 0, 0, 0, 0], [(-12869485348), 0, 0, 0], [(-4081150924), 0, 0], [(-582312751), 0], [(-846005498)]]], rm := 17179869184, rhoP := [[[18448126340547984272]], [[8551985773173, (-276473425121597)], [(-93617999503062)]], [[(-1896851457797), (-1710659892546), 4011774669], [(-555687888511), 18726314012261], [3172755498343]], [[230409828918, 379424709026, 52553422, (-57533)], [127739011759, 111172571134, (-542880679)], [17868891578, (-634734792529)], [(-71755986221)]], [[(-20569423037), (-46088275394), (-10884643), (-1166), 2], [(-15614463918), (-25555151860), (-6999857), 11671], [(-4297092912), (-3576104750), 36744495], [(-377554850), 14359488675], [1218767222]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 985162418487296 1125899906842624 4611686018427387904 9223372036854775808 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 985162418487296 1125899906842624 4611686018427387904 9223372036854775808 288230376151711744 576460752303423488 (by decide +kernel)))
theorem region : TailPosI 844424930131968 1125899906842624 4611686018427387904 9223372036854775808 288230376151711744 576460752303423488 :=
(TailPosI.split_b 985162418487296 leaf_0 leaf_1)
end CKLaneC.RST2.U_0009
end