Courtade–Kumar proof module `CKLaneC.RST2.U_0331` (transplant)
DefinitionCK_CKLaneC_RST2_U_0331Verbatim transplant of the Lean module CKLaneC.RST2.U_0331 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_0331 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_0331 =====
section
/-! RA-stat u-tail cover batch U_0331 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0331
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 322251357127704576, bh := 0, bN := 115, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[3486475268521192376]], [[230215990591180397, 472751535280628814], [(-71557053400364489)]], [[(-30449274041796998), 27918966441439402, (-5101986187416173)], [(-4722806040631804), (-8677933133153969)], [1463402567513074]], [[2056557500213766, (-4013259753275453), (-959634611152810), (-170970611380418)], [578492645362524, (-373454973146355), 298279128824903], [92197365645940, 146498330995202], [(-30392971949796)]], [[(-17824664018879), 327805178765047, 71780800899934, (-22891755381690), 6566150329451], [(-36594448627320), 62921056245818, 53967097460469, 7115346584175], [(-10771224515194), 1160808463625, (-11427693396954)], [(-1750558968796), (-2226700347630)], [650959817265]]], r0 := 4503599627370496, V1 := [[[3953960449313303139]], [[257154354442292404, 0], [(-79930190017253850)]], [[(-34387611291003833), 0, 0], [(-5042092778733161), 0], [1598375510669892]], [[2389710783560849, 0, 0, 0], [637049226633207, 0, 0], [91459876930471, 0], [(-32262296421729)]], [[(-30423773572042), 0, 0, 0, 0], [(-44054900143191), 0, 0, 0], [(-11362726864815), 0, 0], [(-1552200818320), 0], [669281348701]]], r1 := 4503599627370496, V2 := [[[18125591725545971772]], [[13670440857496968, 774888975045966], [35475830498497046]], [[(-2098850081000392), (-7397465888103), (-1737472895326)], [(-1612522462551603), (-175844992790801)], [(-1950237040769514)]], [[213467600844722, (-593828869746), (-41626662723), 3781086309], [242987220200796, 1944634778830, 594454787758], [96429781602693, 19999990205395], [71083407325348]], [[(-16316480138907), 393724618998, 12222487326, 218242840, (-8089816)], [(-24140904367885), 112992674082, 13649290134, (-1726744582)], [(-14201383860276), (-255634988562), (-101906128589)], [(-3917020117433), (-1521469603430)], [(-1933737644170)]]], r2 := 281474976710656, Vm := [[[18127015009006789368]], [[13711280588037855, 0], [35137413440082021]], [[(-2105426522118556), 0, 0], [(-1622244527552408), 0], [(-1909632139109699)]], [[214370837803319, 0, 0, 0], [244587538042325, 0, 0], [97587930254910, 0], [67798304044302]], [[(-16428796276048), 0, 0, 0, 0], [(-24364119441404), 0, 0, 0], [(-14397868795943), 0, 0], [(-4008946775793), 0], [(-1731569628396)]]], rm := 70368744177664, rhoP := [[[18531871306949091047]], [[2312115794152736, (-85497679486530449)], [(-9796217179159488)]], [[(-504341007905877), (-2333108319699444), 372022054587186], [(-248722500641673), 9881191254343023], [569033113731528]], [[63679485856715, 508445187903484, 21129987751716, (-1582428248576)], [57550879394732, 253410374238718, (-85515120206695)], [13138029407711, (-578821342610093)], [(-22373939565068)]], [[(-5918532144257), (-64104700098059), (-4128329179764), (-138246302952), 6648249657], [(-7430868025552), (-58492997732900), (-4734362072846), 544071327525], [(-3308935920284), (-13661292976096), 9881363332469], [(-451260042116), 23129922932226], [676426104572]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 288230376151711744 360287970189639680 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 288230376151711744 360287970189639680 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 394675696941137920, bh := 0, bN := 47, bD := 512 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[3620605004762081899]], [[239052714692675345, 488907753599670231], [(-63064827802860619)]], [[(-31529895204564527), 28595972283033844, (-5679912112529327)], [(-4147116908710896), (-7543943059602340)], [1096820887560987]], [[2124968492407593, (-4129340289667479), (-1063717757886628), (-184223602265989)], [506325610770512, (-307371701897641), 280620855187554], [68390630270697, 106311382191272], [(-19444991303494)]], [[(-18991792919620), 341456131763720, 79928435033586, (-23421313088987), 7762995733031], [(-32081833634717), 53695685480534, 50306511866871, 6178809049596], [(-7977266658006), 145403503761, (-9082138496071)], [(-1098027336076), (-1330072140619)], [356688484451]]], r0 := 4503599627370496, V1 := [[[4103656414485386723]], [[266563792544886520, 0], [(-70322563359853855)]], [[(-35575845598397165), 0, 0], [(-4404167365191582), 0], [1193999484010351]], [[2472196045675491, 0, 0, 0], [555904276172298, 0, 0], [67061649196984, 0], [(-20536158659288)]], [[(-32842540211589), 0, 0, 0, 0], [(-38741449547793), 0, 0, 0], [(-8356485448244), 0, 0], [(-952123667875), 0], [364315331003]]], r1 := 1125899906842624, V2 := [[[18054755844060361313]], [[16920014802395275, 1167458902854372], [35360129039901263]], [[(-2587256450728953), (-11889905140397), (-3223527235094)], [(-1636436699809310), (-216782266966978)], [(-1587215382911818)]], [[261826074117717, (-834061983588), (-75212230642), 8627525563], [245350957776161, 2554807534770, 902736404252], [80332093556981, 20183299863391], [47248470527366]], [[(-19888452217150), 595318859854, 22580754668, 493004275, (-22681652)], [(-24213708705493), 126813662822, 20136236848, (-3224884529)], [(-11755780929697), (-274418453028), (-126703408654)], [(-2683159176857), (-1257639492857)], [(-1051281505459)]]], r2 := 281474976710656, Vm := [[[18056944042101560077]], [[16982782937363692, 0], [34933056715688943]], [[(-2597469628843752), 0, 0], [(-1648652929201736), 0], [(-1545109583839522)]], [[263239450527980, 0, 0, 0], [247390912071961, 0, 0], [81521021825325, 0], [44445453806171]], [[(-20063802052133), 0, 0, 0, 0], [(-24501346441985), 0, 0, 0], [(-11961522031845), 0, 0], [(-2760156095672), 0], [(-909088677813)]]], rm := 70368744177664, rhoP := [[[18551548929878736106]], [[2806702236156254, (-105365553873423564)], [(-9879200700222210)]], [[(-619816360274339), (-2838116870476585), 563628049673223], [(-245908225451249), 9984532411072848], [470692210694966]], [[78640815350675, 626030612105599, 31667813349955, (-2945465764868)], [57915876859174, 251642174382727, (-106155587882869)], [10567075418941, (-480635271570108)], [(-15215719712691)]], [[(-7335171481161), (-79289336021613), (-6259264660194), (-254954933729), 15197715526], [(-7528531977666), (-59084508374233), (-5803995523521), 829536086997], [(-2732151186383), (-11090432613845), 10059239360699], [(-295089988867), 15845586912942], [379692682336]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 360287970189639680 432345564227567616 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 360287970189639680 432345564227567616 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 499229655779508224, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[3789582792403235694]], [[250136834277771819, 508940014651056973], [(-108777466416062398)]], [[(-32880592522271053), 29381724316752967, (-6462148075799964)], [(-7116763470898782), (-12777284638384896)], [3126984282677122]], [[2210667361736073, (-4270176263498337), (-1203073557900081), (-200500429085453)], [865643769104003, (-481153653207017), 523182816790601], [192272585676163, 290157472155099], [(-92075097736772)]], [[(-20595826752660), 358922705443029, 91007030234385, (-23594329699896), 9480659209988], [(-55005703915648), 88685106561350, 92621639247014, 10260509668439], [(-22397938276078), (-2244823977664), (-27736345081755)], [(-5063225436922), (-5722498822988)], [2815907433046]]], r0 := 4503599627370496, V1 := [[[4291869652131109822]], [[278294583309813523, 0], [(-121022478665172057)]], [[(-37055880456222977), 0, 0], [(-7505686879062773), 0], [3389358524342325]], [[2575879653838761, 0, 0, 0], [946623175427767, 0, 0], [185664077495179, 0], [(-96609215339860)]], [[(-36133474932251), 0, 0, 0, 0], [(-66672947147113), 0, 0, 0], [(-23242725937918), 0, 0], [(-4260634972044), 0], [2852144648153]]], r1 := 4503599627370496, V2 := [[[17952991054645582714]], [[21683953964425934, 1878607404917877], [70048851948223974]], [[(-3299223822049203), (-20608466369871), (-6606404832368)], [(-3314994289650362), (-550034754973013)], [(-4944962987782650)]], [[331786372898049, (-1223929275395), (-149227120868), 22481254411], [493925704569911, 6969944710787, 2918250512287], [257622183028604, 80795440802125], [231652450040205]], [[(-25001494172400), 962680776139, 46063353086, 1270127038, (-75053762)], [(-48334470959021), 284217863346, 62873223600, (-13253596366)], [(-37402258914774), (-1177541645007), (-646303800954)], [(-13652637177074), (-7949913897007)], [(-8133931733476)]]], r2 := 1125899906842624, Vm := [[[17956602361221021379]], [[21787256252660461, 0], [68932988430118397]], [[(-3316277217121157), 0, 0], [(-3346642076687191), 0], [(-4770537190577710)]], [[334171996733768, 0, 0, 0], [499317241907276, 0, 0], [262464607005252, 0], [213207737321042]], [[(-25296917844964), 0, 0, 0, 0], [(-49106345964788), 0, 0, 0], [(-38263803720829), 0, 0], [(-14144540618584), 0], [(-6644022889542)]]], rm := 281474976710656, rhoP := [[[18580197163660519395]], [[3510705942120607, (-134360607530957870)], [(-19862877994017183)]], [[(-787559153939012), (-3560833897544747), 913541463238258], [(-482164158687250), 20132001343684341], [1497074679305160]], [[100541688585805, 797623662374632, 50642265690722, (-6063341681769)], [116175884416952, 496573094298067, (-271796429847206)], [32442610887576, (-1537212946624253)], [(-76805494947845)]], [[(-9419776341232), (-101601623096036), (-10157335154909), (-518897903549), 39714709846], [(-15231670151307), (-119165403612482), (-14633276557301), 2696385612430], [(-8678631403227), (-34515310164512), 40733527244150], [(-1419193147856), 80827636700159], [3058242081969]]], rhoR := 281474976710656 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 432345564227567616 576460752303423488 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 432345564227567616 576460752303423488 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 288230376151711744 576460752303423488 13835058055282163712 18446744073709551616 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 432345564227567616 (TailPosI.split_b 360287970189639680 leaf_0 leaf_1) leaf_2)
end CKLaneC.RST2.U_0331
end