Inlogic, apredicate is anon-logical symbol that represents aproperty or arelation, though, formally, does not need to represent anything at all. For instance, in thefirst-order formula, the symbol is a predicate that applies to theindividual constant which evaluates to eithertrue or false. Similarly, in the formula, the symbol is a predicate that applies to the individual constants and. Predicates are considered aprimitive notion of first-order, and higher-order logic and are therefore not defined in terms of other more basic concepts.
The term derives from thegrammatical term "predicate", meaning a word or phrase that represents a property or relation.
In thesemantics of logic, predicates are interpreted asrelations. For instance, in a standard semantics for first-order logic, the formula would be true on aninterpretation if the entities denoted by and stand in the relation denoted by. Since predicates arenon-logical symbols, they can denote different relations depending on the interpretation given to them. Whilefirst-order logic only includes predicates that apply to individual objects, other logics may allow predicates that apply to collections of objects defined by other predicates.
Strictly speaking, a predicate does not need to be given any interpretation, so long as its syntactic properties are well-defined. For example,equality may be understood solely through its reflexive and substitution properties (cf.Equality (mathematics) § Axioms). Other properties can be derived from these, and they are sufficient for proving theorems in mathematics. Similarly,set membership can be understood solely through the axioms ofZermelo–Fraenkel set theory.
A predicate is a statement or mathematical assertion that contains variables, sometimes referred to as predicate variables, and may be true or false depending on those variables’ value or values.