Courtade–Kumar proof module `CKLaneC.RST2.U_0522 (+1 modules: CKLaneC.RST2.U_0523)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0522__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0522 (+1 modules: CKLaneC.RST2.U_0523) 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_0522 (+1 modules: CKLaneC.RST2.U_0523) 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_0522 =====
section
/-! RA-stat u-tail cover batch U_0522 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0522
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 5188146770730811392, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[5404950401263819524]], [[377919464707132056, 951448452519053775], [264406367797000527]], [[(-44183549500377471), 49003147374263219, (-33459786539810426)], [18898798598773572, 34284405588610962], [(-40709826247961)]], [[2413596699726914, (-7486197723354290), (-6147001840804973), (-697250442271037)], [(-1880703912297530), (-8156821252674), (-4300668743877077)], [(-47960448357440), (-865370366031970)], [348890313469720]], [[13384704294299, 691989154639410, 432421332747508, 73489848192263, 150841999406556], [71698944325632, (-198954185920493), (-707925067429953), 51416202776238], [10803808533196, (-175531832150189), (-139450261775929)], [21173331420675, 34603771392818], [(-16524187795798)]]], r0 := 18014398509481984, V1 := [[[7950055518510331558]], [[473870095125690714, 0], [331536960545018642]], [[(-62228981327881267), 0, 0], [14143375916269321, 0], [(-3393095843108137)]], [[4625095754423210, 0, 0, 0], [(-1919407477036509), 0, 0], [(-533127070316482), 0], [439268058252697]], [[(-160346282592302), 0, 0, 0, 0], [187639782320461, 0, 0, 0], [57968862514243, 0, 0], [21132573780598, 0], [(-28535805616709)]]], r1 := 4503599627370496, V2 := [[[12996700180916995768]], [[285854307364976116, 281618672801316111], [(-684420660518879623)]], [[(-37999210417153574), (-1785274944839643), (-11899678717761874)], [36239101472913801, 73492112335022745], [(-13258099136093327)]], [[2981657573241281, (-722486806830474), (-585781089871572), 428508618216936], [(-4158437494546952), 364781105568278, (-4446988763251060)], [163615314878606, 6138880193919168], [(-528335913679592)]], [[(-128289454660853), 237797289001439, 131238869984313, 50814600507018, (-12637106873107)], [210588630520362, (-334304470239717), (-316402011911665), 194297560223942], [82437109569372, 267571938738228, (-584297863720382)], [(-57483497181463), 184502099738435], [(-9075522269841)]]], r2 := 18014398509481984, Vm := [[[14232552870577040621]], [[289610180204941633, 0], [(-355340367598605358)]], [[(-42267317525636608), 0, 0], [36645266827795399, 0], [14913535572050487]], [[4094661681040364, 0, 0, 0], [(-5410856223685554), 0, 0], [131548354019904, 0], [353687915975101]], [[(-298008539594172), 0, 0, 0, 0], [545966621914221, 0, 0, 0], [(-44345363872341), 0, 0], [(-53489969238502), 0], [4697129184777]]], rm := 4503599627370496, rhoP := [[[24165386576911386377]], [[145429663354977640, (-2435531617632665649)], [844723268285887440]], [[(-42028148134105502), (-80281025471943713), 223155946760531806], [25406602157301769, (-434745667419117467)], [28550161153979142]], [[5673822410311153, 21795615496010864, 15327414270998321, (-19575354420539802)], [(-7931463992836552), (-19007652749073770), 71040941862676807], [1846557577044255, (-25322749511196506)], [777622233934551]], [[(-491632358839243), (-2728784930637519), (-3596647120652315), (-2167240852245585), 1669967583697418], [1068231871199368, 5275142563330431, 5787434994179431, (-8917238123473697)], [(-575835772316703), (-2087634461665638), 8690948706607855], [133160393199054, (-1052312695497508)], [20901242235127]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5764607523034234880 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5764607523034234880 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 6341068275337658368, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[5936172059315885885]], [[415676029680822911, 1016771196611310505], [268010924377386593]], [[(-47921458161743851), 48263609503591225, (-42649121311757577)], [18925117317904942, 31118403932935431], [1761158915277646]], [[2553746992635346, (-7845704943006160), (-7605408124060988), (-514561747372281)], [(-1866249066771916), (-744801696327091), (-4903656492201405)], [53586094376078, (-744010503132346)], [265863664008608]], [[17804651576244, 783663439343106, 564776378126526, 210892474516260, 206148514527895], [69029249235449, (-160538867063999), (-748615458442777), 135974853018917], [(-2832235394359), (-195605270766340), (-161933214390824)], [13549354408404, 7971192412397], [(-5746274125502)]]], r0 := 18014398509481984, V1 := [[[8602681639215666247]], [[500164017600839965, 0], [322485327817527762]], [[(-65854091792556905), 0, 0], [12207499609832803, 0], [(-1286570181717656)]], [[4992992536680836, 0, 0, 0], [(-1713183381858539), 0, 0], [(-446934030839763), 0], [283520526060170]], [[(-193994916153519), 0, 0, 0, 0], [180780352878221, 0, 0, 0], [46653200374647, 0, 0], [8881131345404, 0], [(-12799806556801)]]], r1 := 4503599627370496, V2 := [[[11570447822237005716]], [[358452001456036211, 454642733058999562], [(-744099727026529735)]], [[(-45880184412026135), 416094034809579, (-23310555842822825)], [36049335434451945, 100271208272955673], [(-16661168427691635)]], [[3296966725763947, (-1695794256122578), (-1606451022262817), 932437994619353], [(-3664537209680725), 2068651962474900, (-7036051090983977)], [(-302499815426789), 7243648462238829], [(-607718536486378)]], [[(-102982435424214), 424740445316040, 297414354061539, 154005098529569, (-23690970750544)], [99103714483104, (-666450719719602), (-756437481121306), 302566033297590], [169474610635632, 616906564824002, (-689911999267402)], [(-101604205301937), 176853259287092], [(-10328112618161)]]], r2 := 18014398509481984, Vm := [[[13584417760423932619]], [[362962432455712749, 0], [(-291324901909834780)]], [[(-53202167806884832), 0, 0], [36456371534795331, 0], [17114688922720294]], [[5221784287613649, 0, 0, 0], [(-5487241265898002), 0, 0], [(-244319434873925), 0], [374013460112926]], [[(-391347915897924), 0, 0, 0, 0], [577592109642116, 0, 0, 0], [10865217839220, 0, 0], [(-71707831066862), 0], [178306038444]]], rm := 4503599627370496, rhoP := [[[25975598946646516810]], [[204820126949024823, (-3415329844224348988)], [968948908292654071]], [[(-60499248373611803), (-128262741975831767), 405054529842902405], [34648661591036521, (-549874234181288835)], [33742512733869525]], [[8130544672612292, 34949948047477690, 31771718215495962, (-45721991898931188)], [(-10707352597798015), (-29900041762846642), 113629947166861479], [2847224316606283, (-32562971854511186)], [957554773991394]], [[(-665093510240825), (-4245225876569408), (-7400251258330706), (-5857502816541023), 4991932113090457], [1404392924544593, 8090881950666050, 11246445370048186, (-18141951879400621)], [(-827992568776156), (-3483597201669463), 12857822797103246], [206182447252449, (-1373933476627859)], [24180206359531]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 5764607523034234880 6917529027641081856 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 5764607523034234880 6917529027641081856 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 6917529027641081856 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 5764607523034234880 leaf_0 leaf_1)
end CKLaneC.RST2.U_0522
end
-- ===== source module CKLaneC.RST2.U_0523 =====
section
/-! RA-stat u-tail cover batch U_0523 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0523
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7493989779944505344, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 11529215046068469760, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[6481293762373690784]], [[453839207675742502, 1076054960199525112], [278111709876544821]], [[(-51680178004253323), 45948670857787841, (-53133235409952446)], [19282888616587944, 28157248652575960], [3266731383959997]], [[2691901458488938, (-8126012725731697), (-9129785707446474), (-131157327056007)], [(-1899620451247964), (-1594203911529970), (-5594713438065287)], [121002865701975, (-755902005992083)], [242984418591235]], [[22899043649999, 885742162630928, 726577344405237, 414344414136219, 265276752400762], [69669421648444, (-118615422481516), (-771596795673961), 253909383641334], [(-13589205826121), (-231715620835033), (-183277447493866)], [9216145528087, (-11471923194830)], [(-448542589185)]]], r0 := 18014398509481984, V1 := [[[9244596899168587187]], [[522845940684540027, 0], [320398890414244909]], [[(-69101423676834659), 0, 0], [10494230440902618, 0], [172249046796676]], [[5349610725832171, 0, 0, 0], [(-1536998369456848), 0, 0], [(-416938324144541), 0], [211768380519715]], [[(-229739601990398), 0, 0, 0, 0], [176039802895468, 0, 0, 0], [42343250085022, 0, 0], [1595762255779, 0], [(-5956717845207)]]], r1 := 4503599627370496, V2 := [[[10010579365765006879]], [[428405364776040647, 685482177548913821], [(-818359721835391448)]], [[(-52385898427268518), 7706296471795862, (-40094593010938708)], [33369584884839207, 131166737918397912], [(-20545805232881112)]], [[3358079037966650, (-3503608916081169), (-3871593646418814), 1542773405538702], [(-2764105430282851), 5606346829191980, (-9670556746544944)], [(-1107012968877284), 8132038961226501], [(-684043284169506)]], [[(-55224297113952), 679655849206633, 574332767122714, 379966432592628, (-4177638756407)], [(-41676081745883), (-1168787839143085), (-1584088724665764), 259192254615602], [284822576543401, 1194659748815113, (-568562692251154)], [(-171304339531232), 103632122701552], [(-7936364635195)]]], r2 := 72057594037927936, Vm := [[[13073204514840832065]], [[434291548189987667, 0], [(-218415476513627064)]], [[(-64030421252897344), 0, 0], [34554540905196408, 0], [19319412993502011]], [[6382704722858486, 0, 0, 0], [(-5284832807742908), 0, 0], [(-720833250187178), 0], [353276068429979]], [[(-494857636351600), 0, 0, 0, 0], [575542548979585, 0, 0, 0], [95029904806324, 0, 0], [(-85811326004475), 0], [(-5519323723541)]]], rm := 4503599627370496, rhoP := [[[28056525282882393797]], [[287358362769432846, (-4657076350004500540)], [1116211188415020493]], [[(-85670319922689581), (-204777161915365257), 691009625686427021], [48927125501173179, (-698139044331455146)], [40095852513087244]], [[11359701289670534, 55226805559859216, 63643592759527303, (-96865880046149119)], [(-14707657223146328), (-48211277643091107), 176292988668044789], [4409107279207676, (-41971244276447342)], [1164710098189605]], [[(-849319705532099), (-6390463422858674), (-14469621523388468), (-14775780675220514), 13037115892342368], [1842368191126533, 12517577317454561, 21775696655436969, (-34498085760404840)], [(-1194621729217939), (-5891222147505233), 18819139272607961], [323719761166516, (-1775647502667393)], [27520221384638]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 8070450532247928832 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 6917529027641081856 8070450532247928832 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 8070450532247928832 9223372036854775808 13835058055282163712 1152921504606846976 2305843009213693952 :=
leaf_0
end CKLaneC.RST2.U_0523
end