DEFINITIONS:
①
Predicates is a logical operator that
returns a Boolean value that is either true or false.
We also use predicates in programming.
Consider the statement “x is absent in the class today.”
Ø Since x is an unknown, this statement is not a propositional
statement.
However, we do
know that when we assign a value (object) into x, the whole statement will make
sense as it explains how a subject (x) is being affected.
Hence, we can
say that x is a subject which can take any value into the statement to turn the
whole statement into a propositional statement and it can hold a set of truth
values.
Likewise, “is
absent in the class today” represents what does the property that x holds.
Ø Hence, “is absent in the class today” is known as the predicate for
x (subject).
Ø The predicate and subject, if combined together, can be written as
P(x) where P is the predicate and x is the subject of the statement. It is also
known as the propositional function.
In general, a
statement of the form P(X1, X2, X3, …, Xn)
is the value of proposition function P at n-tuple (X1, X2, X3,
…, Xn) and P is known as n-place predicate or n-ary
predicate.