Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Matching a source row to its derivative roots and centroid

Proved
DerivativeChainPhaseLock.actual_augmented_matching

by labuka · Oct 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

covariancederivative-chainsfinite-history-lawsprefix-laws

For each natural number kkk, write Ik={0,…,k−1}I_k=\{0,\ldots,k-1\}Ik​={0,…,k−1}, with I0=∅I_0=\varnothingI0​=∅. Let n∈Nn\in \mathbb Nn∈N, a ⁣:(I(n+2)⟶C)a\colon \bigl(I_{\left(n + 2\right)}\longrightarrow \mathbb C\bigr)a:(I(n+2)​⟶C). Then

∃b ⁣:(I(n+1)⟶C),((D ⁣(fromRoots⁡ ⁣(a))=(C⁡ ⁣((n+2)) fromRoots⁡ ⁣(b)))∧((complexCentroid⁡ ⁣(b)=complexCentroid⁡ ⁣(a))∧∃σ∈Perm⁡ ⁣(I(n+2)),(∑i∈univ(∥(a ⁣(σ ⁣(i))−snoc⁡ ⁣(b,complexCentroid⁡ ⁣(a),i))∥)2≤(∑j∈univ(∥(a ⁣(j)−complexCentroid⁡ ⁣(a))∥)2−∑i1∈univ(∥(b ⁣(i1)−complexCentroid⁡ ⁣(a))∥)2))))\exists b\colon \bigl(I_{\left(n + 1\right)}\longrightarrow \mathbb C\bigr),\quad \left(\left(\mathrm D\!\left(\operatorname{fromRoots}\!\left(a\right)\right) = \left(\operatorname{C}\!\left(\left(n + 2\right)\right) \, \operatorname{fromRoots}\!\left(b\right)\right)\right) \land \left(\left(\operatorname{complexCentroid}\!\left(b\right) = \operatorname{complexCentroid}\!\left(a\right)\right) \land \exists σ\in \operatorname{Perm}\!\left(I_{\left(n + 2\right)}\right),\quad \left(\sum_{i\in \mathsf{univ}} \left(\left\|\left(a\!\left(σ\!\left(i\right)\right) - \operatorname{snoc}\!\left(b, \operatorname{complexCentroid}\!\left(a\right), i\right)\right)\right\|\right)^{2} \le \left(\sum_{j\in \mathsf{univ}} \left(\left\|\left(a\!\left(j\right) - \operatorname{complexCentroid}\!\left(a\right)\right)\right\|\right)^{2} - \sum_{i_{1}\in \mathsf{univ}} \left(\left\|\left(b\!\left(i_{1}\right) - \operatorname{complexCentroid}\!\left(a\right)\right)\right\|\right)^{2}\right)\right)\right)\right)∃b:(I(n+1)​⟶C),​(D(fromRoots(a))=(C((n+2))fromRoots(b)))∧​(complexCentroid(b)=complexCentroid(a))∧∃σ∈Perm(I(n+2)​),​i∈univ∑​(∥(a(σ(i))−snoc(b,complexCentroid(a),i))∥)2≤​j∈univ∑​(∥(a(j)−complexCentroid(a))∥)2−i1​∈univ∑​(∥(b(i1​)−complexCentroid(a))∥)2​​​​

The named functions DerivativeChainContinuation.complexCentroid, DerivativeChainPrivate.fromRoots retain their exact imported definitions. Pad the derivative-root kernel by the centroid row to obtain a doubly stochastic matrix. The finite variance identity computes its cost, and permutation selection supplies the matching.

Formalization Note. Natural-number subtraction is truncated. Named functions, index embeddings and field projections use their exact imported definitions.

Preamble
import Mathlib
import Definitions.Def_DerivativeChainContinuation_CollinearTransport
import Definitions.Def_DerivativeChainPrivate_foundations
set_option autoImplicit false
namespace DerivativeChain
end DerivativeChain
namespace DerivativeChainContinuation
end DerivativeChainContinuation
namespace DerivativeChainFiniteHistory
end DerivativeChainFiniteHistory
namespace DerivativeChainPhaseLock
end DerivativeChainPhaseLock
namespace DerivativeChainPrefixLaws
end DerivativeChainPrefixLaws
namespace DerivativeChainPrivate
end DerivativeChainPrivate

set_option autoImplicit false
set_option backward.isDefEq.respectTransparency false
set_option maxHeartbeats 2000000
open scoped BigOperators
open Polynomial Matrix DerivativeChainContinuation
open DerivativeChainPhaseLock






Formal statement
theorem DerivativeChainPhaseLock.actual_augmented_matching (n : ℕ) (a : Fin (n+2) → ℂ) :
    ∃ b : Fin (n+1) → ℂ,
      (DerivativeChainPrivate.fromRoots a).derivative=
        C (n+2:ℂ)*DerivativeChainPrivate.fromRoots b ∧
      complexCentroid b=complexCentroid a ∧
      ∃ σ : Equiv.Perm (Fin (n+2)),
        (∑ i,‖a (σ i)-(Fin.snoc b (complexCentroid a) : Fin (n+2) → ℂ) i‖^2) ≤
          (∑ j,‖a j-complexCentroid a‖^2)-(∑ i,‖b i-complexCentroid a‖^2) := by sorry
Source
New frozen formal source /Users/amal/.codex/worktrees/prove2me-sync-20261026/derivative-chain-prize/submission_sync/new_formal/phase_lock/AugmentedMatching.lean, lines 84-97, SHA-256 5143e9e369bfb29da654ef7e676f642d616c5ae7409a6a0f1c3f9492592ae9ee. The source manifest pins the author receipts and analytic provenance. This new code is not attributed to the older public checkpoint. Shared canonical history and prefix interfaces. The phase26 and prefix-core19 frozen author manifests supply exact proof receipts and source provenance; no extension or new global U is included.

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