Courtade–Kumar proof module `CKLaneC.RST2.U_0296 (+1 modules: CKLaneC.RST2.U_0297)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0296__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0296 (+1 modules: CKLaneC.RST2.U_0297) 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_0296 (+1 modules: CKLaneC.RST2.U_0297) 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_0296 =====
section
/-! RA-stat u-tail cover batch U_0296 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0296
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 161125678563852288, bh := 0, bN := 115, bD := 1024 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1348492306955341981]], [[92005451672415201, 446039162517752688], [(-25430210259101144)]], [[(-11970511755085149), 29961604039334333, (-1713464209019315)], [(-1861809547997968), (-8281355904137661)], [483536403906290]], [[761465200289358, (-3946263674352129), (-348104506521996), (-181762937819508)], [214691370193180, (-579729852394726), 96215720178340], [37663451253069, 153791957854991], [(-9378199384197)]], [[1280783551968, 259399975036164, 21984695730920, (-35754599349845), 2106477461755], [(-10680463915247), 69296544236542, 19927691344529, 9882533726737], [(-3862760727040), 10975218724026, (-3609962370893)], [(-772571520944), (-2891617310295)], [187386315926]]], r0 := 1125899906842624, V1 := [[[3514790291532487195]], [[229186472187919127, 0], [(-63346900323166692)]], [[(-30846470852773826), 0, 0], [(-4069614422234282), 0], [1125972906922291]], [[2147235899172579, 0, 0, 0], [516594717840821, 0, 0], [67615935819160, 0], [(-20015528055554)]], [[(-24293166977246), 0, 0, 0, 0], [(-35062284389390), 0, 0, 0], [(-8356882475386), 0, 0], [(-1060001136286), 0], [361600364901]]], r1 := 4503599627370496, V2 := [[[18283733428221868106]], [[6628860938993376, 193049625393852], [18149557929825602]], [[(-1028774946942116), (-1416384354575), (-213905025478)], [(-775859451683711), (-43889361500689)], [(-1011636939964107)]], [[105884956853167, (-189100014733), (-5636847264), 230828113], [118326625173118, 369121282702, 73234208025], [45947764303648, 5007689416440], [37803282909847]], [[(-8190105561168), 98406148894, 1540319217, 13899657, (-245457)], [(-11911565546376), 39750210779, 1878276057, (-105467208)], [(-6851465093464), (-48000478957), (-12572355564)], [(-1844977712797), (-382940421348)], [(-1076383289575)]]], r2 := 281474976710656, Vm := [[[18284833175394920457]], [[6632516561741310, 0], [17897362654968115]], [[(-1030985205424798), 0, 0], [(-776588499498218), 0], [(-982600783752982)]], [[106474131656035, 0, 0, 0], [118832775995186, 0, 0], [46016819255157, 0], [35562579497879]], [[(-8292935192145), 0, 0, 0, 0], [(-12049053668880), 0, 0, 0], [(-6909743980441), 0, 0], [(-1848959668981), 0], [(-945774400095)]]], rm := 17592186044416, rhoP := [[[18658207650385960803]], [[6036867082471779, (-42751734498912050)], [(-24410590778598684)]], [[(-1268976315277859), (-1234504802339176), 92779577547265], [(-668776537371038), 4987773660760855], [1429631442750516]], [[157539538610503, 258909788605102, 5514627354265, (-197199811812)], [146596578588689, 139900630846357, (-21467362423869)], [37278681136787, (-298170667128268)], [(-57262684715276)]], [[(-14402582342219), (-32023603147679), (-1037841851470), (-17921267917), 414449292], [(-18455443009743), (-30500715084431), (-1259241943191), 68193400835], [(-8634842809507), (-8155744508018), 2507076497102], [(-1415728661243), 12407724454918], [1797941256258]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 144115188075855872 180143985094819840 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 144115188075855872 180143985094819840 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 197337848470568960, bh := 0, bN := 47, bD := 512 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1396031913517873426]], [[95493852613533105, 461507469613076959], [(-22292124111012912)]], [[(-12371091734130662), 31045155521807759, (-1899621018605922)], [(-1639478077851228), (-7247193834964838)], [359606988009474]], [[781200110681720, (-4075430643626644), (-386706760972269), (-200827257866201)], [187478812960454, (-507982855875105), 90272984849077], [28186331129914, 113989071517213], [(-5935083520589)]], [[1751496714876, 266646714530779, 24176069367083, (-39487062340447), 2498051744030], [(-9145623158880), 60391564907134, 18741270603901, 9217876024280], [(-2855501400166), 8133716393544, (-2868808005621)], [(-492764266362), (-1819998427292)], [101199723876]]], r0 := 1125899906842624, V1 := [[[3632935174924475818]], [[236759696524597883, 0], [(-55269280639161470)]], [[(-31807060433343719), 0, 0], [(-3534794409192490), 0], [829719296329683]], [[2212574657319452, 0, 0, 0], [448018258333730, 0, 0], [49227382094678, 0], [(-12485169236212)]], [[(-25805861125829), 0, 0, 0, 0], [(-30542665359176), 0, 0, 0], [(-6089471669393), 0, 0], [(-645476726042), 0], [191521062136]]], r1 := 1125899906842624, V2 := [[[18247438828115423578]], [[8190662909940070, 291106645889109], [18144692478010958]], [[(-1266363774253639), (-2266704785419), (-397085537321)], [(-785682651235453), (-54187817794643)], [(-827810837569621)]], [[129720553298775, (-276338760720), (-10289579360), 527033550], [119232642204785, 482370302028, 111336993846], [38179526024305, 5065909663939], [25380255753505]], [[(-9972482432529), 149182134595, 2854207141, 31519597, (-688903)], [(-11922234009963), 47465229644, 2805498507, (-197214694)], [(-5654822933699), (-51211201441), (-15660971214)], [(-1260308472703), (-317757620781)], [(-596033845387)]]], r2 := 70368744177664, Vm := [[[18249103155369177336]], [[8195884598074815, 0], [17832152090696792]], [[(-1269707267859211), 0, 0], [(-786516958471170), 0], [(-798327046902532)]], [[130619076717021, 0, 0, 0], [119860103515991, 0, 0], [38241970625605, 0], [23514511169270]], [[(-10129265539225), 0, 0, 0, 0], [(-12094267199466), 0, 0, 0], [(-5714106354833), 0, 0], [(-1263060960608), 0], [(-506755192648)]]], rm := 17592186044416, rhoP := [[[18707289418401217562]], [[7374429055543658, (-52804996209308936)], [(-24666403722275027)]], [[(-1563950307992462), (-1515743838392930), 141004796977593], [(-668851058185566), 5064629902018128], [1187906656582103]], [[194745289927462, 320556930128659, 8335425207163, (-368569853737)], [148357668797709, 141355179343024, (-26783884943862)], [30634661881850, (-250079145543024)], [(-39311546689900)]], [[(-17829577756886), (-39735619265765), (-1581304017412), (-33337145852), 952318639], [(-18746247625382), (-31143803564119), (-1562864156630), 104579352262], [(-7206856746383), (-6836224672845), 2572572245760], [(-963748688243), 8664249649804], [1027846590231]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 180143985094819840 216172782113783808 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 180143985094819840 216172782113783808 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 249614827889754112, bh := 0, bN := 37, bD := 256 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[1455561077596172641]], [[99884340230614229, 480839354682588295], [(-38192209061136388)]], [[(-12870533130038403), 32401174483039882, (-2150891401428143)], [(-2824773492637599), (-12389053447472609)], [1015105031977084]], [[805260521859170, (-4236107662101745), (-438949353005004), (-226385874973244)], [319654411083193, (-869613849654059), 167838576282444], [80190246678320, 320357498196414], [(-27712200312276)]], [[2375226061261, 275580993069390, 27096366485982, (-44478437962740), 3067098278644], [(-15204208795837), 102704649225385, 34945780437089, 17006968234095], [(-8000054659484), 22847540449782, (-8768691773535)], [(-2323349811276), (-8437973852386)], [784212237881]]], r0 := 4503599627370496, V1 := [[[3780081402795465073]], [[246142647137942794, 0], [(-94116168927474563)]], [[(-32995308567212729), 0, 0], [(-5983123265353040), 0], [2314542568405719]], [[2293825597810459, 0, 0, 0], [757100281594544, 0, 0], [135145729316226, 0], [(-57228384388276)]], [[(-27828401908472), 0, 0, 0, 0], [(-51932270824564), 0, 0, 0], [(-16744907257413), 0, 0], [(-2866216775406), 0], [1447990427047]]], r1 := 4503599627370496, V2 := [[[18195110057180887452]], [[10474844176865455, 469077773314851], [36094352906755434]], [[(-1611890580303227), (-3906984093904), (-814737664334)], [(-1587456732351517), (-137803357299838)], [(-2598651818040826)]], [[164116061234988, (-429111980611), (-20693226053), 1375334161], [239399358809821, 1307321582381, 360627599061], [122070124472829, 20353535157536], [126189244402465]], [[(-12515176116864), 242160096981, 5846761555, 81620720, (-2284703)], [(-23728373061571), 116311088255, 8902150869, (-812448889)], [(-17923125241713), (-218129475024), (-80135771268)], [(-6392774718191), (-2020110808692)], [(-4730395433623)]]], r2 := 1125899906842624, Vm := [[[18197803273568794968]], [[10482659903491035, 0], [35296103461119213]], [[(-1617300938467504), 0, 0], [(-1589365670214224), 0], [(-2479701283737395)]], [[165584737638625, 0, 0, 0], [241004026670174, 0, 0], [122283440627044, 0], [114285775050966]], [[(-12771330758647), 0, 0, 0, 0], [(-24173373495182), 0, 0, 0], [(-18163198821432), 0, 0], [(-6405907705626), 0], [(-3828233076832)]]], rm := 70368744177664, rhoP := [[[18778927504682042411]], [[9304755020164144, (-67566104747915435)], [(-49746567262712101)]], [[(-1995384654844224), (-1926728705736406), 229639517446237], [(-1332659009590814), 10286427837140901], [3803971424735538]], [[249386097996844, 411711800558337, 13491525089385, (-763501777133)], [300009710488169, 285836915351633, (-69100870562050)], [96927087275093, (-811614908531563)], [(-201216343592606)]], [[(-22867314884551), (-51163491808977), (-2584857186047), (-68693368426), 2508322971], [(-38077229413397), (-63794213420800), (-4009783529645), 342938867494], [(-23244914281457), (-22246398030750), 10541414506005], [(-4900937473890), 45423247875582], [8499710225438]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 216172782113783808 288230376151711744 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 216172782113783808 288230376151711744 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 144115188075855872 288230376151711744 4611686018427387904 9223372036854775808 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 216172782113783808 (TailPosI.split_b 180143985094819840 leaf_0 leaf_1) leaf_2)
end CKLaneC.RST2.U_0296
end
-- ===== source module CKLaneC.RST2.U_0297 =====
section
/-! RA-stat u-tail cover batch U_0297 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0297
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 203809653520859136, bh := 0, bN := 361, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, lam1 := 1478501456794537473, u1 := 70368815424377, w1 := 877967834913711 }
noncomputable def q0 : TCert := { V0 := [[[2853860892151611084]], [[0, 551244930292180077], [(-178182989700339525)]], [[0, 0, (-5622913050018248)], [0, (-32001526112572793)], [10987896649297624]], [[0, 0, 0, (-299822816706559)], [0, 0, 1017756227738926], [0, 1749954534049210], [(-700842162403672)]], [[0, 0, 0, 0, 10125097129844], [0, 0, 0, 45057131306617], [0, 0, (-120860932187919)], [0, (-93947714680849)], [44434752214972]]], r0 := 72057594037927936, V1 := [[[4449750200311635791]], [[0, 0], [(-264052141776196043)]], [[0, 0, 0], [0, 0], [15083160984160485]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-874261707912001)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [49158807808041]]], r1 := 72057594037927936, V2 := [[[18268607897074412353]], [[0, 293360577277690], [61384577664532083]], [[0, 0, (-451651696648)], [0, (-207977800045102)], [(-10530198662507606)]], [[0, 0, 0, 676942592], [0, 0, 483339228844], [0, 73902411394867], [1199599064430331]], [[0, 0, 0, 0, (-999566)], [0, 0, 0, (-967909524)], [0, 0, (-259214940393)], [0, (-17571272655110)], [(-102570145156323)]]], r2 := 18014398509481984, Vm := [[[18269790300795456736]], [[0, 0], [60528023357958962]], [[0, 0, 0], [0, 0], [(-10218504858657119)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [1123534343989551]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-88541331716230)]]], rm := 4503599627370496, rhoP := [[[18607055381289284010]], [[6205829048847494, (-53892850263910452)], [(-57007846195971599)]], [[2193719622991, (-2095938998806646), 153205822324958], [(-2217083852403360), 19326737574888701], [10220174513028520]], [[42272604304, (-1475611037087), 9208830755188, (-432692222758)], [(-1560901058960), 758510149451429, (-109413830649752)], [401108464316756, (-3522452901025641)], [(-1241805809553571)]], [[39945310, (-28699578865), 252505803550, (-32431521905), 1217943752], [(-30358408765), 1054501529650, (-6596984388866), 462855109046], [557678246740, (-140680517255079), 39310391387823], [(-49595593328802), 441653415544686], [116775390946909]]], rhoR := 1125899906842624 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 144115188075855872 288230376151711744 9223372036854775808 13835058055282163712 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 144115188075855872 288230376151711744 9223372036854775808 13835058055282163712 0 4503599627370496 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 203809653520859136, bh := 0, bN := 361, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 6369051672526848, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[2852306651280871699]], [[1095465630972512, 550965772843339047], [(-177475430503152277)]], [[(-182079439350640), 196768735005611, (-5614039864365439)], [(-90870901564472), (-31878330973907124)], [11025426713800658]], [[20075926470016, (-32713750150415), (-6250915574633), (-299429884365976)], [14673836298859, (-13586945703165), 1012705375030216], [6906433291404, 1758820536086812], [(-693644318057708)]], [[(-1648758435424), 3608865205930, 1036781373412, (-276885532655), 10099503714780], [(-1563795820736), 2182970299614, 1229832277071, 44857983416780], [(-1095071594728), 763868107118, (-120532118046425)], [(-502068799854), (-92751223428914)], [44736137056696]]], r0 := 72057594037927936, V1 := [[[4447446855318862139]], [[1623516223778538, 0], [(-263024446041405957)]], [[(-269893079176902), 0, 0], [(-119982669668685), 0], [15150007794174431]], [[29768254003841, 0, 0, 0], [19314657420423, 0, 0], [7805219942019, 0], [(-863995741166891)]], [[(-2446426949984), 0, 0, 0, 0], [(-2051441851635), 0, 0, 0], [(-1225976272124), 0, 0], [(-464501008555), 0], [49724728799395]]], r1 := 72057594037927936, V2 := [[[18268525740923947882]], [[57928907227696, 293448034634844], [61447752528783982]], [[(-9396826056890), (-61651941868), (-451710800846)], [(-22492054862829), (-208080583615783)], [(-10543617480641734)]], [[1008706534104, 9490514383, 41637469, 676916573], [3626391957254, 47981578586, 483438638352], [4454861314280, 73950673901907], [1201455582467260]], [[(-80504691665), (-952510285), (-5189294), 18410, (-999357)], [(-386463892980), (-7385109756), (-51096808), (-967885818)], [(-713554280322), (-18802302312), (-259288015724)], [(-603369855767), (-17585214051176)], [(-102767078862307)]]], r2 := 18014398509481984, Vm := [[[18269708015201746273]], [[58020415927801, 0], [60591344117151765]], [[(-9409309184684), 0, 0], [(-22555407527638), 0], [(-10231985201127564)]], [[1009759214697, 0, 0, 0], [3634902946804, 0, 0], [4476242112086, 0], [1125406004441856]], [[(-80563201489), 0, 0, 0, 0], [(-387163315785), 0, 0, 0], [(-716361608972), 0, 0], [(-607980844036), 0], [(-88740781421089)]]], rm := 1125899906842624, rhoP := [[[18613234368997606543]], [[(-330418628808987), (-55980448638272030)], [(-59556752170102488)]], [[6268937180097, 111651454451796, 162615246167047], [137874681411423, 20197850795755776], [10753423417054143]], [[152567233910, (-2116866540742), (-509426487894), (-466419390951)], [(-3068339416562), (-47132494267565), (-116685870735532)], [(-29301981738295), (-3708513212108512)], [(-1317614654812712)]], [[(-30613735843), (-51955460250), 9165536867, 1836670407, 1328931036], [(-24924194903), 1046396114530, 397615992006, 500924154497], [748662992536, 10226646037621, 42144296857635], [4264892374630, 469083276168697], [125136694342149]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 144115188075855872 288230376151711744 9223372036854775808 13835058055282163712 4503599627370496 9007199254740992 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 144115188075855872 288230376151711744 9223372036854775808 13835058055282163712 4503599627370496 9007199254740992 (by decide +kernel)))
theorem region : TailPosI 144115188075855872 288230376151711744 9223372036854775808 13835058055282163712 0 9007199254740992 :=
(TailPosI.split_s 4503599627370496 leaf_0 leaf_1)
end CKLaneC.RST2.U_0297
end