Courtade–Kumar proof module `CKLaneC.RST2.U_0439 (+2 modules: CKLaneC.RST2.U_0440, CKLaneC.RST2.U_0441)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0439__3Verbatim transplant of the Lean module CKLaneC.RST2.U_0439 (+2 modules: CKLaneC.RST2.U_0440, CKLaneC.RST2.U_0441) 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_0439 (+2 modules: CKLaneC.RST2.U_0440, CKLaneC.RST2.U_0441) 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_0439 =====
section
/-! RA-stat u-tail cover batch U_0439 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0439
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 171373653477031936, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1876847975967281916]], [[12959692472672847, 1848930252477055352], [53491586378555930]], [[(-907813791205079), 12382919278389311, (-41143468873868879)], [578841428702846, 51110934738255837], [848809060033701]], [[38065256332196, (-871367425994246), (-839950305041801), (-12515629334736864)], [(-37253365659690), 520422664682597, (-3466924418968970)], [15354346917716, 743635530779993], [25040771982755]], [[(-920294268020), 36916526855920, 53249349191568, (-239073975055285), 859685074988648], [1304088585987, (-33770905369984), (-83648382424321), (-986786238523833)], [(-911626247412), 12241241639127, (-150219615781836)], [464433331306, 21164257997261], [469562653761]]], r0 := 1125899906842624, V1 := [[[10987234532632876276]], [[42500997298738271, 0], [175424360799770398]], [[(-3153568125640834), 0, 0], [441979816863282, 0], [(-221850285419720)]], [[150092749703861, 0, 0, 0], [(-29189591647122), 0, 0], [(-10033149952030), 0], [24941511704922]], [[(-5035023204257), 0, 0, 0, 0], [1234581071321, 0, 0, 0], [727016502057, 0, 0], [(-17630097561), 0], [(-442085642220)]]], r1 := 17592186044416, V2 := [[[6791059804945209177]], [[31969652308425472, 1385773707317055849], [(-822402958437814766)]], [[(-2201700239511329), 5403498498688811, (-93407330487039178)], [(-1133169250781388), 150959215047510664], [(-22292589022560910)]], [[90725616089975, (-418389945860662), (-1283289382847321), 377825330748624], [89243851199632, 1565286898182255, (-6077427721604212)], [(-347042486391240), 2839046367588188], [84451235094387]], [[(-2154057290201), 21097378237807, 87874355714839, 75462560218498, 731664569210538], [(-4779472396006), (-107202476877930), (-229198443600829), (-1704065491288457)], [22978852774754, 131474153596589, 1348463544459158], [(-15547764967810), (-486665397030767)], [49349264656373]]], r2 := 18014398509481984, Vm := [[[14268483021442251515]], [[34008965808666841, 0], [(-51335120923343819)]], [[(-2509448785853720), 0, 0], [1260217648984841, 0], [4337701363798034]], [[121293231291163, 0, 0, 0], [(-91800485755272), 0, 0], [(-16335021251327), 0], [14554646977872]], [[(-4345935361343), 0, 0, 0, 0], [4413193601368, 0, 0, 0], [1224142327089, 0, 0], [(-667705221953), 0], [(-467306964726)]]], rm := 4398046511104, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 144115188075855872 203787883138514944 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 7493989779944505344 8070450532247928832 0 4611686018427387904 144115188075855872 203787883138514944 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 242358944980795392, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1847274271401656000]], [[17037071083433767, 1820652235018659187], [52187151696554602]], [[(-1155966235222417), 16302387081119791, (-39255693196761754)], [742333017629360, 49936702350535683], [814590066404725]], [[45345751649892, (-1112849890580435), (-1070911421207252), (-11976886533386811)], [(-45283245233123), 669079307198835, (-3280365299787883)], [19258968641447, 716296991011013], [24008954029493]], [[(-895786350954), 44283696657747, 63133416749467, (-306435965928745), 795909624939388], [1378408700353, (-41304116853405), (-105032699318021), (-938660181723000)], [(-1054281828279), 15420269511632, (-140603438480048)], [578919830260, 20422314010085], [442748278944]]], r0 := 1125899906842624, V1 := [[[10889323143267145570]], [[56942332726745899, 0], [174423064939601427]], [[(-4174894950134904), 0, 0], [573617900909916, 0], [(-198836950985063)]], [[195058449603204, 0, 0, 0], [(-37570586707965), 0, 0], [(-13321679239975), 0], [24978512295443]], [[(-6341430500590), 0, 0, 0, 0], [1603252718247, 0, 0, 0], [938771003296, 0, 0], [(-19573939889), 0], [(-433024133798)]]], r1 := 17592186044416, V2 := [[[6718280780796198596]], [[41837103061025067, 1373239135364404979], [(-819765052062819511)]], [[(-2792114315778324), 7336597696396070, (-90489845545933419)], [(-1549954664130316), 147399646436783369], [(-21507222487494820)]], [[107706153429355, (-563403375108679), (-1674176387962318), 211959359915042], [122752578041988, 2043646932161486, (-5567191510090799)], [(-448824845347620), 2546742952307456], [118661264242519]], [[(-2077954650697), 27937217528125, 109680526996722, 91949944904718, 705701484273098], [(-6574808189439), (-134703223203274), (-286677586636206), (-1666867656709098)], [28453384941175, 164040595058681, 1333577650688234], [(-18994753926903), (-481375429405265)], [48222809806683]]], r2 := 18014398509481984, Vm := [[[14190175008555244744]], [[45535720422611528, 0], [(-54231555659286267)]], [[(-3343932386118862), 0, 0], [1681682696724560, 0], [4375393464247074]], [[161217236134998, 0, 0, 0], [(-122251632558567), 0, 0], [(-21953982608710), 0], [16095500835656]], [[(-5795475213019), 0, 0, 0, 0], [5902425775418, 0, 0, 0], [1628230052447, 0, 0], [(-898429568426), 0], [(-470383357514)]]], rm := 4398046511104, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 203787883138514944 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 true 7493989779944505344 8070450532247928832 0 4611686018427387904 203787883138514944 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 144115188075855872 288230376151711744 :=
(TailPosI.split_s 203787883138514944 leaf_0 leaf_1)
end CKLaneC.RST2.U_0439
end
-- ===== source module CKLaneC.RST2.U_0440 =====
section
/-! RA-stat u-tail cover batch U_0440 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0440
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 := 2305843009213693952, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[2029902819191292933]], [[34317657008371448, 1994607014346594830], [117188353756616217]], [[(-4717495078088148), 32533110153790945, (-51860616135713003)], [3128842158833548, 111094461389814424], [4330227464958780]], [[377565161564964, (-4502115395976656), (-2585695396456015), (-15521421919612483)], [(-390398572970792), 2761701734154018, (-8829664179953319)], [183621969300659, 3755993300140041], [251973101820292]], [[(-15677439333595), 365997841448533, 313598833704297, (-714695502942594), 1256203459818869], [24904985867104, (-349126668131208), (-521532261324437), (-2440550921255157)], [(-20983247395323), 142163720290677, (-814219048096231)], [11662700649498, 206567400757204], [11467589897119]]], r0 := 4503599627370496, V1 := [[[11465446973835381531]], [[102097021570638478, 0], [348642154631891640]], [[(-15141905217106766), 0, 0], [1747522334755874, 0], [(-26959189027409)]], [[1436963519948032, 0, 0, 0], [(-228546042848453), 0, 0], [(-96639059037004), 0], [166452883548394]], [[(-95809630853609), 0, 0, 0, 0], [19523778050250, 0, 0, 0], [13809357325337, 0, 0], [(-1146970267288), 0], [(-4267188853023)]]], r1 := 281474976710656, V2 := [[[4103368787925494327]], [[57856004858387434, 1835857793524324672], [(-1887935237519989055)]], [[(-7815660291779204), 25812130309701562, (-91612188060777130)], [(-16354635610144639), 296283292494255354], [(-71540971967344107)]], [[608535866481115, (-3682285085800979), (-3976861795935213), (-8720299256798197)], [2229878446545894, 9799453290453167, 16138090194697355], [(-3941415631942413), (-14974773981456845)], [6709782646565272]], [[(-23426475994870), 318961802851474, 496748746187884, (-233850826545359), 1715509852098279], [(-180751230186824), (-1230881816272913), (-2885164784003), (-8593714468662062)], [473525265425038, 267612685342450, 12954966471835141], [2111620672272, (-7284143703909715)], [1100158121885506]]], r2 := 72057594037927936, Vm := [[[14113699373947602786]], [[87805338917139247, 0], [(-52379186457653647)]], [[(-13018276664869962), 0, 0], [5330907746963768, 0], [17862098421833749]], [[1266838826380268, 0, 0, 0], [(-780138359255838), 0, 0], [(-207771125414648), 0], [72703271353617]], [[(-91859993825746), 0, 0, 0, 0], [75695447526086, 0, 0, 0], [31301539422933, 0, 0], [(-11793222244747), 0], [(-8846098983161)]]], rm := 281474976710656, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 8070450532247928832 9223372036854775808 0 4611686018427387904 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 144115188075855872 288230376151711744 :=
leaf_0
end CKLaneC.RST2.U_0440
end
-- ===== source module CKLaneC.RST2.U_0441 =====
section
/-! RA-stat u-tail cover batch U_0441 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0441
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 5188146770730811392, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1385641772560662307]], [[35130673801506285, 1374386972324227944], [81315039698939951]], [[(-4740034774386588), 34275880659456215, (-16720666462357131)], [2925851480319827, 79336496996545135], [1055023378665607]], [[360715537905797, (-4646294008115597), (-1261757378740016), (-5307103304923915)], [(-344386259275076), 2754700423654705, (-2920520452365351)], [92672255542603, 913667046785233], [133719288217370]], [[(-12272642611835), 357585730446559, 138886389218034, (-387022378864357), 195042014809409], [18581867910408, (-327364944878708), (-250247041809886), (-895819427761273)], [(-8393825314875), 77905099833098, (-205891384232211)], [6337335611489, 125233785388341], [(-1795532450900)]]], r0 := 4503599627370496, V1 := [[[9092130182509891306]], [[158102947667925668, 0], [365952202874787231]], [[(-23105003265257497), 0, 0], [4960609743052735, 0], [(-4750051282174575)]], [[2112657695427032, 0, 0, 0], [(-662286681582766), 0, 0], [(-198022235146528), 0], [490278541709946]], [[(-128249068201610), 0, 0, 0, 0], [56923661550616, 0, 0, 0], [27569673528968, 0, 0], [7020265439091, 0], [(-33693659745631)]]], r1 := 1125899906842624, V2 := [[[12350150875645028961]], [[101591028105578375, 407232431376406913], [(-985436320401017745)]], [[(-14035874163257849), (-441636904546849), (-21748163835116150)], [12762547053924339, 129347785301253419], [(-54451295377344288)]], [[1170945457993605, (-145510876338243), (-396335110013123), 956003127447860], [(-1542853745878215), 909046400403235, (-9513559065616951)], [(-528216388107283), 15565057166969672], [(-2813057109707914)]], [[(-58115683802427), 48638395331883, 70881506226916, 41686450547119, (-31690242670865)], [88766906796730, (-200882179897428), (-295582784891229), 476425549058007], [112047111151318, 443662306007613, (-1532588632502064)], [(-171077604675110), 836158069810895], [(-47261440768191)]]], r2 := 72057594037927936, Vm := [[[14909133926524123240]], [[91405939153409163, 0], [(-269864035867950718)]], [[(-13499283689660624), 0, 0], [11579521321736377, 0], [15101551485106873]], [[1307600834610729, 0, 0, 0], [(-1693445750212440), 0, 0], [13306664113065, 0], [223844703244270]], [[(-94197312972199), 0, 0, 0, 0], [163966257124408, 0, 0, 0], [(-2613277833826), 0, 0], [(-18294815942589), 0], [487909326793]]], rm := 1125899906842624, rhoP := [[[40786115176607185151]], [[(-7751856293665657), (-6613750533808222771)], [5262707902430371717]], [[(-48531584083873626), (-20233747756230555), 990889899164296094], [4780874686400019, (-2321303265248231340)], [630001410951576152]], [[7801612832031983, 23340338575003134, 11188595519294321, (-143627242737413578)], [(-18348408800241598), (-16266718877110119), 564350049366902259], [4632486343348161, (-449208006087093764)], [71939491224572722]], [[(-749409502240743), (-3538255902055222), (-6206471357814944), (-3216440290181647), 20420966174408619], [2942103046565317, 12614028803270954, 9605618455565537, (-112911316138080016)], [(-4084567462666938), (-7009705095007309), 165962470285543257], [1424773678648749, (-71001323789096815)], [8010554181335983]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5764607523034234880 0 4611686018427387904 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5764607523034234880 0 4611686018427387904 288230376151711744 576460752303423488 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 5764607523034234880 0 4611686018427387904 288230376151711744 576460752303423488 :=
leaf_0
end CKLaneC.RST2.U_0441
end