Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3: global regularizer separation

Proved
GoodViewsNotEnough.global_regularizer_separation

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

characteristic-functionepps-pulleyjepanonuniquenessself-supervised-learning

Let DDD be either the analytic discrepancy DanD_{\rm an}Dan​ (frequency measure e−t2/2dte^{-t^2/2}dte−t2/2dt) or the grid discrepancy DgrD_{\rm gr}Dgr​ (17 nodes tj=5j/8t_j=5j/8tj​=5j/8). Then:

  1. every equally weighted two-atom law satisfies D(12(δb+δc))>150D\big(\tfrac12(\delta_b+\delta_c)\big)>\tfrac1{50}D(21​(δb​+δc​))>501​ for all b,c∈Rb,c\in\mathbb{R}b,c∈R;
  2. the comparator w=(1/10,13/10,−1/10,−13/10)w=(1/10,13/10,-1/10,-13/10)w=(1/10,13/10,−1/10,−13/10) satisfies Pπ(w)=121400P_\pi(w)=\tfrac{121}{400}Pπ​(w)=400121​ and D(μw)<31000D(\mu_w)<\tfrac3{1000}D(μw​)<10003​;
  3. the frequency mass satisfies Aν<251100A_\nu<\tfrac{251}{100}Aν​<100251​;
  4. the minimum of DanD_{\rm an}Dan​ over two-atom laws is attained and equals
d∗=2π2+2π3−74π 2−3/14>35716000>150.d_*=\frac{\sqrt{2\pi}}2+\sqrt{\frac{2\pi}3}-\frac74\sqrt\pi\,2^{-3/14}>\frac{357}{16000}>\frac1{50}.d∗​=22π​​+32π​​−47​π​2−3/14>16000357​>501​.

A scene-only scalar encoder has a two-atom output law, so this lemma bounds the Gaussian discrepancy from below on the entire scene-only class.

Preamble
import Mathlib
import Definitions.Def_GoodViewsNotEnough_Basic

open MeasureTheory Complex
Formal statement
namespace GoodViewsNotEnough

theorem global_regularizer_separation :
    (∀ ν ∈ ({analyticFreq, gridFreq} : Set (Measure ℝ)),
      (∀ b c : ℝ, 1 / 50 < discrepancy ν (twoAtomLaw b c)) ∧
      discrepancy ν (scalarLaw scalarComparator) < 3 / 1000 ∧
      freqMass ν < 251 / 100) ∧
    scalarPred scalarPairLaw scalarComparator = 121 / 400 ∧
    IsLeast (Set.range fun bc : ℝ × ℝ => discrepancy analyticFreq (twoAtomLaw bc.1 bc.2))
      analyticTwoAtomMin ∧
    357 / 16000 < analyticTwoAtomMin ∧ (1 / 50 : ℝ) < 357 / 16000 := by sorry

end GoodViewsNotEnough
Source
Anran Xu, Good Views Are Not Enough: Global Counterexamples for Gaussian-Regularized JEPAs, arXiv:2611.12137v1 (2026), Appendix B.2, Lemma 3, eqs. (10)-(12), p. 12
Read-back

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

The statement is a conjunction of concrete claims with no hypotheses or free parameters. It uses the following objects.

Gaussian characteristic function and discrepancy. Let

g(t)=e−t2/2,t∈R.g(t) = e^{-t^2/2}, \qquad t \in \mathbb{R}.g(t)=e−t2/2,t∈R.

For a measure μ\muμ on R\mathbb{R}R, let φμ(t)=∫eitx dμ(x)\varphi_\mu(t) = \int e^{itx}\,d\mu(x)φμ​(t)=∫eitxdμ(x) be its characteristic function. For a "frequency" measure ν\nuν on R\mathbb{R}R, the discrepancy is

Dν(μ)=∫R∣φμ(t)−g(t)∣2 dν(t).D_\nu(\mu) = \int_{\mathbb{R}} \big|\varphi_\mu(t) - g(t)\big|^2 \, d\nu(t).Dν​(μ)=∫R​​φμ​(t)−g(t)​2dν(t).

This is taken as a Bochner integral, which by convention is 000 if the integrand is not ν\nuν-integrable. The total mass of ν\nuν is Aν=ν(R)A_\nu = \nu(\mathbb{R})Aν​=ν(R), converted to a real number, with the convention that infinite mass becomes 000.

The two frequency measures. Both are finite measures.

  • The analytic measure νan\nu_{\mathrm{an}}νan​ has density e−t2/2e^{-t^2/2}e−t2/2 with respect to Lebesgue measure on R\mathbb{R}R.
  • The grid measure is
νgr=∑j=−88ωj δtj.\nu_{\mathrm{gr}} = \sum_{j=-8}^{8} \omega_j \, \delta_{t_j}.νgr​=j=−8∑8​ωj​δtj​​.
  • Its nodes are tj=5j/8t_j = 5j/8tj​=5j/8, so they run over {−5,−35/8,…,35/8,5}\{-5, -35/8, \dots, 35/8, 5\}{−5,−35/8,…,35/8,5}.
  • Its weights are ωj=58 cj e−tj2/2\omega_j = \tfrac{5}{8}\, c_j\, e^{-t_j^2/2}ωj​=85​cj​e−tj2​/2, with c±8=12c_{\pm 8} = \tfrac12c±8​=21​ and cj=1c_j = 1cj​=1 otherwise.
  • Hence
Dνgr(μ)=∑jωj ∣φμ(tj)−g(tj)∣2.D_{\nu_{\mathrm{gr}}}(\mu) = \sum_{j} \omega_j \,|\varphi_\mu(t_j) - g(t_j)|^2.Dνgr​​(μ)=j∑​ωj​∣φμ​(tj​)−g(tj​)∣2.

Laws, comparator and prediction term.

  • For reals b,cb, cb,c, the two-atom law is 12(δb+δc)\tfrac12(\delta_b + \delta_c)21​(δb​+δc​). The case b=cb = cb=c is allowed, and then the law is δb\delta_bδb​.
  • For x∈R4x \in \mathbb{R}^4x∈R4, the output law is μx=14∑i=14δxi\mu_x = \tfrac14 \sum_{i=1}^4 \delta_{x_i}μx​=41​∑i=14​δxi​​.
  • The comparator is
w=(110,1310,−110,−1310),w = \left(\tfrac{1}{10}, \tfrac{13}{10}, -\tfrac{1}{10}, -\tfrac{13}{10}\right),w=(101​,1013​,−101​,−1013​),

so that

φμw(t)=12(cos⁡(t/10)+cos⁡(13t/10)).\varphi_{\mu_w}(t) = \tfrac12\big(\cos(t/10) + \cos(13t/10)\big).φμw​​(t)=21​(cos(t/10)+cos(13t/10)).
  • Let s=(1,1,−1,−1)s = (1, 1, -1, -1)s=(1,1,−1,−1). The pair weights are
πij=1+sisj/216,\pi_{ij} = \frac{1 + s_i s_j/2}{16},πij​=161+si​sj​/2​,

which equals 332\tfrac{3}{32}323​ when si=sjs_i = s_jsi​=sj​ and 132\tfrac{1}{32}321​ otherwise.

  • The prediction term is
Pπ(x)=14∑i,j=14πij (xi−xj)2.P_\pi(x) = \tfrac14 \sum_{i,j=1}^{4} \pi_{ij}\,(x_i - x_j)^2.Pπ​(x)=41​i,j=1∑4​πij​(xi​−xj​)2.

The constant d∗d_*d∗​.

d∗=2π2+2π3−74π  2−3/14.d_* = \frac{\sqrt{2\pi}}{2} + \sqrt{\frac{2\pi}{3}} - \frac{7}{4}\sqrt{\pi}\; 2^{-3/14}.d∗​=22π​​+32π​​−47​π​2−3/14.

The theorem asserts all of the following.

  1. For each ν∈{νan,νgr}\nu \in \{\nu_{\mathrm{an}}, \nu_{\mathrm{gr}}\}ν∈{νan​,νgr​}, all three of these hold:
    • For every pair of reals b,cb, cb,c (including b=cb = cb=c), Dν(12(δb+δc))>150D_\nu\big(\tfrac12(\delta_b + \delta_c)\big) > \tfrac{1}{50}Dν​(21​(δb​+δc​))>501​. The inequality is strict.
    • Dν(μw)<31000D_\nu(\mu_w) < \tfrac{3}{1000}Dν​(μw​)<10003​.
    • Aν<251100A_\nu < \tfrac{251}{100}Aν​<100251​.
  2. Pπ(w)=121400P_\pi(w) = \tfrac{121}{400}Pπ​(w)=400121​ exactly.
  3. d∗d_*d∗​ is the least element of the set {Dνan(12(δb+δc)):b,c∈R}\{D_{\nu_{\mathrm{an}}}\big(\tfrac12(\delta_b + \delta_c)\big) : b, c \in \mathbb{R}\}{Dνan​​(21​(δb​+δc​)):b,c∈R}. That is, some pair (b,c)(b, c)(b,c) attains the value d∗d_*d∗​, and every pair gives a value ≥d∗\ge d_*≥d∗​. This is stated only for νan\nu_{\mathrm{an}}νan​, not for νgr\nu_{\mathrm{gr}}νgr​.
  4. 35716000<d∗\tfrac{357}{16000} < d_*16000357​<d∗​.
  5. 150<35716000\tfrac{1}{50} < \tfrac{357}{16000}501​<16000357​. This is a standalone arithmetic fact (320/16000<357/16000320/16000 < 357/16000320/16000<357/16000) and does not involve any of the defined objects.
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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