Documentation

CslibFrontier.Logics.Propositional.CSP.Planar.Embedding.Relabel

Ordered actual-body boundary transport under port renaming #

The same finite successor table certifies a body after an injection on its occurring and boundary names. This transports both actual-body and probe checks without permuting darts, reflecting argument scopes or introducing new relation symbols. Repeated boundary occurrences are retained. The map may behave arbitrarily on unused names.

theorem Cslib.Complexity.CSP.OrderedBoundary.probeBody_relabel {Rel V W : Type} (F : Logic.PL.CSP Rel V) (ports : List V) (f : V → W) :

The structural probe follows the same pointwise port renaming as the actual body.

theorem Cslib.Complexity.CSP.OrderedBoundary.vars_probeBody {Rel V : Type} (F : Logic.PL.CSP Rel V) (ports : List V) :
(probeBody F ports).vars = F.vars ++ ports.reverse

The augmented occurrence word is the old word followed by the reversed boundary word.

Pointwise renaming retains the body-prefix restriction of every raw successor table.

def Cslib.Complexity.CSP.OrderedBoundary.Witness.relabel {Rel V W : Type} [DecidableEq V] [DecidableEq W] {F : Logic.PL.CSP Rel V} {ports : List V} (w : Witness F ports) (f : V → W) (hf : Set.InjOn f {v : V | v ∈ F.vars ∨ v ∈ ports}) :

Rename the actual body and all boundary positions using one injection on used names. The literal table is unchanged, including for nullaries, closed components and repeated visits.

Instances For
    theorem Cslib.Complexity.CSP.OrderedBoundary.Witness.relabel_certificate {Rel V W : Type} [DecidableEq V] [DecidableEq W] {F : Logic.PL.CSP Rel V} {ports : List V} (w : Witness F ports) (f : V → W) (hf : Set.InjOn f {v : V | v ∈ F.vars ∨ v ∈ ports}) :

    Port renaming retains the literal successor table, including repeated boundary visits.