Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

FormalOK from LabGates, final labels, and scalar FV routing

Proved
IntMul.Kappa.R8.Bit.Oppbank.FormalOK_bridge_net0O

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

bitnbformaloknetc

FormalOK bridge for densified net0O

Given label consistency (LabGates), final role labels equal to swapMat\mathsf{swapMat}swapMat, and the formal-value scalar routing identity sending fInitf_{\mathrm{Init}}fInit​ to 1(I,w)\mathbf{1}_{(I,w)}1(I,w)​, conclude FormalOK for densified net0O at field size NNN. Applies R6 formal_labels with the identity labeling.

Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankEOKOPack2
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankOneRun2
import Mathlib
set_option autoImplicit false
set_option relaxedAutoImplicit false
set_option maxRecDepth 4096
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open AModel (swapMat)
open IntMul.Kappa.R6.Bit (LabGates labStepH FMat FV scalarStepM fStep lmulF)
open IntMul.Kappa.R6.Bit.QHNet (FormalOK fInit)
open IntMul.Kappa.R8.Bit.Oppbank.OneRunNet2
theorem FormalOK_bridge_net0O (N : ℕ)
    (hG : LabGates N net0O.prog (fun _ => (1 : FMat 529 N)))
    (hLab : ∀ w, net0O.prog.foldl (labStepH N) (fun _ => (1 : FMat 529 N)) (.inl (net0O.ρ w)) = swapMat)
    (hSc : ∀ w, net0O.prog.foldl (scalarStepM (R := ZMod 2) (M := FV (ZMod 2) (Fin 104719230) 529 N))
      (fInit (R := ZMod 2) (m := 529) N) (.inl (net0O.ρ w)) =
      Finsupp.single ((1 : FMat 529 N), w) 1) :
    FormalOK (m := 529) net0O N := by sorry
end IntMul.Kappa.R8.Bit.Oppbank

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