Edges act as identity on scalar state
ProvedIntMul.Kappa.R8.Bit.Oppbank.foldl_edges_scalarintmulkappascalar
Folding a list of edge instructions under leaves the scalar assignment unchanged, since each edge step is the identity on scalars.
Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4 import Mathlib set_option autoImplicit false set_option relaxedAutoImplicit false
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open IntMul.Kappa.R6.Bit (scalarStepH Instr Edge)
theorem foldl_edges_scalar {Wr : Type*} [DecidableEq Wr] {R : Type*} [CommRing R] {m : ℕ}
(es : List (Wr × Edge m)) (v : Wr → R) :
(es.map fun p => Instr.edge (R := R) p.1 p.2).foldl scalarStepH v = v := by sorry
end IntMul.Kappa.R8.Bit.Oppbank