Courtade–Kumar proof module `CKLaneC.RST2.U_0396` (transplant)
DefinitionCK_CKLaneC_RST2_U_0396Verbatim transplant of the Lean module CKLaneC.RST2.U_0396 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_0396 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_0396 =====
section
/-! RA-stat u-tail cover batch U_0396 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0396
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 2824069399768465408, bh := 0, bN := 209, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 25476206690107392, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[7085980914758664116]], [[11060878503992145, 808595737024976262], [(-446951132580581373)]], [[(-1766786621987798), 661580882854510, (-33574695802153473)], [(-820909316589323), (-26733348963082895)], [29038356567928172]], [[185354997780346, (-106976969071338), (-122557625905834), 211101139686727], [124667046314419, 56018194621212, 4952343494707897], [51569922289678, (-386976839393977)], [(-1988077999354068)]], [[(-14258011486887), 11501697631542, 19507095651341, 5846661812760, 84235780508395], [(-12259344106463), (-9090808336776), 14704092020667, (-236253577695988)], [(-7511413485674), (-13583852343591), (-435061724406482)], [(-2758594299146), 184498261327799], [141710489791833]]], r0 := 4503599627370496, V1 := [[[7861291252511550537]], [[11605936656378327, 0], [(-468975997824635538)]], [[(-1855200277085691), 0, 0], [(-752266602633365), 0], [28265128209221301]], [[194919943912224, 0, 0, 0], [113612775977491, 0, 0], [37788794939466, 0], [(-1784311810229981)]], [[(-15040191851777), 0, 0, 0, 0], [(-11106710974904), 0, 0, 0], [(-5360288988084), 0, 0], [(-1244369040301), 0], [117825113576658]]], r1 := 4503599627370496, V2 := [[[16214280877513243880]], [[3991479216741679, 59640530424906896], [433027033904391220]], [[(-625144738448220), (-73221488241024), (-1417757829945531)], [(-966551342541599), (-25297062669449984)], [(-42102408053606847)]], [[64288347466456, 10924699566342, 826316148726, 31713654836440], [150171991825038, 33661909447026, 914686468115161], [123377536845453, 5503580111652233], [2870225396480357]], [[(-4864162403422), (-1046035801162), (-103940322967), 4352877303, (-678244774465)], [(-15278539833034), (-5026858784832), (-501437007282), (-27210637065116)], [(-19054610570025), (-7657595444721), (-300085044999682)], [(-11453144457182), (-833387149049912)], [(-177749494316623)]]], r2 := 4503599627370496, Vm := [[[16391117487712814919]], [[4110874189453620, 0], [350757874126275013]], [[(-640503290050467), 0, 0], [(-1002330750652044), 0], [(-22422960582757809)]], [[65497155770623, 0, 0, 0], [154326191391354, 0, 0], [125084273786958, 0], [(-377351644514648)]], [[(-4928612321483), 0, 0, 0, 0], [(-15551660118711), 0, 0, 0], [(-19014958065551), 0, 0], [(-10128176936955), 0], [240738010134543]]], rm := 1125899906842624, rhoP := [[[19268538007305331097]], [[(-3287051602455305), (-856645097372584681)], [(-176987436215806193)]], [[77619432424161, 3509486532538313, 36302143483037685], [892520489650274, 191955356610734975], [19874646724511036]], [[2893097380160, (-82548227658365), (-234170418394338), (-1510798595259401)], [(-27284908396273), (-1001183689190321), (-15901063036834953)], [(-127673397958263), (-23156022032979797)], [(-1602210886314779)]], [[(-582103968405), (-3194046963902), 5166833657860, 12298315601801, 62269867584594], [(-147901629344), 30199726446194, 116931198162098, 984376305520094], [4698113608553, 154844281108291, 3585554576386557], [13131680644160, 2096007309163228], [108998138614597]]], rhoR := 4503599627370496 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 2305843009213693952 3458764513820540928 13835058055282163712 18446744073709551616 18014398509481984 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 2305843009213693952 3458764513820540928 13835058055282163712 18446744073709551616 18014398509481984 36028797018963968 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 3993837246236065792, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 25476206690107392, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[7939729863752490708]], [[12617813809597460, 851729917129932373], [(-400834454138096792)]], [[(-2002095038805244), 517742164777845, (-43363489271677342)], [(-723513544571382), (-16447294367678151)], [21179203620123291]], [[208352361431851, (-83956437479722), (-148214348508028), 794925662815959], [108826819837243, 85005153341400, 4708376456978677], [33656111802475, (-952704699355268)], [(-1186573953940674)]], [[(-15868108979757), 9121625828868, 23485644529135, 10655701769096, 94650163367200], [(-10570933596264), (-13479324253050), 10521503289203, (-338503362510022)], [(-4821281391516), (-12740888985859), (-280909622221304)], [(-1149756030642), 159552588195068], [68980057838766]]], r0 := 4503599627370496, V1 := [[[8748975541969502362]], [[12997932381196292, 0], [(-412909812235287723)]], [[(-2064218394499117), 0, 0], [(-630366447630727), 0], [19991516351451559]], [[215203037375091, 0, 0, 0], [94091083511318, 0, 0], [21477693364221, 0], [(-1023794304286248)]], [[(-16451356496253), 0, 0, 0, 0], [(-9060829571155), 0, 0, 0], [(-2942437230602), 0, 0], [(-180379875834), 0], [54878345482738]]], r1 := 1125899906842624, V2 := [[[15341832438146699825]], [[6053476257650170, 123577780254032588], [428421014949120947]], [[(-945114434070879), (-159024066591506), (-4292687596922991)], [(-1066825614360262), (-38072059802461699)], [(-30412967188142810)]], [[96778301025399, 23745714476266, 2072308694960, 137741254674130], [165387506337734, 50928628063268, 2009766803526937], [101514516845137, 6134089746655272], [1644715349025468]], [[(-7277723198295), (-2273265292612), (-249665589384), 64150917041, (-4135786506734)], [(-16766593722039), (-7614003994401), (-644266669754), (-85133149365378)], [(-15677711214287), (-7851145373267), (-483774833369305)], [(-7379016654357), (-710281926326302)], [(-94843717213394)]]], r2 := 4503599627370496, Vm := [[[15735243526221779924]], [[6226538203240762, 0], [295507829581809800]], [[(-965299529579792), 0, 0], [(-1078008973813597), 0], [(-7181390685094988)]], [[98115797688192, 0, 0, 0], [165070296501300, 0, 0], [91559492905221, 0], [(-1173423961075157)]], [[(-7330041759580), 0, 0, 0, 0], [(-16528421115730), 0, 0, 0], [(-13826611068850), 0, 0], [(-4137862744747), 0], [173224991178612]]], rm := 281474976710656, rhoP := [[[19635237066943077302]], [[(-5245736273804356), (-1261216915833479184)], [(-184687960413361775)]], [[140697807881571, 5760291880624430, 77088709316993509], [1038054750248405, 207213186521746599], [15207886529857071]], [[2904110760704, (-154074503484912), (-553840352229021), (-4624069075545414)], [(-34864842582151), (-1220218190511980), (-24549072042218741)], [(-109906317520136), (-18798242535784871)], [(-921916498737249)]], [[(-803129060390), (-3392783800531), 14345489161446, 42008496180128, 274585256537543], [133428605091, 40417468047219, 202176490396609, 2183926737914177], [4342194256302, 143176258535081, 4068581692494291], [8536301320834, 1319030043609645], [48601090111768]]], rhoR := 4503599627370496 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 3458764513820540928 4611686018427387904 13835058055282163712 18446744073709551616 18014398509481984 36028797018963968 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 3458764513820540928 4611686018427387904 13835058055282163712 18446744073709551616 18014398509481984 36028797018963968 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 2824069399768465408, bh := 0, bN := 209, bD := 1024 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[7055754352123130830]], [[20662105969204899, 806778099971799195], [(-444747612880775393)]], [[(-3264612572136486), 1249118567986235, (-33240298776714472)], [(-1483333544299961), (-26887022172130928)], [28901871100279079]], [[336796942169712, (-201887684365201), (-228226221810527), 195282100108032], [220909524704937, 105209541202346, 4912522832779559], [90759289011728, (-350167270849462)], [(-1980894915391113)]], [[(-25192709902981), 21788701048933, 35812676873228, 10705433267970, 83578718438649], [(-21101948374827), (-16610371842539), 27020387585586, (-230432265611277)], [(-12862627470099), (-24963233800334), (-433708758643886)], [(-4709331471477), 180074307587283], [141454070527985]]], r0 := 4503599627370496, V1 := [[[7829565108563009101]], [[21694066049293293, 0], [(-466960342933152873)]], [[(-3432366152537686), 0, 0], [(-1354917191624019), 0], [28165968392218260]], [[355103011555059, 0, 0, 0], [200722560730671, 0, 0], [65452500805934, 0], [(-1781200859960713)]], [[(-26720990822707), 0, 0, 0, 0], [(-19093893026939), 0, 0, 0], [(-8995464263114), 0, 0], [(-1964389158039), 0], [117917504209541]]], r1 := 4503599627370496, V2 := [[[16203445709089823366]], [[7367313648588204, 59835834014432855], [435643222426978634]], [[(-1142434265286592), (-130717496018178), (-1419839204678745)], [(-1774380901803064), (-25386869304521366)], [(-42435616696837729)]], [[116040919284518, 19000051627542, 1318524994361, 31696541239395], [272455116041289, 60115554725812, 915943705784781], [225540713045572, 5524014980177544], [2901130757054007]], [[(-8644872043682), (-1740553739994), (-145612298098), 14786980041, (-676371033968)], [(-27300051827749), (-8739885193729), (-792454465472), (-27186154746367)], [(-34351625825882), (-13679760701860), (-300409391976470)], [(-20899554538349), (-836396317216987)], [(-180247474630846)]]], r2 := 4503599627370496, Vm := [[[16379977953626219008]], [[7563324919551842, 0], [353462719978177340]], [[(-1166677428682284), 0, 0], [(-1830029456886800), 0], [(-22759041564125122)]], [[117900057325599, 0, 0, 0], [278516259433759, 0, 0], [226550849053544, 0], [(-350270463689178)]], [[(-8752553120394), 0, 0, 0, 0], [(-27687216955613), 0, 0, 0], [(-33998600311938), 0, 0], [(-18182554661530), 0], [239503047867383]]], rm := 1125899906842624, rhoP := [[[19275268515412598907]], [[(-3536521897434643), (-863828773323216034)], [(-178844600134904285)]], [[42274507724122, 3772845243752122, 36779080570247543], [993760859298958, 194036338270436302], [20144073619702750]], [[10077493218015, (-43779466864375), (-248614720871922), (-1535700597314833)], [(-22810045070400), (-1111970337066446), (-16141775345144182)], [(-146386509919591), (-23481978954005835)], [(-1630244486278182)]], [[(-1341780723622), (-11026086258158), 1508422991764, 12871863704215, 63453963030062], [(-1586017002280), 24484911556126, 127037543908344, 1002320980884210], [4676020167068, 176582458315315, 3648173689353397], [15415920135968, 2133845326256644], [111413118053236]]], rhoR := 4503599627370496 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 2305843009213693952 3458764513820540928 13835058055282163712 18446744073709551616 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 2305843009213693952 3458764513820540928 13835058055282163712 18446744073709551616 36028797018963968 72057594037927936 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 3993837246236065792, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, sc := 50952413380214784, shN := 361, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[7905330968447164520]], [[23466836252323072, 850305033025364044], [(-398898700973957571)]], [[(-3680016793810605), 981191432115114, (-42959667881803300)], [(-1299449976425017), (-16678685761858956)], [21090605628922507]], [[376201733154826, (-160098341984115), (-275315712410679), 766103700106324], [191409107471846, 157470937427203, 4679926976840255], [58645128190072, (-918322066405711)], [(-1183629809638694)]], [[(-27824359767613), 17680473839720, 43055317895692, 19506952847760, 94622790802478], [(-18032056750005), (-24358747226911), 19293524319471, (-331587013573732)], [(-8156298110187), (-23239441117446), (-281844149634992)], [(-1902017558446), 156531425009463], [68988096491178]]], r0 := 4503599627370496, V1 := [[[8713526918599384453]], [[24192125935292711, 0], [(-411227466098304546)]], [[(-3800007758803504), 0, 0], [(-1127041688638174), 0], [19935774665297083]], [[389788894452439, 0, 0, 0], [164742018966772, 0, 0], [36438499245442, 0], [(-1023447810190923)]], [[(-29038012006495), 0, 0, 0, 0], [(-15411125574854), 0, 0, 0], [(-4801389450722), 0, 0], [(-155881927333), 0], [55044539107778]]], r1 := 1125899906842624, V2 := [[[15325418651303323289]], [[11149268315650453, 124002020325360246], [431306190681805636]], [[(-1722119616845624), (-283964422434394), (-4297834520129249)], [(-1955293908856767), (-38207956087832479)], [(-30687086542299384)]], [[173955100125182, 41270717424904, 3211728835229, 137545388026406], [299267191430973, 90963776794683, 2011301355607572], [185494771805816, 6155043174213236], [1664645331734764]], [[(-12852636639224), (-3770961693237), (-321784973630), 146158050959, (-4117075180111)], [(-29821976402232), (-13211924127309), (-913386312173), (-84934304063803)], [(-28208047031264), (-14021975058367), (-483731514911597)], [(-13484334207585), (-712207809945095)], [(-96204800876688)]]], r2 := 4503599627370496, Vm := [[[15718400415168259018]], [[11419020349070494, 0], [298411483595933110]], [[(-1751649335876147), 0, 0], [(-1961487729256751), 0], [(-7426865841072073)]], [[175850553181004, 0, 0, 0], [296778729937773, 0, 0], [165185105687834, 0], [(-1162413572372372)]], [[(-12956543180343), 0, 0, 0, 0], [(-29314527259304), 0, 0, 0], [(-24630670913871), 0, 0], [(-7364213336350), 0], [173421029067123]]], rm := 281474976710656, rhoP := [[[19646058336417705548]], [[(-5734357556513145), (-1273095961086337730)], [(-186862725030055995)]], [[97983807287988, 6291752383383907, 78226880335273038], [1172382850432994, 209766330742991917], [15441204142498112]], [[13021106511426, (-105095963694784), (-599477422192075), (-4710010041067790)], [(-32041305961504), (-1374122103438806), (-24968745870936766)], [(-127555906433042), (-19101317452406862)], [(-940226109614606)]], [[(-1914521395839), (-14846610481279), 7442108181493, 44964176677336, 280494517789473], [(-1324465043898), 36047407521951, 223559657315866, 2228931570666401], [4525811286174, 165132715726362, 4149150020813889], [10115689580457, 1346256479609618], [49815554663840]]], rhoR := 4503599627370496 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 3458764513820540928 4611686018427387904 13835058055282163712 18446744073709551616 36028797018963968 72057594037927936 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 3458764513820540928 4611686018427387904 13835058055282163712 18446744073709551616 36028797018963968 72057594037927936 (by decide +kernel)))
theorem region : TailPosI 2305843009213693952 4611686018427387904 13835058055282163712 18446744073709551616 18014398509481984 72057594037927936 :=
(TailPosI.split_s 36028797018963968 (TailPosI.split_b 3458764513820540928 leaf_0 leaf_1) (TailPosI.split_b 3458764513820540928 leaf_2 leaf_3))
end CKLaneC.RST2.U_0396
end