Courtade–Kumar proof module `CKLaneC.RST2.U_0043 (+1 modules: CKLaneC.RST2.U_0044)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0043__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0043 (+1 modules: CKLaneC.RST2.U_0044) 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_0043 (+1 modules: CKLaneC.RST2.U_0044) 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_0043 =====
section
/-! RA-stat u-tail cover batch U_0043 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0043
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 1194197188598784, bh := 0, bN := 61, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[271457424108201256]], [[9219214989190136, 271372622561370260], [(-1500048744957880)]], [[(-1396065323728936), 9210575403420631, (-127155460137527)], [(-55040272948330), (-1498643007071770)], [8289224182793]], [[124307438580599, (-1395050407453858), (-12951422027303), (-42307084160832)], [7859772912827, (-54893223419139), 2107312214786], [326710871219, 8273689227177], [(-45826406681)]], [[(-5729989762435), 124276479016359, 1521709906051, (-4303886991099), 58497750455], [(-638450973484), 7843073586019, 220350946904, 700280911877], [(-44167213388), 325043537116, (-23280973690)], [(-1930656967), (-45683323901)], [253718923]]], r0 := 281474976710656, V1 := [[[2150653808775912555]], [[71637916019922547, 0], [(-11656129740215242)]], [[(-10917948200449512), 0, 0], [(-404969245511087), 0], [62562948115013]], [[986376331034164, 0, 0, 0], [58809515981623, 0, 0], [2221833686783, 0], [(-332645721572)]], [[(-47688296600499), 0, 0, 0, 0], [(-4992482487224), 0, 0, 0], [(-309459203843), 0, 0], [(-11842737202), 0], [1753596134]]], r1 := 281474976710656, V2 := [[[18445559600268043602]], [[22953663189035, 10047380415], [70203555011011]], [[(-3750522697740), (-32574470), (-81835)], [(-1391720016341), (-1199136557)], [(-2078485523097)]], [[407840375103, 32316, (-1061), 0], [226072192737, 4172545, 14667], [42314014322, 71569067], [40975336716]], [[(-33325268724), 985068, 238, 0, 0], [(-24426022094), (-34658), 187, 0], [(-6827459312), (-267742), (-1315)], [(-860774516), (-2848228)], [(-604934233)]]], r2 := 68719476736, Vm := [[[18445559675001724016]], [[22953655141975, 0], [70194610577790]], [[(-3750547521853), 0, 0], [(-1391718151427), 0], [(-2077950049523)]], [[407848942977, 0, 0, 0], [226075071346, 0, 0], [42313842124, 0], [40953955315]], [[(-33326939326), 0, 0, 0, 0], [(-24427046834), 0, 0, 0], [(-6827625445), 0, 0], [(-860764917), 0], [(-604293569)]]], rm := 17179869184, rhoP := [[[18448898291904659367]], [[30796321052607, (-307780191755346)], [(-129072348873689)]], [[(-6141463364870), (-4400495572621), 4962740516], [(-1806548468032), 18443064653817], [3870473900460]], [[738506486259, 877542703109, 145901443, (-79031)], [367016779977, 258199552079, (-594052371)], [52760550519, (-553173772026)], [(-77473170868)]], [[(-65875065141), (-105521753156), (-27260630), (-3541), 3], [(-44330385724), (-52453794815), (-17318638), 14182], [(-10967742907), (-7544409623), 35570210], [(-1021359968), 11077536516], [1165061177]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 1125899906842624 1266637395197952 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 1125899906842624 1266637395197952 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 1335153046122496, bh := 0, bN := 27, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[274296311421918120]], [[9323461160662810, 274208821558549182], [(-1355832219542386)]], [[(-1410942807926609), 9314540205580989, (-131185433070922)], [(-49825813534917), (-1354534920382708)], [6701979771568]], [[125514744476050, (-1409895961495669), (-13373044157520), (-43646241021572)], [7106633671163, (-49689959754779), 1944728875861], [264722683825, 6689155560520], [(-33144927281)]], [[(-5773929641897), 125482978438820, 1569570368994, (-4443708533338), 61619247541], [(-576131653432), 7091227766991, 203570011089, 646211004681], [(-35726954946), 263344466329, (-19218229064)], [(-1400160561), (-33039269615)], [164180199]]], r0 := 70368744177664, V1 := [[[2172706743409484337]], [[72404272740993821, 0], [(-10529141927345240)]], [[(-11029191150557679), 0, 0], [(-365976803143697), 0], [50522225894873]], [[995815320289599, 0, 0, 0], [53102060357084, 0, 0], [1794337311702, 0], [(-240108849080)]], [[(-48100120540037), 0, 0, 0, 0], [(-4503487616727), 0, 0, 0], [(-249646211224), 0, 0], [(-8542146656), 0], [1131323282]]], r1 := 281474976710656, V2 := [[[18445420545066818661]], [[25714530359889, 12564160674], [69435929752873]], [[(-4198824881942), (-41408812), (-114481)], [(-1380664001868), (-1327484287)], [(-1819606700540)]], [[456256385079, 113381, (-1477), 1], [224103537656, 4697646, 18165], [37176236799, 70140559], [31750019020]], [[(-37253055165), 1229058, 332, 0, 0], [(-24192742561), (-46866), 231, 0], [(-5993111787), (-266981), (-1442)], [(-669826580), (-2471187)], [(-414862236)]]], r2 := 68719476736, Vm := [[[18445420638580034211]], [[25714518147875, 0], [69426021111663]], [[(-4198855724384), 0, 0], [(-1380661681013), 0], [(-1819081518544)]], [[456267104269, 0, 0, 0], [224106700484, 0, 0], [37176052677, 0], [31731452712]], [[(-37255148050), 0, 0, 0, 0], [(-24193877557), 0, 0, 0], [(-5993273169), 0, 0], [(-669817635), 0], [(-414369691)]]], rm := 17179869184, rhoP := [[[18449154137968913213]], [[34371857551183, (-344338358956752)], [(-127845009092510)]], [[(-6868815504548), (-4911540690178), 6210025876], [(-1784061900915), 18268178691890], [3394231729497]], [[826388760183, 981498074243, 182224031, (-110601)], [363383475586, 254999966002, (-658117877)], [46095211339, (-485134397309)], [(-60156015600)]], [[(-73734626164), (-118081610665), (-34108462), (-4948), 4], [(-43919658403), (-51937209037), (-19145494), 17570], [(-9613173425), (-6592063304), 34888377], [(-789250320), 8602348634], [801060794]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 1266637395197952 1407374883553280 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 1266637395197952 1407374883553280 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 1541701941176320, bh := 0, bN := 47, bD := 512 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[278045095382246272]], [[9461367042042459, 277953969336238228], [(-2425107602251217)]], [[(-1430596735986300), 9452065029712876, (-136636240742642)], [(-89303166141162), (-2422723339943618)], [21152770369775]], [[127105996121041, (-1429506718319762), (-13944031039440), (-45457403086481)], [12717179199111, (-89053126730096), 3574089825444], [837898618779, 21111181402677], [(-184609378470)]], [[(-5831456680267), 127073150553755, 1634279119428, (-4633039977090), 65943811329], [(-1028280237253), 12688877973139, 374660780855, 1187526117529], [(-112831942786), 833421252006, (-62323179009)], [(-7826306684), (-184004742734)], [1614035933]]], r0 := 281474976710656, V1 := [[[2201807406938860521]], [[73416055781601688, 0], [(-18817770646889101)]], [[(-11175916028742978), 0, 0], [(-654447807011193), 0], [159201401821226]], [[1008250702415947, 0, 0, 0], [94852871744832, 0, 0], [5654425352238, 0], [(-1333756267116)]], [[(-48641968617625), 0, 0, 0, 0], [(-8033866524868), 0, 0, 0], [(-785584594162), 0, 0], [(-47402131119), 0], [11077056587]]], r1 := 281474976710656, V2 := [[[18445216941997703738]], [[29771208252559, 16760912737], [139443806828611]], [[(-4856946939076), (-56431519), (-176487)], [(-2783773322170), (-3082829969)], [(-6359877357297)]], [[527262290874, 280107, (-2264), 2], [451392129258, 11150872, 48753], [130553076312, 283563045], [193131229113]], [[(-43007440701), 1634711, 511, 0, 0], [(-48674704764), (-134989), 617, (-1)], [(-21021440901), (-1103918), (-6735)], [(-4097537133), (-17392096)], [(-4391656545)]]], r2 := 274877906944, Vm := [[[18445217066851354129]], [[29771188140117, 0], [139420774865191]], [[(-4856987728076), 0, 0], [(-2783767137928), 0], [(-6357752042490)]], [[527276599522, 0, 0, 0], [451399400246, 0, 0], [130552248946, 0], [193000417816]], [[(-43010239401), 0, 0, 0, 0], [(-48677342326), 0, 0, 0], [(-21022085585), 0, 0], [(-4097468366), 0], [(-4385614500)]]], rm := 68719476736, rhoP := [[[18449529374544230672]], [[39597699538668, (-397958152599636)], [(-257232289142704)]], [[(-7935091135070), (-5658512693167), 8291673932], [(-3575457965711), 36758176424746], [11890563341583]], [[955318276547, 1133903129276, 242692362, (-170589)], [730762824057, 511090258043, (-1529836920)], [160671184927, (-1699639967541)], [(-366937705016)]], [[(-85269946577), (-136508875295), (-45535347), (-7615), 5], [(-88397899776), (-104453450522), (-44378758), 47178], [(-33652816279), (-22981397513), 141197324], [(-4783293218), 52480493295], [8509142020]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 1407374883553280 1688849860263936 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 1407374883553280 1688849860263936 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 1125899906842624 1688849860263936 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 1407374883553280 (TailPosI.split_b 1266637395197952 leaf_0 leaf_1) leaf_2)
end CKLaneC.RST2.U_0043
end
-- ===== source module CKLaneC.RST2.U_0044 =====
section
/-! RA-stat u-tail cover batch U_0044 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0044
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 1824166337152000, bh := 0, bN := 79, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[282561792285524482]], [[9627896277823660, 282466153100543789], [(-2104880797558284)]], [[(-1454288743850563), 9618120558379286, (-143401517089608)], [(-77701622103561), (-2102743599197706)], [15681036643870]], [[129018650680866, (-1453145169867036), (-14653824719915), (-47705112721072)], [11044075497804, (-77477105511672), 3203664993231], [623281213343, 15649196681349], [(-116900606690)]], [[(-5900018411335), 128984482817368, 1714552203334, (-4868360605411), 71473024978], [(-890178856816), 11018720790437, 336405556968, 1064336222391], [(-83707726253), 619846204093, (-47712289826)], [(-4977051772), (-116505233218)], [873246517]]], r0 := 281474976710656, V1 := [[[2236837793124945946]], [[74634750400246838, 0], [(-16316882568604648)]], [[(-11352431123170734), 0, 0], [(-567842628191056), 0], [117787585537241]], [[1023189665354955, 0, 0, 0], [82191562627373, 0, 0], [4183512212600, 0], [(-841806609121)]], [[(-49291877226682), 0, 0, 0, 0], [(-6950750908673), 0, 0, 0], [(-580244630567), 0, 0], [(-29879036269), 0], [5963614538]]], r1 := 281474976710656, V2 := [[[18444938781782535647]], [[35337885116789, 23479976092], [138514015926939]], [[(-5759027463892), (-81069178), (-292816)], [(-2778518376086), (-3629744437)], [(-5308208430931)]], [[624468680681, 610518, (-3730), 3], [449991527320, 13472990, 67988], [109587443100, 280613193], [135435950026]], [[(-50874800683), 2281744, 846, 0, 0], [(-48458235432), (-196187), 853, (-1)], [(-17620605923), (-1121881), (-7895)], [(-2893135939), (-14466042)], [(-2587423525)]]], r2 := 274877906944, Vm := [[[18444938956863630487]], [[35337850417610, 0], [138486868104104]], [[(-5759083996723), 0, 0], [(-2778509952688), 0], [(-5306102697753)]], [[624488740317, 0, 0, 0], [449999981685, 0, 0], [109586523884, 0], [135327003458]], [[(-50878732736), 0, 0, 0, 0], [(-48461343370), 0, 0, 0], [(-17621234514), 0, 0], [(-2893072821), 0], [(-2583193377)]]], rm := 68719476736, rhoP := [[[18450043100114919911]], [[46720779633496, (-471370868785871)], [(-256104651346044)]], [[(-9394031545910), (-6676771578291), 11628025566], [(-3542642070799), 36598999021261], [9951755333167]], [[1131895565326, 1342451319517, 339300807, (-283193)], [727084038056, 506456511091, (-1803354640)], [133651067735, (-1422658330897)], [(-258189090344)]], [[(-101076657041), (-161748256911), (-63846082), (-12610), 8], [(-88044957692), (-103938396380), (-52132788), 65832], [(-28141143264), (-19121010354), 139910358], [(-3339177241), 36934813664], [5034443643]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 1688849860263936 1970324836974592 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 1688849860263936 1970324836974592 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 2106365851602944, bh := 0, bN := 69, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[286541561437704259]], [[9774968138243638, 286441824207229164], [(-1890597072865055)]], [[(-1475175259767460), 9764761583237098, (-149544438078848)], [(-69942202491824), (-1888623001671523)], [12475450688021]], [[130699807159022, (-1473983080343769), (-15299359309675), (-49745845179544)], [9924604426489, (-69734507794285), 2959081146710], [497359199844, 12449401557208], [(-82385610083)]], [[(-5959751684364), 130664455012867, 1787403027844, (-5082341897616), 76646554756], [(-797717267517), 9901196334606, 311190745320, 982986397400], [(-66639661593), 494543738478, (-39033603688)], [(-3520737046), (-82099095830)], [545285127]]], r0 := 281474976710656, V1 := [[[2267675138480026393]], [[75708215735334027, 0], [(-14642884665887236)]], [[(-11507718203113365), 0, 0], [(-509866115760285), 0], [93544243831515]], [[1036313127876182, 0, 0, 0], [73714363540434, 0, 0], [3322284191025, 0], [(-591523429432)]], [[(-49861915044192), 0, 0, 0, 0], [(-6225510292193), 0, 0, 0], [(-460115894275), 0, 0], [(-20969614079), 0], [3707560499]]], r1 := 281474976710656, V2 := [[[18444661163732895654]], [[40918774709371, 31323942600], [139563401855060]], [[(-6662380501371), (-110527337), (-451452)], [(-2811431740763), (-4229623072)], [(-4670506877536)]], [[721689166460, 1071611, (-5714), 6], [454835200815, 16054068, 91562], [96908187469, 285618136], [104056399770]], [[(-58732741894), 3034220, 1300, 0, 0], [(-48921702086), (-267012), 1142, (-2)], [(-15562496929), (-1168434), (-9287)], [(-2236271454), (-12861350)], [(-1735804765)]]], r2 := 274877906944, Vm := [[[18444661397510737525]], [[40918720659650, 0], [139531736745730]], [[(-6662455197200), 0, 0], [(-2811420736909), 0], [(-4668361318891)]], [[721715944845, 0, 0, 0], [454844941487, 0, 0], [96907160387, 0], [103959426303]], [[(-58738001009), 0, 0, 0, 0], [(-48925326161), 0, 0, 0], [(-15563128181), 0, 0], [(-2236210619), 0], [(-1732515406)]]], rm := 68719476736, rhoP := [[[18450556930742622714]], [[53812951198205, (-544802531074929)], [(-258568493230997)]], [[(-10852366629788), (-7690726398325), 15527229828], [(-3561366623895), 36953076850949], [8777616764501]], [[1308574099435, 1550934610876, 451841751, (-436843)], [733647215276, 509190844678, (-2103574353)], [117238223204, (-1254942804557)], [(-198964030047)]], [[(-116901095091), (-187004486136), (-85241428), (-19406), 13], [(-88922837694), (-104887500686), (-60625156), 88707], [(-24801604219), (-16776749273), 142570541], [(-2555046920), 28468526095], [3390136126]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 1970324836974592 2251799813685248 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 1970324836974592 2251799813685248 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 1688849860263936 2251799813685248 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 1970324836974592 leaf_0 leaf_1)
end CKLaneC.RST2.U_0044
end