Courtade–Kumar proof module `CKLaneC.RST2.U_0344 (+1 modules: CKLaneC.RST2.U_0345)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0344__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0344 (+1 modules: CKLaneC.RST2.U_0345) 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_0344 (+1 modules: CKLaneC.RST2.U_0345) 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_0344 =====
section
/-! RA-stat u-tail cover batch U_0344 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0344
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 815238614083436544, bh := 0, bN := 361, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 101904826760429568, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[3718587446379145078]], [[20544844458523470, 700795252098554071], [(-306214709289817230)]], [[(-3261477288311565), 3404956020957033, (-12007121256923146)], [(-2103469389576931), (-50749842385368171)], [25699650072985849]], [[335504741863488, (-544322232675943), (-187557981761197), (-531617031389322)], [315598254656289, (-235688761020298), 2795495141174565], [203368752587048, 3417718305041082], [(-2244071231291933)]], [[(-24549740690913), 56800682044866, 28892336647845, (-5418488826068), 33535691831888], [(-30046614208925), 35433059294022, 45505010548889, 80760941462172], [(-29347095368388), 8505240082224, (-430629060086702)], [(-19335055258326), (-209987713329431)], [204435354994377]]], r0 := 72057594037927936, V1 := [[[5701259249804847570]], [[28987370522159293, 0], [(-432048013575331520)]], [[(-4620209447775372), 0, 0], [(-2416734199806586), 0], [32153330477129736]], [[479228974663880, 0, 0, 0], [362263280466876, 0, 0], [174134261987409, 0], [(-2426528198833744)]], [[(-35700468177086), 0, 0, 0, 0], [(-34777164534753), 0, 0, 0], [(-24671331632746), 0, 0], [(-11061743122940), 0], [189436470115872]]], r1 := 72057594037927936, V2 := [[[17747736212032344512]], [[3314155446141779, 4893266037448358], [240908590514479933]], [[(-516452021834628), (-13967448445849), (-31491804475180)], [(-1310588134542996), (-3528477354680838)], [(-41741165679954714)]], [[52844728534372, 1940274974347, 27931721973, 195496625895], [201688184343490, 11129241144329, 34378644777630], [268018086227509, 1286412944556569], [4938724448587741]], [[(-3983129796559), (-163027373005), (-1423073533), 221004147, (-1187734667)], [(-20302923572707), (-1545173429518), (-35836200443), (-285155155748)], [(-40686129122714), (-4468785115682), (-18917878188290)], [(-38321165916485), (-318021301051259)], [(-469207849960982)]]], r2 := 72057594037927936, Vm := [[[17768663199558034113]], [[3319702057795999, 0], [225409487977190169]], [[(-516873225096589), 0, 0], [(-1312192250907743), 0], [(-35932971417701487)]], [[52868055741060, 0, 0, 0], [201638076868829, 0, 0], [267335583882207, 0], [3464419805752752]], [[(-3988520817812), 0, 0, 0, 0], [(-20289863754115), 0, 0, 0], [(-40484517143808), 0, 0], [(-37706375021969), 0], [(-182510242849673)]]], rm := 18014398509481984, rhoP := [[[19152687805451523011]], [[(-1841262428370615), (-243883249169611197)], [(-261209197444058831)]], [[(-121850888977688), 644313033691317, 2958306614703926], [949450708719655, 93392563436133178], [50135857077689791]], [[25515491820836, 44035254567329, (-10577320276219), (-35231656509547)], [31508339233569, (-344467189738487), (-2220407118028004)], [(-248914126383115), (-19087329836667444)], [(-6849380222803663)]], [[(-2593674179418), (-9143991212208), (-1206037077341), 134795182922, 415484378263], [(-9077932420136), (-12744228760605), 9844849889303, 39370844930200], [(-2701622456163), 95824243541844, 854856860904682], [45419292746950, 2893500103657521], [780658526299412]]], rhoR := 4503599627370496 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 576460752303423488 1152921504606846976 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 576460752303423488 1152921504606846976 9223372036854775808 13835058055282163712 72057594037927936 144115188075855872 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 706017349942116352, bh := 0, bN := 209, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[3544024766844360098]], [[36633439231054399, 671594836865601053], [(-162746882329943731)]], [[(-5701778657914557), 6183728089069411, (-10476846943033767)], [(-2017686145279056), (-27471689494526923)], [7597267701053249]], [[564734486487013, (-973995336542885), (-307926819061519), (-484811041535359)], [293344972133358, (-238099385030639), 1367988669367320], [106172721961764, 1054768024875378], [(-368047885147026)]], [[(-38146490314719), 98881858501076, 45171413607361, (-9947499813768), 27130185330512], [(-26332663283991), 35314952350237, 41443649215419, 44192535990339], [(-14687675303702), 5364711744020, (-118245216016306)], [(-5532409558660), (-37720528552333)], [18593804946125]]], r0 := 4503599627370496, V1 := [[[5453638149131337078]], [[52241363063709115, 0], [(-232086289077604111)]], [[(-8188531734570196), 0, 0], [(-2366688868867442), 0], [9699842552530932]], [[823136596591888, 0, 0, 0], [346472859863871, 0, 0], [93694482550358, 0], [(-410439972831172)]], [[(-57517335805736), 0, 0, 0, 0], [(-31982882148332), 0, 0, 0], [(-12892673667446), 0, 0], [(-3292376803750), 0], [17947841434978]]], r1 := 4503599627370496, V2 := [[[17831752535894899910]], [[5199082049320485, 3673976702005270], [122845667047795109]], [[(-804307301545973), (-17148103647193), (-20220663729958)], [(-1174429061516744), (-1530286841767275)], [(-12315595846011663)]], [[81647125249300, 2224859171032, 15124130002, 107486140474], [179057453407142, 7890546217900, 12741967412358], [136746326291965, 321752371950754], [838721066808004]], [[(-6106512498829), (-157676084823), 2078898223, 349489340, (-559732771)], [(-17830871753743), (-1024387865794), (-12909255915), (-90490676482)], [(-20507044434767), (-1828658660323), (-4042990394590)], [(-11084089479216), (-45757802148009)], [(-45277001322916)]]], r2 := 1125899906842624, Vm := [[[17847218534743506477]], [[5206058467577009, 0], [116234237688172303]], [[(-805085198769304), 0, 0], [(-1175766581356113), 0], [(-10887082177352495)]], [[81771902542052, 0, 0, 0], [179174288314814, 0, 0], [136553281565062, 0], [629964090807194]], [[(-6132625825368), 0, 0, 0, 0], [(-17870583985848), 0, 0, 0], [(-20470069809571), 0, 0], [(-10961120472888), 0], [(-21952680768359)]]], rm := 281474976710656, rhoP := [[[19056317085139459621]], [[(-723659438627037), (-209563838440057539)], [(-130169435089394112)]], [[(-306783989944525), 244741482257225, 2189600433309952], [307336813294310, 46103212374681157], [14361260509544480]], [[47991778523950, 109079869101071, (-1117730986170), (-22436581957309)], [58201912735703, (-106613386833211), (-946108895353428)], [(-55521013675632), (-5374072215153459)], [(-1119825174267981)]], [[(-4657597139463), (-17010970468256), (-2381688576515), (-20521642218), 227510416542], [(-10173778799103), (-22180648530738), 1389252865779, 14443072310455], [(-5441750537099), 20064798492074, 209075331994201], [6408981008248, 459874363569727], [72109883166665]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 576460752303423488 864691128455135232 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 576460752303423488 864691128455135232 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 998459311559016448, bh := 0, bN := 37, bD := 256 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 203809653520859136, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[3844253509941065473]], [[40395423583205227, 721479092813290918], [(-136061478207375838)]], [[(-6246202938816431), 6602357381577773, (-13187482684016213)], [(-1722528685389803), (-22238323683882324)], [4938655505536550]], [[613268073259192, (-1035984934078691), (-390114276521298), (-564203471963911)], [248163422172130, (-179912271512449), 1313998478663237], [70313931569095, 636043787329189], [(-187595212307617)]], [[(-40886755746537), 104852843106816, 56875683474035, (-10273763194722), 38757098188689], [(-21973162748918), 26607402379952, 39851202737393, 34604499297972], [(-9635343122324), 1874109953007, (-86793167366508)], [(-2850726181030), (-16444802001308)], [7451768587397]]], r0 := 1125899906842624, V1 := [[[5877870367877536279]], [[56547230103736672, 0], [(-190464637673606275)]], [[(-8816203608500874), 0, 0], [(-1922851350434417), 0], [6090786159275516]], [[880795501904882, 0, 0, 0], [279112607224108, 0, 0], [56296680818624, 0], [(-198875284602437)]], [[(-61120388332426), 0, 0, 0, 0], [(-25517036346108), 0, 0, 0], [(-7650087173639), 0, 0], [(-1425546143039), 0], [6748786983749]]], r1 := 1125899906842624, V2 := [[[17583127652754939195]], [[7648457056684417, 7473001348294991], [122447201044125205]], [[(-1176424824256461), (-37540403411631), (-59220913674316)], [(-1239678321134281), (-2222564186792506)], [(-8773640539453278)]], [[118521608029380, 4870095325103, 60231476534, 451576540351], [187735891906391, 12299721246529, 26664935326611], [104247018820753, 335175341896952], [434470214475347]], [[(-8774020537501), (-345744731740), 4192644125, 1401149522, (-3363294780)], [(-18519996298896), (-1593996853004), (-33217775924), (-271530915203)], [(-15512497471772), (-2028130201018), (-6062286463851)], [(-6165171660858), (-34421154568591)], [(-17695468223948)]]], r2 := 281474976710656, Vm := [[[17615189857644027796]], [[7656240080007840, 0], [112653108117707239]], [[(-1177168393391923), 0, 0], [(-1238859402962847), 0], [(-7256547512441213)]], [[118725962161790, 0, 0, 0], [187550055706527, 0, 0], [103449375539967, 0], [274820992691164]], [[(-8828934822947), 0, 0, 0, 0], [(-18556865928545), 0, 0, 0], [(-15398267994876), 0, 0], [(-5986486161110), 0], [(-4772838494780)]]], rm := 70368744177664, rhoP := [[[19324908316496628401]], [[(-1442363269850976), (-305915905607322289)], [(-134716440809430451)]], [[(-423139555782945), 498077362181419, 4592349167285415], [399684571954369, 48939487916505564], [10810391723615418]], [[69026277034419, 154713948899579, (-5788144705617), (-67554714598284)], [56672296101221, (-142957395963513), (-1433535072846454)], [(-50359569857434), (-4233974294921616)], [(-625660204637540)]], [[(-6793092131399), (-25115502353160), (-4871436644737), 3944034565, 982931006334], [(-10579641226016), (-22875392215850), 3339422901583, 31343977373078], [(-3782694070639), 19092513213754, 230803459404886], [4193521067311, 276330513829841], [30718245936381]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 864691128455135232 1152921504606846976 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 864691128455135232 1152921504606846976 9223372036854775808 13835058055282163712 144115188075855872 288230376151711744 (by decide +kernel)))
theorem region : TailPosI 576460752303423488 1152921504606846976 9223372036854775808 13835058055282163712 72057594037927936 288230376151711744 :=
(TailPosI.split_s 144115188075855872 leaf_0 (TailPosI.split_b 864691128455135232 leaf_1 leaf_2))
end CKLaneC.RST2.U_0344
end
-- ===== source module CKLaneC.RST2.U_0345 =====
section
/-! RA-stat u-tail cover batch U_0345 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0345
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 706017349942116352, bh := 0, bN := 209, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[3445045871164184577]], [[66884339339796156, 654803696657199789], [(-157422076937469882)]], [[(-10039425552754151), 11402441557655446, (-9664905563288567)], [(-3524993507124542), (-26837314233531173)], [7321587004473373]], [[925667845926757, (-1748995595978932), (-535178028915205), (-457826267739878)], [486108724654988, (-424537802962758), 1259619780575521], [179868028144956, 1040588884398084], [(-353840048779204)]], [[(-52870966425327), 168837138681889, 71255493401795, (-18288087522388), 23913434814537], [(-39318828771040), 61901317024017, 70926043653966, 43043689291184], [(-23250602698280), 9496031634583, (-108858655852020)], [(-9178417073472), (-38135855304305)], [17855413864705]]], r0 := 4503599627370496, V1 := [[[5312071023232082525]], [[95943913174500683, 0], [(-225818034991809900)]], [[(-14590174647709751), 0, 0], [(-4167450608510788), 0], [9456361918111800]], [[1383916913860416, 0, 0, 0], [588214709221725, 0, 0], [159346644218204, 0], [(-402042831307367)]], [[(-85035183186791), 0, 0, 0, 0], [(-51127496404896), 0, 0, 0], [(-21112263711538), 0, 0], [(-5413515611501), 0], [17701497412635]]], r1 := 4503599627370496, V2 := [[[17817697588896887567]], [[9524594299905566, 3717506005652941], [126004288442200665]], [[(-1459182323989862), (-27732561086343), (-20232842373782)], [(-2130973112537141), (-1550324038580358)], [(-12681244270444490)]], [[146599214768778, 3128908607793, (-9364239001), 106332618064], [320796748512771, 12772808562349, 12758062658217], [245423711003847, 326395015160081], [868169521978394]], [[(-10860126954739), (-123645204805), 12412985017, 907176675, (-547362511)], [(-31476977889203), (-1447118135704), 635079799, (-89549194055)], [(-36185889925983), (-2959171143503), (-4050550892767)], [(-19651389914994), (-46479234977284)], [(-47168251186122)]]], r2 := 4503599627370496, Vm := [[[17833145364557290577]], [[9537301173679622, 0], [119396485822197631]], [[(-1461775638795199), 0, 0], [(-2133773618230990), 0], [(-11252299038677810)]], [[147203483532323, 0, 0, 0], [321628850671419, 0, 0], [245263222637245, 0], [659111474055399]], [[(-10975172588730), 0, 0, 0, 0], [(-31731901076209), 0, 0, 0], [(-36286472244316), 0, 0], [(-19478443068604), 0], [(-23775014192427)]]], rm := 281474976710656, rhoP := [[[19056107949835028721]], [[1211253612240688, (-209465344473146815)], [(-130453498112600890)]], [[(-730022191523637), (-442262461395171), 2179332598886947], [(-77413602133511), 46191340491584272], [14438726933845915]], [[102072939045605, 258943147675835, 13552638645323, (-22200712634183)], [149137107051610, 39101586579842, (-943568406715211)], [(-16614981713348), (-5399866291267902)], [(-1130231519333077)]], [[(-9704210024156), (-36105111911115), (-5442244787184), (-249329848473), 223588104233], [(-22135498595931), (-56271410487021), (-4848053177727), 14316408337877], [(-15713583469064), 3411856403376, 208978229004954], [3625219538070, 463566633177788], [73089171821804]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 576460752303423488 864691128455135232 9223372036854775808 13835058055282163712 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 576460752303423488 864691128455135232 9223372036854775808 13835058055282163712 288230376151711744 576460752303423488 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 998459311559016448, bh := 0, bN := 37, bD := 256 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 407619307041718272, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[3735361672015678956]], [[73437821430905978, 703572763922561036], [(-131529283135391845)]], [[(-10937962003597484), 12148904438639540, (-12160844989625633)], [(-2992338397779032), (-21759042691619862)], [4756625038668756]], [[997670158236148, (-1858077972800761), (-675582568102969), (-536032193758158)], [407965949804389, (-320944570935560), 1209988111710985], [118451667038239, 631001537633790], [(-180291960197803)]], [[(-55948696324560), 179237659076021, 89331821577095, (-19290137345529), 34202426186725], [(-32391927354757), 47052276649215, 67971498025329, 34549199407116], [(-15127110270687), 3467362548326, (-79976054645675)], [(-4707909755466), (-16914989435023)], [7156542278867]]], r0 := 4503599627370496, V1 := [[[5724914202265978558]], [[103507721747015389, 0], [(-185385352875310473)]], [[(-15653324349936669), 0, 0], [(-3369720889180746), 0], [5945002779406010]], [[1475999496677988, 0, 0, 0], [471702321058097, 0, 0], [95146416681081, 0], [(-195259257071792)]], [[(-90223962071413), 0, 0, 0, 0], [(-40718802781178), 0, 0, 0], [(-12474505081143), 0, 0], [(-2321815021069), 0], [6679646725149]]], r1 := 1125899906842624, V2 := [[[17562493386437955670]], [[13958443703186368, 7568302902439616], [125773367231981578]], [[(-2123691088179515), (-60728903886257), (-59295920369042)], [(-2239284686879481), (-2253782072817674)], [(-9051619593410620)]], [[211384756603770, 6864260871812, (-3084141504), 446883637437], [334246946259656, 19891136579748, 26713549168702], [186112354771740, 340317028950021], [450797857653441]], [[(-15457283002032), (-276836586823), 34076945898, 3724819379, (-3288754736)], [(-32393040400556), (-2248761771172), (-7649994804), (-268741405957)], [(-27152276807494), (-3272494892789), (-6075744027793)], [(-10862844707449), (-34987537196545)], [(-18471494232789)]]], r2 := 1125899906842624, Vm := [[[17594534686256825730]], [[13974138927113387, 0], [115977600693204722]], [[(-2127957413503046), 0, 0], [(-2239000975428989), 0], [(-7532582228298526)]], [[212624537553328, 0, 0, 0], [335024744603959, 0, 0], [185009892015613, 0], [290706799428863]], [[(-15707750720051), 0, 0, 0, 0], [(-32765995926965), 0, 0, 0], [(-27164931776696), 0, 0], [(-10598233837036), 0], [(-5487763597973)]]], rm := 281474976710656, rhoP := [[[19325465185897004379]], [[1273291716410876, (-306063202732324852)], [(-135183780213791710)]], [[(-1035151642976351), (-492644067585583), 4577973927227239], [13846714852212, 49092963042943125], [10886537400027796]], [[148151172363577, 377080212575844, 24650625485352, (-66980157688049)], [151980277937834, 11166946332447, (-1432212077515814)], [(-21917421510668), (-4260641132729333)], [(-632705736199188)]], [[(-14229829763268), (-53752079304774), (-11392163104348), (-680149692938), 968296042093], [(-23323656571493), (-60351177303821), (-6042572757816), 31136920508508], [(-11769021921733), 5712231804660, 231146964272349], [2643949080127, 279009856852083], [31198629823840]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 864691128455135232 1152921504606846976 9223372036854775808 13835058055282163712 288230376151711744 576460752303423488 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 864691128455135232 1152921504606846976 9223372036854775808 13835058055282163712 288230376151711744 576460752303423488 (by decide +kernel)))
theorem region : TailPosI 576460752303423488 1152921504606846976 9223372036854775808 13835058055282163712 288230376151711744 576460752303423488 :=
(TailPosI.split_b 864691128455135232 leaf_0 leaf_1)
end CKLaneC.RST2.U_0345
end