Loading…
Read predicates, domains, and quantifiers carefully, then negate quantified statements without losing scope, dependencies, or meaning.
Propositional logic treats a complete sentence as one proposition, but it does not expose the structure of “every human is mortal” or “some human dislikes cheese.” Predicate logic adds variables, predicates, and quantifiers so an argument can say which objects are discussed and how many satisfy a condition. This language expresses definitions of primes, prerequisites, functions, and relations without leaving the objects or conditions implicit.
The reliable habit is to read a formula from the outside in. First identify the domain and the scope of each quantifier. Then translate the logical connective inside that scope. When negating, work from the outside inward and preserve every condition attached to a variable.
To formalize the argument about humans and mortality, write , together with , to derive for the named person . The universal premise is instantiated at before the implication is used.
Definition 1.3.1
(Predicate and proposition)
A predicate is a formula whose truth may depend on variables. An occurrence is free when no quantifier controls it. Assigning values to all free variables lets us evaluate the formula under that assignment, but leaves those occurrences syntactically free. Binding every free occurrence with a suitable quantifier produces a closed sentence.
Definition 1.3.2
(Domain and assignment)
The domain is the set from which quantified variables are chosen. An assignment gives values to free variables; thus with is false when means . In , is bound but is free. Quantifiers control variables locally, so an inner quantifier may reuse a letter without referring to an outer variable with that letter.
The domain is part of the statement. The expression has one natural number solution and two integer, rational, or real solutions. A formula such as is incomplete until its domain is stated or fixed by context. Bounded notation records the domain: and .
Definition 1.3.3
(Universal and existential quantifiers)
The statement requires for every domain value; requires one allowed witness. A universal proof starts with an arbitrary element, an existential proof checks a particular witness, a universal refutation gives one counterexample, and an existential refutation rules out all candidates.
Worked example 1.3.4
(Evaluate a predicate before and after quantifying)
Let and let mean . Under the assignment , , the open formula is false. In , is bound but is free. Assigning makes this formula false because fails.
By contrast, is a true closed sentence: for each , choose . The quantifiers bind the variables without changing the predicate.
The scope of a quantifier is the formula immediately following it, unless parentheses make it larger. In
the outer quantifier controls throughout its parentheses, while the inner one controls only there. Thus is available when choosing , but cannot be used outside. Parentheses make the intended connective scope explicit.
A bound variable is a placeholder whose name can be changed when the replacement is safe: and agree when is absent from the body. Reusing a letter bound in an inner scope can capture outer occurrences and change the truth value.
Worked example 1.3.5
(A free variable need not change the truth value)
Keep , but take as the ambient domain for assignments. In , the bound on does not restrict the free variable : is an allowed assignment even though it is outside .
The formula is also open because is free, yet it is false for every integer assignment to : the choice is a counterexample. Being open is a syntactic property; it does not assert that changing the assignment must change the truth value.
Quantifier words determine proof shape. For , write “let be arbitrary” and derive without choosing a convenient value; this is why a proof of injectivity starts with arbitrary . For , announce an allowed candidate and verify membership and . A universal refutation needs one allowed counterexample; an existential refutation must rule out every candidate (or exhaust a finite domain).
For a nested claim, first fixes arbitrary and permits a dependent choice ; chooses one before the arbitrary . Choosing in the second formula proves a different statement.
An implication in restricts the obligation to students; non-students make it vacuously true. But a non-student can also witness without satisfying , so require when membership is intended. Likewise, expands with antecedent , while requires membership and ; a negated universal needs an element inside where fails.
If the bounded domain is empty, these expansions make the edge case explicit: is true because every implication has a false antecedent, while is false because no conjunction can be true.
Theorem 1.3.6
(Negating a quantifier)
For any predicate over a fixed domain,
Negation flips the outer quantifier and then negates the formula in its scope. It does not change the domain.
Theorem 1.3.7
(Bounded quantifiers and De Morgan's laws)
Bounded notation is an abbreviation:
Consequently,
Inside a scope, use the propositional laws and . In particular, the negation of is .
The first quantifier law follows directly from what it means for a universal statement to fail: “not every domain element satisfies ” means that at least one domain element makes fail. Similarly, “there is no domain element satisfying ” means every domain element fails .
For a nested formula, apply one law at a time from the outside inward. For example, over a fixed domain,
The counterexample has the same outer as the original universal claim, but for that every possible fails. After the first flip, the expression is already equivalent to the original negation; the second step removes the remaining negation in front of a quantifier.
Worked example 1.3.8
(Negate the definition of a prime number)
Fix a natural number throughout. The lower bound is essential because 1 is not prime. A standard definition says that every natural divisor of is trivial:
Negate in three steps. First flip the quantifier. Next negate the implication, which keeps its hypothesis and negates its conclusion. Finally apply De Morgan's law:
In English, there is a natural number which divides and is neither 1 nor . That is a concrete non-trivial divisor, exactly the witness needed to show that is not prime. The assumption is a hypothesis of this example, not a condition that should disappear during negation.
Worked example 1.3.9
(Negate a course prerequisite statement)
Let mean “ is a student,” mean “ enrolls,” and mean “ satisfies the prerequisite.” Consider the statement
The negation is
Its witness is a student who enrolls and does not satisfy the prerequisite. A student who does not enroll is not a counterexample, because the original implication makes no claim about that person. This is why replacing the implication by a conjunction, or dropping the hypothesis while negating, gives the wrong condition.
Worked example 1.3.10
(Bounded universal versus bounded existential)
The two bounded forms have different connectives. For a set ,
Negating gives
The witness satisfies both requirements. The integer 0 satisfies but fails , so it cannot witness the negation. This example shows why the antecedent of an implication becomes part of a counterexample.
Worked example 1.3.11
(Quantifier order and dependent witnesses)
Over the natural numbers, compare
with
The first is true: after an arbitrary is presented, choose . The choice depends on . The second is false: a proposed fixed natural number is defeated by the allowed choice , for which is false. A proof of the first statement therefore cannot be reused as a proof of the second; it constructs a function of the input rather than one uniform witness.
The finite example makes the same point without an unbounded domain. Let and mean . Then
is true by choosing . But
is false: fails at , while fails at .
Worked example 1.3.12
(Safe distribution and permutation of quantifiers)
Over a fixed domain, the following identities
follow from the proof obligations. For the first, take an arbitrary : the conjunction is true exactly when both predicates hold for that same element. For the second, a witness for the disjunction lies in one case, and a witness for either case works in reverse. Same-type blocks also commute, but their meanings differ:
The universal statement checks every ordered pair; the existential statement asks for one ordered pair. Neither fact licenses swapping mixed quantifiers. For the crossed failure on , let mean and mean . Then is true while is false. Likewise, is false while is true.
Theorem 1.3.13
(Witness transfer)
If and , then . Choose a witness with . Instantiating the universal premise at gives , hence ; the same is a witness for the conclusion.
Worked example 1.3.14
(Negating a conjunction under existence)
The outside-in rules and De Morgan's law give
The final sentence says that every object fails at least one of the two properties; it does not say that every object fails both.
Worked example 1.3.15
(Read a bounded-order formula in its stated domain)
The formula
says that one value is at least as large as every domain value . Its truth depends on the stated domain, so report the domain with the translation.
Worked example 1.3.16
(Different books, different borrowers)
Let and be the sets of people and books. The two statements are
and
The first says every book has a borrower; the second says one person borrows all books. With two books, separate borrowers can borrow one each, neither both, so the first is true while the second is false.
“Everyone is reading at least two books” requires distinct book witnesses:
Worked example 1.3.17
(Translation with a student domain)
Let the domain be all students at a university. If means “ studies mathematics” and means “ passed the exam,” consider these three statements, respectively: every mathematics student passed; at least one student passed; and at least one mathematics student did not pass. Their translations are
The domain supplies “student”; the predicates add the requested properties.
Worked example 1.3.18
(Translate nested conditions into logic)
Assume the domain contains students, professors, courses, exams, and questions, and use predicates to restrict each kind of object. The following sentences illustrate three different dependencies.
“Every student has taken at least one mathematics course” becomes
“There is a professor who teaches every course in the department” becomes
“Every exam has a question that every student finds difficult” becomes
The difficult question may depend on the exam, but it must work for every student for that exam. Moving before claims one question works for all exams, a stronger statement.
Worked example 1.3.19
(Diagnose an incorrect formalization)
Consider three errors that change the intended claim. The formula
does not define primality. Keep the intended hypothesis . The witness is natural and does not divide , so the implication is true vacuously; the existential formula is satisfied without checking all divisors. (For , do not use this particular witness: divides .) The prime definition requires .
In fact, witnesses this existential formula for every , since both and hold. The choice highlights the separate vacuous truth under the intended hypothesis.
The formula says that each attends at least one , with the types and dependency left unclear. If the intended statement is that every lecture has a student attending it, write
Finally, allows the deadline to depend on the assignment. A single deadline before which all assignments are submitted is
Each correction makes the dependency order explicit.
Worked example 1.3.20
(Rename a bound variable without capture)
Bound variable names are local labels. If does not occur anywhere in the body of , replacing the occurrences controlled by that outer quantifier gives the equivalent formula . Occurrences bound by an inner quantifier are left alone. The same rule applies to .
Global absence of the replacement letter from the body is a sufficient safeguard, not a necessary rule. What is necessary is that the renaming avoid capturing an occurrence whose binding or free status changes. On ,
is true because each element has the other element as a witness. Replacing the outer by the already-used produces
which is false: the inner quantifier captures both occurrences. A genuinely fresh gives and preserves the truth conditions.
Worked example 1.3.21
(Existence and uniqueness are separate proof obligations)
“There exists a unique satisfying ” means both existence and at-most-one:
To prove it, first exhibit one witness and verify . Then let be an arbitrary element of satisfying and prove . To disprove uniqueness, two distinct witnesses are enough. Over , has witnesses and , so existence holds but uniqueness fails. Over , has the single witness : substitution verifies existence, and implies . The statement “my classmate has exactly one friend” uses the same pattern: abbreviates existence plus at-most-one.
Quantifiers also organize definitions built from several clauses. Writing for , a partial order on requires universal clauses for reflexivity, antisymmetry, and transitivity; an equivalence relation replaces antisymmetry with symmetry. Injectivity is expressed by
Its proof starts with arbitrary and its negation supplies two distinct inputs with equal outputs. Each clause has a clear proof obligation: universal definitions use arbitrary elements, while failed definitions use an explicit counterexample.
Written in full, the three partial-order obligations are
For an equivalence relation, replace the middle clause by symmetry, . These clauses are an example of several independent universal proof obligations joined by a conjunction.
These definitions are developed in Functions and relations. Here they illustrate how each quantifier determines a separate proof obligation.
Worked example 1.3.22
(Translate predicate logic back into English)
With people as the domain,
says every person has a distinct friend; the distinctness condition is inside the existential scope.
With people as the domain and identifying the students,
says one person is older than every student. It does not require to be a student unless that predicate is added.
The words “only” and “all” determine different implication directions. “Only students submit” is ; “all students submit” is .
Common mistake
(Do not lose a hypothesis when negating an implication)
The negation of is , not and not . For a bounded universal implication, a counterexample must lie in the intended restricted class and fail the conclusion. In the prerequisite example, a non-student or a student who does not enroll cannot witness the negation.
Common mistake
(Do not swap mixed quantifiers)
Same-type blocks commute over a fixed domain, but for different reasons: checks every pair, whereas needs one pair. Mixed blocks generally cannot be swapped. The finite set with meaning is a concrete counterexample.
Common mistake
(A truth table does not enumerate an infinite domain)
Predicate logic extends propositional logic. A truth table can track the truth of connectives after particular atomic statements are assigned, but it does not replace a proof over an infinite domain such as . For a universal claim, prove it for an arbitrary element or find one counterexample; for an existential claim, provide or rule out witnesses.
Use the stepper to move between a quantified statement and its negation. Treat each step as a scope check: flip one quantifier, negate its complete scope, and then simplify the propositional connective.
Negate one quantified statement carefully
Negate the statement one move at a time. Watch which quantifier changes, and keep its domain.
Example
For every real number x, x^2 >= 0.
Start with the outer quantifier: “for every x.”
∀changed or in focus in this step
Equivalent to the negation of the original
This is the negation of the original statement, written directly; nothing has been moved yet.
NoticeEach step rewrites the negation into an equivalent statement; the domain of the quantified variable never changes.
Quantifiers bind variables over an explicit domain. Free variables need an assignment; bounded universals use implication, bounded existentials use conjunction, and domains stay fixed under negation. Negate outside in, changing to and applying De Morgan's laws and . Order records dependency: permits dependence, while requires a uniform witness. Universal proofs use arbitrary elements, existential proofs use checked witnesses, and uniqueness needs existence plus at-most-one.
Over a fixed domain, negate and simplify completely.
Apply the quantifier-negation law one quantifier at a time, leaving the final negation directly in front of the predicate.
There is an for which every fails .
Formalize: there is one student who finds at least one question difficult in every exam. Use Student, Exam, Question, and Difficult.
Keep the student fixed before choosing an exam; the question may depend on the exam.
The student is chosen before the exam. For each exam, a question can then be chosen for that same student.
Assume . Why is too weak to define a prime number?
Find a natural number for which the implication is true for a vacuous reason.
Under the stated hypothesis , choose . This natural number does not divide , so the implication has a false antecedent and is true. An existential implication therefore does not require all divisors to be trivial; the correct prime definition uses .
Can a finite truth table by itself decide when the domain is ? State the correct proof alternatives.
Separate propositional truth assignments from quantification over domain elements.
No. A truth table handles finitely many truth values of atomic propositions; it does not enumerate all natural numbers. Prove a universal statement for an arbitrary natural number, or refute it with one natural counterexample. For an existential statement, exhibit an allowed witness or show that every candidate fails.
The negations inside each quantified scope use the rules in 1.1 Propositional logic and 1.2 Truth tables and equivalence. 2.2 Functions and relations uses these quantifier patterns to state uniqueness, injectivity and relation properties.
Work out your answer, then check it. You can revise and try again.
Loading…