Substitutivity
Substitutivity is a principle in logic, mathematics, and related disciplines stating that expressions referring to the same object can be substituted for one another within larger expressions without changing the truth value or reference of the overall statement. It underpins many forms of logical reasoning and algebraic manipulation.
In logic and mathematics, substitutivity is most prominently associated with the substitution property of equality. Leibniz’s
In programming and computer science, substitutivity underpins referential transparency: an expression can be replaced by its
Substitutivity has limits. In intensional contexts—such as beliefs, desires, knowledge, and necessity—substituting co-referential terms can alter
See also: Leibniz’s law, equality, referential transparency.