Courtade–Kumar proof module `CKLaneC.RST2.U_0500` (transplant)
DefinitionCK_CKLaneC_RST2_U_0500Verbatim transplant of the Lean module CKLaneC.RST2.U_0500 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_0500 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_0500 =====
section
/-! RA-stat u-tail cover batch U_0500 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0500
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 5764607523034234880, th := 1152921504606846976, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[4323265805661435059]], [[88566908728537796, 797571869444183070], [110213704849390005]], [[(-5249350294246939), 13648547805330444, (-18302531110934620)], [3058475185073835, 16984413716528209], [1485860675950580]], [[149879623289628, (-889295560387529), (-1036760035076237), (-671775350191299)], [(-149123397670524), 271353065924990, (-1290156404304054)], [59271553760723, 104554285761028], [40006752982729]], [[107319115327, 32150899212033, 44553571524800, (-16451923909042), 63727661639957], [1891159023745, (-18434463836413), (-77851224302812), (-20472967973551)], [(-2344612456736), (-2653823051443), (-43556462305394)], [1471441731820, 1903473546504], [612299322860]]], r0 := 281474976710656, V1 := [[[10691223517231050713]], [[136000203137394151, 0], [169240255341689481]], [[(-9491905166094612), 0, 0], [1134508897139479, 0], [65351806632381]], [[410616014955903, 0, 0, 0], [(-76348112152876), 0, 0], [(-29776033590100), 0], [22512585375890]], [[(-11645077700734), 0, 0, 0, 0], [3811697142988, 0, 0, 0], [1831276954699, 0, 0], [(-106285380233), 0], [(-266130806436)]]], r1 := 17592186044416, V2 := [[[6830191765908450949]], [[107970117017141147, 657522011670217654], [(-678158109848849107)]], [[(-6463299038951479), 7646454146905901, (-21182152865050345)], [(-1067008026242079), 61866034277284488], [(-14287137681533257)]], [[191491985825267, (-599151833058092), (-916390177489417), 49702183846112], [139895048857072, 1855562829389788, (-1324621657097901)], [(-638983546854015), 1137552280686471], [(-11237185542376)]], [[(-270560998506), 29837037517511, 48668844311306, 27660860841773, 37070957711279], [(-10721604254975), (-105434470714193), (-147148729279896), (-148816762989542)], [34757448797138, 141387037100894, 194298740921283], [(-27412233289519), (-115412713536748)], [17446859341305]]], r2 := 1125899906842624, Vm := [[[13636619767695106052]], [[116373154068844637, 0], [(-51519711354860923)]], [[(-8480652832159537), 0, 0], [3764626599456811, 0], [4720467074556084]], [[412176227770663, 0, 0, 0], [(-276273663454060), 0, 0], [(-65809260055473), 0], [20591597891012]], [[(-15388091118032), 0, 0, 0, 0], [13927520364836, 0, 0, 0], [4869248575752, 0, 0], [(-2228373131464), 0], [(-578731293840)]]], rm := 17592186044416, rhoP := [[[58474859697769635984]], [[312757168124731098, (-10164247694835834280)], [3942507566100691039]], [[(-67307177173417224), (-186807721077444271), 1580832712585150686], [73132824355865233, (-1572705459088893164)], [234595985381479911]], [[4488347603714582, 30020747508439389, 60639292391105775, (-232468583058743573)], [(-12435940233576547), (-55452994744116514), 376011564449348391], [10025128201921850, (-143706756737740711)], [12818871405961617]], [[(-136889539903733), (-1659080841334734), (-7823879540670826), (-14930813388483229), 32849547990544875], [717474150439318, 7566525980627881, 22458651516353023, (-73795597289318974)], [(-1365223837178154), (-9187721847384526), 48375871987633997], [1028262584743104, (-10512922701812780)], [653158514486468]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 5764607523034234880, th := 1152921504606846976, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[4125874940796459817]], [[111131894798258745, 766759209388951673], [103551669411543574]], [[(-6123775287948421), 17566441375524822, (-16075718245843350)], [3666479105733439, 16368247237732766], [1359349025737511]], [[141556028763747, (-1089473275002005), (-1206574224566018), (-631507535312359)], [(-155964297598486), 353133305323122, (-1124274677846197)], [68190513737822, 109381545142923], [36851210132146]], [[2062163524530, 34815955783367, 40001921968612, (-24518942683789), 52433759728074], [301925613240, (-22847652116255), (-89163948666196), (-22846523509037)], [(-2104627110561), (-2136907119096), (-37753595080882)], [1709258607113, 2287272885252], [554466768335]]], r0 := 281474976710656, V1 := [[[10380888086397566963]], [[178857850657652467, 0], [166658087280724144]], [[(-12223439387564676), 0, 0], [1488472921473929, 0], [132032083154305]], [[510276810892570, 0, 0, 0], [(-103962827343733), 0, 0], [(-37713523383946), 0], [22742071529146]], [[(-13461268180736), 0, 0, 0, 0], [5612707514814, 0, 0, 0], [2171350877215, 0, 0], [(-125635339371), 0], [(-241426730827)]]], r1 := 70368744177664, V2 := [[[6589231216599624732]], [[135846727880474274, 639759448847329175], [(-675401930071819392)]], [[(-7589410675289861), 10403942467644347, (-19169792406076709)], [(-1762753832494120), 57755614499347241], [(-12879165848783602)]], [[183611736439202, (-799277153853013), (-1114977956138437), (-5670021576196)], [214683463322319, 2298571600209064, (-1017602833119939)], [(-783170283250643), 841506077595416], [45012165741188]], [[2415794649489, 37491384435782, 50709740738273, 27716173097737, 33212310770674], [(-14390566925152), (-117019232039615), (-161199346030996), (-140710027795125)], [37521692208699, 156068794976333, 192329287873533], [(-28987532179561), (-114790419644345)], [16727932570436]]], r2 := 1125899906842624, Vm := [[[13369092602774152852]], [[155381837956940909, 0], [(-60187537455296686)]], [[(-11336592015545462), 0, 0], [5043744590492314, 0], [4872149163465913]], [[555738415530929, 0, 0, 0], [(-374251552141352), 0, 0], [(-88335270557131), 0], [25849277675303]], [[(-21147194132018), 0, 0, 0, 0], [19352827125142, 0, 0, 0], [6588912289713, 0, 0], [(-3136637558612), 0], [(-599617551287)]]], rm := 70368744177664, rhoP := [[[57553252295478639519]], [[636457940279786247, (-9662962333661097847)], [3743016680767687835]], [[(-96803656464618849), (-325250678940383797), 1427755568681102356], [130895910557965781, (-1430731481475621565)], [208951365670203290]], [[5324007823307024, 39610134500433952, 94630426106032375, (-196484510388318567)], [(-16629033581980171), (-88740943452511485), 321248146995221509], [16010277371567934, (-121227264645120275)], [10321546806269270]], [[(-55634098222343), (-1451657066901620), (-9085426191251195), (-21334050684828028), 25556259944499435], [643289550557252, 9017463650980415, 32800105481333486, (-58170777394496937)], [(-1611313703625671), (-13495733989439331), 37851072328606081], [1487995251056793, (-7898915739703053)], [450264069608614]]], rhoR := 1152921504606846976 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 8070450532247928832 8646911284551352320 4611686018427387904 6917529027641081856 815151532554059776 1152921504606846976 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 8070450532247928832, th := 1152921504606846976, sc := 685494613908127744, shN := 179, shD := 1024 }
noncomputable def q2 : TCert := { V0 := [[[5840819394469698512]], [[111665349582280223, 718271666803218131], [138957676828115850]], [[(-6838443619432769), 9460613247780222, (-20878086536166935)], [3308462890090121, 11772898604612874], [1532613329502746]], [[214324939720932, (-695589697269123), (-1022541375935763), (-204062034134499)], [(-173472364724762), (-8940662275724), (-1272462537324170)], [45049412593357, (-50121402501008)], [39848741530675]], [[(-1244108290112), 31844912270401, 50868497019320, 18109949341074, 50986215324625], [3390352374383, (-5914932895798), (-59546050053279), 22536234358504], [(-2094925312518), (-10487609290094), (-32233843391488)], [895047119711, (-1649186463750)], [427122766124]]], r0 := 281474976710656, V1 := [[[10691223517231050713]], [[136000203137394151, 0], [169240255341689481]], [[(-9491905166094612), 0, 0], [1134508897139479, 0], [65351806632381]], [[410616014955903, 0, 0, 0], [(-76348112152876), 0, 0], [(-29776033590100), 0], [22512585375890]], [[(-11645077700734), 0, 0, 0, 0], [3811697142988, 0, 0, 0], [1831276954699, 0, 0], [(-106285380233), 0], [(-266130806436)]]], r1 := 17592186044416, V2 := [[[8061436325754740135]], [[119839489117753191, 574422930729008404], [(-560699984172663376)]], [[(-7471575440751163), 4351466389929286, (-20146039294641591)], [2047823493193487, 55205006626110225], [(-11462832344226083)]], [[247677805919733, (-412269305486757), (-724858581293557), 271608446373216], [(-50152488835537), 1262649254654329, (-1908923851087473)], [(-371441268423545), 1585330786412671], [(-148672634257909)]], [[(-2377147850563), 26043627879465, 44003434591032, 34031861641190, 19095539930906], [(-5250690698800), (-83485839546327), (-142638665269762), (-52037811763606)], [24454849683039, 120687975189703, 42237423805618], [(-21675323681432), (-30343026418059)], [4388375828271]]], r2 := 1125899906842624, Vm := [[[13636619767695106052]], [[116373154068844637, 0], [(-51519711354860923)]], [[(-8480652832159537), 0, 0], [3764626599456811, 0], [4720467074556084]], [[412176227770663, 0, 0, 0], [(-276273663454060), 0, 0], [(-65809260055473), 0], [20591597891012]], [[(-15388091118032), 0, 0, 0, 0], [13927520364836, 0, 0, 0], [4869248575752, 0, 0], [(-2228373131464), 0], [(-578731293840)]]], rm := 17592186044416, rhoP := [[[43022141177305134003]], [[98565438431010583, (-5850857666378071197)], [1866420030290652020]], [[(-29155807434729846), (-55988925698108916), 719651722711623405], [16826178930385317, (-662415749280086384)], [72916514494361361]], [[2164508471743447, 11552047325113964, 15843423887301847, (-84421659032359307)], [(-3928311031761101), (-12232616326577093), 130054339192687665], [1735997684083343, (-41153710146009516)], [2631197952787898]], [[(-91527711628492), (-775737771845143), (-2531169743219287), (-3241720540889319), 9597716949046722], [278462079022980, 2159166220477588, 4369572399488280, (-20805102308597506)], [(-308131427993323), (-1479639480367730), 12043350759023041], [129757396861787, (-2035827881058339)], [89600964930896]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 576460752303423488 815151532554059776 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 576460752303423488 815151532554059776 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := false, bc := 8358680908399640576, bh := 288230376151711744, bN := 0, bD := 1 }, tc := 8070450532247928832, th := 1152921504606846976, sc := 969435779923181568, shN := 179, shD := 1024 }
noncomputable def q3 : TCert := { V0 := [[[5590863811567528155]], [[141331988225196558, 696518593962114552], [131691836520374274]], [[(-8126289499521861), 12622008769823478, (-18649155476568597)], [4032249456692608, 11761070769242778], [1434960671302363]], [[215719370680138, (-905897169697130), (-1225816782155329), (-237598227084545)], [(-190389300832398), 24370249694754, (-1142204714634810)], [53480791510332, (-28266905553075)], [37860771264971]], [[1019215203256, 38826818027062, 50670497917627, 15162732570690, 44138366259543], [2177598034962, (-11210273165135), (-71893063154214), 14128493655094], [(-2126922786475), (-11471912043366), (-29646766561133)], [1115003422127, (-962774374031)], [411335496553]]], r0 := 281474976710656, V1 := [[[10380888086397566963]], [[178857850657652467, 0], [166658087280724144]], [[(-12223439387564676), 0, 0], [1488472921473929, 0], [132032083154305]], [[510276810892570, 0, 0, 0], [(-103962827343733), 0, 0], [(-37713523383946), 0], [22742071529146]], [[(-13461268180736), 0, 0, 0, 0], [5612707514814, 0, 0, 0], [2171350877215, 0, 0], [(-125635339371), 0], [(-241426730827)]]], r1 := 70368744177664, V2 := [[[7792508243849704794]], [[152445213213217963, 563953572868277583], [(-564907714498082456)]], [[(-8984294103768613), 6331027225973223, (-18527515582942922)], [2167221271819769, 52350233123196419], [(-10623494884556132)]], [[257814901317397, (-596219268061166), (-911718314565506), 200274617936424], [(-5330555091213), 1628800531136586, (-1602704868659925)], [(-478623855351606), 1325044705131429], [(-102367219801077)]], [[17046277458, 36160638127473, 49824504681484, 37594416023127, 18661619706487], [(-10020509230831), (-101088757620880), (-165668287722612), (-58544388042250)], [29541655894787, 141527938212065, 58835568448456], [(-24921508636935), (-38906921729834)], [5266510553394]]], r2 := 1125899906842624, Vm := [[[13369092602774152852]], [[155381837956940909, 0], [(-60187537455296686)]], [[(-11336592015545462), 0, 0], [5043744590492314, 0], [4872149163465913]], [[555738415530929, 0, 0, 0], [(-374251552141352), 0, 0], [(-88335270557131), 0], [25849277675303]], [[(-21147194132018), 0, 0, 0, 0], [19352827125142, 0, 0, 0], [6588912289713, 0, 0], [(-3136637558612), 0], [(-599617551287)]]], rm := 70368744177664, rhoP := [[[42693797983845671982]], [[242635117300413293, (-5688047602766026751)], [1815308535472796125]], [[(-44261436325775371), (-111631925949311765), 677150886582038946], [35962953977815604, (-628611964621534302)], [68108258872231650]], [[2918869960249454, 16662060563596323, 27598907196578105, (-76134297793714877)], [(-5785592410956611), (-22408498577186584), 118661596733931777], [3193043655402677, (-37259659383849744)], [2292581847709852]], [[(-94100292580161), (-923109430135515), (-3386617267957055), (-5181113805232839), 8215812812839354], [339647281602010, 2973497195243980, 7233087132736248, (-18055435332617569)], [(-426403570742741), (-2489467466093058), 10430771386963346], [215042632777907, (-1709585186721628)], [70101572993981]]], rhoR := 72057594037927936 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 815151532554059776 1152921504606846976 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 8070450532247928832 8646911284551352320 6917529027641081856 9223372036854775808 815151532554059776 1152921504606846976 (by decide +kernel)))
theorem region : TailPosI 8070450532247928832 8646911284551352320 4611686018427387904 9223372036854775808 576460752303423488 1152921504606846976 :=
(TailPosI.split_t 6917529027641081856 (TailPosI.split_s 815151532554059776 leaf_0 leaf_1) (TailPosI.split_s 815151532554059776 leaf_2 leaf_3))
end CKLaneC.RST2.U_0500
end