Courtade–Kumar proof module `CKLaneC.RST2.U_0221` (transplant)
DefinitionCK_CKLaneC_RST2_U_0221Verbatim transplant of the Lean module CKLaneC.RST2.U_0221 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_0221 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_0221 =====
section
/-! RA-stat u-tail cover batch U_0221 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0221
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 22063042185691136, bh := 0, bN := 209, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[2020217853804136694]], [[9801149491091589, 397084658964548145], [(-52273381577596902)]], [[(-1612313455460166), 1859259157213809, (-2045368877069107)], [(-299254937129688), (-9916159677496787)], [1344014011775217]], [[173378245974455, (-306338825995849), (-29269774787015), (-122563586074406)], [47215075088097, (-51583250012782), 156107210437162], [8756890520705, 241130486378024], [(-34468855960971)]], [[(-13461464428550), 33048677597241, 4678959483070, (-1621210641995), 1964069182699], [(-4815710593996), 8145559651156, 2344272731433, 8646553405150], [(-1337159598782), 1304552215067, (-7881993054909)], [(-248900978211), (-5712135566533)], [887222498197]]], r0 := 4503599627370496, V1 := [[[3189926200614982815]], [[15075692763043691, 0], [(-80404593467885854)]], [[(-2482796284171439), 0, 0], [(-430355262728200), 0], [1987447388506003]], [[267602631368279, 0, 0, 0], [67928936910076, 0, 0], [11468064465342, 0], [(-48348276409322)]], [[(-20879281259026), 0, 0, 0, 0], [(-6952121240191), 0, 0, 0], [(-1746004667387), 0, 0], [(-288499758237), 0], [1165296757077]]], r1 := 4503599627370496, V2 := [[[18426507002962721941]], [[68248807669409, 3411088902102], [4079575236111022]], [[(-11037214080078), (-4994755224), (-545628323)], [(-14592374015801), (-1394924224437)], [(-409949291547762)]], [[1181653587525, 688125160, (-251977), 85551], [2343288659704, 2192430479, 335680289], [1573862627762, 285309034272], [27355115232089]], [[(-94186402774), (-56168837), 77016, 205, (-13)], [(-248792737451), (-302547508), 130076, (-70240)], [(-250710213065), (-483253866), (-103309148)], [(-114432262051), (-38920651787)], [(-1362141257796)]]], r2 := 70368744177664, Vm := [[[18426519667043946486]], [[68256894827088, 0], [4074331500163692]], [[(-11038210747608), 0, 0], [(-14595714995912), 0], [(-408861857205265)]], [[1181734936341, 0, 0, 0], [2343696582572, 0, 0], [1574548690499, 0], [27204477894298]], [[(-94192656443), 0, 0, 0, 0], [(-248825720931), 0, 0, 0], [(-250793034734), 0, 0], [(-114525404445), 0], [(-1346453884868)]]], rm := 4398046511104, rhoP := [[[18464596254132399887]], [[(-5841681094933), (-5956281527773685)], [(-3670700388571128)]], [[(-5042111277481), 1945844460150, 1853279035322], [2541690189562, 1225848145852657], [378116790758445]], [[705763114550, 1683964851000, 462880234, (-569069933)], [980273221211, (-847353291594), (-761499855520)], [(-432374031780), (-126507825965530)], [(-26047317059324)]], [[(-64984186871), (-235694669313), (-1088566778), (-675561), 173531], [(-143470066874), (-328067518037), 40108061, 350416042], [(-93360552809), 144309267085, 156621920567], [44429560924, 8746763348075], [1352789295273]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 18014398509481984 27021597764222976 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 18014398509481984 27021597764222976 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 31201853486219264, bh := 0, bN := 37, bD := 256 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[2113032146076962950]], [[10335826275846749, 414647116101134133], [(-40472916662420178)]], [[(-1696532213121488), 1950762370581692, (-2334894139664250)], [(-234598929062409), (-7638774176888029)], [770315111925919]], [[181949414301397, (-320764526861579), (-33633646750955), (-138446294621335)], [36891795371657, (-39856296327985), 131702269917759], [5092366438595, 136731002957162], [(-14639125704082)]], [[(-14078349866330), 34525200788898, 5363770283580, (-1827461407780), 2438665875178], [(-3746451551015), 6273220131922, 1992085441914, 7155953601277], [(-774516091551), 735708216814, (-4912297604953)], [(-107320991221), (-2380042189313)], [279817992776]]], r0 := 1125899906842624, V1 := [[[3332434136425623624]], [[15840994024566417, 0], [(-62029992948352185)]], [[(-2603393381690433), 0, 0], [(-334196398150028), 0], [1130961695849819]], [[279919737363501, 0, 0, 0], [52576101313681, 0, 0], [6551692491501, 0], [(-20292195576801)]], [[(-21776034208741), 0, 0, 0, 0], [(-5358887009919), 0, 0, 0], [(-993085490272), 0, 0], [(-120851430830), 0], [361246156566]]], r1 := 1125899906842624, V2 := [[[18418251609007956621]], [[98182502735674, 6831269860578], [4062918776380886]], [[(-15836426800047), (-10537795064), (-1551368987)], [(-14916121017838), (-1978720413445)], [(-288707768559161)]], [[1690235333501, 1453553215, (-590076), 345062], [2388043582316, 3286438994, 676249219], [1144176946076, 286694521145], [13618139555207]], [[(-134235833301), (-119098065), 201304, 798, (-76)], [(-252632441433), (-454051036), 201946, (-200756)], [(-181629279096), (-514846242), (-147478878)], [(-59239040098), (-27709019183)], [(-479201849619)]]], r2 := 17592186044416, Vm := [[[18418277201543693773]], [[98198786843584, 0], [4055405278060583]], [[(-15838419648928), 0, 0], [(-14920862270981), 0], [(-287602746221296)]], [[1690396888694, 0, 0, 0], [2388617540865, 0, 0], [1144861780556, 0], [13509546865646]], [[(-134248315151), 0, 0, 0, 0], [(-252678490497), 0, 0, 0], [(-181711066602), 0, 0], [(-59304248662), 0], [(-471176027684)]]], rm := 1099511627776, rhoP := [[[18472059140960294951]], [[(-11651798141014), (-8449515078671136)], [(-3688785306521872)]], [[(-7006151014461), 3883617802053, 3724628960604], [3163151705051, 1232842866994281], [269409593066777]], [[996544265838, 2341828257927, 109325916, (-1619701784)], [957560984294, (-1055364845651), (-1084705069190)], [(-363823080148), (-90276332723120)], [(-13169950062925)]], [[(-92162268954), (-333063466205), (-2152505356), (-1455929), 699333], [(-143310634407), (-321015402463), 325691994, 706816529], [(-63855338686), 121592931486, 158173674267], [25912860524, 4436002951443], [486182811544]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 27021597764222976 36028797018963968 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 27021597764222976 36028797018963968 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 22063042185691136, bh := 0, bN := 209, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[1993171048311009981]], [[18624187004117881, 391950246620040200], [(-51460129154208065)]], [[(-3012559154277089), 3538036936110643, (-1965629108985311)], [(-552747847649853), (-9775881097218306)], [1320492579805914]], [[313602869184763, (-574028201256584), (-54200258949675), (-118135039812179)], [85136756292719, (-95432446657535), 149759682134046], [15825752720715, 237628408574036], [(-33806542569577)]], [[(-22752444799017), 60130329384746, 8281590260387, (-3018252045330), 1840305973651], [(-8303801004242), 14771138531614, 4292024686203, 8339673567401], [(-2341789109623), 2356802044586, (-7550151912450)], [(-441951030084), (-5633096756752)], [868869949026]]], r0 := 4503599627370496, V1 := [[[3148302705774256980]], [[28676177245664973, 0], [(-79234588032464960)]], [[(-4648546044169109), 0, 0], [(-795680512055760), 0], [1956660777880025]], [[486080574974502, 0, 0, 0], [122934228898625, 0, 0], [20712751900010, 0], [(-47582595463452)]], [[(-35619983958350), 0, 0, 0, 0], [(-12107675963632), 0, 0, 0], [(-3069647784967), 0, 0], [(-510105520329), 0], [1147173075976]]], r1 := 4503599627370496, V2 := [[[18426319563637788942]], [[128725405138586, 3424029305491], [4119549358055853]], [[(-20725172004307), (-8416256191), (-544703948)], [(-27393588353355), (-1400608235966)], [(-414248194914696)]], [[2209087374847, 1064295990, (-773473), 84937], [4375907375483, 3699668300, 335176622], [2938758237608, 286562730062], [27666652680547]], [[(-175451859976), (-67858023), 208915, 451, (-13)], [(-462124195453), (-469952654), 433271, (-69747)], [(-465212765113), (-816635374), (-103175941)], [(-212376041140), (-39105861976)], [(-1379306807463)]]], r2 := 70368744177664, Vm := [[[18426332207229140757]], [[128738611116609, 0], [4114314067037733]], [[(-20726866511602), 0, 0], [(-27399021125317), 0], [(-413162489900036)]], [[2209260421257, 0, 0, 0], [4376599574983, 0, 0], [2939868360560, 0], [27516249327803]], [[(-175472117287), 0, 0, 0, 0], [(-462195073160), 0, 0, 0], [(-465353098345), 0, 0], [(-212525862002), 0], [(-1363642875632)]]], rm := 4398046511104, rhoP := [[[18464581757108779000]], [[24551942611325, (-5951429830555491)], [(-3670585773558914)]], [[(-11141125890791), (-8204737073034), 1846815272605], [(-3467375237814), 1225803468583509], [378471539830253]], [[1449207690701, 3720736314703, 6929786800, (-565144705)], [2225405013489, 1163503088846, (-759335786999)], [153995654029, (-126625086927893)], [(-26103392445606)]], [[(-131887049330), (-483955274010), (-2345809781), (-3689098), 171674], [(-296746255643), (-744656034610), (-2576926711), 348196081], [(-220308083213), (-52728232253), 156290495278], [7013449265, 8765372366024], [1357774971704]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 18014398509481984 27021597764222976 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 18014398509481984 27021597764222976 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 31201853486219264, bh := 0, bN := 37, bD := 256 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[2084533178103666114]], [[19610678747966691, 409264006560919831], [(-39836131403580221)]], [[(-3164201574247548), 3707147340049349, (-2243344531439409)], [(-432364859469266), (-7530509803795102)], [756655787031527]], [[328352878614965, (-600157622477453), (-62182234560631), (-133456996963656)], [66331977965951, (-73583703329658), 126313815995906], [9179140317037, 134759008250880], [(-14353973860786)]], [[(-23718358070297), 62712123405213, 9474562639673, (-3399065083167), 2284398009351], [(-6434475732622), 11349824233122, 3640379828802, 6904687239158], [(-1351609318742), 1325441230533, (-4704224967172)], [(-190027462966), (-2348018058412)], [273954146648]]], r0 := 1125899906842624, V1 := [[[3288731245692729654]], [[30089601480664580, 0], [(-61122479944218650)]], [[(-4866514744838188), 0, 0], [(-616558931397405), 0], [1113399819011056]], [[507498771651324, 0, 0, 0], [94905061702176, 0, 0], [11800253961469, 0], [(-19972053260490)]], [[(-37064259839448), 0, 0, 0, 0], [(-9304327763791), 0, 0, 0], [(-1740071342799), 0, 0], [(-212943119121), 0], [355705301580]]], r1 := 1125899906842624, V2 := [[[18417982216929115364]], [[184859082330623, 6858584912569], [4103735090564359]], [[(-29676140811161), (-17775532937), (-1549070125)], [(-27944994843717), (-1987244889340)], [(-291829101448227)]], [[3152371497121, 2255336066, (-1983494), 342661], [4448886898448, 5551609277, 675391199], [2131504439253, 288030807201], [13779185294291]], [[(-249375986503), (-145795854), 565648, 1771, (-75)], [(-467939914802), (-707482299), 770277, (-199392)], [(-336093918969), (-870904380), (-147326043)], [(-109652002901), (-27849369397)], [(-485529782013)]]], r2 := 17592186044416, Vm := [[[18418007768279254362]], [[184885590686440, 0], [4096233551643996]], [[(-29679524900796), 0, 0], [(-27952676333248), 0], [(-290725800939924)]], [[3152718001342, 0, 0, 0], [4449860046556, 0, 0], [2132607652528, 0], [13670755886322]], [[(-249417087762), 0, 0, 0, 0], [(-468040064488), 0, 0, 0], [(-336232468068), 0, 0], [(-109756306035), 0], [(-477515368343)]]], rm := 1099511627776, rhoP := [[[18472045793103739574]], [[30834753116814, (-8445032178554253)], [(-3689980353829535)]], [[(-15631597698971), (-10317044361007), 3713393631583], [(-2757434530910), 1233233731726426], [269782936830184]], [[2051792734680, 5224535117793, 12960909229, (-1609526610)], [2204010917621, 929166592784, (-1082198297521)], [42492234753, (-90400067984735)], [(-13205796924952)]], [[(-187319640821), (-685710966971), (-4676698142), (-9952852), 692362], [(-297511178482), (-738694161254), (-3352864013), 702811221], [(-153812654710), (-15415015768), 157933816025], [7742547037, 4447924133531], [488328130564]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 27021597764222976 36028797018963968 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 27021597764222976 36028797018963968 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 18014398509481984 36028797018963968 9223372036854775808 13835058055282163712 72057594037927936 288230376151711744 :=
(TailPosI.split_s 144115188075855872 (TailPosI.split_b 27021597764222976 leaf_0 leaf_1) (TailPosI.split_b 27021597764222976 leaf_2 leaf_3))
end CKLaneC.RST2.U_0221
end