Predicate¶
Core Idea¶
A predicate is a testable yes-or-no property of an object — a function to a truth value that draws a sharp boundary across a domain of candidates, sorting every one to one side or the other.
How would you explain it like I'm…
The Yes-or-No Question
The Pass-or-Fail Test
The True-or-False Boundary
Broad Use¶
- Logic and mathematics: first-order logic and set-builder notation define a set as the extension of a predicate.
- Computing: a query's filter clause is a predicate over rows; type checks and assertions are predicates evaluated at runtime.
- Law and policy: eligibility rules are predicates — does this applicant satisfy the residency-and-income-and-age conjunction?
- Medicine: clinical criteria for a diagnosis (fever above a threshold, cough beyond a duration) are predicates combined by Boolean rule.
- Engineering: acceptance criteria and tolerance bands are predicates evaluated on each unit.
- Linguistics and philosophy: a verb phrase predicates a property of a subject; predication is the foundational logical act.
Clarity¶
Makes a design question askable — what is the test, exactly? — and distinguishes two failures with opposite fixes: vagueness (fuzzy boundary) wants sharper criteria, underdetermination (inaccessible facts) wants decidable inputs.
Manages Complexity¶
Compresses an entire decision-process to one question and supports deferred evaluation: a fixed test, defined once, applied uniformly to an unbounded stream of objects.
Abstract Reasoning¶
Grounds reasoning about extension versus intension, quantification, decidability, and Boolean closure — the satisfier-set and the defining criterion as dual faces of one object.
Knowledge Transfer¶
- Logic to law: enumerating quantifier scopes transfers to drafting eligibility rules without unintended coverage.
- Software to regulation: predicates-as-types exports as layered review where each input must satisfy explicit, named tests.
- Law to algorithms: contesting vague predicates like "reasonable" transfers to debates over fairness predicates in automated systems.
Example¶
Write S = { n ∈ ℕ : n is prime }: ℕ is the domain, "is prime" the truth-valued test, S the extension; negation and conjunction build new predicates from it, and quantifiers turn it into propositions about the satisfier-set.
Relationships to Other Primes¶
Parents (1) — more general patterns this builds on
- Predicate is a kind of Relation — The file: 'a predicate is a ONE-PLACE relation, a relation is a multi-place predicate.' A (one-place) predicate is the unary special case of a relation; relation is the genus.
Children (1) — more specific cases that build on this
- Quantifier presupposes Predicate — The file: 'A predicate is the PROPERTY a quantifier scopes; without a quantifier it is a fragment with no truth value.' A quantifier operates on a predicate over a domain to fix scope and produce a proposition — it presupposes a predicate. predicate is a candidate (this batch, CAND-R2-072-10).
Path to root: Predicate → Relation
Not to Be Confused With¶
- Predicate is not a Relation because a one-place predicate tests a property of a single object, whereas a relation is the multi-place case holding among several objects.
- Predicate is not a Quantifier because a predicate is a fragment with no truth value until its scope is fixed, whereas a quantifier supplies that scope.
- Predicate is not a Constraint because a predicate merely tests and returns true or false, whereas a constraint restricts admissible states and must be satisfied.