Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Matrix extraction from simultaneous regional tolerance windows

Proved
mme_joint_regional_tolerance_window_matrix_extraction

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

matrix-multiplicationregional-extractiontensor-complexity

Let KKK be a field. Partition the coordinate positions into regions equipped with integer extraction steps, nonnegative child tolerances δj\delta_jδj​, positive parent tolerances εj\varepsilon_jεj​, and nonnegative rates rjr_jrj​. Assume the scalar size tests and uniform admissible-profile window budgets. Suppose the regional parent windows of radii εj+2δj\varepsilon_j+2\delta_jεj​+2δj​ lie in the source predicate PPP, and a shared lower-level joint recipe FFF has its predicate inside all regional child windows. Write Hj=(∣Position⁡j∣+1)3∣Cell⁡j∣∣CompleteWord⁡ℓ∣H_j=(|\operatorname{Position}_j|+1)^{3|\operatorname{Cell}_j||\operatorname{CompleteWord}_{\ell}|}Hj​=(∣Positionj​∣+1)3∣Cellj​∣∣CompleteWordℓ​∣. There are natural numbers s,ks,ks,k with

s≤(∏jHj)inputs⁡(F),k≥exp⁡ ⁣(∑jrj+logOutputs⁡(F)),s\le\Bigl(\prod_j H_j\Bigr)\operatorname{inputs}(F),\qquad k\ge\exp\!\left(\sum_j r_j+\operatorname{logOutputs}(F)\right),s≤(j∏​Hj​)inputs(F),k≥exp(j∑​rj​+logOutputs(F)),

such that kkk copies of the matrix multiplication tensor with dimensions (F.a,F.b,F.c)(F.a,F.b,F.c)(F.a,F.b,F.c) restrict from sss copies of the tensor defined by PPP. The regional rates combine before compiling the shared next recipe.

Preamble
import Theorems.Thm_mme_logarithmic_joint_regional_recipe_compilation
import Theorems.Thm_mme_joint_regional_CW_plan_sound
import Definitions.Def_mme_logarithmic_joint_regional_CW_recipe
import Theorems.Thm_mme_regional_tolerance_window_step_family

open BigOperators MME MME.ProfiledCW MME.RecursiveYZ MME.RegionRealization MME.CompleteSplit
open MME.RecursiveYZ.CWCells
open MME.TensorObj
set_option autoImplicit false


universe u
Formal statement
theorem mme_joint_regional_tolerance_window_matrix_extraction
    {K : Type u} [Field K] {N ell upper parts : ℕ} {P Q : Predicate N}
    (hlevel : ell < upper) (size : Fin parts → ℕ)
    (positions : ((j : Fin parts) × Fin (size j)) ≃ Fin N)
    (base : ∀ j, Predicate (size j)) (D : ∀ j, IntegerStep ell (size j) (base j))
    (delta eps rate : Fin parts → ℝ)
    (hdelta : ∀ j, 0 ≤ delta j) (heps : ∀ j, 0 < eps j) (hrate : ∀ j, 0 ≤ rate j)
    (hsize : ∀ j, (8 * (D j).repairScale : ℝ) *
      (25 * (D j).R * (Fintype.card (CompleteWord ell) : ℝ)^2) ≤
        ((D j).minimum : ℝ) * (eps j)^2)
    (hbudget : ∀ j (mu : WindowProfile (D j)), WindowAdmissible (D j) mu →
      (∀ i, WindowClose (D j) (delta j) i (mu i)) →
        rate j ≤ windowLogBudget (D j) mu (eps j))
    (source : ∀ i x, (∀ j, parentWindow (D j) (eps j + 2 * delta j) i
      (fun r ↦ x (positions ⟨j,r⟩))) → P i x)
    (target : ∀ i x, Q i x → ∀ j, childWindow (D j) (delta j) i
      (fun r ↦ x (positions ⟨j,r⟩)))
    (next : LogJointRecipe N ell Q) :
    ∃ inputs copies : ℕ,
      inputs ≤ (∏ j, (Fintype.card (Position (D j).n) + 1) ^
        (3 * Fintype.card (Cell (D j).half (D j).R (D j).parent) *
          Fintype.card (CompleteWord ell))) * next.inputs ∧
      Real.exp ((∑ j, rate j) + next.logOutputs) ≤ (copies : ℝ) ∧
      TensorObj.Restrict
        (bigAdd (fun _ : Fin copies ↦ MMObj K next.a next.b next.c))
        (bigAdd (fun _ : Fin inputs ↦ tensor K P)) := by sorry
Source
Regional tolerance-window step families and joint logarithmic regional recipes.

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