Draft:Substitution (mathematics)
History
Possible? Early mathematics
Babylonian and Egyptian mathematics solving quadratic equations
Greek geomety
Indian mathematics
Early algebra
Al-Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala
Explicit
La Géométrie - change coordinate systems or simplify equations in Analytic geometry
Leibniz and Newton, in calculus, and especially Integration by substitution
Substitution of variables
Substitution property of equality
In mathematics, there are two common uses of substitution: substitution of variables for constants (also called assignment for that variable), and the substitution property of equality,[1] also called Leibniz's Law.[2]
Considering mathematics as a formal language, a variable is a symbol from an alphabet, usually a letter like Template:Mvar, Template:Mvar, and Template:Mvar, which denotes a range of possible values.[3] If a variable is free in a given expression or formula, then it can be replaced with any of the values in its range.[4] Certain kinds of bound variables can be substituted too. For instance, parameters of an expression (like the coefficients of a polynomial), or the argument of a function. Moreover, variables being univerally quantified can be replaced with any of the values in its range, and the result will a true statement. (This is called Universal instantiation)
For a non-formalized language, that is, in most mathematical texts outside of mathematical logic, for an individual expression it is not always possible to identify which variables are free and bound. For example, in , depending on the context, the variable can be free and bound, or vice-versa, but they cannot both be free. Determining which value is assumed to be free depends on context and semantics.
The substitution property of equality, or Leibniz's Law (though the latter term is usually reserved for philosophical contexts), generally states that, if two things are equal, then any property of one, must be a property of the other. It can be formally stated in logical notation as:For every and , and any well-formed formula (with a free variable x). For example: For all real numbers Template:Math and Template:Math, if Template:Math, then Template:Math implies Template:Math (here, is Template:Math). This is a property which is most often used in algebra, especially in solving systems of equations, but is apllied in nearly every area of math that uses equality. This, taken together with the reflexive property of equality, forms the axioms of equality in first-order logic.[5]
In mathematical logic and mathematical philosophy, equality is often described through the following properties: [6][7][8]
- Law of identity: Stating that each thing is identical with itself, without restriction. That is, for every , . It is the first of the historical three laws of thought.
- Substitution property: Sometimes referred to as Leibniz's law, generally states that if two things are equal, then any property of one must be a property of the other. It can be stated formally as: for every Template:Mvar and Template:Mvar, and any formula (with a free variable Template:Mvar), if , then implies .
For example: For all real numbers Template:Math and Template:Math, if Template:Math, then Template:Math implies Template:Math (here, is Template:Math)
These properties offer a formal reinterpretation of equality from how it is defined in standard Zermelo–Fraenkel set theory (ZFC) or other formal foundations. In ZFC, equality only means that two sets have the same elements. However, outside of set theory, mathematicians don't tend to view their objects of interest as sets. For instance, many mathematicians would say that the expression "" (see union) is an abuse of notation or meaningless. This is a more abstracted framework which can be grounded in ZFC (that is, both axioms can be proved within ZFC as well as most other formal foundations), but is closer to how most mathematicians use equality.
Note that this says "Equality implies these two properties" not that "These properties define equality"; this is intentional. This makes it an incomplete axiomatization of equality. That is, it does not say what equality is, only what "equality" must satify. However, the two axioms as stated are still generally useful, even as an incomplete axiomatization of equality, as they are usually sufficient for deducing most properties of equality that mathematicians care about.[9] (See Template:Section link)
If these properties were to define a complete axiomatization of equality, meaning, if they were to define equality, then the converse of the second statement must be true. The converse of the Substitution property is the identity of indiscernibles, which states that two distinct things cannot have all their properties in common. In mathematics, the identity of indiscernibles is usually rejected since indiscernibles in mathematical logic are not necessarily forbidden. Set equality in ZFC is capable of declairing these indiscernibles as not equal, but an equality solely defined by these properties is not. Thus these properties form a strictly weaker notion of equality than set equality in ZFC. Outside of pure math, the identity of indiscernibles has attracted much controversy and criticism, especially from corpuscular philosophy and quantum mechanics.[10] This is why the properties are said to not form a complete axiomatization.
However, apart from cases dealing with indiscernibles, these properties taken as axioms of equality are equivalent to equality as defined in ZFC.
These are sometimes taken as the definition of equality, such as in some areas of first-order logic.[11]
Proof of property in ZFC
See Template:Section link for the definition of formulas in ZFC. The definition is recursive, so a proof by induction will be used. For simplicity, this proof simplifies the recursive definition to only have three possible recursive steps: , which can be shown to be equivalent.
In ZFC without equality, "" is usually defined as " and have the same elements and belong to the same sets", or written symbolically:Then, the Axiom of Extensionality asserts that if two sets have the same elements, then they are equal, or symbolically: Base formulas
Let , be metavariables for any variables or sets, such that then , and .
Case 1:
Assume
, then
, thus
Case 2:
Assume
, then
, thus
Recursive formulas
Let be meta variables for any formulas with the property that . Let , be metavariables for any variables or sets, such such that , and let be a metavariable for any variable.
Case 1:
Since
, then
by symmetry of equality, therefore
, by the induction hypothesis, therefore
, thus
Case 2:
Since
, then
and
, which implies
, thus
Case 3:
Since
,
assume by way of contradiction that the result is false, that is
is true but
is false. By existential instantiation, let
denote the value such that
is true. Then
is false by asumption, and therefore
is false, which contradicts our induction hypothesis, and the result follows.
Computer science
- Computer algebra
Notes
Template:ReflistTemplate:Notelist
- ↑ Sobolev, S.K. (originator). "Equality axioms". Encyclopedia of Mathematics. Springer. Template:ISBN.
- ↑ Deutsch, Harry and Pawel Garbacz, "Relative Identity", The Stanford Encyclopedia of Philosophy (Fall 2024 Edition), Edward N. Zalta & Uri Nodelman (eds.), forthcoming URL: https://plato.stanford.edu/entries/identity-relative/#StanAccoIden
- ↑ Template:Cite book
- ↑ Sobolev, S.K. (originator). Free variable. Encyclopedia of Mathematics. Springer. Template:ISBN.
- ↑ Fitting, M., First-Order Logic and Automated Theorem Proving (Berlin/Heidelberg: Springer, 1990), pp. 198–200.
- ↑ Equality axioms. Springer Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Equality_axioms&oldid=46837
- ↑ Deutsch, Harry and Pawel Garbacz, "Relative Identity", The Stanford Encyclopedia of Philosophy (Fall 2024 Edition), Edward N. Zalta & Uri Nodelman (eds.), forthcoming URL: https://plato.stanford.edu/entries/identity-relative/#StanAccoIden
- ↑ Forrest, Peter, "The Identity of Indiscernibles", The Stanford Encyclopedia of Philosophy (Winter 2020 Edition), Edward N. Zalta (ed.), URL: https://plato.stanford.edu/entries/identity-indiscernible/#Form
- ↑ Equality axioms. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Equality_axioms&oldid=46837
- ↑ Template:Cite encyclopedia
- ↑ Fitting, M., First-Order Logic and Automated Theorem Proving (Berlin/Heidelberg: Springer, 1990), pp. 198–200.
References
https://discrete.openmathbooks.org/pdfs/dmoi3-tablet.pdf - Page 5