Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

oneRunV edge sum equals weighted oppbankCount sum

Open
IntMul.Kappa.R8.Bit.Oppbank.net0O2_oneRunV_sum_counts

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

bitnbinteger-multiplicationkappaonerun2oppbankr8

The sum of one-run edge moments over net0O\mathrm{net0O}net0O equals the histogram expansion of oppbankHist\mathrm{oppbankHist}oppbankHist:

∑eoneRunVτ(w(e))=∑(w,nw)∈oppbankHistnw⋅oneRunVτ(w).\sum_{e}\mathrm{oneRunV}_\tau(w(e)) = \sum_{(w,n_w)\in\mathrm{oppbankHist}} n_w\cdot\mathrm{oneRunV}_\tau(w).e∑​oneRunVτ​(w(e))=(w,nw​)∈oppbankHist∑​nw​⋅oneRunVτ​(w).

This is the multiplicity form of net0O2_oneRunV_oppbank (since histMoment=∑nw(w/529)τ\mathrm{histMoment}=\sum n_w(w/529)^\tauhistMoment=∑nw​(w/529)τ and oneRunVτ(w)=(w/529)τ\mathrm{oneRunV}_\tau(w)=(w/529)^\tauoneRunVτ​(w)=(w/529)τ). Discharged by net0O2_headW_counts plus partitioning the edge list by head-width.

Formalization Note. Uses explicit Option.map (no center-dot) for head-width.

Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankOneRun2
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankOneRunMom2
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankHist

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

open IntMul.Kappa.R6.Bit
open IntMul.Kappa.R8.Bit.Oppbank.OneRunNet2
open IntMul.Kappa.R8.Bit.Oppbank.OneRunMom2

theorem net0O2_oneRunV_sum_counts (τ : ℝ) :
    (net0O.edges.map fun e =>
        oneRunV τ ((Option.map (fun ρ : ℕ × ℕ × ℕ => ρ.2.2) e.runs.head?).getD 0)).sum =
      (oppbankHist.map fun p => (p.2 : ℝ) * oneRunV τ p.1).sum := by
  sorry

end IntMul.Kappa.R8.Bit.Oppbank
Source
Jain bit_hist.onerun_hist; headW_counts 043acbd2; OneRunMom2 a4deb37c

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