Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

FormalOK of net0O from EOKO via labels and scalar circuit

Open
IntMul.Kappa.R8.Bit.Oppbank.formalOK_net0O_of_EOKO_impl

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

complexity-theoryinteger-multiplicationround-eight

Formal correctness of the one-run opp-bank net from EOKO

Under the densified edge-OK package EOKO(ch0NB,N)\mathrm{EOKO}(\mathrm{ch0NB},N)EOKO(ch0NB,N) (invertible flag basis, good denominators, and frame-matrix identities for every channel edge), the assembled network

net0O:QHNet(Z/2Z, 104719230, 3217907, 529)\mathrm{net0O}:\mathrm{QHNet}(\mathbb{Z}/2\mathbb{Z},\,104719230,\,3217907,\,529)net0O:QHNet(Z/2Z,104719230,3217907,529)

satisfies formal frame correctness at field size NNN:

FormalOK(net0O,N).\mathrm{FormalOK}(\mathrm{net0O},N).FormalOK(net0O,N).

This is the R8 retarget of the R6BitNBNetC formalOK\mathrm{formalOK}formalOK argument (labels of the two stages plus the copy correction, transported through formal_labels\mathrm{formal\_labels}formal_labels).

Formalization Note. Same statement shape as formalOK_circuit_of_EOKO2; kept as the implementation leaf so the circuit theorem can be a one-line transport while the heavy label/scalar work lives here (or further splits).

Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankEOKOPack
import Definitions.Def_IntMul_Kappa_R8_Data_BitOppbankOneRun
import Mathlib
set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open IntMul.Kappa.R6.Bit.QHNet (FormalOK)
open IntMul.Kappa.R8.Bit.Oppbank.EOKO
open IntMul.Kappa.R8.Bit.Oppbank.OneRunNet
theorem formalOK_net0O_of_EOKO_impl (N : ℕ) (h : EOKO ch0NB N) :
    FormalOK (m := 529) net0O N := by sorry
end IntMul.Kappa.R8.Bit.Oppbank
Source
R6 NB.formalOK 6e929e4f; EOKOPack FormalOKOfEOKOStmt

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