Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Head-width counts from PE-family packing

Open
IntMul.Kappa.R8.Bit.Oppbank.net0O2_headW_from_PE_pack

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

bitnbinteger-multiplicationkappaonerun2oppbankr8

The multiplicity of each one-run head-width www among the edges of net0O\mathrm{net0O}net0O equals the locked opposite-bank histogram entry nw(oppbankHist)n_w(\mathrm{oppbankHist})nw​(oppbankHist).

#{e: w(e)=w}=nw(oppbankHist).\#\{e:\,w(e)=w\}=n_w(\mathrm{oppbankHist}).#{e:w(e)=w}=nw​(oppbankHist).

Discharged by PE-family width inventories (GenCN/SideRanks) matching Jain bit_hist.onerun_hist.

Formalization Note. Same statement shape as net0O2_headW_counts; content leaf.

Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankOneRun2
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

/-- GenCN / SideRanks / PE-family width packing: head-width multiplicity equals oppbankHist. -/
theorem net0O2_headW_from_PE_pack (w : ℕ) :
    (net0O.edges.filter
        (fun e : Edge 529 =>
          decide ((Option.map (fun ρ : ℕ × ℕ × ℕ => ρ.2.2) e.runs.head?).getD 0 = w))).length =
      ((oppbankHist.filter (fun p : ℕ × ℕ => decide (p.1 = w))).map (fun p => p.2)).sum := by
  sorry

end IntMul.Kappa.R8.Bit.Oppbank
Source
headW_counts 043acbd2; GenCN 89952c1f; SideRanks 3ff13a77; Hist cb4b257b

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