Discreet Math - Chapter 3.1 - " Predicates and Quantified Statements I" NOTES
Predicates and Open Sentences
Foundational Quote:
"…it was not till within the last few years that it has been realized how fundamental any and some are to the very nature of mathematics." — A. N. Whitehead (1861–1947)
Context and Logic Background:
Sentences such as "" or "" are not statements because their truth value depends entirely on the specific values assigned to the variables and .
In grammar, a predicate is the part of a sentence that provides information about the subject. For instance, in the sentence "James is a student at Bedford College," "James" is the subject and "is a student at Bedford College" is the predicate.
In mathematical logic, predicates are obtained by removing some or all nouns from a statement:
Let stand for "is a student at Bedford College".
Let stand for "is a student at".
and are predicate symbols.
The sentences " is a student at Bedford College" and " is a student at " are symbolized as and , respectively, where and are predicate variables taking values in appropriate sets.
When concrete values are substituted for predicate variables, a statement results.
Predicates are also referred to as propositional functions or open sentences.
Definition of Predicate:
A predicate is a sentence that contains a finite number of variables and becomes a statement when specific values are substituted for the variables.
Definition of Domain:
The domain of a predicate variable is the set of all values that may be substituted in place of the variable.
Example 3.1.1: Finding Truth Values of a Predicate:
Let be the predicate "" with domain the set of all real numbers. Write , , and , and indicate which of these statements are true and which are false.
Solution:
: , or . True.
: , or . False.
: , or . True.
Truth Sets of Predicates
Definition of Truth Set:
If is a predicate and has domain , the truth set of is the set of all elements of that make true when they are substituted for .
The truth set of is denoted as:
This symbolic expression is read out loud as "the set of all in such that ".
Example 3.1.2: Finding the Truth Set of a Predicate:
Let be the predicate " is a factor of ". Find the truth set of if:
a. The domain of is , the set of all positive integers.
b. The domain of is , the set of all integers.
Solution:
a. The truth set is because these are exactly the positive integers that divide evenly.
b. The truth set is because the negative integers , , , and also divide into without leaving a remainder.
The Universal Quantifier (\\\forall\\)
Quantifiers Overview:
Statements can be obtained from predicates either by substituting specific values for variables or by adding quantifiers.
Quantifiers are words that refer to quantities such as "some" or "all" and tell for how many elements a given predicate is true.
The formal concept of quantifier was introduced into symbolic logic in the late nineteenth century by the American philosopher, logician, and engineer Charles Sanders Peirce (1839–1914) and, independently, by the German logician Gottlob Frege (1848–1925).
Universal Quantifier Symbol and Reading:
The symbol denotes the universal quantifier.
It is read as "for every", "for each", "for any", "given any", or "for all".
Example: "Every human being is mortal" or "All human beings are mortal" can be rewritten as:
If is the set of all human beings, it is symbolized formally as:
Grammar rule: Think of the symbol as an individual but generic object possessing all properties shared by every element of the domain. Use singular verbs (e.g., "For all in , is mortal", not "are mortal").
Domain placement: Positioned either between the symbol and the variable name (e.g., ) or immediately following the variable name (e.g., ).
Multiple variables: The symbol can refer to multiple variables simultaneously (e.g., ).
Definition of Universal Statement:
Let be a predicate and the domain of . A universal statement is a statement of the form:
It is defined to be true if, and only if, is true for each individual in .
A value for for which is false is called a counterexample to the universal statement.
Example 3.1.3: Truth and Falsity of Universal Statements:
a. Let , and consider the statement: Write one way to read this statement out loud, and show that it is true.
b. Consider the statement: Find a counterexample to show that this statement is false.
Solution:
a. Read out loud: "For every in the set , is greater than or equal to ". Evaluated for each individual element:
(True)
(True)
(True)
(True)
(True)
Hence, "" is true.
b. Counterexample: The statement claims for every real number . But when , for example: is false, since . Hence, "" is false.
Method of Exhaustion:
The technique used to show the truth of a universal statement by evaluating the predicate separately for every individual element of a finite domain is called the method of exhaustion.
This method can be used whenever the domain of the predicate variable is finite.
Digital computers and computer expert systems (knowledge-based systems) make heavy use of the method of exhaustion. However, because most mathematical sets are infinite, the method of exhaustion cannot be used to derive general mathematical proofs over infinite domains.
The Existential Quantifier ()
Existential Quantifier Symbol and Reading:
The symbol denotes the existential quantifier.
It represents "there exists", "there is a", "we can find a", "there is at least one", "for some", or "for at least one".
Example: "There is a student in Math 140" can be written as: Or more formally, letting be the set of all people:
The phrase "such that" is inserted immediately preceding the predicate.
In expressions like "", the symbol refers to both variables and .
Definition of Existential Statement:
Let be a predicate and the domain of . An existential statement is a statement of the form:
It is defined to be true if, and only if, is true for at least one in .
Example 3.1.4: Truth and Falsity of Existential Statements:
a. Consider the statement: Write one way to read this statement out loud, and show that it is true.
b. Let and consider the statement: Show that this statement is false.
Solution:
a. Read out loud: "There is at least one positive integer such that ". Observe that . Thus "" is true for positive integer , so "" is true.
b. Note that is not true for any integer from through :
Thus "" is false.
Translating Between Formal and Informal Language
Example 3.1.5: Translating from Formal to Informal Language:
Rewrite formal statements without using symbols or :
a.
Translations: "Every real number has a nonnegative square." OR "All real numbers have nonnegative squares." OR "Any real number has a nonnegative square." OR "The square of each real number is nonnegative."
b.
Translations: "All real numbers have squares that do not equal ". OR "No real numbers have squares equal to ".
Note: The words none are or no … are are equivalent to all are not.
c.
Translations: "There is a positive integer whose square is equal to itself." OR "We can find at least one positive integer equal to its own square." OR "Some positive integer equals its own square." OR "Some positive integers equal their own squares."
Note: In ordinary English, "some positive integers" might imply at least two, but in mathematics, "some positive integer" and "some positive integers" mean the exact same thing (at least one).
Trailing Quantifiers:
Quantification can be placed at the end of a sentence rather than the beginning.
Example 3.1.6: Trailing Quantifiers:
a. "For any integer , is even." " is even for any integer ".
b. "There exists at least one real number such that ". " for some real number " OR " for at least one real number ".
Example 3.1.7: Translating from Informal to Formal Language:
Rewrite formally using quantifiers and variables:
a. "All triangles have three sides."
Formal: OR (where is the set of all triangles).
Note: "All triangles have three sides" and "Every triangle has three sides" mean the same thing.
b. "No dogs have wings."
Formal: OR (where is the set of all dogs).
c. "Some programs are structured."
Formal: OR (where is the set of all programs).
Universal Conditional Statements
Form:
A universal conditional statement has the form:
This is considered one of the most fundamental statement forms in mathematics.
Example 3.1.8: Writing Universal Conditional Statements Informally:
Rewrite informally:
"If a real number is greater than , then its square is greater than ".
"Whenever a real number is greater than , its square is greater than ".
"The square of any real number greater than is greater than ".
"The squares of all real numbers greater than are greater than ".
Example 3.1.9: Writing Universal Conditional Statements Formally:
Rewrite in the form :
a. "If a real number is an integer, then it is a rational number."
Formal: .
b. "All bytes have eight bits."
Formal: .
c. "No fire trucks are green."
Formal: .
Logical Insight into Conditional Truth Tables:
Consider . This statement is known to be true for all real numbers .
When : Hypothesis "" is false; Conclusion "" () is false.
When : Hypothesis "" is false; Conclusion "" () is true.
In both cases, because the universal conditional statement as a whole is true, an if-then statement with a false hypothesis must be defined as true regardless of whether its conclusion is true or false.
Definition of Valid Argument:
A valid argument is itself a universal conditional statement: "For every combination of truth values for the component statements, if the premises are all true then the conclusion is also true."
Equivalent Forms of Universal and Existential Statements
Universal Equivalences:
A universal conditional statement of the form:
Can be rewritten without a conditional by restricting the domain to subset :
Example 3.1.10: Equivalent Forms for Universal Statements:
Statement: "All squares are rectangles."
Form 1 ().: .
Form 2 (): (where is the set of all squares).
Existential Equivalences:
A statement of the form:
Can be rewritten as: where is the set of all elements for which is true.
Example 3.1.11: Equivalent Forms for Existential Statements:
Definition: A prime number is an integer greater than whose only positive integer factors are itself and .
Statement: "There is an integer that is both prime and even."
Let be " is prime" and be " is even".
a. Form : .
b. Form : OR .
Bound Variables and Scope
Placeholder Nature of Variables:
The specific letter chosen for a variable in a quantified statement does not alter the statement's logical meaning:
All three statements convey identical mathematical meaning.
Definitions of Bound Variable and Scope:
A variable is bound by the quantifier that controls it.
The scope of a bound variable begins when the quantifier introduces it and ends at the end of the quantified statement.
Variable names can be reused in different statements without conflict:
Statement (1):
Statement (2):
The in Statement (1) and the in Statement (2) serve completely distinct roles bounded by their respective quantifiers.
Analogy to Computer Programming:
Variables in mathematics operate like local variables in computer functions.
Consider two Python programs:
Program 1:
def f(): X = "Hi"; print(X)anddef g(): X = "Bye"; print(X)Program 2:
def f(): S = "Hi"; print(S)anddef g(): S = "Bye"; print(S)Output for both programs:
text Hi Bye In both cases,
XorSis local to the function defining it, created on function call, and destroyed upon completion. Its scope is restricted to that function, allowing function definitions to reuse variable names independently.
Implicit Quantification and Logical Implication Notation
Implicit Universal and Existential Quantification:
Quantifiers are frequently implied rather than explicitly stated.
Indefinite articles ("a", "an") often signal quantification:
"If a number is an integer, then it is a rational number" (Implicit Universal Quantification).
"The number can be written as a sum of two even integers" (Implicit Existential Quantification: ).
Contextual quantification: In algebra, is implicitly understood as .
Double Arrow Symbols ( and ):
Let and be predicates with common domain .
means that every element in the truth set of is in the truth set of , which is logically equivalent to .
means that and have identical truth sets, which is logically equivalent to .
Example 3.1.12: Using and :
Let be " is a factor of ", be " is a factor of ", be " and ", with domain (positive integers).
Truth sets:
Truth set of is .
Truth set of is .
Truth set of is .
Relationships:
Every element in the truth set of is in the truth set of . Thus, (" is a factor of is a factor of ").
Truth set of is identical to truth set of . Thus, (" is a factor of and "). Also, .
Explicit Interpretation of Text Material:
a. Statement "" Explicit: \forall \text{ real number } x, x^2 \ge 0$.\n * b. Command "Solve x^2 = 4\rightarrow\exists \text{ a real number } x \text{ such that } x^2 = 4$.
Application in Tarski's World
Overview:
Tarski's World is a computer software program created by information scientists Jon Barwise and John Etchemendy (The Language of First-Order Logic) to teach logic, named in honor of logician Alfred Tarski (1902–1983).

Grid System and Predicates:
Objects of various shapes (triangles, squares, circles), sizes, and colors (blue, black, gray) are arranged on a grid.

* Notation examples:
* : " is a triangle"
* : " is blue"
* : " is to the right of "
Example 3.1.13: Investigating Tarski's World:
Determine the truth or falsity of each statement for the domain of all objects in Figure 3.1.1:
a.
Truth Value: True. Every triangle () in the grid is blue.
b.
Truth Value: False
Counterexample: Object is blue, but it is a square, not a triangle.
c.
Truth Value: True
Explanation: Objects and are both squares and object is to their left (making and to the right of ).
d.
Truth Value: False
Explanation: All squares in the grid (, , ) are either blue