Courtade–Kumar proof module `CKLaneC.RST2.U_0027` (transplant)
DefinitionCK_CKLaneC_RST2_U_0027Verbatim transplant of the Lean module CKLaneC.RST2.U_0027 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_0027 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_0027 =====
section
/-! RA-stat u-tail cover batch U_0027 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0027
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : LCell := { bch := { bexp := true, bc := 1019739983034880, bh := 0, bN := 9, bD := 256 }, tc := 17293822569102704640, th := 1152921504606846976, lam1 := 780598387393603073, u1 := 1006633992, w1 := 23788336883 }
noncomputable def q0 : TCert := { V0 := [[[2196461154728279120]], [[0, 143452027619367069], [(-7002815690976447)]], [[0, 0, (-290745456731848)], [0, (-438468069630449)], [22098371845341]], [[0, 0, 0, (-5689577482858)], [0, 0, 2725655213356], [0, 1293973098285], [(-69072049690)]], [[0, 0, 0, 0, 36259856093], [0, 0, 0, 48468664074], [0, 0, (-16855191450)], [0, (-3667050092)], [213664169]]], r0 := 17592186044416, V1 := [[[2339616783905718137]], [[0, 0], [(-7438510195069247)]], [[0, 0, 0], [0, 0], [23375233431711]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [(-72652113862)]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [223126320]]], r1 := 4398046511104, V2 := [[[18445791452576905859]], [[0, 3602880001], [33267379094887]], [[0, 0, (-13093)], [0, (-253513707)], [(-580118230620)]], [[0, 0, 0, 0], [0, 0, 1384], [0, 8919499], [6732615532]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, (-73)], [0, (-209222)], [(-58470695)]]], r2 := 4294967296, Vm := [[[18445791459974419552]], [[0, 0], [33266845944678]], [[0, 0, 0], [0, 0], [(-580098986301)]], [[0, 0, 0, 0], [0, 0, 0], [0, 0], [6732151599]], [[0, 0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0], [0, 0], [(-58462290)]]], rm := 4294967296, rhoP := [[[18446874239030277115]], [[2697005354361, (-130166229893700)], [(-4576158778372)]], [[406825, (-2697034110081), 909174691], [(-94817652231), 4576222704752], [80441414733]], [[4173, (-813657), 28756128, (-6324)], [(-28603), 94819674149, (-63927041)], [1666752084, (-80443662163)], [(-942699162)]], [[1, (-8341), 406839, (-243), 2], [(-292), 57210, (-2021939), 669], [1006, (-1666823165), 2247473], [(-19533081), 942751843], [8285906]]], rhoR := 4294967296 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 0 17592186044416 :=
(ofR2 (CKLaneR2.Tail.leafL c0 q0 false 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 0 17592186044416 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 1019739983034880, bh := 0, bN := 9, bD := 256 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 35184372088832, shN := 375, shD := 512 }
noncomputable def q1 : TCert := { V0 := [[[2196451524954073191]], [[9398252821851, 143451424669086732], [(-7002652247944065)]], [[(-3339817309099), 588454167700, (-290741708620219)], [(-39746125303), (-438458082575907)], [22099774324785]], [[790495101243, (-209116628666), (-3657983381), (-5689510832403)], [13912245580, (-2247938950), 2725568897543], [154345841, 1294066255422], [(-69054500898)]], [[(-140184442140), 49495499413, 1299907202, (-65047830), 36259093971], [(-3239472988), 785556260, 37624238, 48467234649], [(-53507759), 7516906, (-16855251735)], [(-563473), (-3665938283)], [213795912]]], r0 := 1099511627776, V1 := [[[2339606554995226169]], [[9982984709907, 0], [(-7438336852705489)]], [[(-3547611179019), 0, 0], [(-41955883582), 0], [23376729003901]], [[839677527038, 0, 0, 0], [14684321079, 0, 0], [161608340, 0], [(-72633458963)]], [[(-148906359593), 0, 0, 0, 0], [(-3418892843), 0, 0, 0], [(-56009557), 0, 0], [(-582191), 0], [223268368]]], r1 := 274877906944, V2 := [[[18445791449384493548]], [[3097739752, 3602887080], [33267538336587]], [[(-1085046778), (-6778), (-13093)], [(-114401840), (-253514325)], [(-580121256540)]], [[252848583, 2294, 0, 0], [39996063, 501, 1384], [2125492, 8919524], [6732653480]], [[(-44090579), (-514), 0, 0, 0], [(-9301009), (-170), 0, 0], [(-741592), (-19), (-73)], [(-26516), (-209222)], [(-58471053)]]], r2 := 268435456, Vm := [[[18445791456781928168]], [[3097815122, 0], [33267005193244]], [[(-1085071975), 0, 0], [(-114407363), 0], [(-580102012496)]], [[252854147, 0, 0, 0], [39997909, 0, 0], [2125694, 0], [6732189555]], [[(-44091491), 0, 0, 0, 0], [(-9301417), 0, 0, 0], [(-741659), 0, 0], [(-26521), 0], [(-58462648)]]], rm := 67108864, rhoP := [[[18446877090498525100]], [[(-176716431581), (-133017729003730)], [(-4684895843551)]], [[5571702412, 176718372462, 940036849], [6754183451, 4684962033185], [82515105721]], [[(-163102183), (-5571765210), (-1940891), (-6594)], [(-221770560), (-6754326037), (-66190323)], [(-129488645), (-82517436146)], [(-969074865)]], [[2665502, 163104041, 62804, 18, 2], [6833457, 221775282, 142592, 696], [4432708, 129493891, 2330467], [1660710, 969129574], [8537688]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 17592186044416 70368744177664 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 17592186044416 70368744177664 (by decide +kernel)))
noncomputable def c2 : SCell := { bch := { bexp := true, bc := 1019739983034880, bh := 0, bN := 9, bD := 256 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 140737488355328, shN := 375, shD := 512 }
noncomputable def q2 : TCert := { V0 := [[[2196413997061063046]], [[36049250335939, 143449074927093423], [(-7002495552316504)]], [[(-12793661097274), 2257161894224, (-290727102269017)], [(-149242671010), (-438449232441614)], [22099170738662]], [[3023767876053, (-801055493832), (-14030616250), (-5689251094902)], [52079994186, (-8421377237), 2725419447561], [571730375, 1294036984712], [(-69052298904)]], [[(-535386583640), 189329719014, 4979162195, (-249500550), 36256124049], [(-12085911880), 2933288862, 143061220, 48464988090], [(-197310389), 27642885, (-16854256543)], [(-2073640), (-3665853463)], [213783613]]], r0 := 1099511627776, V1 := [[[2339566692223319421]], [[38292134989627, 0], [(-7438171458594686)]], [[(-13589649903186), 0, 0], [(-157518881286), 0], [23376097153295]], [[3211900194297, 0, 0, 0], [54962120323, 0, 0], [598415204, 0], [(-72631177588)]], [[(-568697618686), 0, 0, 0, 0], [(-12753228774), 0, 0, 0], [(-206456246), 0, 0], [(-2147535), 0], [223256197]]], r1 := 1099511627776, V2 := [[[18445791437164715144]], [[11643261526, 3602913057], [33267988905468]], [[(-4066376709), (-24262), (-13093)], [(-428850765), (-253516246)], [(-580129613488)]], [[944548218, 8131, 0, 0], [149453461, 1794, 1384], [7944959, 8919595], [6732757551]], [[(-164123175), (-1801), 0, 0, 0], [(-34633134), (-601), 0, 0], [(-2762391), (-67), (-73)], [(-98816), (-209224)], [(-58472034)]]], r2 := 268435456, Vm := [[[18445791444561863863]], [[11643526601, 0], [33267455783073]], [[(-4066464167), 0, 0], [(-428870186), 0], [(-580110370212)]], [[944567223, 0, 0, 0], [149459868, 0, 0], [7945672, 0], [6732293644]], [[(-164126226), 0, 0, 0, 0], [(-34634526), 0, 0, 0], [(-2762626), 0, 0], [(-98834), 0], [(-58463630)]]], rm := 67108864, rhoP := [[[18446877446070777692]], [[(-199606789050), (-133373305167674)], [(-4698522159455)]], [[6523789752, 199608987884, 943948236], [7670042539, 4698588636867], [82777089540]], [[(-163565161), (-6523863148), (-2198848), (-6628)], [(-262544404), (-7670204557), (-66478109)], [(-147892501), (-82779430562)], [(-972445132)]], [[(-4490632), 163566914, 73405, 21, 3], [7246606, 262549959, 162028, 702], [5306702, 147898482, 2341066], [1908436, 972500101], [8570333]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_2 : TailPosI 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 70368744177664 281474976710656 :=
(ofR2 (CKLaneR2.Tail.leafS c2 q2 false 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 70368744177664 281474976710656 (by decide +kernel)))
noncomputable def c3 : SCell := { bch := { bexp := true, bc := 1019739983034880, bh := 0, bN := 9, bD := 256 }, tc := 17293822569102704640, th := 1152921504606846976, sc := 562949953421312, shN := 375, shD := 512 }
noncomputable def q3 : TCert := { V0 := [[[2196270212970982328]], [[138013831475571, 143440072095434234], [(-7001908694473072)]], [[(-48906511687476), 8641571593267, (-290671143991465)], [(-557961209609), (-438416169138026)], [22096943413461]], [[11539558628937, (-3062257778947), (-53709252960), (-5688255996215)], [194014998649, (-31402152632), 2724852149190], [2104205359, 1293929826949], [(-69044267553)]], [[(-2039209672002), 722560393262, 19029177996, (-955120096), 36244746854], [(-44842389675), 10896125447, 542416062, 48456474464], [(-722263775), 100885923, (-16850508914)], [(-7549152), (-3665549855)], [213759551]]], r0 := 4398046511104, V1 := [[[2339413962243493986]], [[146600749698487, 0], [(-7437552113075651)]], [[(-51949405769263), 0, 0], [(-588812985432), 0], [23373766459595]], [[12257551668876, 0, 0, 0], [204717596175, 0, 0], [2201482756, 0], [(-72622862945)]], [[(-2166095975656), 0, 0, 0, 0], [(-47309660867), 0, 0, 0], [(-755385776), 0, 0], [(-7811768), 0], [223231299]]], r1 := 4398046511104, V2 := [[[18445791391348098103]], [[43582394328, 3603005281], [33269673397003]], [[(-15170361239), (-85635), (-13093)], [(-1600382447), (-253523067)], [(-580160759869)]], [[3510852856, 28345, 0, 0], [555694691, 6333, 1384], [29551960, 8919848], [6733144128]], [[(-607551512), (-6183), 0, 0, 0], [(-128250769), (-2096), 0, 0], [(-10233756), (-235), (-73)], [(-366261), (-209230)], [(-58475661)]]], r2 := 1073741824, Vm := [[[18445791398744252290]], [[43583309092, 0], [33269140347466]], [[(-15170657814), 0, 0], [(-1600449457), 0], [(-580141519266)]], [[3510915893, 0, 0, 0], [555716413, 0, 0], [29554418, 0], [6732680286]], [[(-607561343), 0, 0, 0, 0], [(-128255385), 0, 0, 0], [(-10234553), 0, 0], [(-366321), 0], [(-58467258)]]], rm := 268435456, rhoP := [[[18446877848250672932]], [[(-225799522248), (-133775489497836)], [(-4714026459636)]], [[7195288091, 225802013545, 948383193], [8734469617, 4714093264450], [83077076852]], [[(-31371560), (-7195367362), (-2491315), (-6667)], [(-296166049), (-8734653891), (-66805513)], [(-169611781), (-83079429972)], [(-976330569)]], [[(-38578946), 31371283, 79278, 23, 2], [3167281, 296172139, 184281, 706], [6116158, 169618609, 2353164], [2205262, 976385837], [8608244]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_3 : TailPosI 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 281474976710656 1125899906842624 :=
(ofR2 (CKLaneR2.Tail.leafS c3 q3 false 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 281474976710656 1125899906842624 (by decide +kernel)))
theorem region : TailPosI 985162418487296 1055531162664960 16140901064495857664 18446744073709551616 0 1125899906842624 :=
(TailPosI.split_s 281474976710656 (TailPosI.split_s 70368744177664 (TailPosI.split_s 17592186044416 leaf_0 leaf_1) leaf_2) leaf_3)
end CKLaneC.RST2.U_0027
end