Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Stage-two flatMap of net0O is label-gate consistent from post-stage-one labels

Open
IntMul.Kappa.R8.Bit.Oppbank.net0O2_LabGates_stage2

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

intmulkappalabgatesr8

Under EOKO(ch0NB,N)\mathrm{EOKO}(\mathtt{ch0NB},N)EOKO(ch0NB,N), after running all stage-one blocks of net0O\mathtt{net0O}net0O from the constant label 111, the concatenated stage-two program is label-gate consistent from the resulting frame labeling:

LabGates N ((List.range 1771).flatMap blk2) ((stage1).foldl (labStepH N) (λ_. 1)).\mathrm{LabGates}\,N\,((\mathrm{List.range}\,1771).\mathrm{flatMap}\,\mathtt{blk2})\, \bigl((\mathrm{stage1}).\mathrm{foldl}\,(\mathrm{labStepH}\,N)\,(\lambda\_.\,1)\bigr).LabGatesN((List.range1771).flatMapblk2)((stage1).foldl(labStepHN)(λ_.1)).
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 IntMul.Kappa.R6.Bit (LabGates 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_LabGates_stage2 (N : ℕ) (h : EOKO ch0NB N) :
    LabGates N ((List.range 1771).flatMap (blk2 (toNB ch0O)))
      (((List.range 1771).flatMap (blk1 (toNB ch0O))).foldl (labStepH N) (fun _ => 1)) := 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