Courtade–Kumar proof module `CKLaneC.RST2.U_0284` (transplant)
DefinitionCK_CKLaneC_RST2_U_0284Verbatim transplant of the Lean module CKLaneC.RST2.U_0284 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_0284 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_0284 =====
section
/-! RA-stat u-tail cover batch U_0284 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0284
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 80562839281926144, bh := 0, bN := 115, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[2780873997078460496]], [[183294633570760570, 384356676353101191], [(-45676041504693959)]], [[(-24643340662059902), 23646879541504877, (-2661080154597958)], [(-3055063064510277), (-5892675799356175)], [743058136390036]], [[1689550894607397, (-3344086344110076), (-509384730422770), (-102612447464347)], [382316538438299, (-311977978491234), 126935948071090], [48895139459343, 85625625758806], [(-12080353132406)]], [[(-13085765240848), 258885889429900, 37637797064967, (-16515534670280), 2336195895044], [(-24221552379241), 46320518075958, 23864108019490, 4115582831728], [(-5807138682602), 2967074192746, (-3980546430684)], [(-759000395909), (-1172685982448)], [198605347999]]], r0 := 4503599627370496, V1 := [[[3162469349355155828]], [[206416336540929198, 0], [(-51437846113757508)]], [[(-27948077871865211), 0, 0], [(-3342708476762862), 0], [824613623854501]], [[1951597744359477, 0, 0, 0], [426790731325094, 0, 0], [51133844284052, 0], [(-13149026278764)]], [[(-20335574939610), 0, 0, 0, 0], [(-28671894719226), 0, 0, 0], [(-6318396235420), 0, 0], [(-742815314252), 0], [211204622681]]], r1 := 1125899906842624, V2 := [[[18364933352827600184]], [[3226819650767247, 47390397131424], [9086179351568433]], [[(-506849505848935), (-288548128911), (-25826779098)], [(-374719274097045), (-10708094473096)], [(-502966123541950)]], [[52958506652588, (-49926107274), (-711578323), 13743580], [58067902515660, 75850306836, 8782098153], [21938201942198, 1210943964226], [18481672985681]], [[(-4176460440743), 23691266340, 186545606, 842820, (-7219)], [(-5972921526080), 10392671846, 235763573, (-6236155)], [(-3344631394434), (-9961367555), (-1494610377)], [(-865695957604), (-91407195336)], [(-506447954719)]]], r2 := 70368744177664, Vm := [[[18365011393308880159]], [[3228997014013781, 0], [9067981828594751]], [[(-507187005745337), 0, 0], [(-375234802318490), 0], [(-500834220712687)]], [[53003825947085, 0, 0, 0], [58148321047431, 0, 0], [21999371120641, 0], [18314207394601]], [[(-4182236677365), 0, 0, 0, 0], [(-5983737823610), 0, 0, 0], [(-3354264745557), 0, 0], [(-870545271721), 0], [(-496513601832)]]], rm := 17592186044416, rhoP := [[[18467461262620826792]], [[604524653818254, (-20739307858707678)], [(-2362372122900554)]], [[(-123917215925389), (-605854106273818), 22142113459854], [(-66255099196129), 2367404144813244], [135271378279732]], [[15267315557892, 124162006217052, 1331578554795, (-23190040856)], [14058659423998, 66552664778419, (-5039915214733)], [3593436305324, (-135844867212103)], [(-5196829908850)]], [[(-1392900851397), (-15291736467350), (-245141414666), (-2129073999), 24038244], [(-1755060387320), (-14114367409260), (-298283197574), 7904199836], [(-799164966716), (-3626706339497), 574835250584], [(-127971260257), 5240507748169], [151207588337]]], rhoR := 17592186044416 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 72057594037927936 90071992547409920 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 72057594037927936 90071992547409920 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 98668924235284480, bh := 0, bN := 47, bD := 512 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[2865823122831296504]], [[188973565600410107, 395280235088075587], [(-39628551317155723)]], [[(-25352950305800304), 24219729561462092, (-2903827409398558)], [(-2647772951911105), (-5078979130041642)], [542900962243373]], [[1734480965503909, (-3429591792962585), (-554936163698008), (-110369138375788)], [330362771772493, (-263756716050401), 116372446966224], [35573138314806, 61654501484749], [(-7443829858520)]], [[(-13543525286435), 266947327945535, 41020809683377, (-17474438831525), 2687346160724], [(-20905835332089), 39586521688300, 21796298110638, 3664463300850], [(-4213447843846), 1974406107935, (-3064393296511)], [(-463521021565), (-702608979080)], [103453892814]]], r0 := 1125899906842624, V1 := [[[3258091883472218913]], [[212621712399178609, 0], [(-44587667138424807)]], [[(-28739662362931323), 0, 0], [(-2889343100420251), 0], [601426781778798]], [[2004836844922904, 0, 0, 0], [368256775573079, 0, 0], [36992212402797, 0], [(-8079357986668)]], [[(-21331122977744), 0, 0, 0, 0], [(-24797168489800), 0, 0, 0], [(-4569621611185), 0, 0], [(-448957404964), 0], [109583771141]]], r1 := 1125899906842624, V2 := [[[18346777610924400599]], [[3980135857866368, 71264436567095], [9069199232956662]], [[(-623376376463699), (-463736751313), (-47724436330)], [(-378481116377722), (-13167592628624)], [(-409989838576190)]], [[64919022491721, (-72588952260), (-1293606917), 31185835], [58445679229633, 99612527635, 13273265456], [18156032437226, 1217815243287], [12299961343691]], [[(-5101040408871), 35692397498, 343561101, 1898009, (-20106)], [(-5986782058043), 12249881850, 349858421, (-11574641)], [(-2756164451622), (-10693891938), (-1847830299)], [(-587535444415), (-75192152888)], [(-275110269445)]]], r2 := 70368744177664, Vm := [[[18346896549404937430]], [[3983475068193366, 0], [9046481379802431]], [[(-623895541514754), 0, 0], [(-379127983780456), 0], [(-407808813092714)]], [[64988804886402, 0, 0, 0], [58547041486961, 0, 0], [18218827854358, 0], [12159488731201]], [[(-5109897818526), 0, 0, 0, 0], [(-6000447212871), 0, 0, 0], [(-2766117408499), 0, 0], [(-591607966515), 0], [(-268273108605)]]], rm := 17592186044416, rhoP := [[[18472198883580280235]], [[736628190057522, (-25488167378383884)], [(-2374781835682557)]], [[(-152088675855279), (-738619394783780), 33400370270804], [(-65850906146375), 2380990007599896], [111306301975360]], [[18791106000293, 152457892123162, 1995115026330, (-42917112197)], [14110439384633, 66215062645302, (-6220118640889)], [2910347393796, (-111885240464373)], [(-3502909302743)]], [[(-1718106291208), (-18828103816502), (-369866765256), (-3917014970), 54565495], [(-1768308999000), (-14179175698063), (-365235399502), 11966953479], [(-656166549067), (-2943614101363), 580605583440], [(-84340356884), 3538998849003], [83601648655]]], rhoR := 17592186044416 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 90071992547409920 108086391056891904 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 90071992547409920 108086391056891904 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 116746645577728000, bh := 0, bN := 79, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[2940320872207175281]], [[193948543301045001, 404799973834150692], [(-35042500808120991)]], [[(-25972893395408299), 24709720764850927, (-3127819691412484)], [(-2338890956665986), (-4464536805139638)], [413905704262917]], [[1773695804718655, (-3503507432064042), (-596816589819796), (-117327937496286)], [291089634288054, (-227709343147342), 107832446045226], [27013958899709, 46384542328602], [(-4899894000508)]], [[(-13968149181601), 274065790123956, 44143501575635, (-18291397708937), 3026621358324], [(-18406141904143), 34530730494326, 20126641481298, 3304878232583], [(-3192578596552), 1372955606282, (-2441707174524)], [(-302621253503), (-450730618601)], [58919668051]]], r0 := 1125899906842624, V1 := [[[3341878761705018241]], [[218044083656476603, 0], [(-39396067883212131)]], [[(-29430263213985134), 0, 0], [(-2546144584295451), 0], [457800671617530]], [[2051392540410262, 0, 0, 0], [324051872050197, 0, 0], [27948347857452, 0], [(-5304758874557)]], [[(-22250567595681), 0, 0, 0, 0], [(-21871270047734), 0, 0, 0], [(-3452303535800), 0, 0], [(-290365784363), 0], [62193168980]]], r1 := 1125899906842624, V2 := [[[18328700499933714362]], [[4738546729650268, 99992120301758], [8995052212010839]], [[(-740309459267199), (-687430848111), (-79464205324)], [(-379304410273046), (-15533400450332)], [(-341484871313634)]], [[76874552964176, (-98782582993), (-2122924292), 61582863], [58394868808028, 124084663176, 18584973918], [15325013864656, 1207976285385], [8601394445803]], [[(-6021006927844), 50162188498, 570380052, 3723192, (-47068)], [(-5959753094841), 13901915572, 481946024, (-19221335)], [(-2317734115977), (-11196892827), (-2175917269)], [(-418004458569), (-62724313785)], [(-161494226800)]]], r2 := 70368744177664, Vm := [[[18328869346768644277]], [[4743309848299978, 0], [8967896115726465]], [[(-741052256033565), 0, 0], [(-380080484697440), 0], [(-339288719308416)]], [[76974523537381, 0, 0, 0], [58517014366208, 0, 0], [15388376298668, 0], [8482184327264]], [[(-6033653472022), 0, 0, 0, 0], [(-5976262147187), 0, 0, 0], [(-2327839244512), 0, 0], [(-421460101274), 0], [(-156601003655)]]], rm := 17592186044416, rhoP := [[[18476947540708411068]], [[867628346992269, (-30250389410053981)], [(-2370179948976515)]], [[(-180284186956431), (-870412250397835), 46993860612830], [(-65060769758975), 2377524780404807], [93484484709223]], [[22330717093278, 180803599933703, 2790387169276, (-71557046695)], [14063514204586, 65488513899275, (-7361579866372)], [2409929905492, (-94060682036318)], [(-2477615025767)]], [[(-2045669480043), (-22382970581999), (-520498540749), (-6496962653), 107789427], [(-1768483788901), (-14144843096115), (-429247761076), 16782037960], [(-550067659172), (-2442759137839), 578163164605], [(-58461304449), 2507839714714], [49860386750]]], rhoR := 17592186044416 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 108086391056891904 126100789566373888 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 108086391056891904 126100789566373888 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 134807414502588416, bh := 0, bN := 69, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[3007127931728193306]], [[198405247997904499, 413288189013559408], [(-32000805874921690)]], [[(-26526949394555974), 25139016077461108, (-3337662519275916)], [(-2133645367203276), (-4054674871250727)], [337634002649902]], [[1808720153142097, (-3568927774323955), (-635919220124839), (-123678036162180)], [264965695696006, (-203305739456691), 102567486095737], [21954160893944, 37373715258364], [(-3575216843299)]], [[(-14368163103632), 280489805550924, 47070390869155, (-18999116349800), 3357187548263], [(-16745513825809), 31138713594508, 19081401733036, 3064369719248], [(-2589795082168), 1021295516807, (-2069485315380)], [(-219131505988), (-321058289285)], [38527874625]]], r0 := 1125899906842624, V1 := [[[3416958175534134752]], [[222890369697895606, 0], [(-35950014044826149)]], [[(-30046686899565451), 0, 0], [(-2317584976337209), 0], [372900270654066]], [[2093044019686943, 0, 0, 0], [294612118066490, 0, 0], [22606827468136, 0], [(-3861701667152)]], [[(-23113029891625), 0, 0, 0, 0], [(-19930058842761), 0, 0, 0], [(-2792878542660), 0, 0], [(-208434514335), 0], [40540262987]]], r1 := 1125899906842624, V2 := [[[18310684640934469528]], [[5501840234454325, 133590861985745], [9050763104955671]], [[(-857658643959283), (-962467909814), (-122913804304)], [(-385216043506729), (-18132488963064)], [(-299899539803539)]], [[88831203805994, (-128298653523), (-3240860372), 110221547], [59144830798249, 151734505988, 25121681542], [13620423724550, 1232189402162], [6591988386757]], [[(-6937265652084), 67116015874, 879954472, 6624374, (-97445)], [(-6016531976913), 15653935644, 641912347, (-30065238)], [(-2053096040230), (-11960586351), (-2570556561)], [(-325347379951), (-55917955559)], [(-107993195465)]]], r2 := 70368744177664, Vm := [[[18310912589539991288]], [[5508294803571309, 0], [9018686011477216]], [[(-858668247779146), 0, 0], [(-386135190060185), 0], [(-297628966363494)]], [[88967284862495, 0, 0, 0], [59290118570826, 0, 0], [13686006260791, 0], [6484059483003]], [[(-6954432079984), 0, 0, 0, 0], [(-6036221313307), 0, 0, 0], [(-2063618175151), 0, 0], [(-328472721941), 0], [(-104111384056)]]], rm := 17592186044416, rhoP := [[[18481708328363201365]], [[997701557518150, (-35027085518817472)], [(-2398370459771946)]], [[(-208514385834722), (-1001408800206950), 62941494137993], [(-65230921790317), 2406966657525215], [82722859488316]], [[25886282258699, 209209960097719, 3717233888190, (-110821628990)], [14212905402588, 65728294710638, (-8618862598423)], [2105097809636, (-83312399654555)], [(-1918590465591)]], [[(-2375518872940), (-25956506699475), (-697256802666), (-10014725300), 192991914], [(-1792852897082), (-14308098888271), (-499396860235), 22717409390], [(-485934667007), (-2138429997610), 591865517370], [(-44442892775), 1945632416945], [33829752221]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 126100789566373888 144115188075855872 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 126100789566373888 144115188075855872 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 72057594037927936 144115188075855872 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 108086391056891904 (TailPosI.split_b 90071992547409920 leaf_0 leaf_1) (TailPosI.split_b 126100789566373888 leaf_2 leaf_3))
end CKLaneC.RST2.U_0284
end