Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The stage-one bank map g1g_1g1​ is injective (QHNetRec)

Proved
IntMul.Kappa.R8.Bit.Oppbank.g1_inj_rec

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

bitnbformalokg1intmulkappaqhnetrecr8wirelayout

The stage-one local-to-global embedding g1g_1g1​ is injective on the product of bank indices and local wires, on the total-decoder network QHNetRec.

Fix bank indices b,b′<1771b,b'<1771b,b′<1771 and local wires w,w′<NL=31359w,w'<NL=31359w,w′<NL=31359. If g1(b,w)=g1(b′,w′)g_1(b,w)=g_1(b',w')g1​(b,w)=g1​(b′,w′), then necessarily b=b′b=b'b=b′ and w=w′w=w'w=w′:

b,b′<1771,w,w′<NL,g1(b,w)=g1(b′,w′)  ⟹  b=b′∧w=w′.b,b'<1771,\qquad w,w'<NL,\qquad g_1(b,w)=g_1(b',w')\implies b=b'\land w=w'.b,b′<1771,w,w′<NL,g1​(b,w)=g1​(b′,w′)⟹b=b′∧w=w′.

The map g1g_1g1​ is the four-piece opp-bank layout embedding: a factor of v=1771v=1771v=1771 on the first two bands (offset by N=3136441N=3136441N=3136441 on the second), a slot band of width NR=27794NR=27794NR=27794 below W=104719230W=104719230W=104719230, and a height-h=23h=23h=23 temporary band above WWW. Distinct bands occupy disjoint integer intervals, and within each band the representation is unique for these bounds.

Formalization Note. The statement is identical to g1_inj, with preamble importing Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankQHNetRec rather than Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankQHNet (the published WireLayout module is reused and does not import the parent QHNet). It does not close or replace 58ea51e9-97c9-4b0a-9a0e-fe732d331728.

Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankWireLayout
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankQHNetRec
import Mathlib
set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open IntMul.Kappa.R8.Bit.Oppbank (g1 NL v)
theorem g1_inj_rec {b b' w w' : ℕ} (hb : b < 1771) (hb' : b' < 1771)
    (hw : w < NL) (hw' : w' < NL) (h : g1 b w = g1 b' w') :
    b = b' ∧ w = w' := by sorry
end IntMul.Kappa.R8.Bit.Oppbank
Source
IntMul Kappa R8 Bit Oppbank FormalOK densify: injectivity of g1, restated on the total-decoder fork IntMul_Kappa_R8_Data_BitOppbankQHNetRec (d127abea). Does not close or replace 58ea51e9-97c9-4b0a-9a0e-fe732d331728.

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