Home

psubstitution

Psubstitution, or p-substitution, is a term used in several disciplines to denote an operation that replaces a variable or symbol with an expression, often with a distinguished symbol p acting as a parameter. The central idea is that a substitution maps each occurrence of a symbol to a chosen expression, producing a family of related expressions that depend on p.

In algebra and symbolic computation, a p-substitution σ assigns to each variable x a term σ(x) that

In logic and computer science, p-substitution often means replacing a propositional symbol p with a formula φ.

Common applications include solving equations by substitution, symbolic simplification, and term rewriting, as well as the

may
involve
p.
Applying
σ
to
a
term
t
replaces
every
x
by
σ(x).
The
parameter
p
is
treated
as
external,
so
different
p-values
yield
different
results.
Substitutions
compose:
applying
σ
then
τ
yields
σ∘τ.
Substitution
must
avoid
variable
capture
in
more
complex
languages,
which
may
require
alpha-renaming.
This
is
used
in
proofs,
model
checking,
and
program
transformation,
and
has
analogies
with
macro
or
template
substitution
in
programming.
In
both
settings,
careful
handling
of
scope
and
connective
structure
is
necessary
to
preserve
meaning.
formal
study
of
substitutions
in
type
theory
and
lambda
calculus.
Because
the
exact
meaning
of
p-substitution
depends
on
context,
discussions
usually
specify
the
underlying
language
(polynomials,
propositional
logic,
or
programming
language)
and
the
role
of
p
as
a
parameter
or
variable.