Jump to content

Predicate variable: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SmackBot (talk | contribs)
m Date maintenance tags and general fixes
 
(28 intermediate revisions by 23 users not shown)
Line 1: Line 1:
In [[mathematical logic]], a '''predicate variable''' is a [[Predicate (mathematical logic)|predicate]] letter which functions as a "placeholder" for a [[Finitary relation|relation]] (between terms), but which has not been specifically assigned any particular relation (or meaning). Common symbols for denoting predicate variables include capital [[Latin script|roman letters]] such as <math>P</math>, <math>Q</math> and <math>R</math>, or lower case roman letters, e.g., <math>x</math>.<ref>{{Cite web|title=Predicate variable - Encyclopedia of Mathematics|url=https://encyclopediaofmath.org/wiki/Predicate_variable|access-date=2020-08-20|website=encyclopediaofmath.org}}</ref> In [[first-order logic]], they can be more properly called [[metalinguistic variable]]s. In [[higher-order logic]], predicate variables correspond to [[propositional variable]]s which can stand for [[well-formed formula]]s of the same logic, and such variables can be quantified by means of (at least) second-order [[Quantifier (logic)|quantifiers]].
{{Merge|Predicate (mathematical logic)|date=March 2009}}


== Notation ==
In [[first-order logic]], a '''predicate variable''' is a predicate letter which can stand for a relation (between terms) but which has not been specifically assigned any particular relation (or meaning). In [[first-order logic]] (FOL) they can be more properly called [[metalinguistic variables]]. In higher-order logic predicate variables correspond to [[propositional variable]]s which can stand for [[well-formed formula]]s of the same logic, and such variables can be quantified by means of (at least) second-order [[quantifier]]s.
Predicate variables should be distinguished from predicate constants, which could be represented either with a different (exclusive) set of predicate letters, or by their own symbols which really do have their own specific meaning in their [[domain of discourse]]: e.g. <math> =, \ \in , \ \le,\ <, \ \sub,... </math>.

If letters are used for both predicate constants and predicate variables, then there must be a way of distinguishing between them. One possibility is to use letters ''W'', ''X'', ''Y'', ''Z'' to represent predicate variables and letters ''A'', ''B'', ''C'',..., ''U'', ''V'' to represent predicate constants. If these letters are not enough, then numerical subscripts can be appended after the letter in question (as in ''X''<sub>1</sub>, ''X''<sub>2</sub>, ''X''<sub>3</sub>).

Another option is to use Greek lower-case letters to represent such metavariable predicates. Then, such letters could be used to represent entire well-formed formulae (wff) of the predicate calculus: any free variable terms of the wff could be incorporated as terms of the Greek-letter predicate. This is the first step towards creating a higher-order logic.


== Usage ==
== Usage ==


If the predicate variables are not defined as belonging to the vocabulary of the predicate calculus, then they are predicate '''metavariables''', whereas the rest of the predicates are just called "predicate letters". The metavariables are thus understood to be used to code for [[axiom schema]] and theorem schemata (derived from the axiom schemata).
In the metavariable sense, a predicate variable can be used to define an [[axiom schema]]. Predicate variables should be distinguished from predicate constants, which could be represented either with a different (exclusive) set of predicate letters, or by their own symbols which really do have their own specific meaning in their [[domain of discourse]]: e.g. <math> =, \ \in , \ \le,\ <, \ \sub,... </math>.


If letters are used for predicate constants as well as for predicate variables, then there has to be a way of distinguishing between them. For example, letters ''W'', ''X'', ''Y'', ''Z'' could be designated to represent predicate variables, whereas letters ''A'', ''B'', ''C'',..., ''U'', ''V'' could represent predicate "constants". If these letters are not enough, then numerical subscripts can be appended, e.g. ''X''<sub>1</sub>, ''X''<sub>2</sub>, ''X''<sub>3</sub>,... However, if the predicate variables are not perceived (or defined) as actually belonging to the vocabulary of the predicate calculus, then they are actually predicate '''metavariables''', whereas the rest of the predicate letters are just called "predicate letters". The metavariables are thus understood to be used to actually code for axiom schemata and theorem schemata (derived from the axiom schemata). Whether the "predicate letters" are actually constants or variables is a subtle point: they are not constants in the same sense that <math> =, \ \in , \ \le,\ <, \ \sub, </math> are predicate constants, or that <math> 1,\ 2,\ 3,\ \sqrt{2},\ \pi,\ e\ </math> are numerical constants.
Whether the "predicate letters" are constants or variables is a subtle point: they are not constants in the same sense that <math> =, \ \in , \ \le,\ <, \ \sub, </math> are predicate constants, or that <math> 1,\ 2,\ 3,\ \sqrt{2},\ \pi,\ e\ </math> are numerical constants.


If "predicate variables" are only allowed to be bound to predicate letters of zero [[arity]] (which have no arguments), where such letters represent [[propositional logic|propositions]], then such variables are ''[[propositional variable|propositional variables]]'', and any predicate logic which allows second-order quantifiers to be used to bind such propositional variables is a second-order predicate calculus, or [[second-order logic]].
Another option is to use Greek lower-case letters to represent such metavariable predicates. Then, such letters could be used to represent entire well-formed formulae of Pred.Calc.: any free variable terms of the ''wff'' could be incorporated as terms of the Greek-letter predicate. This is the first step towards creating a higher-order logic.


If "predicate variables" are only allowed to be bound to predicate letters of zero [[arity]] (which have no arguments), where such letters actually represent [[propositional logic|propositions]], then such variables are actually '''propositional variables''', and any predicate logic which allows second-order quantifiers to be used to bind such propositional variables is a second-order predicate calculus, or [[second-order logic]].
If predicate variables are also allowed to be bound to predicate letters which are unary or have higher arity, and when such letters represent ''[[propositional function]]s'', such that the domain of the arguments is mapped to a range of different propositions, and when such variables can be bound by quantifiers to such sets of propositions, then the result is a higher-order predicate calculus, or [[higher-order logic]].


==See also==
If predicate variables are also allowed to be bound to predicate letters which are unary or have higher arity, and when such letters represent '''propositional functions''', such that the domain of the arguments is mapped to a range of different propositions, and when such variables can be bound by quantifiers to such sets of propositions, then the result is a higher-order predicate calculus, or [[higher-order logic]].


* {{annotated link|Functional predicate}}
==References==
* {{annotated link|Metavariable}}
*Rudolf Carnap and William H. Meyer. ''Introduction to Symbolic Logic and Its Applications.'' Dover Publications (June 1, 1958). ISBN 0-486-60453-5
* {{annotated link|Propositional variable}}


== References ==
[[Category:Predicate logic]]
<references />


==Bibliography==
[[zh:谓词变量]]
* [[Rudolf Carnap]] and William H. Meyer. ''Introduction to Symbolic Logic and Its Applications.'' Dover Publications (June 1, 1958). {{isbn|0-486-60453-5}}

{{Mathematical logic}}

[[Category:Predicate logic]]
[[Category:Logic symbols]]

Latest revision as of 16:26, 26 December 2023

In mathematical logic, a predicate variable is a predicate letter which functions as a "placeholder" for a relation (between terms), but which has not been specifically assigned any particular relation (or meaning). Common symbols for denoting predicate variables include capital roman letters such as , and , or lower case roman letters, e.g., .[1] In first-order logic, they can be more properly called metalinguistic variables. In higher-order logic, predicate variables correspond to propositional variables which can stand for well-formed formulas of the same logic, and such variables can be quantified by means of (at least) second-order quantifiers.

Notation

[edit]

Predicate variables should be distinguished from predicate constants, which could be represented either with a different (exclusive) set of predicate letters, or by their own symbols which really do have their own specific meaning in their domain of discourse: e.g. .

If letters are used for both predicate constants and predicate variables, then there must be a way of distinguishing between them. One possibility is to use letters W, X, Y, Z to represent predicate variables and letters A, B, C,..., U, V to represent predicate constants. If these letters are not enough, then numerical subscripts can be appended after the letter in question (as in X1, X2, X3).

Another option is to use Greek lower-case letters to represent such metavariable predicates. Then, such letters could be used to represent entire well-formed formulae (wff) of the predicate calculus: any free variable terms of the wff could be incorporated as terms of the Greek-letter predicate. This is the first step towards creating a higher-order logic.

Usage

[edit]

If the predicate variables are not defined as belonging to the vocabulary of the predicate calculus, then they are predicate metavariables, whereas the rest of the predicates are just called "predicate letters". The metavariables are thus understood to be used to code for axiom schema and theorem schemata (derived from the axiom schemata).

Whether the "predicate letters" are constants or variables is a subtle point: they are not constants in the same sense that are predicate constants, or that are numerical constants.

If "predicate variables" are only allowed to be bound to predicate letters of zero arity (which have no arguments), where such letters represent propositions, then such variables are propositional variables, and any predicate logic which allows second-order quantifiers to be used to bind such propositional variables is a second-order predicate calculus, or second-order logic.

If predicate variables are also allowed to be bound to predicate letters which are unary or have higher arity, and when such letters represent propositional functions, such that the domain of the arguments is mapped to a range of different propositions, and when such variables can be bound by quantifiers to such sets of propositions, then the result is a higher-order predicate calculus, or higher-order logic.

See also

[edit]

References

[edit]
  1. ^ "Predicate variable - Encyclopedia of Mathematics". encyclopediaofmath.org. Retrieved 2020-08-20.

Bibliography

[edit]