LabGates depends only on labels of touched wires
ProvedIntMul.Kappa.R8.Bit.Oppbank.LabGates_congrintmulkappalabgates
If two labelings agree on every wire touched by an instruction list , then if and only if .
Preamble
import Definitions.Def_IntMul_Kappa_R6_Defs4 import Mathlib set_option autoImplicit false set_option relaxedAutoImplicit false set_option maxRecDepth 8192
Formal statement
namespace IntMul.Kappa.R8.Bit.Oppbank
open IntMul.Kappa.R6.Bit (LabGates FMat Instr)
theorem LabGates_congr {Wr : Type*} [Fintype Wr] [DecidableEq Wr] {R : Type*} [CommRing R]
{m N : ℕ} (l : List (Instr Wr R m)) (L L' : Wr → FMat m N)
(h : ∀ w, (∃ i ∈ l,
match i with
| .gate _ S => w ∈ S
| .edge w' _ => w = w') → L w = L' w) :
LabGates N l L ↔ LabGates N l L' := by sorry
end IntMul.Kappa.R8.Bit.Oppbank