Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Stage-two label fold ends at swapMat on roles

Open
IntMul.Kappa.R8.Bit.Oppbank.net0O2_LabFinal_stage2_swap

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

intmulkappalabfinal

Under EOKO\mathrm{EOKO}EOKO, running stage one then stage two of net0O\mathtt{net0O}net0O from constant label 111 sends every role wire ρ(w)\rho(w)ρ(w) to swapMat\mathrm{swapMat}swapMat.

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 Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankQHNet
import Mathlib
set_option autoImplicit false
set_option relaxedAutoImplicit false
set_option maxRecDepth 100000
set_option maxHeartbeats 8000000
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open AModel (swapMat)
open IntMul.Kappa.R6.Bit (labStepH)
open IntMul.Kappa.R8.Bit.Oppbank.EOKO2
open IntMul.Kappa.R8.Bit.Oppbank.OneRunNet2
open IntMul.Kappa.R8.Bit.Oppbank.NB (blk1 blk2)
theorem net0O2_LabFinal_stage2_swap (N : ℕ) (h : EOKO ch0NB N) :
    ∀ w, ((List.range 1771).flatMap (blk2 (toNB ch0O))).foldl (labStepH N)
      (((List.range 1771).flatMap (blk1 (toNB ch0O))).foldl (labStepH N) (fun _ => 1))
      (.inl (net0O.ρ w)) = swapMat := 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