Documentation

CslibFrontier.Foundations.Data.BitString.CyclicSeam

Uniform shifts between cyclic corner colors #

Two cyclic corner-color tuples have the same edge differences when their neighboring entry and exit colors agree with the same indexed edge bits. Their cyclic differences therefore agree. The existing cyclic-difference kernel theorem supplies one uniform shift for the entire tuple. At arity zero the shift is explicitly false.

theorem Cslib.BitString.exists_uniform_colorSeam {n : ℕ} (sourceCenter sourceVariable gadgetVariable gadgetCenter : Fin n → Bool) (hs : ∀ (i : Fin n), sourceCenter ((finRotate n) i) = sourceVariable i) (hg : ∀ (i : Fin n), gadgetVariable ((finRotate n) i) = gadgetCenter i) (he : ∀ (i : Fin n), (sourceCenter i ^^ sourceVariable i) = (gadgetVariable i ^^ gadgetCenter i)) :
∃ (K : Bool), (n = 0 → K = false) ∧ (∀ (i : Fin n), (gadgetVariable i ^^ K) = sourceCenter i) ∧ ∀ (i : Fin n), (gadgetCenter i ^^ K) = sourceVariable i

Cyclic corner-color tuples with matching edge bits admit one uniform Boolean shift. At arity zero, false supplies the shift without selecting a coordinate.