Courtade–Kumar proof module `CKLaneC.RST2.U_0521` (transplant)
DefinitionCK_CKLaneC_RST2_U_0521Verbatim transplant of the Lean module CKLaneC.RST2.U_0521 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_0521 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_0521 =====
section
/-! RA-stat u-tail cover batch U_0521 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0521
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 := 11529215046068469760, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[5995457254791792623]], [[231866305761158429, 1023608200578155668], [294865291289161386]], [[(-30334755276116929), 26557346589316399, (-43740147111866521)], [12385065024677264, 33773081915543228], [(-100773188709177)]], [[2183098196791099, (-4189531513059995), (-4291612486448715), (-483300357099711)], [(-1423938378915693), (-400161832804650), (-5457660446880189)], [(-16521312903972), (-1167975196355923)], [381298437419910]], [[(-61655188333481), 430462801420701, 465840758994278, 126930933709813, 212583912342743], [79892900156894, (-27054956052881), (-472448746823559), 161418566699824], [5616842544708, (-130858344067568), (-152782653459710)], [12416026073977, 30711325632738], [(-18656200555596)]]], r0 := 4503599627370496, V1 := [[[8673850259833319381]], [[277691741775475390, 0], [353141678168474594]], [[(-38874722519602120), 0, 0], [8360638184843720, 0], [(-4236036778712262)]], [[3286303234959795, 0, 0, 0], [(-1107925682364273), 0, 0], [(-334623397604426), 0], [471619402561063]], [[(-167167089071514), 0, 0, 0, 0], [98982216328580, 0, 0, 0], [42452855369208, 0, 0], [12419595169153, 0], [(-31782478774819)]]], r1 := 4503599627370496, V2 := [[[13432592095429287502]], [[167141847577341886, 276662952620987289], [(-627596503451107887)]], [[(-23335525263821753), (-2760492844999763), (-12658054448214839)], [22403468823285007, 73367727239182970], [(-12758048877481333)]], [[2013151232224145, 52340795431088, (-234660823497454), 503338229228495], [(-2885422161279007), (-315483381197584), (-4883930135929245)], [290984546636227, 6476791272291199], [(-604417475833945)]], [[(-111859491680163), 57573768472175, 56148836635105, 27218581275994, (-17045315054681)], [205446294652116, (-61608035937649), (-147592471300902), 241662242070944], [(-1361996862692), 100463197799937, (-694561928252795)], [(-24273331535371), 248500533200957], [(-15303366362891)]]], r2 := 18014398509481984, Vm := [[[14665705552212422407]], [[162981091351816856, 0], [(-300629091511512204)]], [[(-23883309213640220), 0, 0], [20571731187076060, 0], [15057920506706379]], [[2309134825733846, 0, 0, 0], [(-3008572473295560), 0, 0], [36492589961771, 0], [271743051946536]], [[(-167714317142211), 0, 0, 0, 0], [295631008926156, 0, 0, 0], [(-11133089987013), 0, 0], [(-31578932709500), 0], [1767509924349]]], rm := 1125899906842624, rhoP := [[[24325341247704809929]], [[32818602146745515, (-2527118241689366860)], [870978480148562277]], [[(-18140479035430716), (-20718261419340340), 241934945220730592], [4294174009392240, (-455991785778892887)], [30448226641765925]], [[2722557278075157, 9789857331373629, 4964487891936114, (-22373733767479332)], [(-3339716846829796), (-4502810754167096), 78092773116125683], [303094158172059, (-27696279402931255)], [932387690117625]], [[(-267918996848254), (-1423271050462230), (-1791865725986836), (-808075285600996), 2027227082525056], [528507055730975, 2377449999228986, 1830705887755177, (-10376011265193650)], [(-242089038222446), (-523356224906636), 9879081182065338], [36772608673371, (-1263518288142492)], [29565280016479]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5764607523034234880 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5764607523034234880 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 6341068275337658368, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[6587586132336320549]], [[256657772431658430, 1086657152858204322], [298561094384140387]], [[(-33172831155439332), 25214385316296747, (-55288426339364480)], [12444875467579988, 29331020849023712], [1854694391420219]], [[2341252621358277, (-4194586412750091), (-5244298319293822), (-29445880355042)], [(-1419853988759879), (-954207338835523), (-6100510538414301)], [41487398230095, (-1083894958304578)], [285978948280297]], [[(-62116188046438), 463757529897120, 581983193379383, 256991874871255, 276434807333165], [78770000588288, 22814053235126, (-477257992954832), 298949744176654], [(-3002079086672), (-147931798128234), (-167584475010028)], [7421003680065, (-406309599370)], [(-6866473978969)]]], r0 := 4503599627370496, V1 := [[[9366527486336892183]], [[293156266105709349, 0], [341018527531226844]], [[(-40932359398096241), 0, 0], [7137026246936543, 0], [(-1998116335033476)]], [[3474202191567672, 0, 0, 0], [(-954466829611870), 0, 0], [(-284457546822923), 0], [296945688809307]], [[(-182031864637676), 0, 0, 0, 0], [89313416433983, 0, 0, 0], [35256903192735, 0, 0], [5067955758692, 0], [(-14534932637805)]]], r1 := 1125899906842624, V2 := [[[12121266318018627752]], [[212876422864261308, 451398132030574573], [(-686422256370014380)]], [[(-29061662908394864), (-2760984026163404), (-25534859430917620)], [23188777028569510, 102464082085395730], [(-16802500934164066)]], [[2388974305708752, (-209945841073474), (-754102843891952), 1172146926906189], [(-2811943244592958), 451619093407985, (-8153604636185223)], [75784113238534, 8120293327087662], [(-752025886665582)]], [[(-116840221070244), 126353110737379, 148312193435475, 92540978903992, (-39000109991920)], [166523207699792, (-220592208913071), (-408968058276040), 430453085460589], [41970764250039, 306739489322391, (-933454674079701)], [(-50309606741865), 296890117007461], [(-21514570230561)]]], r2 := 18014398509481984, Vm := [[[14126867965172385750]], [[204002995100856903, 0], [(-237113238951877502)]], [[(-29907164634499352), 0, 0], [20309146549397400, 0], [16697442336409545]], [[2907620197680733, 0, 0, 0], [(-2994769182559592), 0, 0], [(-174904267760428), 0], [269157972927423]], [[(-214526499195647), 0, 0, 0, 0], [300828032172922, 0, 0, 0], [19631341001130, 0, 0], [(-38649491471802), 0], [(-2439325072216)]]], rm := 1125899906842624, rhoP := [[[26197048711861557434]], [[42954010039433368, (-3560860661719956874)], [1004970651212760153]], [[(-25928386806588688), (-32316809974934361), 443954469707006173], [6031341199605020, (-583702615654280477)], [36817997256566351]], [[3961511434994885, 15773348207170313, 10215602719880504, (-53313186088556646)], [(-4526325523779901), (-7387933067160886), 127453713047384756], [589629177047798, (-36641539320450493)], [1202992519723352]], [[(-390051110051504), (-2315012336774354), (-3746839580278162), (-2191358799787684), 6258425568423707], [722554825076457, 3716114717470353, 3630977974422658, (-21790222819939150)], [(-359696153986249), (-964563928831015), 15187285095483690], [61034871123134, (-1747081280188287)], [38669987893750]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 5764607523034234880 6917529027641081856 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 5764607523034234880 6917529027641081856 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := false, bc := 7493989779944505344, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[7194326796893886079]], [[281765877849264379, 1140931405311126329], [309245123236443994]], [[(-36033330945020303), 22681428314709152, (-68172119009463811)], [12686159578631413, 24893436877098120], [3457439435190584]], [[2500048697463747, (-4093249108195843), (-6184579196590875), 742046498298387], [(-1444734473415337), (-1596742428368397), (-6787730900611202)], [75961016682422, (-1158315544274049)], [255662334404278]], [[(-62501237276698), 496912553551320, 709200601620651, 438094642875809, 332178180706684], [80474988506098, 80219711372169, (-457805652405840), 480819866690288], [(-9152161774682), (-174916109554638), (-174310574390910)], [4203182256201, (-23942634995634)], [(-1262200413890)]]], r0 := 18014398509481984, V1 := [[[10042745025339504417]], [[306323171351285730, 0], [336197369240655979]], [[(-42705000531874550), 0, 0], [6040690520052968, 0], [(-494757862163903)]], [[3644624090319958, 0, 0, 0], [(-819939080393106), 0, 0], [(-268070311436657), 0], [213927439503978]], [[(-196858821627623), 0, 0, 0, 0], [81270043463705, 0, 0, 0], [32586134752198, 0, 0], [679432670547, 0], [(-7130639338766)]]], r1 := 1125899906842624, V2 := [[[10674833208630268814]], [[259074233745368107, 691241544434023657], [(-763389958109301998)]], [[(-34432958072609490), (-183339804147836), (-45792061335102926)], [22722147295634012, 138614904684479336], [(-21875175020521949)]], [[2661490795760273, (-931221702891606), (-2077567190853893), 2175389935620820], [(-2511505403887708), 2387479956628075, (-12172045219864771)], [(-357388586670560), 9966910198704927], [(-945523978019726)]], [[(-107571137921354), 247909823953565, 342855352914255, 261091224430873, (-40856293257627)], [101072849677142, (-531496186135202), (-982631227323750), 534261400686320], [113909900470265, 700686993072009, (-1030103626081558)], [(-98823173715699), 307321229024456], [(-26445973332337)]]], r2 := 18014398509481984, Vm := [[[13721531768829862053]], [[243601602235002054, 0], [(-167205920706809993)]], [[(-35768029818696197), 0, 0], [19124760928422034, 0], [18219598156906002]], [[3502094771975057, 0, 0, 0], [(-2839729662898477), 0, 0], [(-421522756880470), 0], [232569708197017]], [[(-262997744342741), 0, 0, 0, 0], [290506578959583, 0, 0, 0], [59110011469579, 0, 0], [(-42839454149933), 0], [(-6668992050465)]]], rm := 1125899906842624, rhoP := [[[28364541817908104322]], [[57935019787239072, (-4890051315709267114)], [1168010023061940123]], [[(-36637113775642925), (-51883593926632834), 769422262442904242], [9269705858202987, (-753767340882481266)], [45059810343397959]], [[5672405723092166, 25235743108352145, 20728773583889810, (-116223544491988677)], [(-6304142588205916), (-12726444110593734), 203505806484807214], [1072089733410927, (-49086368389864752)], [1561726685759366]], [[(-555672413109765), (-3716372829159713), (-7543853168562346), (-5646454036173760), 17114401845264315], [1006548814758446, 5936055259640173, 7327437055086138, (-43357274195870126)], [(-542982311300503), (-1791657811814468), 23453784392939276], [103803434195277, (-2444371827943711)], [51779921873631]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 6917529027641081856 8070450532247928832 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 6917529027641081856 8070450532247928832 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := false, bc := 8646911284551352320, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[7828684591521981791]], [[307469783482339166, 1185847541203917020], [326133805882859887]], [[(-38966169170575985), 18742851925971492, (-82441096978162229)], [13028631386553594, 19880580011749613], [4991992877772076]], [[2664977659331989, (-3865048506186098), (-7048619018905551), 1930456322730862], [(-1491297539986764), (-2366125716415980), (-7476484098106565)], [92248933987394, (-1371780273194396)], [260622015545608]], [[(-63115350798072), 529768242773698, 846580803184049, 676510045213203, 362721481213576], [84932369549378, 150651004002008, (-397751308349020), 717575539503512], [(-13947655352329), (-211355338414742), (-166984058275765)], [1159325663430, (-47688382676900)], [2336754945220]]], r0 := 18014398509481984, V1 := [[[10714772739155564252]], [[317330698254086281, 0], [336593297633798471]], [[(-44215003917460104), 0, 0], [4962674455408410, 0], [652700034560376]], [[3799599528672470, 0, 0, 0], [(-689859433328590), 0, 0], [(-274263817252041), 0], [173624343435014]], [[(-211732141165255), 0, 0, 0, 0], [73711366828129, 0, 0, 0], [32885891422616, 0, 0], [(-2661131021398), 0], [(-3298530297671)]]], r1 := 1125899906842624, V2 := [[[9052557706876627884]], [[302155533192400811, 1010679592441637242], [(-863100242928620724)]], [[(-38867556277237544), 8191717942501858, (-73953421617718019)], [19813020016811639, 181901262153843817], [(-28197072526702680)]], [[2773195898246684, (-2476752995815291), (-5017828071873055), 2957012748888957], [(-1850091745780731), 6439724071912553, (-15711208256929472)], [(-1180779092039690), 11564596110995530], [(-1161427271880618)]], [[(-81922328283412), 433783477119318, 689547159190793, 599889240669990, 116960935957023], [5997217864171, (-1051415931773477), (-2049996152670577), 88416363111869], [223375877579111, 1379656439060482, (-599535877436916)], [(-182614237336760), 192598717964719], [(-26017533073510)]]], r2 := 72057594037927936, Vm := [[[13461739702422354277]], [[279820988854150169, 0], [(-91781004664215633)]], [[(-41152903115965046), 0, 0], [16923148316798122, 0], [19424487467537236]], [[4055240795118721, 0, 0, 0], [(-2515747884153048), 0, 0], [(-678116105122377), 0], [164367635277630]], [[(-309146510118205), 0, 0, 0, 0], [258692956114224, 0, 0, 0], [103072151476544, 0, 0], [(-41656791562684), 0], [(-10168559352905)]]], rm := 1125899906842624, rhoP := [[[30894176109804035330]], [[81719534964809448, (-6615293732275792453)], [1368780297640110959]], [[(-51760352278168218), (-86269972513164285), 1285642798712439356], [15064202565306129, (-983132383812157327)], [55808644264263924]], [[8077362260393554, 40528848561880105, 42168453109601200, (-238923345152422250)], [(-9012096886104039), (-22701371515314581), 321353161761622709], [1900529730479413, (-66611144915287306)], [2045888659319191]], [[(-780583796530548), (-5942364957796214), (-14917906488316292), (-14195876494649700), 43134779542907310], [1425729055739554, 9689586932492027, 15067645297190287, (-83412998718506902)], [(-833616123970194), (-3365224210612853), 36458611749371751], [179613645817800, (-3461985370069635)], [70317101448213]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 8070450532247928832 9223372036854775808 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 8070450532247928832 9223372036854775808 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 9223372036854775808 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 6917529027641081856 (TailPosI.split_b 5764607523034234880 leaf_0 leaf_1) (TailPosI.split_b 8070450532247928832 leaf_2 leaf_3))
end CKLaneC.RST2.U_0521
end