Courtade–Kumar proof module `CKLaneG3.M11.Top` (transplant)
DefinitionCK_CKLaneG3_M11_TopVerbatim transplant of the Lean module CKLaneG3.M11.Top 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 CKLaneG3.M11.Top from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneG3_Families
import Definitions.Def_CK_CKLaneD_OCompact
import Definitions.Def_CK_CKLaneG3_M11_L1_024125
import Definitions.Def_CK_CKLaneG3_M11_L1_1
-- ===== source module CKLaneG3.M11.Top =====
section
/-! Lane G3 subtree aggregate (family M11-global_parent_envelope, level 2), generated by G3/pipeline/g3pipe.py.
Statement shape: `LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree p) (List.reverse p)`: every leaf of the archived subtree at path `p` with owner label in [6] satisfies the region Prop on its exact box. -/
namespace CKLaneG3.M11.Top
open CKLaneD CKLaneG3
/-- subtree `0240`: no family leaves (2517 leaves). -/
theorem z_0240 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4, 0]) (List.reverse [0, 2, 4, 0]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- subtree `024124`: no family leaves (3311 leaves). -/
theorem z_024124 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4, 1, 2, 4]) (List.reverse [0, 2, 4, 1, 2, 4]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- node `02412`: 28 family leaves of 4414 leaves. -/
theorem n_02412 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4, 1, 2]) (List.reverse [0, 2, 4, 1, 2]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 4, 1, 2] 2 (by decide +kernel)
z_024124
CKLaneG3.M11.L1_024125.st_024125
/-- subtree `02413`: no family leaves (1 leaves). -/
theorem z_02413 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4, 1, 3]) (List.reverse [0, 2, 4, 1, 3]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- node `0241`: 28 family leaves of 4415 leaves. -/
theorem n_0241 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4, 1]) (List.reverse [0, 2, 4, 1]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 4, 1] 1 (by decide +kernel)
n_02412
z_02413
/-- node `024`: 28 family leaves of 6932 leaves. -/
theorem n_024 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 4]) (List.reverse [0, 2, 4]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 4] 0 (by decide +kernel)
z_0240
n_0241
/-- subtree `025024`: no family leaves (3122 leaves). -/
theorem z_025024 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2, 4]) (List.reverse [0, 2, 5, 0, 2, 4]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- subtree `0250250`: no family leaves (9733 leaves). -/
theorem z_0250250 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2, 5, 0]) (List.reverse [0, 2, 5, 0, 2, 5, 0]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- subtree `02502513`: no family leaves (8564 leaves). -/
theorem z_02502513 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2, 5, 1, 3]) (List.reverse [0, 2, 5, 0, 2, 5, 1, 3]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- node `0250251`: 1 family leaves of 8943 leaves. -/
theorem n_0250251 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2, 5, 1]) (List.reverse [0, 2, 5, 0, 2, 5, 1]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 5, 0, 2, 5, 1] 1 (by decide +kernel)
CKLaneG3.M11.L1_024125.st_02502512
z_02502513
/-- node `025025`: 1 family leaves of 18676 leaves. -/
theorem n_025025 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2, 5]) (List.reverse [0, 2, 5, 0, 2, 5]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 5, 0, 2, 5] 0 (by decide +kernel)
z_0250250
n_0250251
/-- node `02502`: 1 family leaves of 21798 leaves. -/
theorem n_02502 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 2]) (List.reverse [0, 2, 5, 0, 2]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 5, 0, 2] 2 (by decide +kernel)
z_025024
n_025025
/-- subtree `02503`: no family leaves (11 leaves). -/
theorem z_02503 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0, 3]) (List.reverse [0, 2, 5, 0, 3]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- node `0250`: 1 family leaves of 21809 leaves. -/
theorem n_0250 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5, 0]) (List.reverse [0, 2, 5, 0]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 5, 0] 1 (by decide +kernel)
n_02502
z_02503
/-- node `025`: 148 family leaves of 22211 leaves. -/
theorem n_025 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2, 5]) (List.reverse [0, 2, 5]) :=
leafFacts_sub_node ArchTree.archTree [0, 2, 5] 0 (by decide +kernel)
n_0250
CKLaneG3.M11.L1_024125.st_0251
/-- node `02`: 176 family leaves of 29143 leaves. -/
theorem n_02 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 2]) (List.reverse [0, 2]) :=
leafFacts_sub_node ArchTree.archTree [0, 2] 2 (by decide +kernel)
n_024
n_025
/-- subtree `03`: no family leaves (4 leaves). -/
theorem z_03 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0, 3]) (List.reverse [0, 3]) :=
leafFacts_of_tallLabels _ _ (by decide +kernel)
/-- node `0`: 176 family leaves of 29147 leaves. -/
theorem n_0 : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree [0]) (List.reverse [0]) :=
leafFacts_sub_node ArchTree.archTree [0] 1 (by decide +kernel)
n_02
z_03
/-- node `R`: 338 family leaves of 29495 leaves. -/
theorem n_R : LeafFacts PsiSem (goodLabel 6) (tsub ArchTree.archTree []) (List.reverse []) :=
leafFacts_sub_node ArchTree.archTree [] 0 (by decide +kernel)
n_0
CKLaneG3.M11.L1_1.st_1
/-- Family M11-global_parent_envelope: every archived leaf with owner label in [6] satisfies the region Prop on its exact box. -/
theorem root_leafFacts : LeafFacts PsiSem (goodLabel 6) ArchTree.archTree [] := n_R
/-- Residual box form on the whole archived root box: the region Prop holds except on the physical images of archived leaves outside the family. -/
theorem root_residual : ∀ (k : ℕ) (μ : GeneralCK.InteriorLaw (Fin k)),
InUVT (uvtBox []) μ.a μ.b μ.meanEntropy →
(∃ q ∈ ArchTree.archTree.leavesR [], (goodLabel 6) q.2 = false ∧
InUVT (uvtBox q.1) μ.a μ.b μ.meanEntropy) ∨ PsiSem k μ :=
residual_of_leafFacts ArchTree.archTree [] root_leafFacts
/-- Coordinator leaf-family shape (BRIEF §7, (O)): every archived leaf with owner label 6 satisfies `SemUVT` on its full leaf image. -/
theorem label_sem : ∀ q ∈ ArchTree.archTree.leaves, q.2 = 6 → SemUVT (uvtBox q.1) :=
fun q hq hl => root_leafFacts q hq (by simp [goodLabel, hl])
/-- OLeafOK form (input of `CKLaneD.OCompact.opCompact_of_leaves`) for owner label 6. -/
theorem label_oleaf : ∀ q ∈ ArchTree.archTree.leaves, q.2 = 6 →
CKLaneD.OCompact.OLeafOK (uvtBox q.1) :=
fun q hq hl => CKLaneD.OCompact.oLeafOK_of_semUVT (h := label_sem q hq hl)
end CKLaneG3.M11.Top
end