Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Round-seven plain and round-eight bit histograms share the same rank sum

Proved
IntMul.Kappa.R8.Bit.bitR7plain_bitR8_rankSum_eq

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

complexity-theoryinteger-multiplicationround-eight

Let bitR7plain and bitR8 be S. Jain's frozen child-width histograms for the round-seven plain witness 2 and its round-eight opposite-bank recompile. The rank sum

s=∑(w,nw)w nw=histRankSums=\sum_{(w,n_w)} w\,n_w=\mathrm{histRankSum}s=(w,nw​)∑​wnw​=histRankSum

is the same for both lists (as asserted by independent/round8-oppbank/bit_hist.py: WWW and sss equal round seven's). This theorem is the corresponding finite identity on Prove2me.

Preamble
import Definitions.Def_IntMul_KappaFramework
import Definitions.Def_IntMul_KappaJainData

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

open IntMul.Kappa IntMul.Kappa.Jain

/-- Jain's opposite-bank recompile preserves the rank sum $s=\sum w\,n_w$ (and $W$): 
`histRankSum bitR7plain = histRankSum bitR8`. -/
theorem bitR7plain_bitR8_rankSum_eq :
    histRankSum bitR7plain = histRankSum bitR8 := by
  sorry

end IntMul.Kappa.R8.Bit
Source
S. Jain integer-mult-kappa independent/round8-oppbank/bit_hist.py (assert W,s equal); Def_IntMul_KappaJainData

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