Courtade–Kumar proof module `CKLaneC.RST2.U_0421 (+2 modules: CKLaneC.RST2.U_0422, CKLaneC.RST2.U_0423)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0421__3Verbatim transplant of the Lean module CKLaneC.RST2.U_0421 (+2 modules: CKLaneC.RST2.U_0422, CKLaneC.RST2.U_0423) 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_0421 (+2 modules: CKLaneC.RST2.U_0422, CKLaneC.RST2.U_0423) 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_0421 =====
section
/-! RA-stat u-tail cover batch U_0421 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0421
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 := 21421706684628992, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1950201803759342560]], [[2217908725489363, 1918891110036761812], [56893830900285116]], [[(-170824549412248), 2111390534276779, (-46078724481758011)], [107910083720192, 54161424517188428], [941939630336581]], [[8536780660579, (-162740726328119), (-154753524936484), (-13910754758708682)], [(-8069965849032), 96557390123354, (-3969739952673984)], [3060682736007, 817563132518403], [27882353134951]], [[(-305710224198), 8145271462727, 11750141917549, (-43449470145881), 1035158815167750], [385809457109, (-7222275289255), (-16202816732123), (-1114566518800839)], [(-224355074726), 2423932924980, (-176969027568066)], [94215647809, 23175488574794], [545391602398]]], r0 := 1125899906842624, V1 := [[[11222242459365735940]], [[6940636298301644, 0], [178041315838562040]], [[(-539473012059447), 0, 0], [86228574169467, 0], [(-277571973054238)]], [[27472308466390, 0, 0, 0], [(-6160897154370), 0, 0], [(-1632551506361), 0], [24813701917847]], [[(-1024092419323), 0, 0, 0, 0], [281016241698, 0, 0, 0], [128888647676, 0, 0], [(-5104448155), 0], [(-464381173933)]]], r1 := 4398046511104, V2 := [[[6973938335581976633]], [[5633849325747712, 1414964949635295896], [(-828528744662436400)]], [[(-427295523144788), 833338989910680, (-100727603945575756)], [(-178531574497697), 159914289252026368], [(-24312326461931887)]], [[20969501249425, (-66196495415531), (-222733728351477), 846717015781092], [13788827146831, 274905568730711, (-7460389727245690)], [(-63596507495185), 3637257952807283], [(-12591592225227)]], [[(-735121912336), 3472369678925, 17127604871287, 15563435243310, 792859711298962], [(-708134317330), (-20946530218401), (-44748453382496), (-1781713321407627)], [4756570426083, 26098212920403, 1369529305637531], [(-3267425761356), (-494346361483113)], [51692039876031]]], r2 := 18014398509481984, Vm := [[[14457992045369339690]], [[5705323718048895, 0], [(-44246730720708796)]], [[(-435360719227630), 0, 0], [217195135174277, 0], [4247894880757560]], [[21754883069816, 0, 0, 0], [(-16328354913598), 0, 0], [(-2626173987711), 0], [10826261316665]], [[(-798297675751), 0, 0, 0, 0], [801951200502, 0, 0, 0], [205785653420, 0, 0], [(-113808028733), 0], [(-458797795108)]]], rm := 1099511627776, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 18014398509481984 25473485392314368 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 7493989779944505344 8070450532247928832 0 4611686018427387904 18014398509481984 25473485392314368 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7782220156096217088, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 30294868122599424, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[1945061512108322697]], [[3006120470567460, 1913997042684453423], [56644949287358896]], [[(-229469814017086), 2862501914960270, (-45720970499709400)], [144881581792043, 53938715163096624], [934903602007052]], [[11299380948183, (-218727178243584), (-208689669874233), (-13810260488084653)], [(-10690045028017), 129654763999333, (-3932382578330299)], [4082996354070, 811991387045468], [27665914315024]], [[(-393862725599), 10793082337386, 15620272204489, (-58650367956939), 1022022368172543], [499163840637, (-9572840175932), (-21736465369788), (-1105161004401993)], [(-294033508049), 3233138547422, (-174933211897142)], [125513435541, 23023562595212], [539506972003]]], r0 := 1125899906842624, V1 := [[[11206130272832537080]], [[9438085840530947, 0], [177843802016921717]], [[(-729486568407730), 0, 0], [114271469931440, 0], [(-273772932297948)]], [[36862145773794, 0, 0, 0], [(-8063437127319), 0, 0], [(-2229968555433), 0], [24825208256632]], [[(-1358690265952), 0, 0, 0, 0], [361851680313, 0, 0, 0], [174647088916, 0, 0], [(-6552334659), 0], [(-462817989330)]]], r1 := 4398046511104, V2 := [[[6960913471117669913]], [[7599904352688325, 1413023255481606762], [(-828114608152851204)]], [[(-570901501425847), 1141322131244100, (-100211547504200092)], [(-242488775636925), 159278279537785533], [(-24165632169281764)]], [[27590881724377, (-90381864216897), (-301699805151771), 810909788607610], [18724099399397, 371343280845651, (-7357265424193564)], [(-85411786976103), 3577196537409216], [(-5091950316415)]], [[(-941239359449), 4722974621813, 22969896921086, 20790707937608, 788786809814243], [(-965034482971), (-28017835205133), (-59977503705045), (-1777104681237355)], [6315226735990, 34887695727317, 1368923716671255], [(-4345166593013), (-494102555632207)], [51551097335320]]], r2 := 18014398509481984, Vm := [[[14444786535144905778]], [[7714946969470272, 0], [(-44748255548367092)]], [[(-585499643078080), 0, 0], [292365609128561, 0], [4253999424663260]], [[29075118884271, 0, 0, 0], [(-21847805333105), 0, 0], [(-3580159891599), 0], [11089013794747]], [[(-1059888929082), 0, 0, 0, 0], [1066284965879, 0, 0, 0], [279000206187, 0, 0], [(-153158977185), 0], [(-459400367483)]]], rm := 1099511627776, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 25473485392314368 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 true 7493989779944505344 8070450532247928832 0 4611686018427387904 25473485392314368 36028797018963968 (by decide +kernel)))
theorem region : TailPosI 7493989779944505344 8070450532247928832 0 4611686018427387904 18014398509481984 36028797018963968 :=
(TailPosI.split_s 25473485392314368 leaf_0 leaf_1)
end CKLaneC.RST2.U_0421
end
-- ===== source module CKLaneC.RST2.U_0422 =====
section
/-! RA-stat u-tail cover batch U_0422 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0422
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 := 25476206690107392, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[2127407858642962235]], [[6037092425301977, 2086796318380095850], [126453222758770429]], [[(-929538779559655), 5692539843911180, (-59549449278036235)], [603516292199429, 119236208133631496], [4892051048708555]], [[92407727872216, (-877456955891453), (-497520389408386), (-17625077112945299)], [(-90108415105151), 528462922480404, (-10421085548601949)], [37937706658481, 4187548648582224], [288133760437204]], [[(-6517166838362), 87431404481776, 75258382502299, (-134745662861922), 1574677955254773], [8537495428621, (-78962504940667), (-106100401749221), (-2822389011346688)], [(-5552294722319), 28976481292959, (-993461112293824)], [2475324083790, 230645655106039], [13599887371444]]], r0 := 4503599627370496, V1 := [[[11746803514443604201]], [[16892915397407436, 0], [353839802889314345]], [[(-2632899135072500), 0, 0], [353419317131570, 0], [(-296091645839144)]], [[268437703412421, 0, 0, 0], [(-49910365063526), 0, 0], [(-16152723865146), 0], [162943009538828]], [[(-19989846917046), 0, 0, 0, 0], [4469385985731, 0, 0, 0], [2546988284158, 0, 0], [(-241349066614), 0], [(-4659302602721)]]], r1 := 70368744177664, V2 := [[[4269282677067455671]], [[10422427322729819, 1908048745607532640], [(-1934815766333097448)]], [[(-1587127845962158), 4391235105478709, (-103320154098602692)], [(-2964191832177249), 325160845414649914], [(-83379547017433931)]], [[155585259498591, (-682013250472905), (-750979517507576), (-9347019107640776)], [446998002881800, 1864323458585433, 15912684945072154], [(-783814992385858), (-13938665085996395)], [6638234951469537]], [[(-10768016543570), 68856150465287, 113894590969232, (-35965913694072), 2066727312325554], [(-43479994362309), (-280499404224842), (-29083950594162), (-10082080336056440)], [115880949274186, 83756355381016, 14975374939686984], [(-9906189947939), (-8430810611134153)], [1328115074474197]]], r2 := 288230376151711744, Vm := [[[14356961039968376974]], [[14845773933955204, 0], [(-37461541712435207)]], [[(-2274755603289757), 0, 0], [928282941271530, 0], [17292422792171157]], [[228108992707270, 0, 0, 0], [(-139846276731990), 0, 0], [(-34108068994455), 0], [40107770669124]], [[(-16793450955345), 0, 0, 0, 0], [13754788742781, 0, 0, 0], [5312382444149, 0, 0], [(-2012448844329), 0], [(-8351415805142)]]], rm := 70368744177664, rhoP := [[[0]]], rhoR := 0 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 18014398509481984 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 true 8070450532247928832 9223372036854775808 0 4611686018427387904 18014398509481984 36028797018963968 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 9223372036854775808 0 4611686018427387904 18014398509481984 36028797018963968 :=
leaf_0
end CKLaneC.RST2.U_0422
end
-- ===== source module CKLaneC.RST2.U_0423 =====
section
/-! RA-stat u-tail cover batch U_0423 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0423
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 := 2305843009213693952, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[1486091944178097854]], [[6244910932145169, 1472212269980640431], [90175804350714932]], [[(-962314718452602), 6070227207705687, (-20590487621044558)], [591607338617612, 87653391216329701], [1360571938463211]], [[95387390737011, (-936127671140021), (-257225634347865), (-6486306149926900)], [(-87193086949061), 553948093132691, (-3714308935543727)], [22316133719647, 1170095708736104], [153874830543241]], [[(-6644834375796), 92943475191838, 38581081765055, (-77874407441375), 275086165229509], [8060448921073, (-81683145903464), (-54874237602823), (-1124497595828633)], [(-3121964010873), 18743733256945, (-276294096680963)], [1420107961566, 141940109141703], [(-1328571400247)]]], r0 := 1125899906842624, V1 := [[[9529962769857782810]], [[26350974568110003, 0], [380505078923248010]], [[(-4113560334274258), 0, 0], [966143794626090, 0], [(-5306881947280527)]], [[418889688091042, 0, 0, 0], [(-139376726181284), 0, 0], [(-33677793026800), 0], [509434958416727]], [[(-30944963934760), 0, 0, 0, 0], [12827384977924, 0, 0, 0], [5307574530030, 0, 0], [1119976925095, 0], [(-35722877959643)]]], r1 := 281474976710656, V2 := [[[12639709255787708337]], [[18182520793705502, 404141690336514708], [(-947162082995966664)]], [[(-2753358024082177), (-330240467755586), (-22722049050836320)], [2536269688659830, 131258992381035556], [(-55623010889968231)]], [[269533989534497, 38184656372049, (-48482435429250), 1069003191541999], [(-373694374338741), 69195105068744, (-10299609095470728)], [(-51189369495990), 16754131652181932], [(-3292132840646583)]], [[(-18857952301397), (-1895776785188), 8544399269412, 6489496954719, (-39531560965975)], [34806109280134, (-14831582368002), (-44366453996274), 567026217686863], [9309540660374, 68690404347872, (-1804198074086588)], [(-29563224732630), 1084992681995359], [(-102317486988486)]]], r2 := 18014398509481984, Vm := [[[15162962684756640401]], [[15551431170724988, 0], [(-237454133036081974)]], [[(-2375442874816589), 0, 0], [2017143595585980, 0], [15143813316115838]], [[237324110358055, 0, 0, 0], [(-303842738105183), 0, 0], [4249442448880, 0], [171651872956668]], [[(-17397556492406), 0, 0, 0, 0], [29882133344324, 0, 0, 0], [(-346684811207), 0, 0], [(-3326284581493), 0], [(-594733584525)]]], rm := 281474976710656, rhoP := [[[40017473632306938772]], [[(-161357331585657751), (-6369349486264706391)], [5018515460158074737]], [[2444415119543008, 59805661911101936, 955603703515419914], [(-53035895233809917), (-2219126797781759168)], [594935413557809899]], [[511495720013513, (-602386138539901), (-11778819163516904), (-140117474113514512)], [891505217159366, 27565027506242075, 544503265770233294], [(-8928975943827831), (-429360912844292653)], [68492883348103260]], [[(-74577861449065), (-255240563658006), 17611510354166, 1985048652107093, 20289391228749342], [182406746774736, (-258509856521775), (-7808535469674149), (-110758211857534265)], [125318414744052, 6711237975763538, 161224097653574067], [(-1218691894800717), (-68676086817730594)], [7778955089077776]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5764607523034234880 0 4611686018427387904 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5764607523034234880 0 4611686018427387904 36028797018963968 72057594037927936 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 5764607523034234880 0 4611686018427387904 36028797018963968 72057594037927936 :=
leaf_0
end CKLaneC.RST2.U_0423
end