Courtade–Kumar proof module `CKLaneC.RST2.U_0071 (+1 modules: CKLaneC.RST2.U_0072)` (transplant)
DefinitionCK_CKLaneC_RST2_U_0071__2Verbatim transplant of the Lean module CKLaneC.RST2.U_0071 (+1 modules: CKLaneC.RST2.U_0072) 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_0071 (+1 modules: CKLaneC.RST2.U_0072) 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_0071 =====
section
/-! RA-stat u-tail cover batch U_0071 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0071
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 1194197188598784, bh := 0, bN := 61, bD := 1024 }, tc := 14987979559889010688, th := 1152921504606846976, lam1 := 1030311612482259841, u1 := 309237960088, w1 := 5536615160240 }
noncomputable def q0 : TCert := { V0 := [[[1935604118707743793]], [[0, 146537638626674548], [(-10700268670092213)]], [[0, 0, (-266671515758353)], [0, (-784152553196469)], [57353167441321]], [[0, 0, 0, (-6202293901201)], [0, 0, 4354458030100], [0, 3989273882296], [(-332251157784)]], [[0, 0, 0, 0, 34949508755], [0, 0, 0, 94306166544], [0, 0, (-46477294906)], [0, (-21674287797)], [1489204356]]], r0 := 1125899906842624, V1 := [[[2372652456515961282]], [[0, 0], [(-13011067913880849)]], [[0, 0, 0], [0, 0], [68879317168840]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-393322714366)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [1709647965]]], r1 := 1125899906842624, V2 := [[[18445629365597369311]], [[0, 4943012866], [65931892604461]], [[0, 0, (-21051)], [0, (-589326779)], [(-1947606241555)]], [[0, 0, 0, 0], [0, 0, 3770], [0, 35133356], [38287236823]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-338)], [0, (-1396429)], [(-563194394)]]], r2 := 1099511627776, Vm := [[[18445629385702644609]], [[0, 0], [65929464922296]], [[0, 0, 0], [0, 0], [(-1947459523271)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [38281318638]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-563015116)]]], rm := 1099511627776, rhoP := [[[18447204355610430263]], [[12505076897654, (-153431077996027)], [(-27423362437022)]], [[8829174, (-4168516457549), 1259282649], [(-745055950418), 9141570965793], [816849363970]], [[118374, (-5887239), 52516222, (-10286)], [(-1052249), 248370756351, (-150056663)], [22193285575, (-272309939824)], [(-16221588316)]], [[1, (-78917), 981444, (-529), 2], [(-14103), 701585, (-6257908), 1840], [62694, (-7398880285), 8939996], [(-440753615), 5408261259], [241628863]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 1125899906842624 1266637395197952 13835058055282163712 16140901064495857664 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 1125899906842624 1266637395197952 13835058055282163712 16140901064495857664 0 4503599627370496 (by decide +kernel)))
noncomputable def c1 : LCell := { bch := { bexp := true, bc := 1194197188598784, bh := 0, bN := 61, bD := 1024 }, tc := 17293822569102704640, th := 1152921504606846976, lam1 := 1030311612482259841, u1 := 309237960088, w1 := 5536615160240 }
noncomputable def q1 : TCert := { V0 := [[[2227563663605409514]], [[0, 145397675441815097], [(-12250416756785937)]], [[0, 0, (-303014689007127)], [0, (-765633713580970)], [65138757089697]], [[0, 0, 0, (-5906980012914)], [0, 0, 4897119080263], [0, 3792913124075], [(-373868714997)]], [[0, 0, 0, 0, 38786761060], [0, 0, 0, 86466151522], [0, 0, (-51580420238)], [0, (-19917401981)], [1643063152]]], r0 := 1125899906842624, V1 := [[[2372652456515961282]], [[0, 0], [(-13011067913880849)]], [[0, 0, 0], [0, 0], [68879317168840]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-393322714366)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [1709647965]]], r1 := 1125899906842624, V2 := [[[18445629375483310842]], [[0, 4942928665], [65930713965985]], [[0, 0, (-21050)], [0, (-589311698)], [(-1947535976194)]], [[0, 0, 0, 0], [0, 0, 3770], [0, 35132005], [38284444046]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-338)], [0, (-1396349)], [(-563111137)]]], r2 := 1099511627776, Vm := [[[18445629385702644609]], [[0, 0], [65929464922296]], [[0, 0, 0], [0, 0], [(-1947459523271)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [38281318638]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-563015116)]]], rm := 1099511627776, rhoP := [[[18446897498491408187]], [[4168253964869, (-153426040988890)], [(-9140820717395)]], [[980335, (-4168306399052), 1259220921], [(-248339468602), 9140970761194], [272265242979]], [[13153, (-1961661), 52513029, (-10284)], [(-116870), 248345725849, (-150045631)], [7397016273, (-272274181818)], [(-5406486039)]], [[1, (-26301), 981345, (-528), 1], [(-1565), 233806, (-6257337), 1839], [6965, (-7397389046), 8939009], [(-146888257), 5406841056], [80521806]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 1125899906842624 1266637395197952 16140901064495857664 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c1 q1 false 1125899906842624 1266637395197952 16140901064495857664 18446744073709551616 0 4503599627370496 (by decide +kernel)))
noncomputable def c2 : LCell := { bch := { bexp := true, bc := 1335153046122496, bh := 0, bN := 27, bD := 512 }, tc := 16140901064495857664, th := 2305843009213693952, lam1 := 1036410612161378177, u1 := 343597733394, w1 := 6115592951291 }
noncomputable def q2 : TCert := { V0 := [[[2103513521673468797]], [[0, 294892937564612646], [(-10372503353169873)]], [[0, 0, (-1175537058596458)], [0, (-1399089997309121)], [49541757272310]], [[0, 0, 0, (-49842872956674)], [0, 0, 17073231080096], [0, 6278057086317], [(-254858803179)]], [[0, 0, 0, 0, 621165477245], [0, 0, 0, 663960556603], [0, 0, (-161866109326)], [0, (-29871586478)], [1020377484]]], r0 := 1125899906842624, V1 := [[[2397181712963090172]], [[0, 0], [(-11753871141534934)]], [[0, 0, 0], [0, 0], [55652592918626]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-283401333721)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [1110716624]]], r1 := 1125899906842624, V2 := [[[18445498763002812657]], [[0, 12359525273], [65193923260651]], [[0, 0, (-117764)], [0, (-1304464764)], [(-1704455509559)]], [[0, 0, 0, 1], [0, 0, 18673], [0, 68843247], [29653766672]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-1481)], [0, (-2422285)], [(-385991984)]]], r2 := 1099511627776, Vm := [[[18445498782030420284]], [[0, 0], [65191880368323]], [[0, 0, 0], [0, 0], [(-1704345701934)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [29649826071]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-385885748)]]], rm := 1099511627776, rhoP := [[[18447087200880942310]], [[9375826120685, (-343133468941143)], [(-18097257664369)]], [[4963659, (-9376090108458), 6297859950], [(-494505881633), 18097921977268], [477191304389]], [[66937, (-9929956), 264188205, (-115056)], [(-523716), 494533748821, (-664331099)], [13039464176, (-477226339727)], [(-8388744289)]], [[1, (-133875), 4966486, (-5984), 5], [(-7058), 1047594, (-27868131), 18207], [27624, (-13040933877), 35036782], [(-229235166), 8389976096], [110610037]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 1266637395197952 1407374883553280 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c2 q2 false 1266637395197952 1407374883553280 13835058055282163712 18446744073709551616 0 4503599627370496 (by decide +kernel)))
noncomputable def c3 : LCell := { bch := { bexp := true, bc := 1541701941176320, bh := 0, bN := 47, bD := 512 }, tc := 16140901064495857664, th := 2305843009213693952, lam1 := 1047137003951177473, u1 := 412317279998, w1 := 7263537136736 }
noncomputable def q3 : TCert := { V0 := [[[2132049427352749179]], [[0, 298738915323328724], [(-18546497406657158)]], [[0, 0, (-1223117541185240)], [0, (-2497630923157378)], [156179151729355]], [[0, 0, 0, (-51687576336983)], [0, 0, 31322231440152], [0, 19722717232923], [(-1416599824159)]], [[0, 0, 0, 0, 662749220272], [0, 0, 0, 1210662279788], [0, 0, (-523363817916)], [0, (-165047052584)], [10025966708]]], r0 := 4503599627370496, V1 := [[[2429514213482756194]], [[0, 0], [(-21011623596656393)]], [[0, 0, 0], [0, 0], [175361395979972]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-1574079299544)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [10900351623]]], r1 := 4503599627370496, V2 := [[[18445307568281039847]], [[0, 16483126865], [130880947174959]], [[0, 0, (-181491)], [0, (-3028367460)], [(-5954864178500)]], [[0, 0, 0, 2], [0, 0, 50098], [0, 278212625], [180279305828]], [[0, 0, 0, 0, 0], [0, 0, 0, (-1)], [0, 0, (-6915)], [0, (-17040433)], [(-4082922745)]]], r2 := 1099511627776, Vm := [[[18445307593782432001]], [[0, 0], [130876179163314]], [[0, 0, 0], [0, 0], [(-5954417849281)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [180251410042]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-4081612879)]]], rm := 1099511627776, rhoP := [[[18447140394010799889]], [[10938311202438, (-396328701567177)], [(-36386601946340)]], [[6758582, (-10938666945146), 8400779360], [(-1004269734649), 36388144483201], [1670158984775]], [[92050, (-13520924), 356035248, (-177236)], [(-1241342), 1004335109239, (-1542585670)], [46097412643, (-1670300598783)], [(-51109458714)]], [[2, (-184102), 6762641, (-9316), 6], [(-16900), 2483090, (-65377154), 48819], [113978, (-46103414461), 141620737], [(-1410716469), 51118125903], [1173121063]]], rhoR := 1099511627776 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 1407374883553280 1688849860263936 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c3 q3 false 1407374883553280 1688849860263936 13835058055282163712 18446744073709551616 0 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 1125899906842624 1688849860263936 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(TailPosI.split_b 1407374883553280 (TailPosI.split_b 1266637395197952 (TailPosI.split_t 16140901064495857664 leaf_0 leaf_1) leaf_2) leaf_3)
end CKLaneC.RST2.U_0071
end
-- ===== source module CKLaneC.RST2.U_0072 =====
section
/-! RA-stat u-tail cover batch U_0072 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0072
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 1950115842888704, bh := 0, bN := 37, bD := 256 }, tc := 16140901064495857664, th := 2305843009213693952, lam1 := 1064521048892066817, u1 := 549756373172, w1 := 9526560968744 }
noncomputable def q0 : TCert := { V0 := [[[2180364394696841875]], [[0, 305236471543026684], [(-30530701578928502)]], [[0, 0, (-1306486643601625)], [0, (-4100171078949630)], [413544915569789]], [[0, 0, 0, (-54892854982646)], [0, 0, 53808479300481], [0, 51910986049247], [(-6028682758262)]], [[0, 0, 0, 0, 738039232715], [0, 0, 0, 2057810712532], [0, 0, (-1445062137898)], [0, (-695066782206)], [69048549912]]], r0 := 4503599627370496, V1 := [[[2484240239159917942]], [[0, 0], [(-34575056723530515)]], [[0, 0, 0], [0, 0], [463964579723883]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-6690219822455)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [74918883417]]], r1 := 4503599627370496, V2 := [[[18444930147710705197]], [[0, 26383028379], [260112120269474]], [[0, 0, (-367933)], [0, (-7631939259)], [(-18624581629642)]], [[0, 0, 0, 5], [0, 0, 159924], [0, 1103941022], [887208231742]], [[0, 0, 0, 0, 0], [0, 0, 0, (-3)], [0, 0, (-34762)], [0, (-106461773)], [(-31609820031)]]], r2 := 4398046511104, Vm := [[[18444930188869175628]], [[0, 0], [260099995593276]], [[0, 0, 0], [0, 0], [(-18622793254052)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [887032094305]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-31596785497)]]], rm := 1099511627776, rhoP := [[[18447245612530299872]], [[14065708990820, (-501552270614950)], [(-72500195862848)]], [[11182996, (-14066287941845), 13450738047], [(-2033304783162), 72504084514941], [5239553022142]], [[154737, (-22372655), 579482561, (-359016)], [(-3234002), 2033472313454, (-3888807781)], [146950149360, (-5240115116009)], [(-252453464528)]], [[1, (-309488), 11190279, (-19191), 12], [(-44734), 6469149, (-167538614), 155696], [467530, (-146974365628), 562127627], [(-7080796340), 252507629779], [9123810913]]], rhoR := 4398046511104 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 1688849860263936 2251799813685248 13835058055282163712 18446744073709551616 0 4503599627370496 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 1688849860263936 2251799813685248 13835058055282163712 18446744073709551616 0 4503599627370496 (by decide +kernel)))
theorem region : TailPosI 1688849860263936 2251799813685248 13835058055282163712 18446744073709551616 0 4503599627370496 :=
leaf_0
end CKLaneC.RST2.U_0072
end