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!
===Alphabet=== {{seealso|Alphabet (formal languages)|Symbol (formal)}} As with all [[formal language]]s, the nature of the symbols themselves is outside the scope of formal logic; they are often regarded simply as letters and punctuation symbols. It is common to divide the symbols of the alphabet into ''logical symbols'', which always have the same meaning, and ''non-logical symbols'', whose meaning varies by interpretation.<ref>{{Cite book |last=Davis |first=Ernest |title=Representations of Commonsense Knowledge |publisher=Morgan Kauffmann |year=1990 |isbn=978-1-4832-0770-4 |pages=27–28}}</ref> For example, the logical symbol <math>\land</math> always represents "and"; it is never interpreted as "or", which is represented by the logical symbol <math>\lor</math>. However, a non-logical predicate symbol such as Phil(''x'') could be interpreted to mean "''x'' is a philosopher", "''x'' is a man named Philip", or any other unary predicate depending on the interpretation at hand. ====Logical symbols==== {{Main|List of logical symbols}} Logical symbols are a set of characters that vary by author, but usually include the following:<ref>{{Cite web|title=Predicate Logic {{!}} Brilliant Math & Science Wiki|url=https://brilliant.org/wiki/predicate-logic/|access-date=2020-08-20|website=brilliant.org|language=en-us}}</ref> * [[Quantifier (logic)|Quantifier]] symbols: {{math|[[Universal quantification|∀]]}} for universal quantification, and {{math|[[Existential quantification|∃]]}} for existential quantification * [[Logical connective]]s: {{math|∧}} for [[logical conjunction|conjunction]], {{math|∨}} for [[disjunction]], {{math|→}} for [[material conditional|implication]], {{math|↔}} for [[logical biconditional|biconditional]], {{math|¬}} for negation. Some authors<ref>{{Cite web|title=Introduction to Symbolic Logic: Lecture 2|url=http://cstl-cla.semo.edu/hhill/pl120/notes/wffs.html|access-date=2021-01-04|website=cstl-cla.semo.edu}}</ref> use C''pq'' instead of {{math|→}} and E''pq'' instead of {{math|↔}}, especially in contexts where → is used for other purposes. Moreover, the horseshoe {{math|⊃}} may replace {{math|→}};<ref name="Quine81" /> the triple-bar {{math|≡}} may replace {{math|↔}}; a tilde ({{math|~}}), N''p'', or F''p'' may replace {{math|¬}}; a double bar <math>\|</math>, <math>+</math>,<ref>{{cite book|issn=1431-4657|isbn=3540058192|author=[[Hans Hermes]]|title=Introduction to Mathematical Logic|url=https://books.google.com/books?id=ihYPCQAAQBAJ|location=London|publisher=Springer|series=Hochschultext (Springer-Verlag)|year=1973}}</ref> or A''pq'' may replace {{math|∨}}; and an ampersand {{math|&}}, K''pq'', or the middle dot {{math|⋅}} may replace {{math|∧}}, especially if these symbols are not available for technical reasons. * Parentheses, brackets, and other punctuation symbols. The choice of such symbols varies depending on context. * An infinite set of ''variables'', often denoted by lowercase letters at the end of the alphabet ''x'', ''y'', ''z'', ... . Subscripts are often used to distinguish variables: {{math|1= ''x''<sub>0</sub>, ''x''<sub>1</sub>, ''x''<sub>2</sub>, ... .}} * An ''equality symbol'' (sometimes, ''identity symbol'') {{math|{{=}}}} (see {{section link|#Equality_and_its_axioms}} below). Not all of these symbols are required in first-order logic. Either one of the quantifiers along with negation, conjunction (or disjunction), variables, brackets, and equality suffices. Other logical symbols include the following: * Truth constants: T, or {{math|⊤}} for "true" and F, or {{math|⊥}} for "false". Without any such logical operators of valence 0, these two constants can only be expressed using quantifiers. * Additional logical connectives such as the [[Sheffer stroke]], D''pq'' (NAND), and [[exclusive or]], J''pq''. ====Non-logical symbols====<!-- This section is linked from [[Axiom of empty set]] --> [[Non-logical symbol]]s represent predicates (relations), functions and constants. It used to be standard practice to use a fixed, infinite set of non-logical symbols for all purposes: * For every integer ''n'' ≥ 0, there is a collection of [[arity|''n''-''ary'']], or ''n''-''place'', ''[[predicate symbol]]s''. Because they represent [[Finitary relation|relations]] between ''n'' elements, they are also called ''relation symbols''. For each arity ''n'', there is an infinite supply of them: *:''P''<sup>''n''</sup><sub>0</sub>, ''P''<sup>''n''</sup><sub>1</sub>, ''P''<sup>''n''</sup><sub>2</sub>, ''P''<sup>''n''</sup><sub>3</sub>, ... * For every integer ''n'' ≥ 0, there are infinitely many ''n''-ary ''function symbols'': *:''f<sup> n</sup>''<sub>0</sub>, ''f<sup> n</sup>''<sub>1</sub>, ''f<sup> n</sup>''<sub>2</sub>, ''f<sup> n</sup>''<sub>3</sub>, ... When the arity of a predicate symbol or function symbol is clear from context, the superscript ''n'' is often omitted. In this traditional approach, there is only one language of first-order logic.<ref>More precisely, there is only one language of each variant of one-sorted first-order logic: with or without equality, with or without functions, with or without propositional variables, ....</ref> This approach is still common, especially in philosophically oriented books. A more recent practice is to use different non-logical symbols according to the application one has in mind. Therefore, it has become necessary to name the set of all non-logical symbols used in a particular application. This choice is made via a ''[[signature (logic)|signature]]''.<ref>The word ''language'' is sometimes used as a synonym for signature, but this can be confusing because "language" can also refer to the set of formulas.</ref> Typical signatures in mathematics are {1, ×} or just {×} for [[group (mathematics)|group]]s,<ref name="Tarski53"/> or {0, 1, +, ×, <} for [[ordered field]]s. There are no restrictions on the number of non-logical symbols. The signature can be [[empty set|empty]], finite, or infinite, even [[uncountable]]. Uncountable signatures occur for example in modern proofs of the [[Löwenheim–Skolem theorem]]. Though signatures might in some cases imply how non-logical symbols are to be interpreted, [[#Semantics|interpretation]] of the non-logical symbols in the signature is separate (and not necessarily fixed). Signatures concern syntax rather than semantics. In this approach, every non-logical symbol is of one of the following types: * A ''predicate symbol'' (or ''relation symbol'') with some ''valence'' (or ''arity'', number of arguments) greater than or equal to 0. These are often denoted by uppercase letters such as ''P'', ''Q'' and ''R''. Examples: ** In ''P''(''x''), ''P'' is a predicate symbol of valence 1. One possible interpretation is "''x'' is a man". ** In ''Q''(''x'',''y''), ''Q'' is a predicate symbol of valence 2. Possible interpretations include "''x'' is greater than ''y''" and "''x'' is the father of ''y''". ** Relations of valence 0 can be identified with [[propositional variable]]s, which can stand for any statement. One possible interpretation of ''R'' is "Socrates is a man". * A ''function symbol'', with some valence greater than or equal to 0. These are often denoted by lowercase [[Latin script|roman letters]] such as ''f'', ''g'' and ''h''. Examples: ** ''f''(''x'') may be interpreted as "the father of ''x''". In [[arithmetic]], it may stand for "-x". In set theory, it may stand for "the [[power set]] of x". ** In arithmetic, ''g''(''x'',''y'') may stand for "''x''+''y''". In set theory, it may stand for "the union of ''x'' and ''y''". ** Function symbols of valence 0 are called ''constant symbols'', and are often denoted by lowercase letters at the beginning of the alphabet such as ''a'', ''b'' and ''c''. The symbol ''a'' may stand for Socrates. In arithmetic, it may stand for 0. In set theory, it may stand for the [[empty set]]. The traditional approach can be recovered in the modern approach, by simply specifying the "custom" signature to consist of the traditional sequences of non-logical symbols.
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)