Declared-arity coordinates for actual argument occurrences #
Exact scope width identifies declared relation ports with the original scope positions. The existing cyclic argument successor commutes with this identification. This accessor and proof are shared by gadget substitution and native ternary scope alignment.
Main definitions #
Cslib.Complexity.CSP.arityOccurrence: read an actual occurrence by its declared port.
Main results #
Cslib.Complexity.CSP.argumentSuccessor_arityOccurrence: retain cyclic argument succession.
def Cslib.Complexity.CSP.arityOccurrence {Rel V : Type} {arity : Rel → ℕ} (F : Logic.PL.CSP Rel V) (hF : Logic.PL.CSP.WellFormed arity F) (i : Fin (List.length F)) (a : Fin (arity F[↑i].rel)) :
Read an original occurrence by its constraint position and declared relation port.
theorem Cslib.Complexity.CSP.argumentSuccessor_arityOccurrence {Rel V : Type} {arity : Rel → ℕ} (F : Logic.PL.CSP Rel V) (hF : Logic.PL.CSP.WellFormed arity F) (i : Fin (List.length F)) (a : Fin (arity F[↑i].rel)) :
argumentSuccessor (arityOccurrence F hF i a) = arityOccurrence F hF i ((finRotate (arity F[↑i].rel)) a)
Declared-arity coordinates retain the literal positive cyclic argument successor.