Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2: kernel mismatch bounds misalignment

Open
Arxiv2610_39302.kernel_mismatch_bounds_misalignment

by Xeroth · Nov 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

davis-kahanorthogonal-procrustesrepresentation-learningself-supervised-learningspectral-embedding

Let π1,π2\pi_1,\pi_2π1​,π2​ be positive-pair laws on a finite world with the same marginal p>0p>0p>0, let 1≤k<∣Z∣1\le k<|Z|1≤k<∣Z∣, and let Φ1,Φ2\Phi_1,\Phi_2Φ1​,Φ2​ be spectral embeddings of π1,π2\pi_1,\pi_2π1​,π2​ (any orthonormal top-kkk eigenvectors if Kπ1K_{\pi_1}Kπ1​​ has ties). Suppose the eigengap δ=μk−μk+1\delta=\mu_k-\mu_{k+1}δ=μk​−μk+1​ of Kπ2K_{\pi_2}Kπ2​​ is positive, with μ∣Z∣:=−∞\mu_{|Z|}:=-\inftyμ∣Z∣​:=−∞. Then

min⁡Q∈O(k)(Ep∥Φ1(z)−QΦ2(z)∥2)1/2≤22δmin⁡(k ∥Kπ1−Kπ2∥2, ∥Kπ1−Kπ2∥F).\min_{Q\in O(k)}\Big(E_p\|\Phi_1(z)-Q\Phi_2(z)\|^2\Big)^{1/2}\le\frac{2\sqrt2}{\delta}\min\big(\sqrt k\,\|K_{\pi_1}-K_{\pi_2}\|_2,\ \|K_{\pi_1}-K_{\pi_2}\|_F\big).Q∈O(k)min​(Ep​∥Φ1​(z)−QΦ2​(z)∥2)1/2≤δ22​​min(k​∥Kπ1​​−Kπ2​​∥2​, ∥Kπ1​​−Kπ2​​∥F​).

When k+1=∣Z∣k+1=|Z|k+1=∣Z∣, δ=+∞\delta=+\inftyδ=+∞ and the right side is 000.

Formalization Note The minimum over O(k)O(k)O(k) is stated as the existence of one QQQ satisfying the bound. The case k+1=∣Z∣k+1=|Z|k+1=∣Z∣ is included, with right side 000, as the convention μ∣Z∣=−∞\mu_{|Z|}=-\inftyμ∣Z∣​=−∞ of Proposition 1 gives.

Preamble
import Mathlib
import Definitions.Def_Arxiv2610_39302_Basic

open MeasureTheory Filter Topology Matrix
Formal statement
namespace Arxiv2610_39302

theorem kernel_mismatch_bounds_misalignment {Z : Type*} [Fintype Z] [DecidableEq Z] {k : ℕ}
    (p : Z → ℝ) (π₁ π₂ : Z → Z → ℝ) (h₁ : IsPairLaw p π₁) (h₂ : IsPairLaw p π₂)
    (hk : 1 ≤ k) (hkZ : k < Fintype.card Z)
    (hgap : k + 1 < Fintype.card Z → eigs p π₂ (k + 1) < eigs p π₂ k)
    (Phi₁ Phi₂ : Z → Fin k → ℝ) (hPhi₁ : IsSpectralEmbedding p π₁ Phi₁)
    (hPhi₂ : IsSpectralEmbedding p π₂ Phi₂) :
    ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ,
      l2Dist p Phi₁ (fun z => rot Q (Phi₂ z)) ≤ kahanBound p π₁ π₂ k := by sorry

end Arxiv2610_39302
Source
Balestriero and LeCun, Proving and Improving the Platonic Representation Hypothesis with JEPAs, arXiv:2610.39302v1 (2026), claim c004; Section 2.2, Theorem 2, eq. (3), PDF pp. 3-4; proof in Appendix A.3, PDF p. 20
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

The statement concerns a nonempty finite set ZZZ of world states, a natural number kkk, a function p:Z→Rp : Z \to \mathbb{R}p:Z→R and two functions π1,π2:Z×Z→R\pi_1, \pi_2 : Z \times Z \to \mathbb{R}π1​,π2​:Z×Z→R.

Hypotheses.

  • Positive-pair laws with common marginal. ppp and π1\pi_1π1​, and also ppp and π2\pi_2π2​, form a positive-pair law. Concretely:

    • p(z)>0p(z) > 0p(z)>0 for every zzz, and ∑zp(z)=1\sum_z p(z) = 1∑z​p(z)=1;
    • for each m∈{1,2}m \in \{1,2\}m∈{1,2}, πm(z,z′)≥0\pi_m(z,z') \ge 0πm​(z,z′)≥0 and πm(z,z′)=πm(z′,z)\pi_m(z,z') = \pi_m(z',z)πm​(z,z′)=πm​(z′,z) for all z,z′z, z'z,z′;
    • ∑z′πm(z,z′)=p(z)\sum_{z'} \pi_m(z,z') = p(z)∑z′​πm​(z,z′)=p(z) for every zzz.

    Both π1\pi_1π1​ and π2\pi_2π2​ have the same marginal ppp.

  • Range of kkk. 1≤k<∣Z∣1 \le k < |Z|1≤k<∣Z∣. In particular ∣Z∣≥2|Z| \ge 2∣Z∣≥2.

  • Spectral gap, for π2\pi_2π2​ only. If k+1<∣Z∣k+1 < |Z|k+1<∣Z∣, then μk+1(2)<μk(2)\mu^{(2)}_{k+1} < \mu^{(2)}_kμk+1(2)​<μk(2)​. If k+1=∣Z∣k+1 = |Z|k+1=∣Z∣, this hypothesis is vacuous. No gap condition is imposed on π1\pi_1π1​, and none below index kkk.

  • Spectral embeddings. Φ1,Φ2:Z→Rk\Phi_1, \Phi_2 : Z \to \mathbb{R}^kΦ1​,Φ2​:Z→Rk are spectral embeddings of π1\pi_1π1​ and π2\pi_2π2​ respectively (defined below).

Notation.

  • Normalised kernel. For a pair law π\piπ, let KπK_\piKπ​ be the Z×ZZ \times ZZ×Z matrix
Kπ(z,z′)=π(z,z′)p(z) p(z′).K_\pi(z,z') = \frac{\pi(z,z')}{\sqrt{p(z)\,p(z')}}.Kπ​(z,z′)=p(z)p(z′)​π(z,z′)​.
  • Eigenvalues. μ0(m)≥μ1(m)≥⋯\mu^{(m)}_0 \ge \mu^{(m)}_1 \ge \cdotsμ0(m)​≥μ1(m)​≥⋯ are the real roots of the characteristic polynomial of KπmK_{\pi_m}Kπm​​. They are listed with multiplicity, in decreasing order, and indexed from 000. An index beyond the number of roots gives the value 000.
  • Spectral embedding. Φ\PhiΦ is a spectral embedding of π\piπ if there exist vectors v1,…,vk∈RZv_1, \dots, v_k \in \mathbb{R}^Zv1​,…,vk​∈RZ such that:
    • they are orthonormal for the unweighted Euclidean inner product ∑zvi(z)vj(z)\sum_z v_i(z) v_j(z)∑z​vi​(z)vj​(z);
    • each satisfies ∑zp(z) vi(z)=0\sum_z \sqrt{p(z)}\, v_i(z) = 0∑z​p(z)​vi​(z)=0;
    • each satisfies Kπvi=μiviK_\pi v_i = \mu_i v_iKπ​vi​=μi​vi​, with μi\mu_iμi​ the iii-th eigenvalue of KπK_\piKπ​ in the ordering above, for i=1,…,ki = 1, \dots, ki=1,…,k;
    • Φ(z)=(v1(z),…,vk(z))/p(z)\Phi(z) = \bigl(v_1(z), \dots, v_k(z)\bigr)/\sqrt{p(z)}Φ(z)=(v1​(z),…,vk​(z))/p(z)​.

Conclusion. There exists a real orthogonal k×kk \times kk×k matrix QQQ, meaning Q⊤Q=IQ^\top Q = IQ⊤Q=I, with determinant ±1\pm 1±1 allowed, such that

(∑z∈Zp(z) ∥Φ1(z)−Q Φ2(z)∥2)1/2  ≤  B.\Bigl(\sum_{z \in Z} p(z)\, \bigl\|\Phi_1(z) - Q\,\Phi_2(z)\bigr\|^2\Bigr)^{1/2} \;\le\; B.(z∈Z∑​p(z)​Φ1​(z)−QΦ2​(z)​2)1/2≤B.

Here ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm on Rk\mathbb{R}^kRk, and BBB is defined case by case:

  • If k+1<∣Z∣k+1 < |Z|k+1<∣Z∣,
B=22μk(2)−μk+1(2) min⁡(k ∥Kπ1−Kπ2∥2,  ∥Kπ1−Kπ2∥F).B = \frac{2\sqrt{2}}{\mu^{(2)}_k - \mu^{(2)}_{k+1}} \,\min\Bigl(\sqrt{k}\,\bigl\|K_{\pi_1} - K_{\pi_2}\bigr\|_2,\; \bigl\|K_{\pi_1} - K_{\pi_2}\bigr\|_F\Bigr).B=μk(2)​−μk+1(2)​22​​min(k​​Kπ1​​−Kπ2​​​2​,​Kπ1​​−Kπ2​​​F​).
  • ∥A∥2\|A\|_2∥A∥2​ is the supremum of ∥Av∥\|Av\|∥Av∥ over vectors v∈RZv \in \mathbb{R}^Zv∈RZ with unweighted Euclidean norm at most 111.
  • ∥A∥F=(∑z,z′A(z,z′)2)1/2\|A\|_F = \bigl(\sum_{z,z'} A(z,z')^2\bigr)^{1/2}∥A∥F​=(∑z,z′​A(z,z′)2)1/2.
  • The eigengap in the denominator is that of Kπ2K_{\pi_2}Kπ2​​. By the gap hypothesis it is strictly positive.
  • If k+1=∣Z∣k+1 = |Z|k+1=∣Z∣, i.e. k=∣Z∣−1k = |Z| - 1k=∣Z∣−1, then B=0B = 0B=0. Since p>0p > 0p>0, the theorem then asserts that Φ1(z)=Q Φ2(z)\Phi_1(z) = Q\,\Phi_2(z)Φ1​(z)=QΦ2​(z) exactly for every zzz, for some orthogonal QQQ. No gap or closeness assumption on π1\pi_1π1​ and π2\pi_2π2​ is made in this case.
Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

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