Courtade–Kumar proof module `CKLaneC.RST2.U_0497 (+1 modules: CKLaneC.RST2.U_0498)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0497__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0497 (+1 modules: CKLaneC.RST2.U_0498) 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_0497 (+1 modules: CKLaneC.RST2.U_0498) 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_0497 =====
section
/-! RA-stat u-tail cover batch U_0497 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0497
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 := 6917529027641081856, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[3780887697898156562]], [[161074085441146559, 1185142405066398448], [204838546794560610]], [[(-20159691029125348), 44189660405182857, (-34955558582530940)], [10926904858874091, 56196164615506251], [1407195327348225]], [[1292781139278106, (-5924575335663624), (-4201517316540874), (-2536665550691271)], [(-1137495570788209), 1995901706903278, (-5343086065615897)], [185647131403146, (-250957723895928)], [295167651949623]], [[(-15862261851146), 448278319292668, 374389461527462, (-193503036073447), 278229781030518], [41179865267663, (-259138818871757), (-670255067199603), (-246078570622105)], [(-10227013703678), (-48099461966036), (-281657324571517)], [16191916804317, 61972360180517], [(-8892693286520)]]], r0 := 4503599627370496, V1 := [[[8673850259833319381]], [[277691741775475390, 0], [353141678168474594]], [[(-38874722519602120), 0, 0], [8360638184843720, 0], [(-4236036778712262)]], [[3286303234959795, 0, 0, 0], [(-1107925682364273), 0, 0], [(-334623397604426), 0], [471619402561063]], [[(-167167089071514), 0, 0, 0, 0], [98982216328580, 0, 0, 0], [42452855369208, 0, 0], [12419595169153, 0], [(-31782478774819)]]], r1 := 4503599627370496, V2 := [[[12824320148224879743]], [[171475535877426284, 333916736478003555], [(-795949775162447095)]], [[(-23175161849346842), (-1431872839563087), (-16123316909823600)], [22277090902076397, 96103490480859872], [(-28853679734426237)]], [[1859956499394126, (-235055809496689), (-447467954738939), 657818668417540], [(-2621091853443447), 537949186419728, (-6561905223969340)], [(-121325947319072), 9811132491329973], [(-1286127903265699)]], [[(-83597752798581), 97635281431203, 89745066430036, 45089482859324, (-21574010556091)], [139889877901511, (-216031167539949), (-292341909997876), 319398489431770], [82797672395014, 340295552917938, (-982373998244306)], [(-105008483473336), 440635053368484], [(-26613621272576)]]], r2 := 18014398509481984, Vm := [[[14665705552212422407]], [[162981091351816856, 0], [(-300629091511512204)]], [[(-23883309213640220), 0, 0], [20571731187076060, 0], [15057920506706379]], [[2309134825733846, 0, 0, 0], [(-3008572473295560), 0, 0], [36492589961771, 0], [271743051946536]], [[(-167714317142211), 0, 0, 0, 0], [295631008926156, 0, 0, 0], [(-11133089987013), 0, 0], [(-31578932709500), 0], [1767509924349]]], rm := 1125899906842624, rhoP := [[[30565780027784514155]], [[102894987452701645, (-3846558880397399897)], [2203356050473335527]], [[(-47500745959682870), (-55267582823615975), 444383450763544419], [25621325441078442, (-946327915561020441)], [148577036636356887]], [[6834559800068455, 21273205942696805, 14059882966880545, (-49475480848524352)], [(-12332633022139458), (-20469104091832752), 185158468077116602], [3929245612861256, (-106827306478205538)], [9279040482867534]], [[(-616512321663205), (-2880618151571384), (-4400131371453011), (-2615965139329917), 5386976761416663], [1779938768228769, 7657708702154805, 7513612375191720, (-28954458231352400)], [(-1615504146824363), (-4182418114428600), 35298157362129574], [521340208127388, (-9464852890033236)], [561013563560624]]], rhoR := 288230376151711744 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 4611686018427387904 5764607523034234880 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 4611686018427387904 5764607523034234880 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 6341068275337658368, bh := 576460752303423488, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 815238614083436544, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[4198445893005761400]], [[183798092168507333, 1296963849593281056], [213805952664684981]], [[(-22488412318295755), 47980383884036117, (-46874816449642227)], [11860587308529705, 55813918221406704], [3043157505676651]], [[1371222419056462, (-6432923127514760), (-5702208754033363), (-2995843079515418)], [(-1197466788989614), 1787906637156056, (-6633181882167033)], [281166549118092, 33468689134042], [261066699094414]], [[(-8620634864731), 488459876445838, 496009537246562, (-177783286351547), 435330616350860], [37434495222200, (-249894030008368), (-837176370965297), (-206809137449599)], [(-19624969522890), (-58490922645835), (-367319638197199)], [16136108350597, 35305722824884], [(-582450719619)]]], r0 := 4503599627370496, V1 := [[[9366527486336892183]], [[293156266105709349, 0], [341018527531226844]], [[(-40932359398096241), 0, 0], [7137026246936543, 0], [(-1998116335033476)]], [[3474202191567672, 0, 0, 0], [(-954466829611870), 0, 0], [(-284457546822923), 0], [296945688809307]], [[(-182031864637676), 0, 0, 0, 0], [89313416433983, 0, 0, 0], [35256903192735, 0, 0], [5067955758692, 0], [(-14534932637805)]]], r1 := 1125899906842624, V2 := [[[11106324919914951104]], [[214526562681585222, 568858807420619076], [(-927557802238387192)]], [[(-27931778537932566), 1601067645546469, (-33505092456057853)], [20165901231618110, 140523059914359404], [(-37106098470868404)]], [[2053061898136007, (-983856838650253), (-1491874467560835), 1479252252312967], [(-2048467519358006), 2847779073129109, (-10918258702500774)], [(-1038575424097792), 12311538031324014], [(-1437578890479037)]], [[(-66672408954489), 213116573034683, 244170119355423, 157412384405520, (-34616903481576)], [46336416917419, (-571738406020901), (-824330118273369), 469636004261568], [213422796564965, 871096886220752, (-1117521798328381)], [(-209357440874474), 348726904650522], [(-5838065951709)]]], r2 := 72057594037927936, Vm := [[[14126867965172385750]], [[204002995100856903, 0], [(-237113238951877502)]], [[(-29907164634499352), 0, 0], [20309146549397400, 0], [16697442336409545]], [[2907620197680733, 0, 0, 0], [(-2994769182559592), 0, 0], [(-174904267760428), 0], [269157972927423]], [[(-214526499195647), 0, 0, 0, 0], [300828032172922, 0, 0, 0], [19631341001130, 0, 0], [(-38649491471802), 0], [(-2439325072216)]]], rm := 1125899906842624, rhoP := [[[35651171953512095659]], [[175101715968673318, (-6255957205503397760)], [2929945550364490256]], [[(-80316252822151271), (-119728089263393517), 1000507687121855412], [49864641476676560, (-1515753532268059325)], [220809176700235161]], [[11494791857159485, 44212392252414787, 41469310321277530, (-153463856763502031)], [(-21507514966749871), (-48421298129602562), 398572910079812405], [8918223676413520, (-186488833025098387)], [15413414431743222]], [[(-980417657743453), (-5813406378622063), (-12458910016996339), (-10648555081313110), 22928133709716291], [3001267613207810, 16526129151779021, 22834933971873632, (-84658106335792637)], [(-3169220671065570), (-10958077747017312), 77238439391032005], [1259532505484968, (-18156007973098816)], [1026465963674294]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 5764607523034234880 6917529027641081856 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 5764607523034234880 6917529027641081856 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 4611686018427387904 6917529027641081856 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(TailPosI.split_b 5764607523034234880 leaf_0 leaf_1)
end CKLaneC.RST2.U_0497
end
-- ===== source module CKLaneC.RST2.U_0498 =====
section
/-! RA-stat u-tail cover batch U_0498 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0498
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[4620628401867219044]], [[88944069335578113, 1404122235438170358], [115351876246737814]], [[(-5468195076969927), 21915053604573603, (-61038552161240197)], [2875356302901010, 28421710072626607], [1099487391893328]], [[171614573174530, (-1490207404935333), (-3208430847512850), (-3319255535502697)], [(-148555752349021), 337830926997694, (-4161025246912971)], [40940267963078, 30567177717503], [34780558395892]], [[(-958077311956), 59086192160032, 150074657719161, (-47029468770905), 644205323025689], [2652694439897, (-26042663997882), (-226088044550757), (-60992683403582)], [(-1678065923332), (-9301209125682), (-119010231109249)], [999471503825, 2313242822574], [222712171207]]], r0 := 1125899906842624, V1 := [[[10013787584034225152]], [[130989681080852070, 0], [169880977950646303]], [[(-9157318571175593), 0, 0], [1370511867448141, 0], [(-237982251363167)]], [[394454177454490, 0, 0, 0], [(-90967185436323), 0, 0], [(-29603612464300), 0], [28782755962446]], [[(-10926266917235), 0, 0, 0, 0], [4271583753190, 0, 0, 0], [1848354958687, 0, 0], [84066335611, 0], [(-546112907053)]]], r1 := 17592186044416, V2 := [[[9738352902797307074]], [[105709523476271932, 811902309704768382], [(-520631585378864900)]], [[(-6752950985125454), 3167902493406432, (-53669067668379156)], [3516707249316133, 91063692418055089], [(-11124494806891889)]], [[238715666322273, (-415726998653493), (-1393845682149001), 2233996354211787], [(-154628281490878), 1348056328533442, (-7237002486830373)], [(-235462573550197), 3485147348304735], [(-187756282248663)]], [[(-3316785799463), 33671732981251, 99021002079629, 147835032197389, 12140222604910], [(-831749357637), (-106341587233533), (-342330098355518), 152388321959184], [18452686138344, 165806359675683, (-193840461586597)], [(-17754131980553), 10621719322970], [1891464946664]]], r2 := 4503599627370496, Vm := [[[13916769913072574929]], [[100405835840113105, 0], [(-88159372641491127)]], [[(-7309575160498554), 0, 0], [4182867619930274, 0], [4424171492827688]], [[353325611157991, 0, 0, 0], [(-306309601995627), 0, 0], [(-38746024766609), 0], [28212279366493]], [[(-13009633825120), 0, 0, 0, 0], [15313903347637, 0, 0, 0], [2658427589527, 0, 0], [(-2231937051470), 0], [(-362783571436)]]], rm := 17592186044416, rhoP := [[[40708577550940555746]], [[83131401572485232, (-9111990469731609535)], [1873710771473504647]], [[(-24076277675045198), (-76608874282622905), 1854962540800540909], [14162238205749388, (-1131638422552014803)], [78436830227665992]], [[1767767052085626, 15903418486798129, 35408766979786983, (-361636625428247195)], [(-3422106276916557), (-17418070920167235), 371378288160844717], [1515922135711582, (-76022973071198030)], [3056528399181407]], [[(-75692845084203), (-1068458692605211), (-5722486475484687), (-11881443552845068), 68583794567815932], [242943229174207, 3162285116475588, 10404753517027141, (-99337110444571318)], [(-280929916053990), (-2219291785126200), 37761762089698098], [120581948568495, (-4085427321109002)], [113561262320007]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 7205759403792793600, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 6917529027641081856, th := 2305843009213693952, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[4421443129903692033]], [[112667683382741401, 1354336756852063366], [109048400907056995]], [[(-6498303256528910), 28556296143773629, (-54090429623912709)], [3491701168783411, 27638967420039119], [1011825153926493]], [[172329936635990, (-1867941488507061), (-3795952067481630), (-3189818787622904)], [(-161156350803383), 457369588513444, (-3674012728854216)], [47405121522698, 49510048285016], [32604729659885]], [[878394936384, 67563394322702, 142972671023955, (-85925573529302), 539234772854829], [1483137875914, (-34511999598142), (-264691212591112), (-83165341729459)], [(-1548769227852), (-9693696270626), (-105253244699858)], [1196763513926, 2975439962145], [200841106639]]], r0 := 1125899906842624, V1 := [[[9714839512752776234]], [[172304876089286056, 0], [166769837116429594]], [[(-11772944909736528), 0, 0], [1787890277688873, 0], [(-171562255895633)]], [[486927703678397, 0, 0, 0], [(-121321156871420), 0, 0], [(-37630816444392), 0], [28581664942007]], [[(-12334981101086), 0, 0, 0, 0], [6064350236812, 0, 0, 0], [2199634616995, 0, 0], [120530888207, 0], [(-515714346769)]]], r1 := 70368744177664, V2 := [[[9500317809078760759]], [[135393524395184944, 803694195057421297], [(-528197493078725832)]], [[(-8238750365037697), 5276600287714286, (-50485333307944344)], [4103967840625639, 87929736104291360], [(-10577642304429785)]], [[258412131011361, (-665195029318889), (-1833534380490851), 1912164145525056], [(-137013848087833), 1836258149249542, (-6480075075766160)], [(-320121891739930), 3117640430616507], [(-148764753862327)]], [[(-1436796653525), 51173443188498, 122793771782407, 176523082088953, 25895104921293], [(-5434891767750), (-140974140453303), (-422048631942100), 85889213289024], [24408567264859, 205469344194937, (-125347059257052)], [(-21593070498754), (-8371001811390)], [3048296637474]]], r2 := 4503599627370496, Vm := [[[13686001632624224767]], [[133995480716676615, 0], [(-97786054202721955)]], [[(-9751891101576508), 0, 0], [5599002653302895, 0], [4512299322711367]], [[474105543197391, 0, 0, 0], [(-413748252456449), 0, 0], [(-50601450900249), 0], [33425065742767]], [[(-17704766926845), 0, 0, 0, 0], [21167514954732, 0, 0, 0], [3335111041173, 0, 0], [(-3077759316373), 0], [(-338229838028)]]], rm := 70368744177664, rhoP := [[[40434133442671617891]], [[201900499041781487, (-8888730546159097973)], [1830154334125855115]], [[(-36465698919303497), (-153327926682840303), 1759601247024502853], [30861869325102576, (-1083066677812056223)], [74180151242171044]], [[2408385952042130, 23036634552620354, 62143127991232876, (-331086692743699936)], [(-5063481435520122), (-32410421483493004), 344027142572536863], [2853836409274011, (-70115275102740583)], [2737814334806407]], [[(-83053047554716), (-1311954481101443), (-7762694083739330), (-19208668118915841), 60178702252915489], [305386303918793, 4414957887609431, 17490712542184878, (-88352088720405397)], [(-395080365615929), (-3812562950176689), 33618521676841130], [204599939723379, (-3557284062196065)], [93891101732553]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 815151532554059776 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 6917529027641081856 7493989779944505344 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(TailPosI.split_s 815151532554059776 leaf_0 leaf_1)
end CKLaneC.RST2.U_0498
end