Courtade–Kumar proof module `CKLaneC.RST2.U_0451 (+2 modules: CKLaneC.RST2.U_0452, CKLaneC.RST2.U_0453)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0451__3Verbatim transplant of the Lean module CKLaneC.RST2.U_0451 (+2 modules: CKLaneC.RST2.U_0452, CKLaneC.RST2.U_0453) 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_0451 (+2 modules: CKLaneC.RST2.U_0452, CKLaneC.RST2.U_0453) 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_0451 =====
section
/-! RA-stat u-tail cover batch U_0451 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0451
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1694515942751501531]], [[36228900635408928, 1673954599757115486], [45894161072741097]], [[(-2106215044406603), 34912963828885752, (-30401398215713415)], [1414197479126085, 44227154492334508], [659722348098200]], [[56474328693260, (-2057692908154584), (-1926957132454203), (-9410721525249767)], [(-65039816220229), 1291936586831379, (-2441036837057263)], [32946249230193, 590856189692163], [19416233768519]], [[298229877027, 57481450522957, 72049834534730, (-565754149004578), 522880378306244], [465278999627, (-61481749123867), (-176501671441003), (-716687826199466)], [(-1100239712669), 27024068929933, (-99241230611447)], [964387181315, 17023491340832], [328219318715]]], r0 := 1125899906842624, V1 := [[[10352819709590442085]], [[133612754591025153, 0], [169258386896230517]], [[(-9331909003189144), 0, 0], [1252692514935994, 0], [(-76994768366431)]], [[402764547039458, 0, 0, 0], [(-83641292504734), 0, 0], [(-29405981409909), 0], [25094217122197]], [[(-11286754230832), 0, 0, 0, 0], [4039874758412, 0, 0, 0], [1821190518597, 0, 0], [(-15981610133), 0], [(-384844304796)]]], r1 := 17592186044416, V2 := [[[6345757678496066303]], [[87890938588225280, 1302419556328204386], [(-804442280974809900)]], [[(-5021308812524603), 17951489109093163, (-75844414694562436)], [(-3969862735224683), 129398866012943090], [(-17629096804593758)]], [[128913780603428, (-1310848533906948), (-3375355743886662), (-456410547272622)], [309126177532159, 4188329444656102, (-3313084624567790)], [(-886484455454676), 1260738941106475], [259259671318197]], [[1346829984005, 57788768111695, 170452612462851, 123430395444720, 567049058426470], [(-14850854277607), (-222898572982166), (-462688042965455), (-1438496043635577)], [43673862710301, 263492581222276, 1213580652418602], [(-26770409120896), (-439158490185861)], [41208379445246]]], r2 := 18014398509481984, Vm := [[[13758367362520829891]], [[108598617407904961, 0], [(-70136707809562732)]], [[(-7910122522276569), 0, 0], [4000885923519852, 0], [4583783479996445]], [[383442442519923, 0, 0, 0], [(-293509777570621), 0, 0], [(-52280963018915), 0], [24836516412432]], [[(-14222106673310), 0, 0, 0, 0], [14758733328776, 0, 0, 0], [3749746166845, 0, 0], [(-2267885644347), 0], [(-479055560560)]]], rm := 17592186044416, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 7493989779944505344 8070450532247928832 0 4611686018427387904 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1613974995257870893]], [[45231242287624969, 1596202982103867371], [42832533759389617]], [[(-2428935370206855), 43740027379997077, (-26312362452673743)], [1674516108455207, 41420401135056371], [590346504110118]], [[50963329565394, (-2390440918605044), (-2188531259960031), (-8202725850305143)], [(-65420394859950), 1540551374362243, (-2072468814356761)], [36873316517333, 533592843096058], [17396220007997]], [[1110549259002, 53368558061629, 57841062388534, (-650595634899862), 412191577766127], [(-379540708986), (-63194970731842), (-194059625682097), (-616093171139454)], [(-851871601973), 30632064582186, (-82085592123891)], [1068218181169, 15471410950167], [280617979201]]], r0 := 1125899906842624, V1 := [[[10047913899670178383]], [[175730827632157244, 0], [166411449839377939]], [[(-12006855649210636), 0, 0], [1638277240268468, 0], [(-11086680595282)]], [[498827469429541, 0, 0, 0], [(-112614613471979), 0, 0], [(-37305104572899), 0], [25119616200283]], [[(-12895561252351), 0, 0, 0, 0], [5836656991325, 0, 0, 0], [2161968395574, 0, 0], [(-9040716677), 0], [(-358250368642)]]], r1 := 70368744177664, V2 := [[[6150788000763769436]], [[109260544580220326, 1261203561877478113], [(-795235136683887408)]], [[(-5736346016300677), 23874345041638025, (-68474115636237155)], [(-5381669840691680), 120194040836155565], [(-15697760456381462)]], [[107880209585339, (-1687188670556352), (-4060799032386742), (-693077608065310)], [405455067351022, 5107067008594149, (-2363838194596778)], [(-1062110148110183), 720357492199418], [311731960148533]], [[4097151734834, 68510032173967, 172260858880598, 112392891796397, 494366134216563], [(-17342196300896), (-237780064378052), (-489450318058984), (-1302658134372655)], [44149266803403, 278536343507527, 1129068169811000], [(-25626337027555), (-409563533105637)], [36992367181559]]], r2 := 18014398509481984, Vm := [[[13508740261706379004]], [[144966226148150597, 0], [(-79347699318519599)]], [[(-10563964777501000), 0, 0], [5359219629202640, 0], [4703615217064310]], [[515825394032811, 0, 0, 0], [(-397265192442068), 0, 0], [(-69375867302195), 0], [30163320713166]], [[(-19456492631712), 0, 0, 0, 0], [20482420109330, 0, 0, 0], [4924469953465, 0, 0], [(-3163210284609), 0], [(-475757460067)]]], rm := 70368744177664, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 true 7493989779944505344 8070450532247928832 0 4611686018427387904 815151532554059776 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(TailPosI.split_s 815151532554059776 leaf_0 leaf_1)
end CKLaneC.RST2.U_0451
end
-- ===== source module CKLaneC.RST2.U_0452 =====
section
/-! RA-stat u-tail cover batch U_0452 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0452
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 8646911284551352320, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1795906186999307506]], [[91860687698555499, 1771438633853429771], [97436812654689789]], [[(-10082932889141644), 88115323876182262, (-36112739513560364)], [7199169652913926, 93464097859849727], [3245132021459376]], [[445713311732303, (-9862233005903374), (-5468066307438812), (-11073513647443393)], [(-590599091980592), 6501720524778289, (-5799988719110308)], [368816301060470, 2898599821545130], [184771461756567]], [[17322351244207, 466172472608575, 329831887210788, (-1578753552383002), 693976681005966], [(-3547145650654), (-562104240525461), (-1002080408372743), (-1674587007406950)], [(-20477772348157), 297981791144913, (-497348836974745)], [22263705548701, 159189474796718], [7721876649320]]], r0 := 4503599627370496, V1 := [[[10714772739155564252]], [[317330698254086281, 0], [336593297633798471]], [[(-44215003917460104), 0, 0], [4962674455408410, 0], [652700034560376]], [[3799599528672470, 0, 0, 0], [(-689859433328590), 0, 0], [(-274263817252041), 0], [173624343435014]], [[(-211732141165255), 0, 0, 0, 0], [73711366828129, 0, 0, 0], [32885891422616, 0, 0], [(-2661131021398), 0], [(-3298530297671)]]], r1 := 1125899906842624, V2 := [[[3713682669948286794]], [[151404426034395638, 1654032435548816584], [(-1776426606608764399)]], [[(-16055183246992507), 73544369656143332, (-66793198670700398)], [(-43898873793436373), 234450411401279394], [(-47454179960138702)]], [[617062432306950, (-8882492660020075), (-8848770663643113), (-6996992135720851)], [4871859686850884, 22415087571133693, 15196423389961291], [(-8451474094930156), (-15578642727360978)], [6359043270489559]], [[42616017463084, 520781224292503, 623061072931252, (-707909200627458), 1039503644382773], [(-216188699508869), (-1755868121588579), 684746455898997, (-5620291824961670)], [555806343046499, (-171137857687497), 8843726470030103], [247337372689325, (-4960956062853539)], [657182009061876]]], r2 := 72057594037927936, Vm := [[[13461739702422354277]], [[279820988854150169, 0], [(-91781004664215633)]], [[(-41152903115965046), 0, 0], [16923148316798122, 0], [19424487467537236]], [[4055240795118721, 0, 0, 0], [(-2515747884153048), 0, 0], [(-678116105122377), 0], [164367635277630]], [[(-309146510118205), 0, 0, 0, 0], [258692956114224, 0, 0, 0], [103072151476544, 0, 0], [(-41656791562684), 0], [(-10168559352905)]]], rm := 1125899906842624, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 8070450532247928832 9223372036854775808 0 4611686018427387904 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 576460752303423488 1152921504606846976 :=
leaf_0
end CKLaneC.RST2.U_0452
end
-- ===== source module CKLaneC.RST2.U_0453 =====
section
/-! RA-stat u-tail cover batch U_0453 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0453
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 4899916394579099648, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1118591687514328894]], [[87779514455037857, 1112666112777546314], [31532692013720695]], [[(-9194487330720394), 86385843084334184, (-8832874709762154)], [3054131703586138, 31032048892446096], [107637358720378]], [[345004357228814, (-9157612919390660), (-2068766734562724), (-2852433694894903)], [(-220529445942669), 2927253914992322, (-743154991163809)], [29569555938682, 91848991525678], [12968222749319]], [[19755778893793, 359556597699479, 56437969547904, (-653695643017905), 67814069007635], [(-4151249099590), (-219456098943544), (-187114980665932), (-234824531782447)], [530659895279, 25010804028831, (-23216686927690)], [1440822454740, 12535166803457], [(-203517132545)]]], r0 := 1125899906842624, V1 := [[[7783381992198537707]], [[466662347269500016, 0], [167637291709860721]], [[(-61254427246971662), 0, 0], [7346727827367713, 0], [(-1024519545325309)]], [[4530710885585069, 0, 0, 0], [(-989780239612509), 0, 0], [(-142047624311163), 0], [62880425080278]], [[(-152243571078226), 0, 0, 0, 0], [94975675847813, 0, 0, 0], [15620369196430, 0, 0], [3221135993740, 0], [(-2221939246176)]]], r1 := 1125899906842624, V2 := [[[12168594968016109609]], [[265319582058839088, 343997101476742127], [(-507800812826583538)]], [[(-31532106646260412), 4049072392320305, (-14968056888018668)], [14802212657215542, 53939816075014601], [(-11652974922587428)]], [[1809347798190120, (-1731911600523023), (-1135087966192875), 530114309411377], [(-1062040968806903), 1844969561230816, (-3196010911738219)], [(-521609375650270), 2928979536369982], [(-213156808480041)]], [[15003593134686, 332516039817581, 192663951969144, 83110463647296, (-13728246321708)], [(-62950950009787), (-419114472468643), (-352631719319616), 126131257306327], [117267696227206, 280460239882836, (-230743214759435)], [(-50583116452880), 50130771563586], [1836830484664]]], r2 := 4503599627370496, Vm := [[[14413907533069418881]], [[271326980613926353, 0], [(-184995553889081180)]], [[(-39573808861602280), 0, 0], [18237357462766685, 0], [3597634019042885]], [[3824266693979166, 0, 0, 0], [(-2680787843327309), 0, 0], [52113165774115, 0], [42915536255258]], [[(-276749103323710), 0, 0, 0, 0], [267758682603077, 0, 0, 0], [(-13490998670879), 0, 0], [(-6135008012422), 0], [353678323118]]], rm := 1125899906842624, rhoP := [[[37134603511806573732]], [[808177302367188384, (-4996313521056733087)], [2121928634568174033]], [[(-197440260614814313), (-346221384253368879), 604303083332052010], [145132483950739483, (-810541324688898148)], [108538354671277203]], [[20969834593634485, 73654644766839892, 77792643267426277, (-69376234189928873)], [(-32877051267961701), (-87516036282026988), 159016842109024140], [14725006085584709, (-66836226683683674)], [4987661642303218]], [[(-732192611886474), (-5616289369333300), (-13472398875120105), (-13724170087928080), 7683335408628487], [2670067377563391, 16654265528601024, 27253391173974046, (-25021845876819340)], [(-2821352536436220), (-11989486728187302), 20263329716068511], [1197590575214969, (-4251520408612138)], [210090539364135]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5188146770730811392 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5188146770730811392 0 4611686018427387904 1152921504606846976 2305843009213693952 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 5476377146882523136, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 1630477228166873088, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1182188550930194685]], [[94017555745726631, 1175194906195693474], [32113433660067259]], [[(-9633978452056526), 92350746827456777, (-10417338202505440)], [3189664820140984, 31544104270504816], [181626551059191]], [[334926977909790, (-9595387415745156), (-2471180585488842), (-3351478627248678)], [(-219220990917652), 3042800817642733, (-844077397723129)], [38211425023940, 162982102377704], [11854847016815]], [[22548392431730, 352616133967909, 59516550536082, (-775846752841860), 89138496022837], [(-5949888613951), (-218603605073800), (-216165193244827), (-265004796499384)], [141052543297, 32745468867405, (-27373327165535)], [1454858925896, 11332020024337], [(-82934149075)]]], r0 := 4503599627370496, V1 := [[[8115028923305534065]], [[480811016170462170, 0], [164229888219801738]], [[(-63174518173274685), 0, 0], [6812546765260667, 0], [(-693529703453274)]], [[4718397815984544, 0, 0, 0], [(-931680048717759), 0, 0], [(-126099562502811), 0], [48479628291084]], [[(-168569467932560), 0, 0, 0, 0], [92805707925280, 0, 0, 0], [13561389134303, 0, 0], [2160918309019, 0], [(-1445102868984)]]], r1 := 1125899906842624, V2 := [[[11104715602403699206]], [[292402129965222921, 463949165964638166], [(-556886332375331598)]], [[(-33141420850674976), 9032896624778678, (-22280037808344594)], [12047065712270065, 66164139053513565], [(-12861711208416317)]], [[1624920005029488, (-2735121962840469), (-2048695569257856), 801901055031370], [(-524540320012759), 3229546473984799, (-4105258573449438)], [(-871542506794408), 3154620831410865], [(-184864156277645)]], [[57528886682815, 449639489970791, 300373030380804, 153924815166544, (-15285877972546)], [(-120936833779920), (-588051079274283), (-572809661848098), 139129993911946], [151256039432595, 416262938168071, (-214015212504906)], [(-66106035523107), 21425136266601], [5509760492752]]], r2 := 18014398509481984, Vm := [[[14058655562779476809]], [[307958873107985088, 0], [(-170079671145583184)]], [[(-44982933326091895), 0, 0], [18367782686431670, 0], [3862653135045179]], [[4370115338118286, 0, 0, 0], [(-2724871068757890), 0, 0], [11977304628638, 0], [45259471840267]], [[(-320112233076460), 0, 0, 0, 0], [277853388161955, 0, 0, 0], [(-8288606558352), 0, 0], [(-7255830318813), 0], [230005229351]]], rm := 1125899906842624, rhoP := [[[41856146963884668907]], [[1168434620176539080, (-6922754746065632277)], [2623340724199010584]], [[(-276054581491545571), (-580825678240934512), 1019604151663438607], [221529757116001794, (-1137100499042882008)], [144203652290780836]], [[26573047475763807, 115796098498897701, 158006658456552239, (-141403375574129316)], [(-46597310102217460), (-153991354284740393), 265585063734402139], [24390056959218611, (-98740667341278386)], [7028236792792072]], [[(-244452116858388), (-6598640565862358), (-24521658771963738), (-33844876169071642), 18762753781356314], [2855923970911814, 26169477493231167, 56716758592721906, (-49770131349891432)], [(-4112143126926668), (-22430618407955731), 34282016454538134], [2120531049552947, (-6555971325227361)], [305811275887299]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 5188146770730811392 5764607523034234880 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 5188146770730811392 5764607523034234880 0 4611686018427387904 1152921504606846976 2305843009213693952 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 5764607523034234880 0 4611686018427387904 1152921504606846976 2305843009213693952 :=
(TailPosI.split_b 5188146770730811392 leaf_0 leaf_1)
end CKLaneC.RST2.U_0453
end