Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
First-order logic
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Equality and its axioms== {{See also|Equality (mathematics)#In logic}} There are several different conventions for using equality (or identity) in first-order logic. The most common convention, known as '''first-order logic with equality''', includes the equality symbol as a primitive logical symbol which is always interpreted as the real equality relation between members of the domain of discourse, such that the "two" given members are the same member. This approach also adds certain axioms about equality to the deductive system employed. These equality axioms are:<ref>[[Melvin Fitting|Fitting, M.]], ''First-Order Logic and Automated Theorem Proving'' (Berlin/Heidelberg: Springer, 1990), [https://books.google.com/books?id=eaXbBwAAQBAJ&lpg=PP1&hl=cs&pg=PA198&redir_esc=y#v=onepage&q&f=false pp. 198β200].</ref>{{rp|198β200}} * ''Reflexivity''. For each variable ''x'', ''x'' = ''x''. * ''Substitution for functions''. For all variables ''x'' and ''y'', and any function symbol ''f'', *:''x'' = ''y'' β ''f''(..., ''x'', ...) = ''f''(..., ''y'', ...). * ''Substitution for formulas''. For any variables ''x'' and ''y'' and any formula Ο(''z'') with a free variable z, then: *:''x'' = ''y'' β (Ο(x) β Ο(y)). These are [[axiom schema]]s, each of which specifies an infinite set of axioms. The third schema is known as ''[[Identity of indiscernibles#Indiscernibility of identicals|Leibniz's law]]'', "the principle of substitutivity", "the indiscernibility of identicals", or "the replacement property". The second schema, involving the function symbol ''f'', is (equivalent to) a special case of the third schema, using the formula: :Ο(z): ''f''(..., ''x'', ...) = ''f''(..., ''z'', ...) Then :''x'' = ''y'' β (''f''(..., ''x'', ...) = ''f''(..., ''x'', ...) β ''f''(..., ''x'', ...) = ''f''(..., ''y'', ...)). Since ''x'' = ''y'' is given, and ''f''(..., ''x'', ...) = ''f''(..., ''x'', ...) true by reflexivity, we have ''f''(..., ''x'', ...) = ''f''(..., ''y'', ...) Many other properties of equality are consequences of the axioms above, for example: * ''Symmetry''. If ''x'' = ''y'' then ''y'' = ''x''.<ref>Use formula substitution with Ο(z) being ''z''=''x'', so, Ο(x) is x=x which implies Ο(y): y=x, then use reflexivity.</ref> * ''Transitivity''. If ''x'' = ''y'' and ''y'' = ''z'' then ''x'' = ''z''.<ref>Use formula substitution with Ο(a) being ''a''=''z'' to obtain ''y''=''x'' β (''y''=''z'' β ''x''=''z''), then use symmetry and [[uncurrying]].</ref> ===First-order logic without equality=== An alternate approach considers the equality relation to be a non-logical symbol. This convention is known as ''first-order logic without equality''. If an equality relation is included in the signature, the axioms of equality must now be added to the theories under consideration, if desired, instead of being considered rules of logic. The main difference between this method and first-order logic with equality is that an interpretation may now interpret two distinct individuals as "equal" (although, by Leibniz's law, these will satisfy exactly the same formulas under any interpretation). That is, the equality relation may now be interpreted by an arbitrary [[equivalence relation]] on the domain of discourse that is [[congruence relation|congruent]] with respect to the functions and relations of the interpretation. When this second convention is followed, the term ''normal model'' is used to refer to an interpretation where no distinct individuals ''a'' and ''b'' satisfy ''a'' = ''b''. In first-order logic with equality, only normal models are considered, and so there is no term for a model other than a normal model. When first-order logic without equality is studied, it is necessary to amend the statements of results such as the [[LΓΆwenheimβSkolem theorem]] so that only normal models are considered. First-order logic without equality is often employed in the context of [[second-order arithmetic]] and other higher-order theories of arithmetic, where the equality relation between sets of natural numbers is usually omitted. ===Defining equality within a theory=== If a theory has a binary formula ''A''(''x'',''y'') which satisfies reflexivity and Leibniz's law, the theory is said to have equality, or to be a theory with equality. The theory may not have all instances of the above schemas as axioms, but rather as derivable theorems. For example, in theories with no function symbols and a finite number of relations, it is possible to [[definitional extension|define]] equality in terms of the relations, by defining the two terms ''s'' and ''t'' to be equal if any relation is unchanged by changing ''s'' to ''t'' in any argument. Some theories allow other ''ad hoc'' definitions of equality: * In the theory of [[partial order]]s with one relation symbol β€, one could define ''s'' = ''t'' to be an abbreviation for ''s'' β€ ''t'' {{and}} ''t'' β€ ''s''. * In set theory with one relation β, one may define ''s'' = ''t'' to be an abbreviation for {{math|β''x'' (''s'' β ''x'' β ''t'' β ''x'') {{and}} β''x'' (''x'' β ''s'' β ''x'' β ''t'')}}. This definition of equality then automatically satisfies the axioms for equality. In this case, one should replace the usual [[axiom of extensionality]], which can be stated as <math>\forall x \forall y [ \forall z (z \in x \Leftrightarrow z \in y) \Rightarrow x = y]</math>, with an alternative formulation <math>\forall x \forall y [ \forall z (z \in x \Leftrightarrow z \in y) \Rightarrow \forall z (x \in z \Leftrightarrow y \in z) ]</math>, which says that if sets ''x'' and ''y'' have the same elements, then they also belong to the same sets.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)