Interpreted symbol maps for primitive-positive gadgets #
A map of relation symbols preserving declared arities and interpretations preserves an actual gadget, including its ordered scopes and its exact auxiliary count. The symbol map need not be injective. In particular, this permits a structural probe tag without changing the underlying original-language gadget.
Main definitions #
Cslib.Logic.PL.CSP.PPGadget.mapRelation: interpreted symbol maps on exact gadget bodies.Cslib.Logic.PL.CSP.PPGadget.withProbe: adjoin a tautological atom to a replacement family.
Map interpreted relation symbols, retaining every constraint occurrence, ordered scope, free label and auxiliary label. No injectivity or finiteness of the alphabets is required.
Extend a replacement family by a structural symbol with n ordered ports and constant true interpretation. Original symbols use the interpreted symbol map; the added symbol uses the actual atom with no auxiliaries. This permits expansion to retain a boundary probe.