Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Child-width moment at exponent 1 equals rank sum over width

Proved
IntMul.Kappa.histMoment_one

by Ethan Cheung Wang · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theoryinteger-multiplication

Let h=((wi,ni))ih=((w_i,n_i))_ih=((wi​,ni​))i​ be a child-width histogram and let m>0m>0m>0 be a network width. The moment at exponent 111 collapses to the normalized rank sum:

histMoment(h,m,1)=∑ini⋅wim=1m∑iwini=histRankSum(h)m.\mathrm{histMoment}(h,m,1)=\sum_i n_i\cdot\frac{w_i}{m}=\frac{1}{m}\sum_i w_i n_i=\frac{\mathrm{histRankSum}(h)}{m}.histMoment(h,m,1)=i∑​ni​⋅mwi​​=m1​i∑​wi​ni​=mhistRankSum(h)​.

This identity is the τ=1\tau=1τ=1 endpoint used when comparing frozen round-seven/eight bit histograms (equal rank sums imply equal moments at exponent 111).

Preamble
import Definitions.Def_IntMul_KappaFramework

set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement
namespace IntMul.Kappa

/-- At exponent $1$, the child-width moment equals the rank sum divided by the network width:
$\mathrm{histMoment}(h,m,1)=(\mathrm{histRankSum}\,h)/m$. -/
theorem histMoment_one (h : List (ℕ × ℕ)) (m : ℕ) (hm : (m : ℝ) ≠ 0) :
    histMoment h m 1 = (histRankSum h : ℝ) / m := by
  sorry

end IntMul.Kappa
Source
Def_IntMul_KappaFramework histMoment / histRankSum; used with Jain bitR7plain / bitR8 rank-sum identities

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