FormalOK from LabGates, final labels, and scalar FV routing
ProvedIntMul.Kappa.R8.Bit.Oppbank.FormalOK_bridge_net0Obitnbformaloknetc
FormalOK bridge for densified net0O
Given label consistency (LabGates), final role labels equal to , and the formal-value scalar routing identity sending to , conclude FormalOK for densified net0O at field size . 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