Courtade–Kumar proof module `CKLaneC.RST2.U_0017` (transplant)
DefinitionCK_CKLaneC_RST2_U_0017Verbatim transplant of the Lean module CKLaneC.RST2.U_0017 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_0017 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_0017 =====
section
/-! RA-stat u-tail cover batch U_0017 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0017
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 912083168576000, bh := 0, bN := 79, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1339761437274063775]], [[18938879036449368, 265917312116411511], [(-9297705694511566)]], [[(-1450404035515498), 3701594136033889, (-605030485957610)], [(-140904048081925), (-1817231780781943)], [64287099859581]], [[66895994267346, (-284694834103636), (-25469228512648), (-38532183958431)], [10250359433829, (-26347528454251), 12503664579160], [1032820729430, 12272261571163], [(-443014366502)]], [[(-1758907399026), 13255106667971, 1597139831163, (-1571253980140), 264405664004], [(-439150456742), 1938509370077, 536461334485, 771379185143], [(-71716850048), 180672647075, (-171623893638)], [(-7473179825), (-81872750384)], [3045303694]]], r0 := 70368744177664, V1 := [[[2131051338890003112]], [[29773647505738741, 0], [(-14616842497787948)]], [[(-2287486324089056), 0, 0], [(-214328044399810), 0], [99301275815506]], [[106255935563089, 0, 0, 0], [15719706397915, 0, 0], [1497646450234, 0], [(-668320298077)]], [[(-2852486924898), 0, 0, 0, 0], [(-687756604908), 0, 0, 0], [(-105475933808), 0, 0], [(-10171272134), 0], [4459036822]]], r1 := 70368744177664, V2 := [[[18445846165182768110]], [[7365686323328, 5846385279], [68924507628504]], [[(-597877106314), (-8902780), (-36583)], [(-578444579126), (-903456904)], [(-2642823700718)]], [[32285079525, 152564, (-190), 0], [46693511211, 1466664, 8490], [22777865399, 69815516], [67474393428]], [[(-1308733640), 43660, 21, 0, 0], [(-2506102214), (-28675), 43, 0], [(-1827096367), (-121057), (-985)], [(-600053086), (-3597223)], [(-1289982470)]]], r2 := 17179869184, Vm := [[[18445846185282610416]], [[7365715173741, 0], [68921382979140]], [[(-597879825788), 0, 0], [(-578449113731), 0], [(-2642580672220)]], [[32285316780, 0, 0, 0], [46693937097, 0, 0], [22778221709, 0], [67461782865]], [[(-1308752622), 0, 0, 0, 0], [(-2506139325), 0, 0, 0], [(-1827129729), 0, 0], [(-600071744), 0], [(-1289491306)]]], rm := 4294967296, rhoP := [[[18447452612050046911]], [[4120316165619, (-236188223371882)], [(-54955973561486)]], [[(-413535122959), (-1373544108248), 2925620790], [(-312156301425), 18320017851886], [2132980366046]], [[24677951700, 137854986979, 35130767, (-35803)], [31976807102, 104068279816, (-453357634)], [11765478648, (-711098862216)], [(-55246629888)]], [[(-1090991169), (-8226531900), (-3315504), (-657), 2], [(-1916891858), (-10660475769), (-5393566), 8318], [(-1236073754), (-3923067180), 35138525], [(-293622953), 18420991753], [1074603042]]], rhoR := 17179869184 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 844424930131968 985162418487296 9223372036854775808 13835058055282163712 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 844424930131968 985162418487296 9223372036854775808 13835058055282163712 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 912083168576000, bh := 0, bN := 79, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1295962882553884704]], [[25533428281719710, 257350483637899183], [(-8974478720735383)]], [[(-1889246215388743), 4997944204342040, (-548000545694837)], [(-187030652101059), (-1756675343962537)], [61934400713206]], [[80456540583404, (-371938968129669), (-32167464665870), (-35004824614580)], [13088335064534, (-35108350300451), 11306207061536], [1352522264920, 11859284209626], [(-426095513950)]], [[(-1596469667166), 16050848563051, 1757286557994, (-1994752395974), 224464701643], [(-512854408128), 2496733848729, 673441022661, 701114739989], [(-89916707726), 238255625838, (-154967833804)], [(-9670443846), (-79161747164)], [2924868312]]], r0 := 70368744177664, V1 := [[[2062157260967727488]], [[40185832263237613, 0], [(-14124499559646090)]], [[(-2986295488412301), 0, 0], [(-285289009310716), 0], [95881692871011]], [[128457694821393, 0, 0, 0], [20199537045237, 0, 0], [1970652268182, 0], [(-645215115692)]], [[(-2647091638386), 0, 0, 0, 0], [(-816408358242), 0, 0, 0], [(-133858562073), 0, 0], [(-13253836292), 0], [4307135167]]], r1 := 70368744177664, V2 := [[[18445828938354434131]], [[10161481040098, 5864195313], [70276092374071]], [[(-824397321479), (-8782297), (-36111)], [(-796567243835), (-906410247)], [(-2695988954403)]], [[44545591850, (-277153), (-294), 0], [64257882939, 1469522, 8381], [31302780953, 70060821], [68873244554]], [[(-1810939681), 108560, 33, 0, 0], [(-3450710213), 37143, 67, 0], [(-2508701634), (-123105), (-973)], [(-822699255), (-3610833)], [(-1317701626)]]], r2 := 68719476736, Vm := [[[18445828958384200451]], [[10161524177320, 0], [70272978731217]], [[(-824402018768), 0, 0], [(-796574015115), 0], [(-2695746790247)]], [[44546043296, 0, 0, 0], [64258618126, 0, 0], [31303312444, 0], [68860679234]], [[(-1810976688), 0, 0, 0, 0], [(-3450780795), 0, 0, 0], [(-2508759207), 0, 0], [(-822727065), 0], [(-1317212237)]]], rm := 4294967296, rhoP := [[[18447442606999845894]], [[6088317630784, (-232852954003383)], [(-54195037196710)]], [[(-589334981311), (-2029591160233), 2841404505], [(-464455346077), 18066333551840], [2104159162073]], [[35038985704, 196458708295, 50652779, (-34244)], [45638068342, 154841841212, (-440408181)], [17658639618, (-701488809630)], [(-54522813094)]], [[(-1548656971), (-11680386010), (-4571740), (-926), 2], [(-2723867204), (-15214814759), (-7798148), 7957], [(-1767459409), (-5888012998), 34143534], [(-445634074), 18179566719], [1061071471]]], rhoR := 17179869184 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 844424930131968 985162418487296 9223372036854775808 13835058055282163712 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 844424930131968 985162418487296 9223372036854775808 13835058055282163712 815151532554059776 1152921504606846976 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 1053182925801472, bh := 0, bN := 69, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[1357323128153943225]], [[19205230006805142, 269348687080151391], [(-8334264486794463)]], [[(-1469768105144555), 3751354218323276, (-628952738249462)], [(-126501213785652), (-1627930424583106)], [50981805768856]], [[67724833821415, (-288354188439462), (-26496030298336), (-40006431794532)], [9191029261458, (-23611857190151), 11498166086964], [820654262074, 9720110414714], [(-310807640920)]], [[(-1777683128419), 13416363823906, 1659939751847, (-1631129838542), 281914797993], [(-393040876358), 1735599395462, 493735389082, 707841951483], [(-56886857010), 143031800562, (-139597919199)], [(-5254163072), (-57315711580)], [1890207845]]], r0 := 70368744177664, V1 := [[[2158653602594265550]], [[30178528904612230, 0], [(-13096216063241872)]], [[(-2317166455662449), 0, 0], [(-192169823956716), 0], [78676972582868]], [[107553656770488, 0, 0, 0], [14079791188794, 0, 0], [1186983401376, 0], [(-468156924811)]], [[(-2884137960071), 0, 0, 0, 0], [(-615230329718), 0, 0, 0], [(-83482562172), 0, 0], [(-7121038259), 0], [2761305359]]], r1 := 17592186044416, V2 := [[[18445708016933982353]], [[8527398620218, 7798647772], [69452243906328]], [[(-691608671557), (-12104992), (-56390)], [(-585155172534), (-1052633872)], [(-2325547035722)]], [[37313117961, 216376, (-291), 0], [47191002713, 1742881, 11430], [20135924356, 71049684], [51846295917]], [[(-1511130743), 57939, 32, 0, 0], [(-2530180251), (-35322), 58, 0], [(-1613433556), (-125734), (-1159)], [(-463610934), (-3197574)], [(-865474275)]]], r2 := 17179869184, Vm := [[[18445708043792503487]], [[8527437294225, 0], [69448596411755]], [[(-691612313227), 0, 0], [(-585160481439), 0], [(-2325299199337)]], [[37313435571, 0, 0, 0], [47191500885, 0, 0], [20136288662, 0], [51835061016]], [[(-1511156150), 0, 0, 0, 0], [(-2530223657), 0, 0, 0], [(-1613467643), 0, 0], [(-463627593), 0], [(-865091975)]]], rm := 4294967296, rhoP := [[[18447562862102783488]], [[4745193060424, (-272941181071081)], [(-55474943109141)]], [[(-477665893451), (-1581871328308), 3905719126], [(-313764215599), 18493233631952], [1880856302698]], [[28523998952, 159235239428, 46772424, (-55213)], [32259388117, 104606881469, (-528676571)], [10318969784, (-627059471410)], [(-42557883438)]], [[(-1261451450), (-9508731626), (-4425251), (-1010), 2], [(-1935457102), (-10754924805), (-6270475), 11204], [(-1089089864), (-3440916332), 35793583], [(-224619613), 14190809201], [723195027]]], rhoR := 17179869184 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 985162418487296 1125899906842624 9223372036854775808 13835058055282163712 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 985162418487296 1125899906842624 9223372036854775808 13835058055282163712 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 1053182925801472, bh := 0, bN := 69, bD := 1024 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[1312913636356358006]], [[25886906762781064, 260667499479212210], [(-8044132876022351)]], [[(-1913965635372498), 5064241166449058, (-569631004451208)], [(-167850609985267), (-1573669238756655)], [49112877564023]], [[81424146808705, (-376651533628511), (-33456261498362), (-36344836046525)], [11730114433183, (-31454653748338), 10396244537595], [1074160700530, 9393223181119], [(-298916022514)]], [[(-1611952612852), 16243330424046, 1825651591439, (-2070580777664), 239311282637], [(-458683788955), 2234865528371, 619625806877, 643415107825], [(-71276670686), 188562708641, (-126040607052)], [(-6795115257), (-55422341344)], [1815318434]]], r0 := 70368744177664, V1 := [[[2088829526520953051]], [[40724682841144167, 0], [(-12654843744368286)]], [[(-3024427966350993), 0, 0], [(-255717461411344), 0], [75967259376995]], [[129997972043380, 0, 0, 0], [18086640005589, 0, 0], [1561291618975, 0], [(-451984231456)]], [[(-2675562018770), 0, 0, 0, 0], [(-730130712862), 0, 0, 0], [(-105911244388), 0, 0], [(-9275362361), 0], [2667448772]]], r1 := 70368744177664, V2 := [[[18445688075887374738]], [[11761009019532, 7822912494], [70819290536094]], [[(-953365283229), (-11998482), (-55666)], [(-805563186784), (-1056150206)], [(-2372537206832)]], [[51467576931, (-355349), (-451), 0], [64920850912, 1754272, 11285], [27662397228, 71304940], [52926843551]], [[(-2090405362), 144634, 50, 0, 0], [(-3482642641), 41140, 90, 0], [(-2214473512), (-128420), (-1144)], [(-635374871), (-3209953)], [(-884190434)]]], r2 := 17179869184, Vm := [[[18445688102651977890]], [[11761066823449, 0], [70815655925317]], [[(-953371572399), 0, 0], [(-805571111904), 0], [(-2372290254081)]], [[51468181194, 0, 0, 0], [64921710823, 0, 0], [27662940531, 0], [52915649041]], [[(-2090454881), 0, 0, 0, 0], [(-3482725184), 0, 0, 0], [(-2214532340), 0, 0], [(-635399699), 0], [(-883809519)]]], rm := 4294967296, rhoP := [[[18447551333259431202]], [[7018659638146, (-269097896786140)], [(-54709549054346)]], [[(-680876791657), (-2339755677328), 3793544983], [(-467432144705), 18238057097494], [1855555736435]], [[40504565937, 226977239707, 67492492, (-52815)], [46054066103, 155837934928, (-513614167)], [15512360724, (-618622917858)], [(-42003513050)]], [[(-1790820815), (-13502489373), (-6103412), (-1427), 2], [(-2750663312), (-15353833753), (-9074205), 10719], [(-1557837724), (-5172615794), 34782947], [(-341619703), 14005883578], [714156787]]], rhoR := 17179869184 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 985162418487296 1125899906842624 9223372036854775808 13835058055282163712 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 985162418487296 1125899906842624 9223372036854775808 13835058055282163712 815151532554059776 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 844424930131968 1125899906842624 9223372036854775808 13835058055282163712 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 985162418487296 (TailPosI.split_s 815151532554059776 leaf_0 leaf_1) (TailPosI.split_s 815151532554059776 leaf_2 leaf_3))
end CKLaneC.RST2.U_0017
end