Courtade–Kumar proof module `CKLaneC.RST2.U_0172` (transplant)
DefinitionCK_CKLaneC_RST2_U_0172Verbatim transplant of the Lean module CKLaneC.RST2.U_0172 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_0172 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_0172 =====
section
/-! RA-stat u-tail cover batch U_0172 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0172
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 11031521092845568, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 25476206690107392, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[378000154020629774]], [[489344128296983, 377771204220055398], [(-9148351260854486)]], [[(-82021428851911), 488455056653487, (-343179417080593)], [(-14772017950393), (-9131729952412354)], [221620030771531]], [[9102916175239, (-81873557729818), (-1332020050435), (-113984646945260)], [2402329153702, (-14702156306142), 24902285739640], [428679864228, 220815218044620], [(-5386133535557)]], [[(-748854637980), 9086762650844, 221544717400, (-441363839006), 305819617293], [(-257243632291), 2390850451919, 104590916015, 8251353596705], [(-68264051878), 425039972998, (-1205064092316)], [(-12132574367), (-5353622112136)], [131830377826]]], r0 := 1125899906842624, V1 := [[[2968177694729165712]], [[3702634301199419, 0], [(-69221223305039521)]], [[(-620877059952815), 0, 0], [(-102054553547333), 0], [1586051120470043]], [[68964480702896, 0, 0, 0], [16568989674996, 0, 0], [2622371288866, 0], [(-35776862479578)]], [[(-5683154823662), 0, 0, 0, 0], [(-1772491616130), 0, 0, 0], [(-414921884075), 0, 0], [(-63732693572), 0], [797888807448]]], r1 := 4503599627370496, V2 := [[[18436615613247968742]], [[9174326571431, 848727166348], [2045516216398278]], [[(-1502206581294), (-364730694), (-67723935)], [(-1964828551366), (-346996054855)], [(-206093891954208)]], [[163067266144, 54162634, (-3422), 5305], [320057946450, 159008108, 41636096], [212166486583, 70956642697], [13806385862943]], [[(-13192944415), (-5139179), 1432, 3, (-1)], [(-34533920689), (-23617925), 1288, (-4352)], [(-34360020037), (-34791816), (-12804359)], [(-15433623749), (-9677720239)], [(-691634452225)]]], r2 := 17592186044416, Vm := [[[18436622120351176113]], [[9173591560026, 0], [2042842455509047]], [[(-1502085811432), 0, 0], [(-1964495347561), 0], [(-205544138856663)]], [[163054541342, 0, 0, 0], [320003384944, 0, 0], [212090516892, 0], [13730957792825]], [[(-13192022371), 0, 0, 0, 0], [(-34528184962), 0, 0, 0], [(-34347624810), 0, 0], [(-15422003394), 0], [(-683863669182)]]], rm := 4398046511104, rhoP := [[[18467421376636812678]], [[(-24608958500904), (-2957108978383432)], [(-4244944112268377)]], [[(-922537761260), 3520992516328, 458857989014], [6031927996807, 607736693571660], [436486521108940]], [[190492133095, 132125071526, (-776234745), (-70395881)], [152832899009, (-864178544019), (-188317849307)], [(-741661544219), (-62625357480471)], [(-30008885372391)]], [[(-18309349536), (-27273516580), (-47792701), 135397, 10738], [(-37996941738), (-21960618387), 354137838, 43303170], [(-10940017103), 106515940853, 38684566876], [61135683084, 4323989522825], [1555417283366]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 9007199254740992 13510798882111488 0 4611686018427387904 18014398509481984 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 9007199254740992 13510798882111488 0 4611686018427387904 18014398509481984 36028797018963968 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 15600926743109632, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 25476206690107392, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[394200988494856532]], [[515726066472932, 393941324776733046], [(-7046151124521927)]], [[(-86307292193236), 514707046726423, (-389193037748403)], [(-11570795768109), (-7032228680807036)], [126120209138459]], [[9561250050328, (-86138090953159), (-1526550936142), (-129227201678604)], [1877762972117, (-11511514900268), 20856631639520], [249138185420, 125622225614581], [(-2267076192713)]], [[(-784865722169), 9542803540043, 253475901103, (-505556365184), 377121213254], [(-200550190343), 1868041686078, 88735480012, 6907206718101], [(-39583674194), 246851888542, (-745525264103)], [(-5230079550), (-2252210117957)], [41113066190]]], r0 := 281474976710656, V1 := [[[3090473640160220843]], [[3883813544321961, 0], [(-53062931955155585)]], [[(-650258495325639), 0, 0], [(-78986705519790), 0], [894105154164078]], [[72103290982915, 0, 0, 0], [12794521769347, 0, 0], [1491481448530, 0], [(-14824748788476)]], [[(-5930004683555), 0, 0, 0, 0], [(-1364973668128), 0, 0, 0], [(-235304787655), 0, 0], [(-26560445981), 0], [243167928464]]], r1 := 1125899906842624, V2 := [[[18432474232561586226]], [[13205680896520, 1699447854221], [2039165674396350]], [[(-2158133848160), (-765481882), (-192412135)], [(-2009190940111), (-492147060088)], [(-145355082690801)]], [[233745957058, 113691575, (-5609), 21370], [326569862405, 237008484, 83810265], [154259509020, 71292617420], [6888703827721]], [[(-18861872493), (-10792544), 3456, 11, (-2)], [(-35146421048), (-35207844), 650, (-12422)], [(-24920213126), (-36841273), (-18262844)], [(-7987624147), (-6889405105)], [(-244184971346)]]], r2 := 4398046511104, Vm := [[[18432487309100234080]], [[13204090962448, 0], [2035358528554417]], [[(-2157873309292), 0, 0], [(-2008678144120), 0], [(-144800364229870)]], [[233718556064, 0, 0, 0], [326486131679, 0, 0], [154176295372, 0], [6834760153905]], [[(-18859885688), 0, 0, 0, 0], [(-35137637133), 0, 0, 0], [(-24906676641), 0, 0], [(-7978561065), 0], [(-240245159496)]]], rm := 1099511627776, rhoP := [[[18476048862391550600]], [[(-37323867652991), (-4192838512287669)], [(-4263141645897096)]], [[(-1215105029202), 5343753564627, 921417350379], [6488583992090, 610892070401306], [310782926190815]], [[267139987804, 174222212658, (-1684719457), (-200145032)], [136355289035, (-930743172152), (-268014555020)], [(-566449305901), (-44669870717564)], [(-15162691896196)]], [[(-25892930309), (-38282959845), (-91053716), 420364, 43212], [(-37610058712), (-19648981300), 544616088, 87249101], [(-6183913995), 81535921818, 39034279547], [33199898443, 2192547050054], [558729944442]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 13510798882111488 18014398509481984 0 4611686018427387904 18014398509481984 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 13510798882111488 18014398509481984 0 4611686018427387904 18014398509481984 36028797018963968 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 11031521092845568, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[376638998643633257]], [[944297473283268, 376412512984869156], [(-9107722808949276)]], [[(-157370132708687), 942594143767295, (-339487588227538)], [(-27920459303890), (-9091294243245461)], [220450101629388]], [[17289188249005, (-157090536890863), (-2551974879217), (-112761335930997)], [4496903584029, (-27787740048109), 24613726577578], [798690266339, 219655290955213], [(-5353208369264)]], [[(-1395538957641), 17259421354228, 418905671116, (-845631344583), 300359359861], [(-473831816031), 4475422728154, 198697635791, 8156090747788], [(-125485087180), 791826436332, (-1190103089816)], [(-22367770538), (-5321127960171)], [130916040893]]], r0 := 1125899906842624, V1 := [[[2957876470189737085]], [[7147836233870787, 0], [(-68940681240519941)]], [[(-1192174437788439), 0, 0], [(-192725861223690), 0], [1578909596781142]], [[131191129980206, 0, 0, 0], [31012012247368, 0, 0], [4867286252900, 0], [(-35604713258313)]], [[(-10625325763156), 0, 0, 0, 0], [(-3270576867032), 0, 0, 0], [(-760401304864), 0, 0], [(-116507979560), 0], [793926731173]]], r1 := 4503599627370496, V2 := [[[18436590303528624822]], [[17445945464164, 849698243795], [2050926377030732]], [[(-2846031265601), (-648775021), (-67709015)], [(-3723284479077), (-347419449414)], [(-206676849157122)]], [[307681053178, 93515560, (-13480), 5297], [603919007434, 282902089, 41629096], [400476540094, 71049292016], [13848691006422]], [[(-24784867119), (-8404855), 4100, 6, (-1)], [(-64852701735), (-40802502), 6833, (-4345)], [(-64537279008), (-61912586), (-12802930)], [(-29004350525), (-9691292164)], [(-693966844736)]]], r2 := 17592186044416, Vm := [[[18436596812655556710]], [[17444556891559, 0], [2048251699715609]], [[(-2845811006882), 0, 0], [(-3722656142199), 0], [(-206126887356291)]], [[307659591556, 0, 0, 0], [603819548171, 0, 0], [400333560053, 0], [13773231051695]], [[(-24783613191), 0, 0, 0, 0], [(-64842997865), 0, 0, 0], [(-64514700096), 0, 0], [(-28982525709), 0], [(-686192383686)]]], rm := 4398046511104, rhoP := [[[18467464429822457153]], [[(-18100447669977), (-2963268254913112)], [(-4255859289670631)]], [[(-2592279767919), 2588982511013, 460119602310], [4853000624320, 609300151038999], [437867279599189]], [[400286953894, 371185910555, (-458159248), (-70597214)], [488637929254, (-694889888255), (-188911164313)], [(-641064885627), (-62823579864988)], [(-30125495166492)]], [[(-37245103725), (-57309509761), (-123095806), 58044, 10765], [(-80935271665), (-70146918351), 229462325, 43442029], [(-44508492131), 91976006262, 38823638962], [56040458229, 4340799381849], [1562842386532]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 9007199254740992 13510798882111488 0 4611686018427387904 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 9007199254740992 13510798882111488 0 4611686018427387904 36028797018963968 72057594037927936 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 15600926743109632, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[392767301686098734]], [[994125482988842, 392510460493056647], [(-7014352043171703)]], [[(-165385598248695), 992175454810391, (-384964710891971)], [(-21838310586956), (-7000593031485736)], [125440838837196]], [[18132432222755, (-165066120136521), (-2921283279979), (-127826850057281)], [3508694861837, (-21725843717163), 20611994858020], [463462523462, 124949132807620], [(-2252894438546)]], [[(-1459854331431), 18098502113647, 478610834901, (-967503392049), 370321765306], [(-368545444045), 3490533344355, 168349288365, 6826511854802], [(-72617292375), 459157585737, (-736137693171)], [(-9627551731), (-2238228615802)], [40820755851]]], r0 := 281474976710656, V1 := [[[3079674574002633240]], [[7489720925363718, 0], [(-52845983907036151)]], [[(-1247116881566443), 0, 0], [(-148933397990966), 0], [890047612707178]], [[136976377869268, 0, 0, 0], [23903597184832, 0, 0], [2762960763552, 0], [(-14753096185952)]], [[(-11069057989551), 0, 0, 0, 0], [(-2513048939437), 0, 0, 0], [(-430206479528), 0, 0], [(-48441009619), 0], [241962293231]]], r1 := 1125899906842624, V2 := [[[18432437827176553455]], [[25079313926581, 1701486059189], [2044693556087164]], [[(-4082587333452), (-1361834224), (-192380707)], [(-3801750152026), (-492778187202)], [(-145778548731762)]], [[440271049817, 196381935, (-30965), 21338], [615149161774, 421735225, 83801354], [290689014181, 71390729065], [6910576349674]], [[(-35362888717), (-17672583), 10587, 24, (-2)], [(-65869923548), (-60850078), 10292, (-12403)], [(-46714820597), (-65566787), (-18262031)], [(-14982841094), (-6899618561)], [(-245044587501)]]], r2 := 4398046511104, Vm := [[[18432450908089058637]], [[25076314591399, 0], [2040885001165501]], [[(-4082112378596), 0, 0], [(-3800784654572), 0], [(-145223601888871)]], [[440224731112, 0, 0, 0], [614996625551, 0, 0], [290532661743, 0], [6856607833655]], [[(-35360152948), 0, 0, 0, 0], [(-65855034054), 0, 0, 0], [(-46690182722), 0, 0], [(-14965849588), 0], [(-241102734411)]]], rm := 1099511627776, rhoP := [[[18476115069735603786]], [[(-28497314150720), (-4202316281244789)], [(-4275021203618573)]], [[(-3563686161911), 4078503998203, 924218585635], [5378672866294, 612595651152901], [311848128157169]], [[564127025133, 510783875949, (-1067032238), (-200792854)], [470120247144, (-770995715671), (-268945481917)], [(-501789362129), (-44823119240458)], [(-15226571753818)]], [[(-52762041568), (-80840758086), (-241409632), 206471, 43346], [(-80659773043), (-67632125308), 374165981, 87564219], [(-29745880714), 72136677366, 39188643576], [31065880510, 2201791505839], [561624964841]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 13510798882111488 18014398509481984 0 4611686018427387904 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 13510798882111488 18014398509481984 0 4611686018427387904 36028797018963968 72057594037927936 (by decide +kernel)))
theorem region : TailPosI 9007199254740992 18014398509481984 0 4611686018427387904 18014398509481984 72057594037927936 :=
(TailPosI.split_s 36028797018963968 (TailPosI.split_b 13510798882111488 leaf_0 leaf_1) (TailPosI.split_b 13510798882111488 leaf_2 leaf_3))
end CKLaneC.RST2.U_0172
end