Courtade–Kumar proof module `CKLaneC.RST2.U_0181` (transplant)
DefinitionCK_CKLaneC_RST2_U_0181Verbatim transplant of the Lean module CKLaneC.RST2.U_0181 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_0181 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_0181 =====
section
/-! RA-stat u-tail cover batch U_0181 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0181
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 11031521092845568, bh := 0, bN := 209, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1119406439771410963]], [[5401462807993422, 371155973282678241], [(-26902263111981937)]], [[(-891710439452776), 1771859783665688, (-983565600756982)], [(-154158841508189), (-8824838713538119)], [645629366367013]], [[96266372494941, (-292648545786508), (-14164834999296), (-105870566325896)], [24463116988116, (-49196508341306), 70548688685761], [4268204899258, 208369473035527], [(-15508789239450)]], [[(-7506993488619), 31623859200086, 2270958502517, (-1491831025539), 840232121332], [(-2511449252084), 7809244656155, 1076336696115, 7430141092192], [(-656929921618), 1311653274679, (-3366741294138)], [(-115791776592), (-4896195235791)], [374386547627]]], r0 := 4503599627370496, V1 := [[[2938036629085593069]], [[13735985720583935, 0], [(-68412782813334210)]], [[(-2270699331748751), 0, 0], [(-361458965205926), 0], [1565718487655929]], [[245815809570397, 0, 0, 0], [57398314267417, 0, 0], [8950919400533, 0], [(-35291926522690)]], [[(-19281418893724), 0, 0, 0, 0], [(-5917971011149), 0, 0, 0], [(-1373701149092), 0, 0], [(-210528738207), 0], [786840480481]]], r1 := 4503599627370496, V2 := [[[18436543941560977757]], [[33092038322728, 851136316308], [2060466524620829]], [[(-5377496663717), (-1129858879), (-67628171)], [(-7034740186498), (-347998352933)], [(-207632890199885)]], [[578962639937, 155252175, (-40875), 5275], [1135914292475, 492976776, 41576723], [753259427531, 71161268531], [13908611486754]], [[(-46450756990), (-12571192), 10897, 14, (-1)], [(-121391684997), (-67850465), 22570, (-4327)], [(-120753541808), (-107948696), (-12785431)], [(-54270956546), (-9704702233)], [(-696330314664)]]], r2 := 17592186044416, Vm := [[[18436548751907986917]], [[33091757095444, 0], [2058486308116481]], [[(-5377432777415), 0, 0], [(-7034576767420), 0], [(-207224914934022)]], [[578957867267, 0, 0, 0], [1135880380546, 0, 0], [753213931350, 0], [13852512368725]], [[(-46451274252), 0, 0, 0, 0], [(-121388979395), 0, 0, 0], [(-120744688778), 0, 0], [(-54262734063), 0], [(-690536954251)]]], rm := 4398046511104, rhoP := [[[18461555358484704993]], [[(-1359963532691), (-2964554975767490)], [(-3042944563767953)]], [[(-4327743402290), 270525815824, 459956246771], [1224114075562, 609532056260055], [313098143204109]], [[589773764651, 866935453311, 293974764, (-70473475)], [851622750816, (-244462396782), (-188845310589)], [(-244844731759), (-62813312965206)], [(-21533103295544)]], [[(-53907526069), (-118137769771), (-277679194), (-119479), 10728], [(-120173036634), (-170884016388), (-72402499), 43365803], [(-82636550135), 48950251169, 38803524045], [26925664133, 4333163232548], [1115544912900]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 9007199254740992 13510798882111488 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 9007199254740992 13510798882111488 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 15600926743109632, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1167028445395199925]], [[5676132130310696, 386766715553435437], [(-20703544435717748)]], [[(-935233185129011), 1859353145058579, (-1113764717240737)], [(-120184555363153), (-6781942276298841)], [366857088685638]], [[100725816392939, (-306516637885953), (-16160466826015), (-119550122705664)], [19016231981256, (-38212432930381), 58944882774602], [2465201821884, 118062953670935], [(-6512056274379)]], [[(-7830327236933), 33047161423050, 2585194312962, (-1693890687442), 1032470459027], [(-1944675119214), 6048105194761, 907535036812, 6178422262123], [(-378119632699), 752384760937, (-2075541100585)], [(-49534849977), (-2046060452928)], [116358883093]]], r0 := 1125899906842624, V1 := [[[3058898710475161620]], [[14376639514593774, 0], [(-52438419013757328)]], [[(-2372284243101960), 0, 0], [(-278845661736243), 0], [882568400466822]], [[256270823679744, 0, 0, 0], [44150923051758, 0, 0], [5069965126642, 0], [(-14623235616636)]], [[(-20050082616894), 0, 0, 0, 0], [(-4535874432123), 0, 0, 0], [(-775091422790), 0, 0], [(-87297192204), 0], [239812621008]]], r1 := 1125899906842624, V2 := [[[18432372195651852496]], [[47501625371338, 1704304556200], [2054148874334141]], [[(-7700945987871), (-2372704965), (-192132780)], [(-7170819202075), (-493554500154)], [(-146431982194623)]], [[826848284979, 326422718, (-103213), 21248], [1154765953823, 735206074, 83683216], [545670202748, 71490550224], [6937689614552]], [[(-66127828351), (-26532126), 29155, 53, (-2)], [(-123014140961), (-101307388), 39324, (-12349)], [(-87203784603), (-114362662), (-18232880)], [(-27967847528), (-6907003528)], [(-245641802585)]]], r2 := 4398046511104, Vm := [[[18432381875312549285]], [[47500884197321, 0], [2051325148691354]], [[(-7700789577141), 0, 0], [(-7170524401153), 0], [(-146019666259157)]], [[826835984111, 0, 0, 0], [1154707898455, 0, 0], [545613284428, 0], [6897499756920]], [[(-66128711872), 0, 0, 0, 0], [(-123009355216), 0, 0, 0], [(-87193139834), 0, 0], [(-27960659041), 0], [(-242699031454)]]], rm := 1099511627776, rhoP := [[[18467740589134829499]], [[(-4295190385812), (-4203917324442994)], [(-3056623931497578)]], [[(-6039878030254), 856951154311, 923848935886], [1652816207766, 612666598395186], [222942199319610]], [[833505621498, 1210725250181, 418838161, (-200427395)], [837480383771, (-330329370755), (-268798757274)], [(-212609686055), (-44783720071348)], [(-10876725242938)]], [[(-76447689403), (-167067910568), (-550841968), (-291283), 43193], [(-120201012527), (-168280314428), (-47302229), 87392937], [(-57130330788), 42548567272, 39151192051], [15935122156, 2194315367298], [400269342481]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 13510798882111488 18014398509481984 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 13510798882111488 18014398509481984 4611686018427387904 9223372036854775808 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 11031521092845568, bh := 0, bN := 209, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[1104481608102786899]], [[10287892279498410, 366259083676108616], [(-26482485795173424)]], [[(-1670295574425235), 3376212401168541, (-944939556442204)], [(-285778138238239), (-8690846922416797)], [634134561421050]], [[174571649661119, (-548639871834441), (-26273384807063), (-101799545230329)], [44279828238681, (-91245004204766), 67631398253525], [7750580595895, 204837215465552], [(-15199652478295)]], [[(-12718339965644), 57448438996067, 4023966916050, (-2771119817424), 786238557577], [(-4345736083830), 14158240940322, 1973962736448, 7133253265867], [(-1156113377528), 2382002063794, (-3220756300310)], [(-206837458269), (-4805688510332)], [366157824516]]], r0 := 4503599627370496, V1 := [[[2900059254989996755]], [[26194361631241922, 0], [(-67427981453048633)]], [[(-4263810022919231), 0, 0], [(-670935990399345), 0], [1541623348015785]], [[448030918256645, 0, 0, 0], [104364522411068, 0, 0], [16248583762857, 0], [(-34731291743720)]], [[(-33033014107472), 0, 0, 0, 0], [(-10364796360430), 0, 0, 0], [(-2429977863016), 0, 0], [(-374578596642), 0], [774368941413]]], r1 := 4503599627370496, V2 := [[[18436452897477300877]], [[62617051385316, 854060416799], [2079776011545873]], [[(-10135338162464), (-1899486014), (-67488445)], [(-13254716590326), (-349275054419)], [(-209695074565419)]], [[1087023784752, 238520131, (-112350), 5235], [2130395880156, 829985015, 41497492], [1412439259797, 71441016668], [14056746365370]], [[(-86951739614), (-14764063), 28066, 29, (-1)], [(-226619194906), (-104695323), 64704, (-4295)], [(-225190065432), (-182002203), (-12763289)], [(-101206451596), (-9745733124)], [(-704401979671)]]], r2 := 70368744177664, Vm := [[[18436457708645046889]], [[62616500283028, 0], [2077795327775041]], [[(-10135281671035), 0, 0], [(-13254402215411), 0], [(-209286971040404)]], [[1087037142290, 0, 0, 0], [2130359636981, 0, 0], [1412352925380, 0], [14000624312560]], [[(-86957066436), 0, 0, 0, 0], [(-226623625234), 0, 0, 0], [(-225179434157), 0, 0], [(-101191019132), 0], [(-698605589270)]]], rm := 4398046511104, rhoP := [[[18461535885459034564]], [[24472060109044, (-2960650452348634)], [(-3040953525222873)]], [[(-9411081024036), (-4904049656935), 457969780893], [(-3924798739015), 609130291549364], [313147359473726]], [[1205641171462, 1885164341273, 1930017721, (-69911046)], [1890854033198, 788633992123, (-188132284473)], [263780296665, (-62822543676968)], [(-21558142403907)]], [[(-109138590727), (-241494786116), (-590305346), (-498678), 10600], [(-247055539520), (-379370578806), (-736325354), 43040140], [(-188822888520), (-53445871415), 38680549291], [(-6154269529), 4338105227939], [1118241602024]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 9007199254740992 13510798882111488 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 9007199254740992 13510798882111488 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 15600926743109632, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[1151356084241020038]], [[10796564345742798, 381631654292712725], [(-20376627656225392)]], [[(-1748971207609953), 3538328173744592, (-1069732410460139)], [(-222355805820953), (-6677975827593402)], [360226160602381]], [[182273635978373, (-573751641863722), (-29929924310624), (-114931108539175)], [34330726821738, (-70735053876731), 56487499534705], [4466182482421, 116039316972004], [(-6379981614900)]], [[(-13225385464426), 59917706227284, 4571610882659, (-3142180337274), 965715276076], [(-3352399518992), 10938172744297, 1661369943787, 5930316044154], [(-663279043949), 1363179612999, (-1984699731168)], [(-88266030742), (-2007816278194)], [113753096810]]], r0 := 1125899906842624, V1 := [[[3019176772225660358]], [[27382396608511536, 0], [(-51679486377231924)]], [[(-4448306381743030), 0, 0], [(-516602911545405), 0], [868938577716169]], [[466316842814499, 0, 0, 0], [80095245934874, 0, 0], [9180934935080, 0], [(-14391143740172)]], [[(-34279711538663), 0, 0, 0, 0], [(-7922492083764), 0, 0, 0], [(-1367004698618), 0, 0], [(-154852437147), 0], [236042554341]]], r1 := 1125899906842624, V2 := [[[18432241619418903444]], [[89741600795212, 1710448235768], [2073812592388527]], [[(-14488125083040), (-3993194962), (-191769465)], [(-13486778707899), (-495459446864)], [(-147924175987592)]], [[1549190630626, 503107216, (-297162), 21091], [2161190351114, 1239097997, 83539643], [1021072103126, 71787058411], [7013930768372]], [[(-123491776779), (-31593647), 76847, 115, (-2)], [(-229083298943), (-156809903), 119827, (-12260)], [(-162225065318), (-193009895), (-18205067)], [(-52031508467), (-6937905587)], [(-248600620338)]]], r2 := 4398046511104, Vm := [[[18432251301206303787]], [[89740170933147, 0], [2070988033642234]], [[(-14487964010075), 0, 0], [(-13486218124316), 0], [(-147511701003726)]], [[1549213629063, 0, 0, 0], [2161122270467, 0, 0], [1020965098942, 0], [6973721001250]], [[(-123502379609), 0, 0, 0, 0], [(-229088289142), 0, 0, 0], [(-162211468268), 0, 0], [(-52018124045), 0], [(-245655999966)]]], rm := 1099511627776, rhoP := [[[18467718025031185644]], [[31922486295658, (-4199386415512928)], [(-3055529247900932)]], [[(-13232762745260), (-6402847617961), 920223824927], [(-3442957684287), 612443196291330], [223059473032135]], [[1707443179053, 2652435341203, 3676871688, (-198930801)], [1878672548545, 693491850998, (-267902648410)], [142268815158, (-44806654545036)], [(-10894409724495)]], [[(-154947255456), (-342224876851), (-1178476743), (-1362095), 42702], [(-247808603514), (-377428950309), (-982904127), 86785176], [(-132469584421), (-29095644349), 39046530057], [(-308080673), 2197815867795], [401470783438]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 13510798882111488 18014398509481984 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 13510798882111488 18014398509481984 4611686018427387904 9223372036854775808 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 9007199254740992 18014398509481984 4611686018427387904 9223372036854775808 72057594037927936 288230376151711744 :=
(TailPosI.split_s 144115188075855872 (TailPosI.split_b 13510798882111488 leaf_0 leaf_1) (TailPosI.split_b 13510798882111488 leaf_2 leaf_3))
end CKLaneC.RST2.U_0181
end