Misplaced Pages

Propositional variable

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Variable that can either be true or false

In mathematical logic, a propositional variable (also called a sentence letter, sentential variable, or sentential letter) is an input variable (that can either be true or false) of a truth function. Propositional variables are the basic building-blocks of propositional formulas, used in propositional logic and higher-order logics.

Uses

Formulas in logic are typically built up recursively from some propositional variables, some number of logical connectives, and some logical quantifiers. Propositional variables are the atomic formulas of propositional logic, and are often denoted using capital roman letters such as P {\displaystyle P} , Q {\displaystyle Q} and R {\displaystyle R} .

Example

In a given propositional logic, a formula can be defined as follows:

  • Every propositional variable is a formula.
  • Given a formula X, the negation ¬X is a formula.
  • Given two formulas X and Y, and a binary connective b (such as the logical conjunction ∧), the expression (X b Y) is a formula. (Note the parentheses.)

Through this construction, all of the formulas of propositional logic can be built up from propositional variables as a basic unit. Propositional variables should not be confused with the metavariables, which appear in the typical axioms of propositional calculus; the latter effectively range over well-formed formulae, and are often denoted using lower-case greek letters such as α {\displaystyle \alpha } , β {\displaystyle \beta } and γ {\displaystyle \gamma } .

Predicate logic

Propositional variables with no object variables such as x and y attached to predicate letters such as Px and xRy, having instead individual constants a, b, ..attached to predicate letters are propositional constants Pa, aRb. These propositional constants are atomic propositions, not containing propositional operators.

The internal structure of propositional variables contains predicate letters such as P and Q, in association with bound individual variables (e.g., x, y), individual constants such as a and b (singular terms from a domain of discourse D), ultimately taking a form such as Pa, aRb.(or with parenthesis, P ( 11 ) {\displaystyle P(11)} and R ( 1 , 3 ) {\displaystyle R(1,3)} ).

Propositional logic is sometimes called zeroth-order logic due to not considering the internal structure in contrast with first-order logic which analyzes the internal structure of the atomic sentences.

See also

References

  1. Howson, Colin (1997). Logic with trees: an introduction to symbolic logic. London; New York: Routledge. p. 5. ISBN 978-0-415-13342-5.
  2. "Predicate Logic | Brilliant Math & Science Wiki". brilliant.org. Retrieved 2020-08-20.
  3. "Mathematics | Predicates and Quantifiers | Set 1". GeeksforGeeks. 2015-06-24. Retrieved 2020-08-20.

Bibliography

  • Smullyan, Raymond M. First-Order Logic. 1968. Dover edition, 1995. Chapter 1.1: Formulas of Propositional Logic.
Mathematical logic
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types of sets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
icon Mathematics portal


Stub icon

This logic-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: