Courtade–Kumar proof module `CKLaneC.RST2.U_0466 (+1 modules: CKLaneC.RST2.U_0467)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0466__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0466 (+1 modules: CKLaneC.RST2.U_0467) 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_0466 (+1 modules: CKLaneC.RST2.U_0467) 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_0466 =====
section
/-! RA-stat u-tail cover batch U_0466 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0466
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, lam1 := 2001045572807608065, u1 := 1829589195072778, w1 := 16866179455897461 }
noncomputable def q0 : TCert := { V0 := [[[5260991298818885605]], [[0, 1554214526868907495], [138145509874474556]], [[0, 0, (-86555714248798187)], [0, 30661588459935446], [1453671842479588]], [[0, 0, 0, (-3333858570373434)], [0, 0, (-6017956208381360)], [0, (-60481514182948)], [43027489592365]], [[0, 0, 0, 0, 1056899380934634], [0, 0, 0, 79439499034946], [0, 0, (-171673807095677)], [0, (-1158844704455)], [308354767490]]], r0 := 18014398509481984, V1 := [[[10901872388014351371]], [[0, 0], [180210952502933246]], [[0, 0, 0], [0, 0], [(-452487058549000)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [29320113288523]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-645833970889)]]], r1 := 18014398509481984, V2 := [[[10490926641535577035]], [[0, 822877962604388819], [(-491827035055226674)]], [[0, 0, (-62821634224523464)], [0, 99476246778512449], [(-12623980757320266)]], [[0, 0, 0, 3366413820337139], [0, 0, (-9758806976263116)], [0, 4710884729467611], [(-323910605371148)]], [[0, 0, 0, 0, (-58226604624577)], [0, 0, 0, 438428005106839], [0, 0, (-474735130404359)], [0, 90848254338120], [(-3570146834885)]]], r2 := 18014398509481984, Vm := [[[14592539989108449443]], [[0, 0], [(-59655577095832028)]], [[0, 0, 0], [0, 0], [4162997144483931]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [13508433133578]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-393412463761)]]], rm := 18014398509481984, rhoP := [[[37404503744830296585]], [[1414489862892669380, (-7538860789187430245)], [1507963598721935549]], [[57888125248349767, (-704350220766397499), 1481170715201672808], [140887930334361278, (-894136231151446550)], [59261874628476225]], [[3919932672719432, (-46001276026828029), 185378115670505080, (-288371265298505261)], [9201423355994018, (-102338247272268096), 291553430051641343], [7417007733799833, (-58318089681529279)], [2307848977611348]], [[269585722625632, (-3847697737008833), 17982023797908317, (-42621243299573343), 55879562778692010], [769637255355063, (-9034007456871838), 40408125176328166, (-79318271771407748)], [719463616813965, (-8082651154123508), 29630311796928832], [341099841108042, (-3173536601298892)], [89452717050036]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 0 4503599627370496 (by decide +kernel)))
noncomputable def c1 : LCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, lam1 := 2017262350731897601, u1 := 1970326825316977, w1 := 18017560802860605 }
noncomputable def q1 : TCert := { V0 := [[[5543126748938797577]], [[0, 1615214548849898321], [144485417432532417]], [[0, 0, (-99292421458003650)], [0, 30397841299180002], [1720467046199276]], [[0, 0, 0, (-3080481477449240)], [0, 0, (-6747994317996903)], [0, (-74506860869518)], [46206335220107]], [[0, 0, 0, 0, 1270649568029501], [0, 0, 0, 179094895493839], [0, 0, (-194032605473523)], [0, (-3576665320118)], [485480023213]]], r0 := 18014398509481984, V1 := [[[11260313360043706724]], [[0, 0], [178741457933620531]], [[0, 0, 0], [0, 0], [(-290755916031361)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [24896062582691]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-472500244988)]]], r1 := 18014398509481984, V2 := [[[9453752603297090521]], [[0, 1041331405448837888], [(-546305786348965351)]], [[0, 0, (-84081219742863818)], [0, 119271776745692979], [(-14634327341031418)]], [[0, 0, 0, 4056259644506544], [0, 0, (-11398212809955126)], [0, 5146413809862745], [(-342849474393541)]], [[0, 0, 0, 0, 80052054464529], [0, 0, 0, 194855260435962], [0, 0, (-311137659145988)], [0, 47667472760150], [(-797563897857)]]], r2 := 18014398509481984, Vm := [[[14489644299358780918]], [[0, 0], [(-42856569175602850)]], [[0, 0, 0], [0, 0], [4234245021320641]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [10092775927539]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-457715545024)]]], rm := 18014398509481984, rhoP := [[[40691116403305434826]], [[1744234082143422707, (-9595962619572286167)], [1777255100236480318]], [[80973649969646904, (-954594728182624089), 2205273815313493968], [176799182800176930, (-1172322508831516175)], [75645825084728788]], [[5963690733129439, (-69564665701737266), 290714195109194636, (-502149891411630133)], [12883976503044047, (-143045392757416383), 442381779645396715], [9972147222793581, (-81932923803064575)], [3190193590430522]], [[452964703777754, (-6345781553024786), 30486411573354496, (-77799301441938988), 113797100458368933], [1175293514284511, (-13869488405965599), 64764417586158618, (-140106317144414969)], [1045752115372210, (-11994929120928153), 47116641176869409], [494264435868596, (-4805960097279488)], [133898614463642]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 7493989779944505344 8070450532247928832 4611686018427387904 9223372036854775808 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c1 q1 false 7493989779944505344 8070450532247928832 4611686018427387904 9223372036854775808 0 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 8070450532247928832 4611686018427387904 9223372036854775808 0 4503599627370496 :=
(TailPosI.split_b 7493989779944505344 leaf_0 leaf_1)
end CKLaneC.RST2.U_0466
end
-- ===== source module CKLaneC.RST2.U_0467 =====
section
/-! RA-stat u-tail cover batch U_0467 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0467
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 5764607523034234880, th := 1152921504606846976, lam1 := 2032597865055305985, u1 := 2111064455551111, w1 := 19158880886119213 }
noncomputable def q0 : TCert := { V0 := [[[4973254295452801511]], [[0, 893227763494692291], [134988394496498269]], [[0, 0, (-26818698953795085)], [0, 18891766248098842], [2003517222265010]], [[0, 0, 0, (-737728446062172)], [0, 0, (-1955648550817190)], [0, 70568380279854], [52733997914907]], [[0, 0, 0, 0, 111177034195697], [0, 0, 0, 312988814573], [0, 0, (-67383277457085)], [0, (-388998848589)], [847902487632]]], r0 := 18014398509481984, V1 := [[[11616446545699918087]], [[0, 0], [177870151141009921]], [[0, 0, 0], [0, 0], [(-151801236156750)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [21646772733623]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-348068051609)]]], r1 := 18014398509481984, V2 := [[[7621804228007650603]], [[0, 705449792783667337], [(-681869919223342036)]], [[0, 0, (-28132191063087070)], [0, 75705845183530069], [(-19187256343506260)]], [[0, 0, 0, 326133022048864], [0, 0, (-2646278525407299)], [0, 2405108491038915], [(-273239366286383)]], [[0, 0, 0, 0, 46787305128239], [0, 0, 0, (-151321731880267)], [0, 0, 156288528985400], [0, (-91236238260078)], [15640221789124]]], r2 := 18014398509481984, Vm := [[[14420602595636626645]], [[0, 0], [(-25814692108688619)]], [[0, 0, 0], [0, 0], [4283608520157352]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [6238414911538]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-502583040556)]]], rm := 18014398509481984, rhoP := [[[51708921982293288011]], [[2950161626648362277, (-8220525303550729505)], [3118524094031136583]], [[182460600924051975, (-951189536825679887), 1272905515973476384], [360841598200537008, (-1249276608522888190)], [183187246630017967]], [[16409361199688727, (-88694727801993469), 190054826084386459, (-195256003710035921)], [33647076731772642, (-177001514146227850), 310013602042833248], [27351299732973375, (-117606217577162367)], [10659896704941445]], [[1560736079359904, (-9904327777808968), 23916199356269280, (-33845228650586667), 29805312234381820], [3757288454174339, (-21204440230952988), 51627284917000493, (-65429012340833821)], [3441844390609802, (-19585236463360122), 42577290603365281], [1847762089334598, (-9416064641115560)], [617293649431160]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 0 4503599627370496 (by decide +kernel)))
noncomputable def c1 : LCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 8070450532247928832, th := 1152921504606846976, lam1 := 2032597865055305985, u1 := 2111064455551111, w1 := 19158880886119213 }
noncomputable def q1 : TCert := { V0 := [[[6648211686236411091]], [[0, 780400551721352816], [165112450133041564]], [[0, 0, (-28843107800188532)], [0, 11382590693965299], [1908688732462106]], [[0, 0, 0, 11960325909716], [0, 0, (-1735965973360268)], [0, (-146695494469060)], [46724966786096]], [[0, 0, 0, 0, 73582671863544], [0, 0, 0, 63357212078358], [0, 0, (-39769830325132)], [0, (-4736366608594)], [463275767258]]], r0 := 18014398509481984, V1 := [[[11616446545699918087]], [[0, 0], [177870151141009921]], [[0, 0, 0], [0, 0], [(-151801236156750)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [21646772733623]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-348068051609)]]], r1 := 18014398509481984, V2 := [[[8923418373882419260]], [[0, 598049677063064410], [(-541907756426040040)]], [[0, 0, (-25329021072558511)], [0, 63978482109019298], [(-14080664568195408)]], [[0, 0, 0, 566915286073462], [0, 0, (-3072220257071936)], [0, 2565234688160081], [(-330834808769008)]], [[0, 0, 0, 0, 15813937950837], [0, 0, 0, (-5912821782556)], [0, 0, (-48965528089071)], [0, 16767502647385], [(-1315910706440)]]], r2 := 18014398509481984, Vm := [[[14420602595636626645]], [[0, 0], [(-25814692108688619)]], [[0, 0, 0], [0, 0], [4283608520157352]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [6238414911538]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-502583040556)]]], rm := 18014398509481984, rhoP := [[[39162848743600981581]], [[1605958207694538089, (-4783523133475886267)], [1484729153355910448]], [[71359744799076737, (-467908150411341225), 569310007522473576], [145231214028592663, (-518379366646013856)], [54846325057688321]], [[5121187919097760, (-32879589535830060), 74180873219192753, (-67131232616182908)], [10205299268355450, (-62185917248867554), 101777103963605959], [7146454887291626, (-31589986957813232)], [2007348113933759]], [[376698104750839, (-2919901195892356), 7605112392276104, (-10305373808089440), 7877992805013929], [906290679378406, (-5854932897347905), 14712438547251761, (-16726299738963536)], [732663155144984, (-4566505861588529), 9542363574902772], [308149751924321, (-1611382305552229)], [73116098671134]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c1 q1 false 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 0 4503599627370496 (by decide +kernel)))
noncomputable def c2 : LCell := { bch := { bexp := false, bc := 8935141660703064064, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 5764607523034234880, th := 1152921504606846976, lam1 := 2047155863253975041, u1 := 2251802085775861, w1 := 20290811488848489 }
noncomputable def q2 : TCert := { V0 := [[[5251387392792767704]], [[0, 931248645455255636], [143659828574714668]], [[0, 0, (-31009632653084362)], [0, 19164513385540283], [2342007394483100]], [[0, 0, 0, (-721284878457669)], [0, 0, (-2247299258511117)], [0, 64193191558868], [60502333518413]], [[0, 0, 0, 0, 136070491177543], [0, 0, 0, 17202340780945], [0, 0, (-78868171673890)], [0, (-1810246049206)], [1102162597060]]], r0 := 18014398509481984, V1 := [[[11971384335163300067]], [[0, 0], [177518773449378818]], [[0, 0, 0], [0, 0], [(-29604399629572)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [19255085654214]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-255512451987)]]], r1 := 18014398509481984, V2 := [[[6179102129412745933]], [[0, 865486852392764506], [(-761262279834695762)]], [[0, 0, (-32425534552168231)], [0, 83744511545424105], [(-20333130020939302)]], [[0, 0, 0, (-211217922658408)], [0, 0, (-1443513324260675)], [0, 1486028011269950], [(-88750512128663)]], [[0, 0, 0, 0, 109792630175720], [0, 0, 0, (-405834486679383)], [0, 0, 466798478594223], [0, (-222599041067073)], [31148574314028]]], r2 := 18014398509481984, Vm := [[[14385811295053880246]], [[0, 0], [(-8622104383102849)]], [[0, 0, 0], [0, 0], [4308940079395830]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [2110556601683]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-525695532191)]]], rm := 18014398509481984, rhoP := [[[58801527248659999552]], [[3829262326860597732, (-11287315117845795040)], [4005681080768183349]], [[270526821677419562, (-1412271531315613131), 2109590515491542747], [501191762153809021, (-1861470252715203036)], [265686570605262644]], [[26864932580255133, (-147696842110621065), 336580533375579442, (-390532307992606436)], [52415161617693311, (-284456594363589181), 551900098602404833], [42389708802900782, (-195860198848392820)], [17454769832388821]], [[2841794244494780, (-18202339510797799), 46363833429182906, (-71932932686183979), 71938976557614355], [6459708641326349, (-37672526968051551), 98301026908678738, (-139918014445427666)], [5839165379942485, (-34885405395089987), 83384613197571556], [3215029224751950, (-17621589190374944)], [1141056456629700]]], rhoR := 4611686018427387904 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 8646911284551352320 9223372036854775808 4611686018427387904 6917529027641081856 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c2 q2 false 8646911284551352320 9223372036854775808 4611686018427387904 6917529027641081856 0 4503599627370496 (by decide +kernel)))
noncomputable def c3 : LCell := { bch := { bexp := false, bc := 8935141660703064064, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 8070450532247928832, th := 1152921504606846976, lam1 := 2047155863253975041, u1 := 2251802085775861, w1 := 20290811488848489 }
noncomputable def q3 : TCert := { V0 := [[[6986098370066327094]], [[0, 802515734405953252], [173321038107575777]], [[0, 0, (-32473754043612587)], [0, 10733296188941865], [2201185122594319]], [[0, 0, 0, 160025775984244], [0, 0, (-1900152689593725)], [0, (-180265184339396)], [51028646193942]], [[0, 0, 0, 0, 82012711535207], [0, 0, 0, 85661746049354], [0, 0, (-42300065552391)], [0, (-6518637209631)], [613375941853]]], r0 := 18014398509481984, V1 := [[[11971384335163300067]], [[0, 0], [177518773449378818]], [[0, 0, 0], [0, 0], [(-29604399629572)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [19255085654214]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-255512451987)]]], r1 := 18014398509481984, V2 := [[[7780257443119799779]], [[0, 736305668901905138], [(-602202772574603728)]], [[0, 0, (-31514666301332744)], [0, 74267197613545883], [(-16062827565272230)]], [[0, 0, 0, 440221267333375], [0, 0, (-3024786356352633)], [0, 2531401524955159], [(-323845114291820)]], [[0, 0, 0, 0, 54329178614140], [0, 0, 0, (-136990300797625)], [0, 0, 88706248069569], [0, (-33342239062887)], [3567214891301]]], r2 := 18014398509481984, Vm := [[[14385811295053880246]], [[0, 0], [(-8622104383102849)]], [[0, 0, 0], [0, 0], [4308940079395830]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [2110556601683]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-525695532191)]]], rm := 18014398509481984, rhoP := [[[42382430699209879455]], [[1942855815845626684, (-5965077234534181452)], [1732014864538673726]], [[96570591739755942, (-617944756256640842), 817807232459922323], [179425925468978354, (-667361751718897009)], [68948057389891431]], [[7479038530078699, (-47859771008519646), 111763955840282178, (-111074337100049351)], [13896523304051800, (-84839592463682969), 149522762596835725], [9422645503168382, (-43415304986378831)], [2719069830423155]], [[601004329954232, (-4595816219715631), 12295143705122376, (-17806424504316963), 15012962389327665], [1334437375119257, (-8684073545072115), 22722262329803446, (-28187089136902671)], [1036584466546994, (-6597617191496434), 14688531025123065], [435896471871669, (-2376409699409683)], [106710848081461]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 8646911284551352320 9223372036854775808 6917529027641081856 9223372036854775808 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c3 q3 false 8646911284551352320 9223372036854775808 6917529027641081856 9223372036854775808 0 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 9223372036854775808 4611686018427387904 9223372036854775808 0 4503599627370496 :=
(TailPosI.split_b 8646911284551352320 (TailPosI.split_t 6917529027641081856 leaf_0 leaf_1) (TailPosI.split_t 6917529027641081856 leaf_2 leaf_3))
end CKLaneC.RST2.U_0467
end