Courtade–Kumar proof module `CKLaneC.RST2.U_0480 (+1 modules: CKLaneC.RST2.U_0481)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0480__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0480 (+1 modules: CKLaneC.RST2.U_0481) 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_0480 (+1 modules: CKLaneC.RST2.U_0481) 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_0480 =====
section
/-! RA-stat u-tail cover batch U_0480 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0480
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 5764607523034234880, bh := 1152921504606846976, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[4547699029363127165]], [[18272311845668794, 1386057422072865152], [497303934127964732]], [[(-2813112380426265), 4549960445626067, (-58439550222576521)], [2928899046432186, 123832892567057237], [12796464062440179]], [[278999276795137, (-706439331578653), (-643217527410318), (-3277319966712083)], [(-430724482670197), 405419062910544, (-17505973496015781)], [161235102788694, (-1221266792119926)], [2615972318530438]], [[(-19525406288009), 71298691825753, 97031662489166, (-11331670057809), 604437296096236], [39871078244870, (-59843666577442), (-211686720311256), (-308405643882672)], [(-22338108410025), (-35025201052103), (-1928087432966604)], [17200995707928, 289201272526015], [(-60806037111647)]]], r0 := 18014398509481984, V1 := [[[9905637425742248801]], [[27284445857855123, 0], [742580489005230753]], [[(-4247790596638031), 0, 0], [1803393669136984, 0], [(-15866072745289827)]], [[431194485781117, 0, 0, 0], [(-258456408372741), 0, 0], [(-123907257583188), 0], [3135360097659509]], [[(-31740111606015), 0, 0, 0, 0], [23594908396976, 0, 0, 0], [19493117189995, 0, 0], [5627922657731, 0], [(-383941037632298)]]], r1 := 18014398509481984, V2 := [[[12613246533499932569]], [[19931776384289457, 432498116210720126], [(-1567408658622692163)]], [[(-3033398782162613), (-484874307521813), (-25880378606898869)], [5141856018705641, 239310604769653949], [(-134689107097818213)]], [[299176359222506, 62677480384968, (-48544165328169), 1294043011359331], [(-768731601477055), 23641226206370, (-20259573041561964)], [(-1752113456532), 50975010680702854], [(-14700829962356777)]], [[(-21193864855357), (-4401411384027), 8583246817678, 7716341361830, (-50682992433399)], [73286073538408, (-10145762886368), (-81262505988589), 1199007349713358], [3229911671600, 182099538079709, (-6140282210103914)], [(-112626567464534), 5767420482229376], [(-1055188013434005)]]], r2 := 1152921504606846976, Vm := [[[14940823031998942618]], [[17569438895938692, 0], [(-413311745400285787)]], [[(-2679129039232007), 0, 0], [4030857732095749, 0], [62605351643322622]], [[267165321528784, 0, 0, 0], [(-606034662106363), 0, 0], [(-24311723868498), 0], [1323587162825212]], [[(-19550098680430), 0, 0, 0, 0], [59501643275663, 0, 0, 0], [4759398344227, 0, 0], [(-28426608021980), 0], [(-39520729696075)]]], rm := 4503599627370496, rhoP := [[[32497746074058895886]], [[(-98250948204403115), (-4784093819488439737)], [4853083779523571282]], [[1877919205459796, 40747781816891339, 664328389187424182], [(-47675785652944125), (-2314922568460975118)], [688882373745826443]], [[244121602471082, (-651806772126202), (-7743626467213840), (-90184675978660421)], [1108322771764626, 26679687039898482, 542163839679959951], [(-10371322068088768), (-551874568712417661)], [94577993307066087]], [[(-38209158254717), (-130782942551489), 76052484652041, 1238722258154354, 12092779701524904], [111491657154120, (-480458646207130), (-7443891280071105), (-103468520697195596)], [249128741589654, 8502004437459197, 212260887388423774], [(-1733355724469472), (-106817236136915703)], [12837414087327002]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 6917529027641081856 4611686018427387904 9223372036854775808 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 6917529027641081856 4611686018427387904 9223372036854775808 36028797018963968 72057594037927936 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 6917529027641081856 4611686018427387904 9223372036854775808 36028797018963968 72057594037927936 :=
leaf_0
end CKLaneC.RST2.U_0480
end
-- ===== source module CKLaneC.RST2.U_0481 =====
section
/-! RA-stat u-tail cover batch U_0481 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0481
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7493989779944505344, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 42843413369257984, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[5341703732117541536]], [[9851295642289179, 1571997455483924896], [277391086248573225]], [[(-748361151766034), 2154391255713218, (-90108603646352960)], [759035526870241, 60662977980412002], [6169483858099319]], [[36595396352084, (-165631709066317), (-438128148604015), (-3280290634254096)], [(-55317537949711), 54954421555708, (-12336736960327693)], [26586764764955, (-214110141663229)], [347548702179696]], [[(-1261844949946), 8301710992063, 32737557161490, 7426319279267, 1116332039931223], [2541056829692, (-4046177886647), (-64459653856734), 209109019412803], [(-1867155407192), (-7466686321191), (-706636027925169)], [1148558639668, (-14706751073180)], [6199536679964]]], r0 := 4503599627370496, V1 := [[[11006364565306134628]], [[12656953694153592, 0], [356392322523305182]], [[(-973238176294997), 0, 0], [313890248980494, 0], [(-1384098860905407)]], [[48810108819027, 0, 0, 0], [(-21954195118584), 0, 0], [(-12080728483808), 0], [214677694702196]], [[(-1778094679796), 0, 0, 0, 0], [974383628201, 0, 0, 0], [938766167630, 0, 0], [(-26191376794), 0], [(-8622408555235)]]], r1 := 70368744177664, V2 := [[[9916451329918314340]], [[11573807558983192, 926529746016933825], [(-1041583645768000560)]], [[(-872188572104119), 134915275506565, (-72069599841395647)], [837511375343654, 216535781985589404], [(-53795971233649163)]], [[42424901461719, (-14455573511149), (-164879285390645), 3634849754788695], [(-61809959905016), 299193221191213, (-20736804175860373)], [(-109125727754591), 19274974015753014], [(-2559663711731289)]], [[(-1468041114197), 1060693198158, 12885487338863, 22716562797852, (-1242578741608)], [2848224725322, (-23224324759317), (-95946532612145), 646984813827852], [8172035719208, 92019755346608, (-1536366648632158)], [(-20447328481269), 514990481089810], [(-28093974733367)]]], r2 := 72057594037927936, Vm := [[[14476618322451031637]], [[10017472037263472, 0], [(-107822429006644069)]], [[(-756418242864502), 0, 0], [803952254535604, 0], [16901147310178513]], [[37352507070070, 0, 0, 0], [(-59779931034012), 0, 0], [(-17008614007189), 0], [105767880300945]], [[(-1354050550859), 0, 0, 0, 0], [2903658229604, 0, 0, 0], [1324852168155, 0, 0], [(-1656868507472), 0], [(-6852985716117)]]], rm := 70368744177664, rhoP := [[[41630287972975670667]], [[(-97274421407926950), (-9930483517713235382)], [3871113921459306806]], [[1198738464100162, 53111788312902396, 2229249160027666892], [(-23088059408792079), (-2507832593863646964)], [339589184851270213]], [[44344893968819, (-566574308998575), (-15793841444630446), (-488714344757294856)], [305006839034322, 17782087418834422, 915923814301197459], [(-2870522046068995), (-357235538261981902)], [28912276142737932]], [[(-4095534692628), (-35346539988399), 123209940616899, 4025223871617452, 105759099896180628], [11969918109692, (-187417427563673), (-7569112062593433), (-277899166700298272)], [35161623873645, 3185070950165358, 197756931056003579], [(-291082930227789), (-42153585359635702)], [2426672032123957]]], rhoR := 4611686018427387904 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 8070450532247928832 4611686018427387904 9223372036854775808 36028797018963968 50946970784628736 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 6917529027641081856 8070450532247928832 4611686018427387904 9223372036854775808 36028797018963968 50946970784628736 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 60589736245198848, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[5182585474935131635]], [[12795189685398027, 1536689315951854424], [134897358249943225]], [[(-962661547258609), 2879952831962786, (-83175177549316902)], [488511451035628, 30362819033435640], [1399974562847346]], [[46285873983045, (-219924579232680), (-545944458393438), (-3372419295213808)], [(-35039070939654), 41471611143430, (-5755793153462719)], [8197259982826, (-45894301410095)], [41754553537496]], [[(-1544095191035), 10904652514667, 40136633325836, 5245941640351, 1000612892637233], [1563472121584, (-3049455971055), (-40625423190859), 55307008822577], [(-561702296565), (-2189092533511), (-164011171898455)], [181251344314, (-585717567285)], [296458393178]]], r0 := 1125899906842624, V1 := [[[10798831168479940543]], [[16940308566035979, 0], [178598592884092124]], [[(-1295005202265757), 0, 0], [214922084240509, 0], [(-422933714808220)]], [[64380411653166, 0, 0, 0], [(-14893213235232), 0, 0], [(-4102711699334), 0], [29165330861607]], [[(-2312497003992), 0, 0, 0, 0], [653770135542, 0, 0, 0], [315699795506, 0, 0], [3557215875, 0], [(-628702001949)]]], r1 := 4398046511104, V2 := [[[10398403412261096793]], [[14988366356454821, 822975297400832194], [(-495918172851484633)]], [[(-1119221731170098), 32197516367483, (-61824886850989720)], [623237216305923, 98591806540508408], [(-12455436999024796)]], [[53697743665665, (-8786259904275), (-167093015931432), 3222993772752647], [(-45224810043411), 147840966580453, (-9444622903259953)], [(-27334372466347), 4553988600172886], [(-305500758697518)]], [[(-1816022306876), 959061177847, 13163910835882, 23385296700138, (-47369448131967)], [2026954316493, (-11674654765029), (-50825668985557), 397106358392783], [2069933933504, 24930752962294, (-434442281758417)], [(-2852448707072), 78948054318038], [(-2707979413010)]]], r2 := 4503599627370496, Vm := [[[14512529615458597313]], [[12957845315262906, 0], [(-63265388020732027)]], [[(-973442725043720), 0, 0], [550090173568637, 0], [4191564920015702]], [[47805333445489, 0, 0, 0], [(-40704399645147), 0, 0], [(-4949943227163), 0], [15340352201615]], [[(-1724318135300), 0, 0, 0, 0], [1968740387416, 0, 0, 0], [385333003258, 0, 0], [(-277967356270), 0], [(-391554003465)]]], rm := 4398046511104, rhoP := [[[39951268168403667263]], [[(-90012118375021522), (-8851645364517243373)], [1796760202059395722]], [[725129818556781, 46441334926206784, 1841970046539149355], [(-10673895024764798), (-1105075655895933382)], [76157764904041498]], [[74649042074399, (-240471581330644), (-12657706929828774), (-373981742665010837)], [92391929121991, 7684054121737029, 375868126065942561], [(-642469282297805), (-76373344539145349)], [3126466020711289]], [[(-5604952645358), (-53273253262807), 2235668482542, 2938712179209296, 74909905340187942], [10005835538882, (-33443307993070), (-3000865411163421), (-105823566374307133)], [4136195574725, 666530197808083, 39761936407057265], [(-31022909744867), (-4354946863390590)], [126445645593484]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 50946970784628736 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 50946970784628736 72057594037927936 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 60589736245198848, shN := 179, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[5458319428686889383]], [[13806485447508936, 1597222413037232393], [141009194465662029]], [[(-1035089993177391), 2953377262045402, (-95370963653156982)], [523543835845540, 30163603203548392], [1659011682450914]], [[49509965619201, (-225356924992686), (-631970219107121), (-3176569550158751)], [(-37442309045765), 31544103639177, (-6454474736629050)], [9336896564496, (-55936940825479)], [44822423718328]], [[(-1637331576501), 11178763444058, 46327028291844, 14195313497939, 1204693518839544], [1662890738253, (-2355366810499), (-45465202161565), 144980395564258], [(-641129306589), (-2802822169107), (-185735285183772)], [199209884134, (-2812460967818)], [470170085970]]], r0 := 4503599627370496, V1 := [[[11154560494390979353]], [[17353741539923198, 0], [177238235234686678]], [[(-1323530540524193), 0, 0], [198496647257073, 0], [(-261544233285608)]], [[65626124111773, 0, 0, 0], [(-13631925956213), 0, 0], [(-4123926040709), 0], [24858365057232]], [[(-2350836738846), 0, 0, 0, 0], [591993058316, 0, 0, 0], [315986168944, 0, 0], [(-10379544820), 0], [(-457858518649)]]], r1 := 4398046511104, V2 := [[[9354265176167358892]], [[16100503835124803, 1038937073313825761], [(-549474077613953762)]], [[(-1199593080155445), 443268930147377, (-82282392110731007)], [475265593637399, 117609030108055388], [(-14334112525812876)]], [[57247263923148, (-40602063833029), (-296793760206414), 3815242517939778], [(-34169795839084), 271549238224246, (-10896240673391137)], [(-47807091017247), 4908565428070498], [(-316804685523136)]], [[(-1911463593392), 2590414658504, 22780183528293, 38775512366559, 93506723396547], [1478659410065, (-20720198026372), (-80198227550757), 139009179347023], [3536199453680, 37391032171249, (-257469852012189)], [(-4006099949958), 32547487770604], [248741271869]]], r2 := 4503599627370496, Vm := [[[14402881315086667807]], [[14036001181551080, 0], [(-46328174221458565)]], [[(-1053145276706759), 0, 0], [526954257161258, 0], [4273616219705737]], [[51657081104066, 0, 0, 0], [(-38915742979753), 0, 0], [(-6616387369956), 0], [11916955359658]], [[(-1861726758143), 0, 0, 0, 0], [1878973578742, 0, 0, 0], [508891393811, 0, 0], [(-276332879103), 0], [(-461341386658)]]], rm := 4398046511104, rhoP := [[[43876630287490786714]], [[(-114201910453096364), (-11406121753515644086)], [2143402182722118423]], [[926625746815116, 64864776303159066, 2781128266784040934], [(-13665011988404610), (-1471026350667429996)], [98410013010505011]], [[98569607062473, (-308948591295540), (-20390853416909053), (-661206932720076300)], [109091263735813, 10957759260208115, 579556439205964438], [(-866729295707847), (-108929563804196194)], [4377541952318728]], [[(-7482683010952), (-80020327858433), (-17419521908240), 5485184502457637, 155025399281428590], [14224743759902, (-33752443560494), (-4896761922059814), (-190083776120442944)], [4106557175335, 995388788928805, 64297066932892198], [(-44711727760677), (-6693990232814487)], [191698178214972]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 7493989779944505344 8070450532247928832 4611686018427387904 9223372036854775808 50946970784628736 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 7493989779944505344 8070450532247928832 4611686018427387904 9223372036854775808 50946970784628736 72057594037927936 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 8070450532247928832 4611686018427387904 9223372036854775808 36028797018963968 72057594037927936 :=
(TailPosI.split_s 50946970784628736 leaf_0 (TailPosI.split_b 7493989779944505344 leaf_1 leaf_2))
end CKLaneC.RST2.U_0481
end