Courtade–Kumar proof module `CKLaneC.RST2.U_0226` (transplant)
DefinitionCK_CKLaneC_RST2_U_0226Verbatim transplant of the Lean module CKLaneC.RST2.U_0226 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_0226 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_0226 =====
section
/-! RA-stat u-tail cover batch U_0226 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0226
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 22063042185691136, bh := 0, bN := 209, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, lam1 := 1242726108847480321, u1 := 6597076461653, w1 := 97925595795106 }
noncomputable def q0 : TCert := { V0 := [[[2844195202706348469]], [[0, 392505945092906035], [(-72849357482174808)]], [[0, 0, (-2840752464469073)], [0, (-9352560076377586)], [1808710209584620]], [[0, 0, 0, (-108375397814142)], [0, 0, 210985202318065], [0, 205610297751132], [(-46454135379501)]], [[0, 0, 0, 0, 2594419225454], [0, 0, 0, 6694415300918], [0, 0, (-10182573733493)], [0, (-4430131704250)], [1078340827501]]], r0 := 18014398509481984, V1 := [[[3233754648513855648]], [[0, 0], [(-81984548862408933)]], [[0, 0, 0], [0, 0], [2003921330653749]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-50473054419031)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [1136699007981]]], r1 := 18014398509481984, V2 := [[[18426716074100326099]], [[0, 3392555898438], [4031898265615838]], [[0, 0, (-545379518)], [0, (-1386268975928)], [(-404490153653969)]], [[0, 0, 0, 85942], [0, 0, 335333755], [0, 283267252905], [26919180581421]], [[0, 0, 0, 0, (-13)], [0, 0, 0, (-70527)], [0, 0, (-103129525)], [0, (-38594058366)], [(-1334230986460)]]], r2 := 70368744177664, Vm := [[[18426721980072047232]], [[0, 0], [4029415966042227]], [[0, 0, 0], [0, 0], [(-403967052502408)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [26845454422023]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-1326408564696)]]], rm := 17592186044416, rhoP := [[[18452446510124829085]], [[185853169836141, (-5704171360655508)], [(-1164404371917237)]], [[1965375409, (-185940290731466), 1735557407054], [(-37956378543718), 1165112937808659], [118900696360147]], [[31548261, (-3933105786), 87240753810, (-525157018)], [(-802873070), 37991995817017, (-708887495603)], [3877113397873, (-119045392227734)], [(-8099117590303)]], [[900, (-63137707), 1968968847, (-32839483), 158460], [(-12888430), 1606732487, (-35637384072), 321733572], [163980572, (-3884387587753), 144794376902], [(-264269895689), 8118820166958], [414266008071]]], rhoR := 17592186044416 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 18014398509481984 27021597764222976 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 18014398509481984 27021597764222976 13835058055282163712 18446744073709551616 0 4503599627370496 (by decide +kernel)))
noncomputable def c1 : LCell := { bch := { bexp := true, bc := 31201853486219264, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, lam1 := 1267286962966746369, u1 := 8796101946339, w1 := 128036977657193 }
noncomputable def q1 : TCert := { V0 := [[[2973033348857951817]], [[0, 408962105963839069], [(-56273119419994431)]], [[0, 0, (-3229502380126878)], [0, (-7150259053064923)], [1033641531065168]], [[0, 0, 0, (-120425201798452)], [0, 0, 176676894241708], [0, 114796875430131], [(-19510944851049)]], [[0, 0, 0, 0, 3185296370984], [0, 0, 0, 5348452756251], [0, 0, (-6277630394229)], [0, (-1774111828704)], [339579098772]]], r0 := 4503599627370496, V1 := [[[3378648749967575789]], [[0, 0], [(-63241632563882652)]], [[0, 0, 0], [0, 0], [1142042237772858]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-21099626897798)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [355723425114]]], r1 := 4503599627370496, V2 := [[[18418557366040770788]], [[0, 6790503080005], [4012967516770009]], [[0, 0, (-1549631468)], [0, (-1965045806023)], [(-284571654450366)]], [[0, 0, 0, 346365], [0, 0, 674994079], [0, 284369548373], [13376896805514]], [[0, 0, 0, 0, (-76)], [0, 0, 0, (-201388)], [0, 0, (-147070632)], [0, (-27440165326)], [(-467804933207)]]], r2 := 70368744177664, Vm := [[[18418569430579845844]], [[0, 0], [4009369018043633]], [[0, 0, 0], [0, 0], [(-284033328050981)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [13323014173189]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-463742865100)]]], rm := 17592186044416, rhoP := [[[18454814817781557774]], [[268085239175925, (-8074218358046303)], [(-1167141386240380)]], [[4092819897, (-268263161493708), 3475931306736], [(-38777875987336), 1168146289279639], [84416831923798]], [[66949562, (-8191478784), 178175103387, (-1487987500)], [(-1184091570), 38829386988882, (-1005548312292)], [2806030443894, (-84562175329024)], [(-4073959461522)]], [[2757, (-134022963), 4102310979, (-94918258), 635157], [(-19373237), 2370083010, (-51552163308), 645640287], [171287614, (-2813481868107), 145483391189], [(-135545375738), 4087977887566], [147710156409]]], rhoR := 70368744177664 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 27021597764222976 36028797018963968 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c1 q1 false 27021597764222976 36028797018963968 13835058055282163712 18446744073709551616 0 4503599627370496 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 22063042185691136, bh := 0, bN := 209, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 6369051672526848, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[2842626252071050632]], [[969734148456094, 392304507439781846], [(-72543381095626796)]], [[(-163108839821281), 124511839526410, (-2836210786526135)], [(-30986580437672), (-9314418637378707)], [1823796338558704]], [[18227679290646, (-20947544650228), (-2805694906107), (-108231254084589)], [5071425493328, (-3273889135212), 209887003706932], [914100826401, 207812357424370], [(-45339250284705)]], [[(-1520356561676), 2341979974304, 471040812364, (-89071469235), 2587773194886], [(-549313234909), 533040180628, 220683062325, 6663213363852], [(-146700841430), 68693166365, (-10177762221523)], [(-25495924398), (-4285629054597)], [1121867273373]]], r0 := 4503599627370496, V1 := [[[3231988939357176853]], [[1091355352576474, 0], [(-81641558543384142)]], [[(-183571067034594), 0, 0], [(-34035527002463), 0], [2021213382920246]], [[20515623255119, 0, 0, 0], [5567118713736, 0, 0], [971540174743, 0], [(-49216461573913)]], [[(-1711403638293), 0, 0, 0, 0], [(-602629039269), 0, 0, 0], [(-155626008444), 0, 0], [(-25966319488), 0], [1186527386245]]], r1 := 4503599627370496, V2 := [[[18426707559841242293]], [[5248994319529, 3393355097794], [4035164394092616]], [[(-862421353744), (-489022594), (-545403415)], [(-1138665921140), (-1386759663939)], [(-404866246785100)]], [[93972464102, 75300262, 13562, 85929], [186222204086, 214431316, 335358683], [124791267068, 283393174236], [26947394082485]], [[(-7633777831), (-7557986), (-614), 8, (-13)], [(-20182933409), (-33020049), (-10764), (-70516)], [(-20304956971), (-47215534), (-103140761)], [(-9233090517), (-38614152691)], [(-1335833075055)]]], r2 := 70368744177664, Vm := [[[18426713462532199048]], [[5250993847249, 0], [4032684095921035]], [[(-862716182428), 0, 0], [(-1139522561742), 0], [(-404343650214879)]], [[94000425660, 0, 0, 0], [186348406868, 0, 0], [124975012076, 0], [26873746485352]], [[(-7635666722), 0, 0, 0, 0], [(-20194888873), 0, 0, 0], [(-20331999841), 0, 0], [(-9259396999), 0], [(-1328019496577)]]], rm := 4398046511104, rhoP := [[[18452634848348205640]], [[(-8282471474731), (-5892599949375406)], [(-1207899364093557)]], [[88261114503, 8286447970335, 1825870193746], [1940550748795, 1208647249619467], [123947735564976]], [[9907281453, (-88292544613), (-3978008848), (-559642870)], [(-26865501242), (-1942302321872), (-748229192305)], [(-228859383751), (-124101010092114)], [(-8490151988684)]], [[(-1213908849), (-9913922261), 31437878, 1513779, 170568], [(-1756038817), 26883015945, 1752551026, 343806006], [3893599925, 229245947090, 153380103602], [18133066437, 8511103876065], [437056917863]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 18014398509481984 27021597764222976 13835058055282163712 18446744073709551616 4503599627370496 9007199254740992 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 18014398509481984 27021597764222976 13835058055282163712 18446744073709551616 4503599627370496 9007199254740992 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 31201853486219264, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 6369051672526848, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[2971298536963121930]], [[1025117195892439, 408741658988910694], [(-56050600039962145)]], [[(-172163980807928), 130273544420808, (-3224058590557373)], [(-24307152648589), (-7123000534359783)], [1040830801292134]], [[19207327508014, (-21884362246461), (-3215085551336), (-120260350124019)], [3970276553875, (-2489044877094), 175792070462051], [529897731864, 115868719101095], [(-19117382021583)]], [[(-1599041203797), 2442740315276, 538953706567, (-97393095520), 3176729137421], [(-429029371294), 404147327701, 186239751626, 5325187661921], [(-84845897557), 36695045812, (-6271753771935)], [(-10899324610), (-1724113998382)], [350083332646]]], r0 := 1125899906842624, V1 := [[[3376699091132947176]], [[1152083342073434, 0], [(-62992761098931708)]], [[(-193493894315052), 0, 0], [(-26606841299012), 0], [1150308679736538]], [[21588438726560, 0, 0, 0], [4343041810984, 0, 0], [559645373561, 0], [(-20657206378043)]], [[(-1797517483812), 0, 0, 0, 0], [(-468985239148), 0, 0, 0], [(-89422768821), 0, 0], [(-10987361144), 0], [367781497080]]], r1 := 1125899906842624, V2 := [[[18418544471587693042]], [[7592209384304, 6792270990356], [4016334788002774]], [[(-1245248982900), (-1030921780), (-1549725494)], [(-1170970859419), (-1965795256015)], [(-284847321050427)]], [[135414247161, 158748385, 50827, 346317], [191134414239, 321177476, 675058809], [91325566626, 284504845210], [13391633131050]], [[(-10974505620), (-15935361), (-3640), 30, (-76)], [(-20668488397), (-49459501), (-27524), (-201358)], [(-14827740636), (-50261266), (-147090451)], [(-4813931191), (-27455444214)], [(-468402024802)]]], r2 := 17592186044416, Vm := [[[18418556528986134494]], [[7596349534242, 0], [4012739288643104]], [[(-1245859039877), 0, 0], [(-1172228061431), 0], [(-284309525093877)]], [[135472054088, 0, 0, 0], [191319485168, 0, 0], [91516679174, 0], [13337808751683]], [[(-10978406005), 0, 0, 0, 0], [(-20686002507), 0, 0, 0], [(-14855842012), 0, 0], [(-4833318583), 0], [(-464344591365)]]], rm := 1099511627776, rhoP := [[[18455088773694143910]], [[(-12336116744045), (-8348360448384376)], [(-1212073179873841)]], [[147131837948, 12344522792349, 3662051721164], [2052394308162, 1213135553559124], [88118990714296]], [[13331518469, (-147211441609), (-8410585234), (-1588613942)], [(-31028681178), (-2055020540516), (-1063064596280)], [(-171957865850), (-88273228177714)], [(-4277714830713)]], [[(-1700059862), (-13344292781), 79635286, 4539182, 685167], [(-1625700581), 31059036898, 2628311027, 691308173], [3147190875, 172369029873, 154387814738], [9685281718, 4292652066505], [156151837888]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 27021597764222976 36028797018963968 13835058055282163712 18446744073709551616 4503599627370496 9007199254740992 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 27021597764222976 36028797018963968 13835058055282163712 18446744073709551616 4503599627370496 9007199254740992 (by decide +kernel)))
theorem region : TailPosI 18014398509481984 36028797018963968 13835058055282163712 18446744073709551616 0 9007199254740992 :=
(TailPosI.split_s 4503599627370496 (TailPosI.split_b 27021597764222976 leaf_0 leaf_1) (TailPosI.split_b 27021597764222976 leaf_2 leaf_3))
end CKLaneC.RST2.U_0226
end