Courtade–Kumar proof module `CKLaneC.RST2.U_0038` (transplant)
DefinitionCK_CKLaneC_RST2_U_0038Verbatim transplant of the Lean module CKLaneC.RST2.U_0038 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_0038 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_0038 =====
section
/-! RA-stat u-tail cover batch U_0038 (generated by C/tools/emit_tail2.py; compact format). -/
namespace CKLaneC.RST2.U_0038
open CKLaneR2.TM3 CKLaneR2.Cell CKLaneR2.Tail CKLaneC.RSTail
noncomputable def c0 : SCell := { bch := { bexp := true, bc := 1378940136605696, bh := 0, bN := 209, bD := 1024 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 12738103345053696, shN := 361, shD := 1024 }
noncomputable def q0 : TCert := { V0 := [[[303773653241325298]], [[191950069622919, 303654819516501316], [(-5899190203631117)]], [[(-32521076653963), 191724817615222, (-178168358774399)], [(-4581615364907), (-5892267546922737)], [114560520960948]], [[3659790391545, (-32483055715982), (-337618244171), (-59252473526071)], [757155411013, (-4567491758473), 10376001647107], [105532004306, 114291672751429], [(-2225826003847)]], [[(-307047410028), 3655543845364, 56987724196, (-112106770003), 102615545592], [(-82832690665), 754794472852, 21159034628, 3445370770923], [(-17136280624), 104944640358, (-402807264954)], [(-2371506192), (-2217124049225)], [43315760358]]], r0 := 1125899906842624, V1 := [[[2400879315979212685]], [[1480826508988103, 0], [(-45510154032442664)]], [[(-250921930581746), 0, 0], [(-33293051756700), 0], [852254279308477]], [[28245289936396, 0, 0, 0], [5495594958792, 0, 0], [708170328060, 0], [(-15771073934299)]], [[(-2370990325135), 0, 0, 0, 0], [(-600613296590), 0, 0, 0], [(-114540850232), 0, 0], [(-14417999332), 0], [288640986252]]], r1 := 4503599627370496, V2 := [[[18445456827243431075]], [[548818048605, 13191814012], [260904527788373]], [[(-90985911393), (-2458959), (-129774)], [(-116177601009), (-5389548429)], [(-26404809460536)]], [[10016958099, 372597, (-7), 1], [19190729094, 1057438, 79650], [12361617384, 1101041135], [1778475895213]], [[(-823525487), (-36500), 2, 0, 0], [(-2104082990), (-160249), 4, (-1)], [(-2033753814), (-227935), (-24447)], [(-882462101), (-149970178)], [(-89645577971)]]], r2 := 4398046511104, Vm := [[[18445456926681742693]], [[548814101325, 0], [260863762255090]], [[(-90985239899), 0, 0], [(-116175847574), 0], [(-26396450199181)]], [[10016883631, 0, 0, 0], [19190431798, 0, 0], [12361226334, 0], [1777332647830]], [[(-823519576), 0, 0, 0, 0], [(-2104050109), 0, 0, 0], [(-2033687738), 0, 0], [(-882403703), 0], [(-89528252850)]]], rm := 274877906944, rhoP := [[[18449299614064646837]], [[(-2397531110459), (-365126432269890)], [(-523408644636921)]], [[(-47033166716), 342572089263, 7035037486], [562483852701, 74792818643163], [53628403092307]], [[11709293572, 6721292540, (-9665076), (-134251)], [7380369679, (-80384745863), (-2879880075)], [(-66214782352), (-7665326459187)], [(-3665812752956)]], [[(-1126985500), (-1673217301), (-324174), 218, 4], [(-2338242326), (-1055194572), 4273812, 82402], [(-471860771), 9465872300, 589608062], [5218901746, 524250787620], [188135468250]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_0 : TailPosI 1125899906842624 1688849860263936 0 4611686018427387904 9007199254740992 18014398509481984 :=
(ofR2 (CKLaneR2.Tail.leafS c0 q0 false 1125899906842624 1688849860263936 0 4611686018427387904 9007199254740992 18014398509481984 (by decide +kernel)))
noncomputable def c1 : SCell := { bch := { bexp := true, bc := 1950115842888704, bh := 0, bN := 37, bD := 256 }, tc := 2305843009213693952, th := 2305843009213693952, sc := 12738103345053696, shN := 361, shD := 1024 }
noncomputable def q1 : TCert := { V0 := [[[314132331335251183]], [[200046207189087, 314000922628674612], [(-4467182767582811)]], [[(-33858102995479), 199795174370465, (-197015823905921)], [(-3513477936387), (-4461577015305870)], [63530245653339]], [[3805940884590, (-33815775169621), (-376239653074), (-65509967404578)], [579827123690, (-3501930575933), 8401715375182], [59461415016, 63370820396408], [(-904130970938)]], [[(-318899983781), 3801218977729, 63439737014, (-124897643060), 121329946679], [(-63329492383), 577899217044, 17297997495, 2789058621115], [(-9640683009), 59109187265, (-238842993430)], [(-981057115), (-900351879941)], [12894141711]]], r0 := 281474976710656, V1 := [[[2480694639600582925]], [[1539474530025978, 0], [(-34377627990424355)]], [[(-260595560367865), 0, 0], [(-25371413490791), 0], [470291580358567]], [[29301605582107, 0, 0, 0], [4181753327713, 0, 0], [394537381885, 0], [(-6353488839588)]], [[(-2456610900892), 0, 0, 0, 0], [(-456235643087), 0, 0, 0], [(-63696868860), 0, 0], [(-5860677762), 0], [84862331693]]], r1 := 1125899906842624, V2 := [[[18444928158455577697]], [[786483414949, 26399801345], [260506813456469]], [[(-130213906616), (-5107129), (-367996)], [(-118129287115), (-7638168483)], [(-18658131116626)]], [[14314113563, 773932, (-18), 5], [19484211480, 1558167, 159968], [8922144172, 1105064810], [889221901187]], [[(-1174788930), (-75832), 5, 0, 0], [(-2132649407), (-236152), 6, (-3)], [(-1465457714), (-238329), (-34776)], [(-452359168), (-106597269)], [(-31709033409)]]], r2 := 1099511627776, Vm := [[[18444928357944758836]], [[786475012554, 0], [260448884550386]], [[(-130212480869), 0, 0], [(-118126635563), 0], [(-18649716692937)]], [[14313955779, 0, 0, 0], [19483763092, 0, 0], [8921723969, 0], [888406685422]], [[(-1174776418), 0, 0, 0, 0], [(-2132599926), 0, 0, 0], [(-1465386906), 0, 0], [(-452314565), 0], [(-31649764626)]]], rm := 68719476736, rhoP := [[[18450362643272534202]], [[(-3571929735202), (-517037181421712)], [(-524922068442687)]], [[(-60954225842), 510419029867, 14098725042], [594296948943, 75017473293350], [38096337489872]], [[16428094246, 8712035193, (-20483635), (-380704)], [6390798919, (-84944478121), (-4087782885)], [(-49630514250), (-5446481678264)], [(-1844820818464)]], [[(-1592741608), (-2347787676), (-612858), 655, 12], [(-2316413123), (-914102483), 6418393, 165497], [(-243842159), 7097115982, 592787637], [2776198269, 263946892819], [67090678123]]], rhoR := 274877906944 }
set_option maxHeartbeats 0 in
theorem leaf_1 : TailPosI 1688849860263936 2251799813685248 0 4611686018427387904 9007199254740992 18014398509481984 :=
(ofR2 (CKLaneR2.Tail.leafS c1 q1 false 1688849860263936 2251799813685248 0 4611686018427387904 9007199254740992 18014398509481984 (by decide +kernel)))
theorem region : TailPosI 1125899906842624 2251799813685248 0 4611686018427387904 9007199254740992 18014398509481984 :=
(TailPosI.split_b 1688849860263936 leaf_0 leaf_1)
end CKLaneC.RST2.U_0038
end