Courtade–Kumar proof module `CKLaneC.RST2.U_0341` (transplant)
DefinitionCK_CKLaneC_RST2_U_0341Verbatim transplant of the Lean module CKLaneC.RST2.U_0341 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_0341 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_0341 =====
section
/-! RA-stat u-tail cover batch U_0341 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0341
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 706017349942116352, bh := 0, bN := 209, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1988895119222889195]], [[74421532751525954, 651896428485295940], [(-92925559751152162)]], [[(-10392752481920776), 23568390607652772, (-5425585684509343)], [(-4017847882819972), (-29428389992478695)], [4485169050542384]], [[818338758142430, (-3337263773401602), (-599144324109642), (-543718578043190)], [497281432497770, (-1157513733255170), 748114418383467], [218639317855699, 1348670485433268], [(-227321283905150)]], [[(-27989769800221), 271450526489874, 62169238249462, (-55654384552578), 14053309873533], [(-30902789075998), 148491324542750, 86036714737765, 69492183860564], [(-24445927745505), 54889248639040, (-69628551842376)], [(-12230218374354), (-63982312577408)], [12090206216927]]], r0 := 18014398509481984, V1 := [[[5055169918996593864]], [[172120350107373448, 0], [(-214916023453763224)]], [[(-24886947255124794), 0, 0], [(-7167609003668918), 0], [9046655407928007]], [[2125450985655585, 0, 0, 0], [963296283791703, 0, 0], [265865893144190, 0], [(-388311480436983)]], [[(-97901991365384), 0, 0, 0, 0], [(-77155934724762), 0, 0, 0], [(-34067145315627), 0, 0], [(-8836371909372), 0], [17310365379693]]], r1 := 18014398509481984, V2 := [[[17784382036116806748]], [[17426922704352745, 3866464594876232], [134925397000860725]], [[(-2637625200034427), (-40081897975358), (-20768535142912)], [(-3873773122814536), (-1633208026540402)], [(-14017359997109291)]], [[261385208005648, 2833610283994, (-124820296081), 107666714256], [572466643210505, 18480942251087, 13245172060285], [444431312254074, 350181925882992], [1018691400358696]], [[(-19065321737194), 306050489533, 48245646388, 2438795514, (-546492914)], [(-54791204792869), (-1316496867314), 74393605843, (-91629887008)], [(-63623677661806), (-4268648204888), (-4266813713613)], [(-35653481842177), (-51173148280863)], [(-61420956032387)]]], r2 := 4503599627370496, Vm := [[[17807438598671896449]], [[17381288394944596, 0], [125115148521278769]], [[(-2642342265009360), 0, 0], [(-3847873037411741), 0], [(-11905539058457981)]], [[264467768890378, 0, 0, 0], [574054829610849, 0, 0], [437211223795357, 0], [710667810531663]], [[(-19706533572617), 0, 0, 0, 0], [(-56156084570253), 0, 0, 0], [(-63875064591267), 0, 0], [(-34324651149986), 0], [(-26967939998337)]]], rm := 1125899906842624, rhoP := [[[19473155063919475249]], [[9822443736544392, (-216023505429813978)], [(-224960247329979011)]], [[(-2820132727464977), (-2196687806110845), 2258038441998408], [(-1851131845716410), 49679405049856655], [25985338731136694]], [[371465436072853, 622609074810842, 50258075763302, (-23062987813269)], [624162842350814, 466781394221830, (-1009133159881657)], [178236841652998, (-6246562675528193)], [(-2188741853595405)]], [[(-34689746536422), (-81387953495151), (-12598492715217), (-817503085266), 232602883334], [(-84947588249615), (-150671683861340), (-21746616300835), 15294626628539], [(-75017761143672), (-56262619676606), 233688904113999], [(-12739563836917), 600108761750918], [158339194515777]]], rhoR := 1125899906842624 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 576460752303423488 864691128455135232 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 576460752303423488 864691128455135232 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 998459311559016448, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[2160843106510467618]], [[81940810205596671, 706097815278053069], [(-78172301287306570)]], [[(-11314445304393696), 25705797446983410, (-6927367872521867)], [(-3457029715958193), (-24523571805234767)], [2953725785136848]], [[874359852174847, (-3609904546565758), (-772927355663938), (-680733484756881)], [419728425524536, (-969209817423651), 737379944969540], [148172615912705, 871619395274717], [(-118259140264656)]], [[(-28268703873848), 290248624300092, 78838875996299, (-69271272403752), 20952804689163], [(-24942163403715), 122960422789154, 85819144281361, 66085443423296], [(-16180825851664), 35250809407125, (-53243106336766)], [(-6564393388602), (-32303331158119)], [4981808283080]]], r0 := 4503599627370496, V1 := [[[5448249093426863559]], [[185103267331664529, 0], [(-176590252730103121)]], [[(-26626608233205622), 0, 0], [(-5772734294142683), 0], [5700936799220091]], [[2264939869607177, 0, 0, 0], [771338212315852, 0, 0], [158167554051174, 0], [(-189382531400447)]], [[(-104750919353242), 0, 0, 0, 0], [(-61937600139444), 0, 0, 0], [(-20215802720622), 0, 0], [(-3781467053834), 0], [6571354512964]]], r1 := 4503599627370496, V2 := [[[17509302086506495635]], [[25481910972667240, 7957082064956175], [136465109331711362]], [[(-3819762049693800), (-87711076824243), (-61751853118674)], [(-4066521391783496), (-2411750089897101)], [(-10265949244441337)]], [[373271830692777, 6179599292004, (-352090140659), 460624454225], [592914245177176, 28633893649786, 28257039027350], [337561090221499, 373455879169472], [554853473166739]], [[(-26636310051811), 663616876184, 144499493547, 10504212838, (-3352938327)], [(-55514189503491), (-1980056665581), 157086432966, (-281009382539)], [(-47372966808925), (-4659600470434), (-6556147498354)], [(-19813812832348), (-39774628027526)], [(-25962002835628)]]], r2 := 1125899906842624, Vm := [[[17556952345471082165]], [[25363122280892159, 0], [121963607825085286]], [[(-3828046422556911), 0, 0], [(-4019427566095071), 0], [(-8024142105729774)]], [[379872980982953, 0, 0, 0], [594837478099395, 0, 0], [328332089340897, 0], [318707162710411]], [[(-28022062254579), 0, 0, 0, 0], [(-57640438898184), 0, 0, 0], [(-47591218299575), 0, 0], [(-18615656038015), 0], [(-6739448057822)]]], rm := 281474976710656, rhoP := [[[19942279021336324684]], [[13550652375171204, (-321827152315323386)], [(-237768509745014314)]], [[(-4135841238823916), (-3184400823289030), 4880615699697369], [(-1832474606881833), 54739439887621484], [20317796224430660]], [[552085746731763, 952486880403602, 106282281184312, (-72234907363082)], [674618278192649, 509661962517834, (-1596306308311481)], [131930384914315, (-5241131527051686)], [(-1302858424214776)]], [[(-51782691487238), (-125804435910313), (-27809203485551), (-2520780005979), 1054895465135], [(-93326408701846), (-175353502857596), (-33931457861380), 34925644045289], [(-61865580192775), (-48942289243746), 274037784797376], [(-7712171637164), 395617069312699], [73988119598086]]], rhoR := 1125899906842624 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 864691128455135232 1152921504606846976 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 864691128455135232 1152921504606846976 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 706017349942116352, bh := 0, bN := 209, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[1795820266042913346]], [[125458636447403927, 590452071972758274], [(-82869002938518929)]], [[(-15679029536495643), 40114632080137678, (-4011958361121173)], [(-6328669911082921), (-26496857114497385)], [3952788399761249]], [[928900892032580, (-5131653064382659), (-829701668164258), (-410075445697982)], [674437814008243, (-1867167829768193), 548041585052796], [326479279912739, 1212231327074158], [(-198143273277089)]], [[6675455267978, 323909829712030, 47660244385441, (-79852344489827), 8565619959793], [(-27233651903994), 213375115868330, 115873366143802, 52744748050478], [(-29849434516209), 85521730040614, (-50587216025607)], [(-17538785814777), (-57652930154983)], [10435697602751]]], r0 := 18014398509481984, V1 := [[[4602993852014755876]], [[297422005114382730, 0], [(-196455706149307392)]], [[(-39467619265559994), 0, 0], [(-11967855398770647), 0], [8368309630165774]], [[2747368315518801, 0, 0, 0], [1508924596962510, 0, 0], [438039630326318, 0], [(-365724682919631)]], [[(-42204100504597), 0, 0, 0, 0], [(-108363885492601), 0, 0, 0], [(-55376613346453), 0, 0], [(-14708840930922), 0], [16654355896122]]], r1 := 18014398509481984, V2 := [[[17737614637609432806]], [[31501236952789982, 3951698049994609], [145234061676534539]], [[(-4717213027346179), (-42809926861720), (-20240313487758)], [(-6891345496130070), (-1672628356167872)], [(-15186909430739865)]], [[462308620652873, (-3221815486385), (-476021861283), 99983311469], [1000028214470442, 19930992781159, 12917652305553], [773758133987918, 359261293721406], [1111088245085755]], [[(-33286469729822), 2165581150482, 146638630550, 5833457562, (-483307925)], [(-93296066898359), 1364244138417, 300028205788, (-85083243110)], [(-107232831680819), (-4577424850146), (-4162397695096)], [(-60224445693235), (-52552014044192)], [(-67252931266255)]]], r2 := 4503599627370496, Vm := [[[17760706453554361892]], [[31537981876858555, 0], [135395134246419243]], [[(-4764348427473079), 0, 0], [(-6900075014353665), 0], [(-13065545001276928)]], [[475776468334862, 0, 0, 0], [1020486383672554, 0, 0], [774013282565751, 0], [801131702588899]], [[(-35620137244703), 0, 0, 0, 0], [(-99282949786462), 0, 0, 0], [(-111794311296532), 0, 0], [(-60020046317794), 0], [(-32521593538871)]]], rm := 1125899906842624, rhoP := [[[19439514438807912143]], [[26494665599272890, (-208549668529461583)], [(-218122858511498307)]], [[(-6048022751682909), (-5861854759842196), 2097163250067193], [(-5584953164054965), 47994027586995796], [25246869320634436]], [[769917614134324, 1324044696788797, 121147999549517, (-20556800791047)], [1364314398553439, 1360244787830452, (-937970474397022)], [632992651422373, (-6028973503457979)], [(-2127564131142401)]], [[(-70723202929400), (-165908246093325), (-24446609856817), (-1825783573583), 198675538554], [(-176589392229307), (-323803051668486), (-54227346015274), 13640042860941], [(-167375476316177), (-180904054111392), 217209785595046], [(-55206632413043), 577137134787840], [153529264309267]]], rhoR := 1125899906842624 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 576460752303423488 864691128455135232 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 576460752303423488 864691128455135232 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 998459311559016448, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[1948998610470566299]], [[137241255741464824, 639248555471318074], [(-69565719989649931)]], [[(-16917776579812502), 43552707672209939, (-5110535776445940)], [(-5389589945059071), (-22076273277647127)], [2595111299815465]], [[976841817322286, (-5522164264224294), (-1062732889676458), (-514340559831478)], [558991953412434, (-1554834851705970), 538684801648076], [218634515744667, 784127891846223], [(-102689831960466)]], [[9027559920172, 344319307966032, 59115703824741, (-99482483347982), 12741632421959], [(-20682307350829), 175588140352928, 114612327433336, 50426313451237], [(-19230183685932), 54778047857154, (-38565732626282)], [(-9303787695924), (-29191861286337)], [4282242770851]]], r0 := 4503599627370496, V1 := [[[4962654452364499231]], [[319082798161510014, 0], [(-161738716761909677)]], [[(-42199870779726227), 0, 0], [(-9624770583157332), 0], [5297093341509904]], [[2946021334235910, 0, 0, 0], [1214929270931267, 0, 0], [261285026479852, 0], [(-179661407501375)]], [[(-50234381204881), 0, 0, 0, 0], [(-89473527549756), 0, 0, 0], [(-33522434486863), 0, 0], [(-6380726128882), 0], [6384239159431]]], r1 := 4503599627370496, V2 := [[[17441152089596493548]], [[45762866278958038, 8143653232783501], [147234972194806245]], [[(-6766316908353800), (-93878232387939), (-60207775698175)], [(-7167666265075421), (-2472488362550534)], [(-11148010653872771)]], [[650149774046548, (-6837941214543), (-1411926039842), 427412630882], [1020053886242047, 30478040854662, 27550544859324], [579580741826208, 383218258298515], [605640609259515]], [[(-45242339306190), 4634974489811, 443899595745, 25264331501, (-2958364395)], [(-91883962328593), 2259285714346, 652240658618, (-260458445085)], [(-77762098118505), (-4809328680722), (-6386505655473)], [(-32735559171226), (-40789503078517)], [(-28319336589484)]]], r2 := 4503599627370496, Vm := [[[17488926103395010314]], [[45813689527779489, 0], [132673416865244568]], [[(-6865665023696599), 0, 0], [(-7172367678677767), 0], [(-8893108117913130)]], [[679028663696101, 0, 0, 0], [1051355046516604, 0, 0], [578615031038000, 0], [367704380135976]], [[(-50218747164819), 0, 0, 0, 0], [(-101177474751646), 0, 0, 0], [(-82888856392686), 0, 0], [(-32477918972742), 0], [(-8921836548192)]]], rm := 1125899906842624, rhoP := [[[19894552894211117042]], [[38117012588248712, (-310728919392320691)], [(-230695289379588511)]], [[(-8937060554445488), (-8808233604860509), 4534353856230406], [(-5890703605444858), 52842290358278541], [19737157864271425]], [[1144878464826885, 2033917407271800, 263223947930080, (-64396818478584)], [1487180278085102, 1551858326465247, (-1483028225616672)], [508877872057516, (-5046456405246792)], [(-1263940083104555)]], [[(-104748431682988), (-254813141718990), (-54181950842593), (-5755341557812), 900823824910], [(-193410734198079), (-377667208578246), (-87197972060173), 31126221575650], [(-138990803742369), (-163607056901421), 254263721333862], [(-35639438901967), 378712219936405], [71400751516770]]], rhoR := 1125899906842624 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 864691128455135232 1152921504606846976 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 864691128455135232 1152921504606846976 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 576460752303423488 1152921504606846976 4611686018427387904 9223372036854775808 576460752303423488 2305843009213693952 :=
(TailPosI.split_s 1152921504606846976 (TailPosI.split_b 864691128455135232 leaf_0 leaf_1) (TailPosI.split_b 864691128455135232 leaf_2 leaf_3))
end CKLaneC.RST2.U_0341
end