Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Elementary-depth histograms automatically give boundary recipe leaves

Proved
mme_profiled_CW_low_level_boundary_end_of_grade_support

by Robertboy18 · Sep 22, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

boundary-profilematrix-multiplicationtensor-complexity

Let ℓ≤1\ell\le1ℓ≤1 and partition LLL complete-word positions into cells. Suppose each cell has three grades summing to 2⋅2ℓ−12\cdot2^{\ell-1}2⋅2ℓ−1 and three histograms, each with the cell multiplicity and supported at its specified grade. Assume the resulting coordinate predicates are contained in an interface PPP.

Then there are exact oriented boundary profiles reproducing those grades and histograms, together with a terminal boundary interface for PPP. Its three matrix dimensions are the products of the corresponding profile dimensions. No separate zero-mode or complementary-histogram hypothesis is needed: at this depth the grade total is two and a complete word is determined by its grade.

Preamble
import Definitions.Def_mme_recursive_profiled_CW_data

open BigOperators MME MME.CompleteSplit MME.RecursiveYZ
  MME.RecursiveYZ.CWCells MME.RecursiveYZ.Boundary MME.ProfiledCW
set_option autoImplicit false

Formal statement
theorem mme_profiled_CW_low_level_boundary_end_of_grade_support
    (ell L cells : ℕ) (hlevel : ell ≤ 1) (cell : Fin L → Fin cells)
    (part : Partition cell) (shape : Fin cells → Fin 3 → ℕ)
    (mu : Fin 3 → Fin cells → CompleteWord ell → ℕ)
    (P : Predicate (L * 2 ^ (ell - 1)))
    (ht : ∀ j, shape (part.cells j) 0 + shape (part.cells j) 1 +
      shape (part.cells j) 2 = 2 * 2 ^ (ell - 1))
    (hm : ∀ j i, ∑ s, mu i (part.cells j) s = part.size j)
    (hg : ∀ j i s, 0 < mu i (part.cells j) s → grade s = shape (part.cells j) i)
    (hinside : ∀ i x,
      ((∀ p, grade (split (Equiv.refl (Fin L)) rfl x p) = shape (cell p) i) ∧
        Useful cell (mu i) (split (Equiv.refl (Fin L)) rfl x)) → P i x) :
    ∃ (z : Fin part.parts → Fin 3)
      (profiles : ∀ j, Boundary.Profile ell (part.size j)),
      (∀ j i, shape (part.cells j) i = (profiles j).shape (z j) i) ∧
      (∀ j i, mu i (part.cells j) = (profiles j).mu (z j) i) ∧
      ∃ B : BoundaryEnd ell (L * 2 ^ (ell - 1)) P,
        B.a = ∏ j, (profiles j).a (z j) ∧
        B.b = ∏ j, (profiles j).b (z j) ∧
        B.c = ∏ j, (profiles j).c (z j) := by sorry
Source
Exact complementary boundary profiles and the terminal ProfiledCW recipe interface.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me