Courtade–Kumar proof module `CKLaneC.RST2.U_0022 (+2 modules: CKLaneC.RST2.U_0023, CKLaneC.RST2.U_0024)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0022__3Verbatim transplant of the Lean module CKLaneC.RST2.U_0022 (+2 modules: CKLaneC.RST2.U_0023, CKLaneC.RST2.U_0024) 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_0022 (+2 modules: CKLaneC.RST2.U_0023, CKLaneC.RST2.U_0024) 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_0022 =====
section
/-! RA-stat u-tail cover batch U_0022 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0022
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 878905333078528, bh := 0, bN := 41, bD := 1024 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 2251799813685248, shN := 375, shD := 512 }
noncomputable def q0 : TCert := { V0 := [[[2166518233055060978]], [[518569534046055, 141575575843217286], [(-7763343315629752)]], [[(-183481799705676), 32525666119942, (-279241351947953)], [(-2291106896806), (-486931638091791)], [27544413441771]], [[43210764839114, (-11508812256238), (-196640412203), (-5484320914854)], [793560617445, (-129172604658), 2943842492667], [9531376821, 1618876082093], [(-96782141643)]], [[(-7616319045582), 2710604610695, 69531119180, (-3520240943), 33949261002], [(-182554134454), 44638556370, 2209275263, 52700432998], [(-3251165705), 456972924, (-20478829491)], [(-37927631), (-5173311592)], [336990859]]], r0 := 17592186044416, V1 := [[[2307809117489747740]], [[550895078814984, 0], [(-8247278999134737)]], [[(-194919849785131), 0, 0], [(-2418037421488), 0], [29142495387179]], [[45904726061403, 0, 0, 0], [837412999046, 0, 0], [9971959737, 0], [(-101836507225)]], [[(-8091244643761), 0, 0, 0, 0], [(-192614497556), 0, 0, 0], [(-3400069885), 0, 0], [(-39245752), 0], [352121485]]], r1 := 4398046511104, V2 := [[[18445922016698796295]], [[139106001333, 2676172145], [32701663683028]], [[(-48256858305), (-217155), (-8375)], [(-5792469323), (-214459244)], [(-649623762293)]], [[11126099071, 70673, 0, 0], [2003785242, 18276, 1008], [121235669, 8593356], [8589303444]], [[(-1917327358), (-15085), 0, 0, 0], [(-460534209), (-5948), 0, 0], [(-41809793), (-771), (-61)], [(-1702208), (-229566)], [(-84994329)]]], r2 := 4294967296, Vm := [[[18445922022150317335]], [[139108259949, 0], [32701216442207]], [[(-48257573085), 0, 0], [(-5792657629), 0], [(-649605387060)]], [[11126246258, 0, 0, 0], [2003844822, 0, 0], [121243530, 0], [8588799248]], [[(-1917349343), 0, 0, 0, 0], [(-460546474), 0, 0, 0], [(-41812279), 0, 0], [(-1702427), 0], [(-84983933)]]], rm := 1073741824, rhoP := [[[18446859717131390049]], [[(-213411453763), (-115644129611193)], [(-4642514315106)]], [[4835429399, 213413471950, 707777062], [9488672770, 4642571109818], [93212801328]], [[598825334, (-4835468431), (-2018195), (-4292)], [(-247865933), (-9488843734), (-56795223)], [(-211847098), (-93215080301)], [(-1248093683)]], [[(-158495258), (-598833371), 39039, 15, 2], [(-21291244), 247869616, 170972, 518], [6278526, 211854353, 2279011], [3167905, 1248154661], [12538557]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 844424930131968 914793674309632 16140901064495857664 18446744073709551616 1125899906842624 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 844424930131968 914793674309632 16140901064495857664 18446744073709551616 1125899906842624 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 844424930131968 914793674309632 16140901064495857664 18446744073709551616 1125899906842624 4503599627370496 :=
leaf_0
end CKLaneC.RST2.U_0022
end
-- ===== source module CKLaneC.RST2.U_0023 =====
section
/-! RA-stat u-tail cover batch U_0023 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0023
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 949326260355072, bh := 0, bN := 19, bD := 512 }, tc := 14987979559889010688, th := 1152921504606846976, lam1 := 1016049587321491841, u1 := 240518413462, w1 := 4366702044777 }
noncomputable def q0 : TCert := { V0 := [[[1895402659300470381]], [[0, 143588540111879725], [(-6393605836584100)]], [[0, 0, (-250636283136082)], [0, (-469495534185292)], [20910725869684]], [[0, 0, 0, (-5853709963166)], [0, 0, 2498895297023], [0, 1460738975782], [(-74140714958)]], [[0, 0, 0, 0, 31570674984], [0, 0, 0, 54526913649], [0, 0, (-16288508647)], [0, (-4873384654)], [200508684]]], r0 := 1125899906842624, V1 := [[[2323757148653771452]], [[0, 0], [(-7778173221720283)]], [[0, 0, 0], [0, 0], [25138028874193]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-87913251866)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [230709973]]], r1 := 1125899906842624, V2 := [[[18445856578675642227]], [[0, 3122621258], [32710568266299]], [[0, 0, (-10559)], [0, (-231915456)], [(-602166727459)]], [[0, 0, 0, 0], [0, 0, 1178], [0, 8612673], [7378100395]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-66)], [0, (-213246)], [(-67654493)]]], r2 := 274877906944, Vm := [[[18445856591304845947]], [[0, 0], [32709618752830]], [[0, 0, 0], [0, 0], [(-602130999118)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [7377203156]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-67637573)]]], rm := 274877906944, rhoP := [[[18447109836070821246]], [[9803247528430, (-121923173001867)], [(-13575197929772)]], [[5423139, (-3267847274421), 795329860], [(-363849401734), 4525243084192], [251893415116]], [[71742, (-3616083), 32710586, (-5162)], [(-402621), 121290418054, (-59037590)], [6751517463, (-83971044663)], [(-3116112999)]], [[1, (-47827), 602816, (-261), 1], [(-5323), 268446, (-2428132), 576], [14943, (-2250776156), 2191083], [(-83524896), 1038866960], [28913780]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 914793674309632 985162418487296 13835058055282163712 16140901064495857664 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 914793674309632 985162418487296 13835058055282163712 16140901064495857664 0 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 914793674309632 985162418487296 13835058055282163712 16140901064495857664 0 4503599627370496 :=
leaf_0
end CKLaneC.RST2.U_0023
end
-- ===== source module CKLaneC.RST2.U_0024 =====
section
/-! RA-stat u-tail cover batch U_0024 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0024
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 949326260355072, bh := 0, bN := 19, bD := 512 }, tc := 17293822569102704640, th := 1152921504606846976, lam1 := 778326045312875905, u1 := 939525059, w1 := 22267268349 }
noncomputable def q0 : TCert := { V0 := [[[2182300142000603715]], [[0, 142564996628246484], [(-7297804711876448)]], [[0, 0, (-285267363456830)], [0, (-457315031504380)], [24158042762835]], [[0, 0, 0, (-5592008661405)], [0, 0, 2805772142473], [0, 1417073742639], [(-79220029841)]], [[0, 0, 0, 0, 35152429266], [0, 0, 0, 50052504784], [0, 0, (-18206131940)], [0, (-4219555410)], [257102074]]], r0 := 17592186044416, V1 := [[[2324574314733318360]], [[0, 0], [(-7752264486849868)]], [[0, 0, 0], [0, 0], [25556631872364]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-83340967823)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [268563138]]], r1 := 4398046511104, V2 := [[[18445856811690056904]], [[0, 3122168689], [32709318638201]], [[0, 0, (-10559)], [0, (-231892466)], [(-602146799294)]], [[0, 0, 0, 0], [0, 0, 1178], [0, 8612003], [7377664732]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-66)], [0, (-213230)], [(-67646542)]]], r2 := 4294967296, Vm := [[[18445856818078439504]], [[0, 0], [32708832755999]], [[0, 0, 0], [0, 0], [(-602128291716)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [7377193912]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-67637541)]]], rm := 4294967296, rhoP := [[[18446865243660960505]], [[2503464564257, (-121170739281356)], [(-4496572628093)]], [[350501, (-2503489411254), 787877716], [(-92902973342), 4496631103423], [83433584927]], [[3585, (-701005), 24847338, (-5103)], [(-26012), 92904817483, (-58475894)], [1723819855, (-83435754928)], [(-1032082902)]], [[1, (-7166), 350513, (-196), 2], [(-264), 52029, (-1844159), 570], [966, (-1723888289), 2170037], [(-21324137), 1032136594], [9575489]]], rhoR := 4294967296 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 914793674309632 985162418487296 16140901064495857664 18446744073709551616 0 17592186044416 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 914793674309632 985162418487296 16140901064495857664 18446744073709551616 0 17592186044416 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 949326260355072, bh := 0, bN := 19, bD := 512 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 35184372088832, shN := 375, shD := 512 }
noncomputable def q1 : TCert := { V0 := [[[2182290603799329573]], [[9317995583420, 142564398919184686], [(-7297633717641481)]], [[(-3311722950177), 583910087878, (-285263696339218)], [(-41298464516), (-457304569182098)], [24159603085319]], [[783952772250, (-207528529824), (-3582441050), (-5591943243186)], [14457784541, (-2340816824), 2805683089319], [168171332, 1417177301692], [(-79199484610)]], [[(-139044507315), 49126334497, 1273226276, (-63907732), 35151692280], [(-3367058159), 818155511, 38650945, 50051023021], [(-58311234), 8226188, (-18206205759)], [(-645426), (-4218254078)], [257261183]]], r0 := 1099511627776, V1 := [[[2324564182554773337]], [[9898260050284, 0], [(-7752083120802731)]], [[(-3517955795778), 0, 0], [(-43600055001), 0], [25558295675610]], [[832772401655, 0, 0, 0], [15262088236, 0, 0], [176125665, 0], [(-83319127817)]], [[(-147703348661), 0, 0, 0, 0], [(-3554002448), 0, 0, 0], [(-61051989), 0, 0], [(-666726), 0], [268732503]]], r1 := 1099511627776, V2 := [[[18445856808731697539]], [[2873492405, 3122174773], [32709474480489]], [[(-1006641696), (-5831), (-10559)], [(-111964286), (-231893027)], [(-602149923234)]], [[234614119, 1973, 0, 0], [39149831, 455, 1178], [2194576, 8612026], [7377706060]], [[(-40917896), (-442), 0, 0, 0], [(-9105744), (-154), 0, 0], [(-765822), (-18), (-66)], [(-28880), (-213231)], [(-67646955)]]], r2 := 268435456, Vm := [[[18445856815120012088]], [[2873557335, 0], [32708988604526]], [[(-1006663403), 0, 0], [(-111969308), 0], [(-602131415918)]], [[234618912, 0, 0, 0], [39151509, 0, 0], [2194771, 0], [7377235246]], [[(-40918682), 0, 0, 0, 0], [(-9106114), 0, 0, 0], [(-765887), 0, 0], [(-28885), 0], [(-67637954)]]], rm := 67108864, rhoP := [[[18446867889502188031]], [[(-163492860732), (-123816607164486)], [(-4603049308591)]], [[5138222831, 163494532082, 814533396], [6594283548, 4603109847044], [85576482832]], [[(-149772998), (-5138276728), (-1671357), (-5318)], [(-215803225), (-6594413136), (-60539038)], [(-133410853), (-85578732680)], [(-1060846273)]], [[2399628, 149774586, 53902, 15, 3], [6621645, 215807502, 129597, 594], [4551360, 133415887, 2249888], [1805547, 1060902025], [9865245]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 914793674309632 985162418487296 16140901064495857664 18446744073709551616 17592186044416 70368744177664 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 914793674309632 985162418487296 16140901064495857664 18446744073709551616 17592186044416 70368744177664 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 949326260355072, bh := 0, bN := 19, bD := 512 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 140737488355328, shN := 375, shD := 512 }
noncomputable def q2 : TCert := { V0 := [[[2182253392333467754]], [[35747860624345, 142562067068560196], [(-7297470881432071)]], [[(-12688478615128), 2240136448396, (-285249390073309)], [(-155104448321), (-457295352029371)], [24158945339706]], [[2999356458859, (-795124688020), (-13743347617), (-5591688030390)], [54134788027, (-8771491506), 2805529542548], [623094507, 1417145259621], [(-79196970337)]], [[(-531149176089), 187956047194, 4877900946, (-245171788), 35148817187], [(-12565132271), 3055850213, 146994718, 50048700771], [(-215079387), 30264282, (-18205132941)], [(-2374991), (-4218157914)], [257253986]]], r0 := 1099511627776, V1 := [[[2324524653796871443]], [[37974011338396, 0], [(-7751911223261032)]], [[(-13478639368061), 0, 0], [(-163726767330), 0], [25557606972869]], [[3186139215594, 0, 0, 0], [57138055576, 0, 0], [652325747, 0], [(-83316523523)]], [[(-564226532441), 0, 0, 0, 0], [(-13260655415), 0, 0, 0], [(-225100508), 0, 0], [(-2458706), 0], [268724681]]], r1 := 1099511627776, V2 := [[[18445856797395167873]], [[10802550690, 3122197121], [32709915505686]], [[(-3773365825), (-20872), (-10559)], [(-419803520), (-231894771)], [(-602158553001)]], [[876641788, 6995, 0, 0], [146325956, 1628, 1178], [8205100, 8612095], [7377819424]], [[(-152353664), (-1550), 0, 0, 0], [(-33914918), (-546), 0, 0], [(-2853379), (-64), (-66)], [(-107654), (-213233)], [(-67648080)]]], r2 := 268435456, Vm := [[[18445856803783236124]], [[10802779048, 0], [32709429648768]], [[(-3773441170), 0, 0], [(-419821177), 0], [(-602140046423)]], [[876658162, 0, 0, 0], [146331781, 0, 0], [8205784, 0], [7377348630]], [[(-152356292), 0, 0, 0, 0], [(-33916184), 0, 0, 0], [(-2853605), 0, 0], [(-107672), 0], [(-67639080)]]], rm := 67108864, rhoP := [[[18446868218399298919]], [[(-184593435265), (-124145507642809)], [(-4616350080333)]], [[6010843670, 184595327902, 817900860], [7485112139, 4616410880274], [85846337605]], [[(-149459325), (-6010906601), (-1892645), (-5346)], [(-255246589), (-7485259319), (-60800529)], [(-152298848), (-85848597617)], [(-1064509525)]], [[(-4297668), 149460814, 62935, 16, 2], [6992494, 255251617, 147191, 596], [5443647, 152304583, 2260049], [2073802, 1064565541], [9902686]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 914793674309632 985162418487296 16140901064495857664 18446744073709551616 70368744177664 281474976710656 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 914793674309632 985162418487296 16140901064495857664 18446744073709551616 70368744177664 281474976710656 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 949326260355072, bh := 0, bN := 19, bD := 512 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 562949953421312, shN := 375, shD := 512 }
noncomputable def q3 : TCert := { V0 := [[[2182110793464988976]], [[136886914677429, 142553131086428691], [(-7296860885814034)]], [[(-48514620246887), 8578077054693, (-285194571013747)], [(-580016385304), (-457260908323292)], [24156517551052]], [[11448971439047, (-3040223478621), (-52619953639), (-5590710080789)], [201723706871, (-32716951796), 2804946568110], [2293826618, 1417027913129], [(-79187784685)]], [[(-2023558624868), 717478824826, 18646103556, (-938733433), 35137801163], [(-46634309596), 11354969315, 557454507, 50039898109], [(-787521786), 110494931, (-18201092050)], [(-8635853), (-4217805978)], [257221665]]], r0 := 4398046511104, V1 := [[[2324373174732171568]], [[145411443700340, 0], [(-7751267375529285)]], [[(-51535868735303), 0, 0], [(-612167645248), 0], [25555065924007]], [[12161973859031, 0, 0, 0], [212879728675, 0, 0], [2400429777, 0], [(-83307008941)]], [[(-2149585107582), 0, 0, 0, 0], [(-49206785414), 0, 0, 0], [(-823832836), 0, 0], [(-8939899), 0], [268689955]]], r1 := 4398046511104, V2 := [[[18445856754881034729]], [[40444653958, 3122276461], [32711564701736]], [[(-14080747695), (-73672), (-10559)], [(-1567005147), (-231900962)], [(-602190724306)]], [[3259349256, 24385, 0, 0], [544214255, 5749, 1178], [30527717, 8612337], [7378240647]], [[(-564157115), (-5319), 0, 0, 0], [(-125629227), (-1903), 0, 0], [(-10573972), (-225), (-66)], [(-399134), (-213239)], [(-67652250)]]], r2 := 1073741824, Vm := [[[18445856761268246193]], [[40445442034, 0], [32711078911059]], [[(-14081003203), 0, 0], [(-1567066071), 0], [(-602172220293)]], [[3259403566, 0, 0, 0], [544234005, 0, 0], [30530076, 0], [7377769919]], [[(-564165586), 0, 0, 0, 0], [(-125633424), 0, 0, 0], [(-10574736), 0, 0], [(-399195), 0], [(-67643251)]]], rm := 268435456, rhoP := [[[18446868590235116050]], [[(-208707346217), (-124517347276218)], [(-4631476458354)]], [[6617163205, 208709489367, 821717170], [8519142640, 4631537555628], [86155172935]], [[(-25328664), (-6617231012), (-2143162), (-5376)], [(-287419518), (-8519309939), (-61097865)], [(-174561496), (-86157444539)], [(-1068730311)]], [[(-36081556), 25328383, 67817, 19, 2], [2932706, 287425016, 167307, 602], [6263182, 174568039, 2271647], [2394820, 1068786629], [9946140]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 914793674309632 985162418487296 16140901064495857664 18446744073709551616 281474976710656 1125899906842624 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 914793674309632 985162418487296 16140901064495857664 18446744073709551616 281474976710656 1125899906842624 (by decide +kernel)))
theorem region : TailPosI 914793674309632 985162418487296 16140901064495857664 18446744073709551616 0 1125899906842624 :=
(TailPosI.split_s 281474976710656 (TailPosI.split_s 70368744177664 (TailPosI.split_s 17592186044416 leaf_0 leaf_1) leaf_2) leaf_3)
end CKLaneC.RST2.U_0024
end