Literal fresh spokes on an ordered body #
A binary atom joins a selected boundary marker to a fresh name. Deleting the old marker replaces it in situ. Freshness is required only on the actual body and boundary support. This supplies the exact row order used by normalization's one- and two-edge spokes.
Main definitions #
Witness.namedAtom: the ordered atom witness under injective actual labels.Witness.freshSpoke: append one literal binary row and replace its selected marker.
def Cslib.Complexity.CSP.OrderedBoundary.Witness.namedAtom {Rel V : Type} [DecidableEq V] (r : Rel) {n : ℕ} (v : Fin n → V) (hv : Function.Injective v) :
An injectively named literal has its ordered numerical witness by renaming the public arbitrary-arity atom witness. No semantics or geometric provider is needed.
noncomputable def Cslib.Complexity.CSP.OrderedBoundary.Witness.freshSpoke {Rel V : Type} [DecidableEq V] {F : Logic.PL.CSP Rel V} {left right : List V} {x z : V} (w : Witness F (left ++ x :: right)) (r : Rel) (hn : (left ++ x :: right).Nodup) (hz : z ∉ F.vars ++ (left ++ x :: right)) :
Append exactly the row r(x,z) and replace boundary marker x by fresh marker z.
All other body rows, scope entries and boundary positions retain their literal order.