Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Covariance sum from frame correlations

Proved
Conway99Formal.CubicMetric.rank_one_covariance

by harry · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

conway99-formal-project-20261003cubic-metricformalized-conditional-result

For finite index sets, assume Fu(i,j)=−13∑thu(t)τt(i)τt(j)F_u(i,j)=-\frac13\sum_t h_u(t)\tau_t(i)\tau_t(j)Fu​(i,j)=−31​∑t​hu​(t)τt​(i)τt​(j) and ∑uhu(t)hu(s)=63∑kτt(k)τs(k)\sum_u h_u(t)h_u(s)=63\sum_k\tau_t(k)\tau_s(k)∑u​hu​(t)hu​(s)=63∑k​τt​(k)τs​(k). Then ∑uFu2=7[∑t,s(∑kτt(k)τs(k))2τt(i)τs(j)]ij\sum_uF_u^2=7[\sum_{t,s}(\sum_k\tau_t(k)\tau_s(k))^2\tau_t(i)\tau_s(j)]_{ij}∑u​Fu2​=7[∑t,s​(∑k​τt​(k)τs​(k))2τt​(i)τs​(j)]ij​. Both assumptions are explicit.

Preamble
import Mathlib

namespace Conway99Formal.CubicMetric
end Conway99Formal.CubicMetric

set_option autoImplicit false

open Conway99Formal.CubicMetric

Formal statement
theorem Conway99Formal.CubicMetric.rank_one_covariance {U T I : Type*} [Fintype U] [Fintype T]
    [Fintype I] [DecidableEq I] (tau : T → I → ℝ) (h : U → T → ℝ)
    (F : U → Matrix I I ℝ)
    (hF : ∀ u i j, F u i j = -(∑ t, h u t * tau t i * tau t j) / 3)
    (hpair : ∀ t s,
      (∑ u, h u t * h u s) = 63 * (∑ k, tau t k * tau s k)) :
    (∑ u, F u * F u) =
      (7 : ℝ) • Matrix.of (fun i j =>
        ∑ t, ∑ s, (∑ k, tau t k * tau s k) ^ 2 * tau t i * tau s j) := by sorry
Source
Exact original Lean source: formalization/2026-10-03/cubic-metric/TraceForm.lean#91-202; source commit a45708acebe3f397faccb1b646be906f24f23ee5; source SHA-256 41886149af07dad84a52c54e70937fec064d5fb5f17c883bb4aea3e7935a19b3. Mechanically extracted declaration: blob/a45708acebe3f397faccb1b646be906f24f23ee5/formalization/2026-10-03/cubic-metric/TraceForm.lean#L91-L202.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me