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!
===Free and bound variables=== {{Main|Free variables and bound variables}} In a formula, a variable may occur ''free'' or ''bound'' (or both). One formalization of this notion is due to Quine, first the concept of a variable occurrence is defined, then whether a variable occurrence is free or bound, then whether a variable symbol overall is free or bound. In order to distinguish different occurrences of the identical symbol ''x'', each occurrence of a variable symbol ''x'' in a formula φ is identified with the initial substring of φ up to the point at which said instance of the symbol ''x'' appears.<ref name="Quine81">[[Willard Van Orman Quine|W. V. O. Quine]], [https://www.google.com/books/edition/_/6_syEAAAQBAJ?hl=en&gbpv=1&pg=PP1 ''Mathematical Logic''] (1981). [[Harvard University Press]], 0-674-55451-5.</ref><sup>p.297</sup> Then, an occurrence of ''x'' is said to be bound if that occurrence of ''x'' lies within the scope of at least one of either <math>\exists x</math> or <math>\forall x</math>. Finally, ''x'' is bound in φ if all occurrences of ''x'' in φ are bound.<ref name="Quine81" /><sup>pp.142--143</sup> Intuitively, a variable symbol is free in a formula if at no point is it quantified:<ref name="Quine81" /><sup>pp.142--143</sup> in {{math|β''y'' ''P''(''x'', ''y'')}}, the sole occurrence of variable ''x'' is free while that of ''y'' is bound. The free and bound variable occurrences in a formula are defined inductively as follows. ; Atomic formulas : If ''Ο'' is an atomic formula, then ''x'' occurs free in ''Ο'' if and only if ''x'' occurs in ''Ο''. Moreover, there are no bound variables in any atomic formula. ; Negation : ''x'' occurs free in Β¬''Ο'' if and only if ''x'' occurs free in ''Ο''. ''x'' occurs bound in Β¬''Ο'' if and only if ''x'' occurs bound in ''Ο'' ; Binary connectives : ''x'' occurs free in (''Ο'' β ''Ο'') if and only if ''x'' occurs free in either ''Ο'' or ''Ο''. ''x'' occurs bound in (''Ο'' β ''Ο'') if and only if ''x'' occurs bound in either ''Ο'' or ''Ο''. The same rule applies to any other binary connective in place of β. ; Quantifiers : ''x'' occurs free in {{math|β''y'' ''Ο''}}, if and only if x occurs free in ''Ο'' and ''x'' is a different symbol from ''y''. Also, ''x'' occurs bound in {{math|β''y'' ''Ο''}}, if and only if ''x'' is ''y'' or ''x'' occurs bound in ''Ο''. The same rule holds with {{math|β}} in place of {{math|β}}. For example, in {{math|β''x'' β''y'' (''P''(''x'') β ''Q''(''x'',''f''(''x''),''z''))}}, ''x'' and ''y'' occur only bound,<ref>''y'' occurs bound by rule 4, although it doesn't appear in any atomic subformula</ref> ''z'' occurs only free, and ''w'' is neither because it does not occur in the formula. Free and bound variables of a formula need not be disjoint sets: in the formula {{math|''P''(''x'') β β''x'' ''Q''(''x'')}}, the first occurrence of ''x'', as argument of ''P'', is free while the second one, as argument of ''Q'', is bound. A formula in first-order logic with no free variable occurrences is called a ''first-order [[sentence (mathematical logic)|sentence]]''. These are the formulas that will have well-defined [[truth value]]s under an interpretation. For example, whether a formula such as Phil(''x'') is true must depend on what ''x'' represents. But the sentence {{math|β''x'' Phil(''x'')}} will be either true or false in a given interpretation.
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)