The foundations: logic and proof Flashcards

1
Q

Atomic proposition

A

Propositions that cannot be expressed in terms of simpler propositions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

compound propositions

A

compound propositions are formed

from existing propositions using logical operators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Conditional, contrapositive, inverse, converse.

A

Conditional and Contrapositive are equivalent.

converse and inverse are equivalent ( as the inverse is converse’s contrapositive)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Some forms of saying if p then q?

14

A
  1. “if p, then q” 3. “p implies q”
  2. “if p, q” 4. “p only if q”
  3. “p is sufficient for q”
  4. “a sufficient condition for q is p”
  5. “q IF p”
  6. “q WHENEVER p”
  7. “q WHEN p”
  8. “q is NECESSARY for p”
  9. “a necessary condition for p is q”
  10. “q FOLLOWS from p”
  11. “q UNLESS ¬p”
  12. “q PROVIDED that p”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Some ways of saying p if and only if q ( bi implication)?

4

A

“p is necessary and sufficient for q”
“if p then q, and conversely”
“p iff q.” “p exactly when q.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Precedence.

A

It is generally the case that unary operators that involve only one object precede binary operators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

z whenever o is

A

if o then z; o –> z

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

a is sufficient for v

A

a–>v ; if a then v

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

f is necessary for g

A

if g then f; g –> f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Application of propositional logic.

A
  • System specifications
  • Boolean search
  • logic puzzle
  • logic circuits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

System specifications

A

System specifications
should be consistent, that is, they should not contain conflicting requirements that could be used to derive a contradiction.
When specifications are not consistent,
there would be no way to develop a system that satisfies all specifications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Boolean Searches:

A

In Boolean searches, the connective AND is used to match records that contain both of
two search terms, the connective OR is used to match one or both of two search terms, and the
connective NOT (sometimes written as AND NOT ) is used to exclude a particular search term.
Careful planning of how logical connectives are used is often required when Boolean searches
are used to locate information of potential interest.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

logically equivalent

A

The compound propositions p and q are called logically equivalent if p ↔ q is a tautology.
The notation p ≡ q denotes that p and q are logically equivalent.
≡ : not a logical connective.
p ≡ q: not a compound proposition but a statement meaning ‘p ↔ q is a tautology’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

conditional disjunction equivalence.

A

p → q ≡ ¬p ∨ q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Logical Equivalences
Involving Conditional
Statements. 2 variables. (5)

A
p → q ≡ ¬p ∨ q
p → q ≡ ¬q → ¬p
p ∨ q ≡ ¬p → q
p ∧ q ≡ ¬(p → ¬q)
¬(p → q) ≡ p ∧ ¬q
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Logical Equivalences
Involving Conditional
Statements. 3 variables. (4)

A

(p → q) ∧ (p → r) ≡ p → (q ∧ r)
(p → r) ∧ (q → r) ≡ (p ∨ q) → r
(p → q) ∨ (p → r) ≡ p → (q ∨ r)
(p → r) ∨ (q → r) ≡ (p ∧ q) → r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Logical
Equivalences Involving
Biconditional Statements (4)

A

p ↔ q ≡ (p → q) ∧ (q → p)
p ↔ q ≡ ¬p ↔ ¬q
p ↔ q ≡ (p ∧ q) ∨ (¬p ∧ ¬q)
¬(p↔ q) ≡ p ↔ ¬q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

De Morgan’s law extended:

A

Furthermore, note that De Morgan’s laws extend to
¬(p1 ∨ p2 ∨ ⋯ ∨ pn) ≡ (¬p1 ∧ ¬p2 ∧ ⋯ ∧ ¬pn)
and
¬(p1 ∧ p2 ∧ ⋯ ∧ pn) ≡ (¬p1 ∨ ¬p2 ∨ ⋯ ∨ ¬pn)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

When using De
Morgan’s laws,
remember to

A

change
the logical connective
after you negate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Satisfiability :

A

A compound proposition is satisfiable if there is an assignment of truth values to its variables
that makes it true (i.e, when it is a tautology or a contingency).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

unsatisfiable:

A

when the compound proposition is false for all assignments of truth values to
its variables.
Note that a compound proposition is
unsatisfiable if and only if its negation is true for all assignments of truth values to the variables,
i.e, if and only if its negation is a tautology.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The solution to a satisfiable problem:

A

When we find a particular assignment of truth values that makes a compound proposition
true, we have shown that it is satisfiable; such an assignment is called a solution to this particular
satisfiability problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Predicate

A

predicate,
ex: “is greater than 3”
—refers to a property that
the subject of the statement can have

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

P(x), what do you understand from this?

A

The statement P(x) is also
said to be the value of the propositional function P at x. Once a value has been assigned to the
variable x, the statement P(x) becomes a proposition and has a truth value.
“x = y + 3.” denoted by Q(x, y), where x and y are variables, and Q is the predicate. When values are assigned to the variables x and y, the statement Q(x, y) has a truth value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Propositional functions

A

In general, a statement involving the n variables x1, x2, … , xn can be denoted by
P(x1, x2, … , xn).
A statement of the form P(x1, x2, … , xn) is the value of the propositional function P at the
n-tuple (x1, x2, … , xn), and P is also called an n-place predicate or an n-ary predicate.
Propositional functions occur in computer programs like
if x > 0 then x := x + 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Preconditions and Postconditions

A

The statements that describe valid
input are known as preconditions and the conditions that the output should satisfy when the
program has run are known as postconditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Predicate Calculus

A

The area of logic that deals with predicates

and quantifiers is called the predicate calculus.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Quantification

A

Quantification expresses

the extent to which a predicate is true over a range of elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Domain

A

domain

specifies the possible values of the variable x for P(x).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

The universal quantification of P(x) is the statement:

A

The universal quantification of P(x) is the statement
“P(x) for all values of x in the domain.”
The notation ∀xP(x) denotes the universal quantification of P(x). Here ∀ is called the
universal quantifier. We read ∀xP(x) as “for all xP(x)” or “for every xP(x).”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

CounterExample:

A
An element for
which P(x) is false is called a counterexample to ∀xP(x).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

The domain of Discourse:

A

Many mathematical statements assert that a property is Assessment true for all values of a variable in a particular domain, called the domain of discourse (or the universe of discourse), often just referred to as the domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

universal quantification can be expressed in many other

A
  1. “for all”
  2. “for every,”
  3. “all of,”
  4. “for each,”
  5. “given any,”
  6. “for arbitrary,”
  7. “for each,”
  8. “for any.” – avoid use, ‘any’ is ambiguous unless its negatives we talking bout.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

The existential quantification of P(x) is the proposition

A

The existential quantification of P(x) is the proposition
“There exists an element x in the domain such that P(x).”
We use the notation ∃xP(x) for the existential quantification of P(x). Here ∃ is called the
existential quantifier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

express existential quantification:

∃xP(x)

A
  1. “there exists,”
  2. “for some,”
  3. “for at least one,”
  4. “there is.”
  5. “There is an x such that P(x),”
  6. “There is at least one x such that P(x),”
  7. “For some xP(x).”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

Uniqueness Quantifier

A
denoted by ∃! or ∃1.
The notation ∃!xP(x) [or ∃1xP(x)] states
1. “There exists a unique x such that P(x) is true.” 
2.“there is exactly one”
3.“there is one and only one.”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

the universal quantification ∀xP(x) is the

same as?

A

the universal quantification ∀xP(x) is the
same as the conjunction
P(x1) ∧ P(x2) ∧ ⋯ ∧ P(xn),
because this conjunction is true if and only if P(x1), P(x2), … , P(xn) are all true.
[ when the elements of the
domain are x1, x2, …, xn, where n is a positive integer ]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

existential quantification ∃xP(x) is the same as?

A

existential quantification ∃xP(x) is the same as the disjunction
P(x1) ∨ P(x2) ∨ ⋯ ∨ P(xn),
because this disjunction is true if and only if at least one of P(x1), P(x2), … , P(xn) is true.
[ when the elements of the
domain are x1, x2, …, xn, where n is a positive integer ]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

CONNECTIONS BETWEEN QUANTIFICATION AND LOOPING?

A

We can loop through the domain elements to check the truth value of quantifiers. For universal quantifier, if there is no element for which the p(x) is false then its true. For existential quantifier if there is an element for which P(x) is true then it’s true and if no element satisfies then its false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

restriction of a universal quantification

A

Note that the restriction of universal quantification is the same as the universal quantification of a conditional statement. For instance, ∀x < 0 (x raise to 2 > 0) is another way of expressing
∀x(x < 0 → x raise to 2 > 0).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

restriction of an existential quantification

A

The restriction of an existential quantification is the
same as the existential quantification of conjunction. For instance, ∃z > 0 (z raise to 2 = 2) is another
way of expressing ∃z(z > 0 ∧ z raise to 2 = 2).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

Precedence Of quantifiers:

A

Universal and existential quantifiers come before logical operators.
∀xP(x) ∨ Q(x) is (∀xP(x)) ∨ Q(x) not ∀x(P(x) ∨ Q(x)).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

When is a variable bound and when is it free?

A

When a quantifier is used on the variable x, we say that this occurrence of the variable is bound otherwise it is free.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

Scope of quantifier?
Variable outside this scope is?
Usage of same letters as variables:

A

The part of a logical expression to which a quantifier is applied is called the scope of this
quantifier.
Consequently, a variable is free if it is outside the scope of all quantifiers in the formula that specify this variable.
So, the same letter is often used to represent variables bound by different quantifiers with scopes that do not
overlap.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

Negation of quantified expression:

A

¬∀xP(x) ≡ ∃x ¬P(x)

¬∃xP(x) ≡ ∀x¬P(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

Fuzzy logic

A

0 : False
1 : True
Fuzzy logic is used in artificial intelligence. In fuzzy logic, a proposition has a truth value that is a number between 0 and 1, inclusive
Truth values that are between 0 and 1 indicate varying degrees of truth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

Order of nested Quantifier:

A

The order doesn’t matter if its just universal quantifier or just existential. When using different quantifiers matters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

Negation in fuzzy logic.

A

The truth value of the negation of a proposition in fuzzy logic is 1 minus the truth value of the proposition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

Conjunction in fuzzy logic.

A

The truth value of the conjunction of two propositions in fuzzy logic is the minimum of the truth values of the two propositions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

Disjunction in fuzzy logic.

A

Maximum one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

Dual of a proposition

A

The dual of a compound proposition that contains only the logical operators ∨, ∧, and ¬ is the compound proposition obtained by replacing each ∨ by ∧, each ∧ by ∨, each T by F, and each F by T. The dual of s is denoted by s∗.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

Disjunctive Normal

A

Suppose that a truth table in n propositional variables is specified. Show that a compound proposition with this truth table can be formed by taking the disjunction of conjunctions of the variables or their negations, with one conjunction included for each combination of values for which the compound proposition is true. The resulting compound proposition is said to be in disjunctive normal form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

functionally complete

A

A collection of logical operators is called functionally complete if every compound proposition is logically equivalent
to a compound proposition involving only these logical operators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

NAND

A
logical operators NAND.
The proposition p NAND q is true when either p or q, or both, are false; and it is false when both p and q are true.  
 p ∣ q 
¬(p ^ q)
|  aka Sheffer stroke.
[ H. M. Sheffer ]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

NOR

A

The proposition p NOR q is true when both
p and q are false, and it is false otherwise.
p ↓ q
¬(p ∨ q)
↓ aka Peirce arrow [ C. S. Peirce ]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

represent ↓ and negations relation

A

p ↓ p = ¬p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

represent or using only nor

A

(p ↓ q) ↓ (p ↓ q ) = p v q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

Null quantification:
establish rules for null quantification that
we can use when a quantified variable does not appear in part of a statement.

A

a) (∀xP(x)) ∨ A ≡ ∀x(P(x) ∨ A)
b) (∃xP(x)) ∨ A ≡ ∃x(P(x) ∨ A)

a) (∀xP(x)) ∧ A ≡ ∀x(P(x) ∧ A)
b) (∃xP(x)) ∧ A ≡ ∃x(P(x) ∧ A)

a) ∀x(A → P(x)) ≡ A → ∀xP(x)
b) ∃x(A → P(x)) ≡ A → ∃xP(x)

a) ∀x(P(x) → A) ≡ ∃xP(x) → A
b) ∃x(P(x) → A) ≡ ∀xP(x) → A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

what is Prolog?

A

An important type of programming language is designed to reason using the rules of predicate
logic. Prolog (from Programming in Logic), developed in the 1970s by computer scientists
working in the area of artificial intelligence

60
Q

Prolog working:

A

It has Prolog facts and prolog rules.
Prolog facts define predicates by specifying the elements that satisfy these predicates.
Prolog rules are used to define new predicates using those already defined by Prolog facts.

61
Q

Prolog Facts example

A

Prolog facts define predicates by specifying the elements that satisfy these predicates.
instructor(grossman,cs301)
enrolled(kevin,math273)

62
Q

Prolog variables

A

Prolog considers names beginning with

an uppercase letter to be variables

63
Q

New predicate in prolog

A

A new predicate teaches(p, s), representing that professor p teaches students, can be defined
using the Prolog rule
teaches(P,S) :- instructor(P,C), enrolled(S,C)

64
Q

Prolog conjunction and disjunction:

A

, is and

; is or

65
Q

Query in prolog

A

?enrolled(kevin,math273)
-return yes or no
?enrolled(x,math273)
-returns all values of x.

66
Q

To say that there are exactly two objects that meet some condition:

A

we must have two existentially quantified
variables to represent the two objects, we must say that they are different, and then we must say that an
object meets the conditions if and only if it is one of those two.

67
Q

Vacuousness

A

For any universe of discourse that is empty, then for any predicate,
∃xP(x)
is always false, and
∀xP(x)
is always true. The second is always vacuously true (P(x) holds for
every x in the universe of discourse because there is no such x).

68
Q

prenex normal form (PNF)

A

A statement is in prenex normal form (PNF) if and only if
it is of the form
Q1x1Q2x2 ⋯ QkxkP(x1, x2,… , xk),
where each Qi
, i = 1, 2, … , k, is either the existential quantifier or the universal quantifier, and P(x1,… , xk) is a predicate
involving no quantifiers. For example, ∃x∀y(P(x, y) ∧ Q(y)) is
in prenex normal form, whereas ∃xP(x) ∨ ∀xQ(x) is not (because the quantifiers do not all occur first).

69
Q

Argument definition from the introduction part:

A

The argument, we mean a sequence of statements
that end with a conclusion.
- It is a sequence of
propositions.

70
Q

Valid:

A

By valid, we mean that the conclusion, or final statement of the argument, must follow from the truth of the preceding statements, or premises, of the argument.
That is, an argument is valid if and only if it is impossible for all the premises to be true and
the conclusion to be false

71
Q

rules of inference are used for?

A

To deduce new statements from statements we already have, we use
rules of inference which are templates for constructing valid arguments.
Rules of inference are
our basic tools for establishing the truth of statements.

72
Q

fallacies?

A

some common forms of incorrect reasoning, called fallacies, which lead to invalid
arguments.

73
Q

Premises:

A

All statements in the argument other than the final one, the conclusion.

74
Q

Argument Formal definition:
what are its parts?
When is it valid?

A

An argument in propositional logic is a sequence of propositions. All but the final proposition
in the argument are called premises and the final proposition is called the conclusion. An
argument is valid if the truth of all its premises implies that the conclusion is true

75
Q

Argument form?

A

An argument form in propositional logic is a sequence of compound propositions involving propositional variables. An argument form is valid if no matter which particular
propositions are substituted for the propositional variables in its premises, the conclusion is
true if the premises are all true.

76
Q

A proposition which explains validity of argument form:

A

From the definition of a valid argument form, we see that the argument form with
premises p1, p2, … , pn and conclusion q is valid exactly when (p1 ∧ p2 ∧ ⋯ ∧ pn) → q is a
tautology.

77
Q

Modus ponens

Latin for mode that affirms.

A
The tautology (p ∧ (p → q)) → q is the basis of the rule of inference called modus ponens,
or the law of detachment.
78
Q

Modus tollens:
Mode that denies

[also modus tollendo tollens (Latin for “mode that by denying denies”) ]

A

(¬q ∧ (p → q)) → ¬p

¬q
p → q
———-
∴ ¬p

79
Q

Hypothetical syllogism

A

((p → q) ∧ (q → r)) → (p → r)

80
Q

Disjunctive syllogism

A

((p ∨ q) ∧ ¬p) → q

81
Q

Addition

A

p → (p ∨ q)

82
Q

Simplification

A

(p ∧ q) → p

83
Q

Conjunction

A

((p) ∧ (q)) → (p ∧ q)

84
Q

Resolution

what is resolvent

A

((p ∨ q) ∧ (¬p ∨ r)) → (q ∨ r)

resolvent: (q ∨ r)

85
Q

Contrapositive:

A

((p → q) → (¬q → ¬p)

86
Q

Rules OF Inference:

name them

A
  1. Modos Ponens
  2. Modos Tollens
  3. Hypothetical Syllogism
  4. Disjunctive Syllogism
  5. Addition
  6. Simplification
  7. Conjunction
  8. Resolution

also can use contrapositive.

87
Q

Clause

A

To construct proofs in propositional
logic using the resolution as the only rule of inference, the hypotheses and the conclusion must be
expressed as clauses, where a clause is a disjunction of variables or negations of these variables

88
Q

Common fallacies arise due… can u think of one?

A

Several common fallacies arise in incorrect arguments. These fallacies resemble rules of inference but are based on contingencies rather than tautologies.

89
Q

The fallacy of affirming the

conclusion

A

Considering (p → q), q as premise and p as the conclusion.
It’s not a valid argument.
((p → q) ∧ q) → p) : is not a tautology.

90
Q

The fallacy of denying the hypothesis

A

Using this as a tautology ((p → q) ∧ ¬p) → ¬q), which is not. False when p is false and q is true.

91
Q

Universal Instantiation:

A

∴ P(c)

92
Q

Universal Generalization:

A

∴ ∀xP(x)

93
Q

Existential Instantiation:

A

∴ P(c) for some element c

94
Q

Existential generalisation:

A

∴ ∃xP(x)

95
Q

Error arised frequently by use of universal generalisation?

A

The error of adding unwarranted assumptions about
the arbitrary element c when universal generalization is used is all too common in incorrect
reasoning

96
Q

Rules of Inference for Quantified Statements.

A

Universal instantiation
Universal generalization
Existential instantiation
Existential generalization

97
Q

universal modus ponens

A

This rule tells us that if ∀x(P(x) → Q(x)) is true, and if P(a) is true
for a particular element a in the domain of the universal quantifier, then Q(a) must also be true.
To see this, note that by universal instantiation, P(a) → Q(a) is true. Then, by modus ponens,
Q(a) must also be true. We can describe universal modus ponens as follows:

∀x(P(x) → Q(x))
P(a), where a is a particular element in the domain ---------------------------------------------------------------------------- ∴ Q(a)
98
Q

universal modus tollens

A

∀x(P(x) → Q(x))
¬Q(a), where a is a particular element in the domain
——————————————————————————-
∴ ¬P(a)

99
Q

Argument form
premises p1 , p2 , p3 ,….., pn and q are true
then r is conclusion.
If this is a valid form, then what can u say about an argument form with premises p1 to pn, what will be its conclusion:

A

If the argument form with
premises p1, p2,… , pn, q, and conclusion r is valid,
the argument form with premises p1, p2,… , pn
and conclusion q → r is valid

If q is false, then we are done, vacuously. Otherwise, q is true, so
by the validity of the given argument form, we know that r is true.

100
Q

Universal Transitivity

A
∀x(P(x) → Q(x))
  ∀x(Q(x) → R(x)) 
--------------------------
∴∀x(P(x) → R(x))
[where the domains of all
quantifiers are the same]
101
Q

Proof:

A

A proof is a valid argument that establishes the truth of a mathematical statement.

102
Q

Theorem:

A

A statement that can be shown to be true, less important theorems are called propositions.
Aka facts or results.
A theorem may be the universal quantification of a conditional statement with one or more premises(can be previously proven theorems) and a conclusion.

103
Q

Axioms or Postulates:

A

The statements

used in a proof can include axioms (or postulates), which are statements we assume to be true.

104
Q

Lemma

A

A less important theorem that is helpful in the proof of other results is called a lemma
(plural lemmas or lemmata)

105
Q

Corollary

A

A corollary is a theorem that can be established directly from a theorem that has been proved.

106
Q

Conjecture

A

A conjecture is
a statement that is being proposed to be a true statement, usually on the basis of some partial
evidence, a heuristic argument, or the intuition of an expert. When a proof of a conjecture is
found, the conjecture becomes a theorem. Many times conjectures are shown to be false, so they
are not theorems.

107
Q

Parity?

A

The integer n is even if there exists an integer k such that n = 2k, and n is odd if there exists an
integer k such that n = 2k + 1. (Note that every integer is either even or odd, and no integer
is both even and odd.) Two integers have the same parity when both are even or both are odd;
they have opposite parity when one is even and the other is odd.

108
Q

Proof consists of what and approach?

A

Once we have chosen a proof method,
Assessment
we use axioms, definitions of terms, previously proved results, and rules of inference to complete the proof

109
Q

Direct Proof:

A

A direct proof of a conditional statement p → q is constructed when the first step is the assumption that p is true; subsequent steps are constructed using rules of inference, with the final
step showing that q must also be true.

A direct proof shows that a conditional statement p → q
is true by showing that if p is true, then q must also be true, so that the combination p true and
q false never occurs.
———————————————————————-
In a direct proof, we assume that p is true and use axioms, definitions, and
previously proven theorems, together with rules of inference, to show that q must also be true.
———————————————————————–
Direct proofs lead from the premises of a theorem to the conclusion.

110
Q

To prove a theorem of the form ∀x(P(x) → Q(x)):

A

To prove a theorem of the form ∀x(P(x) → Q(x)), our goal is to show that P(c) → Q(c) is
true, where c is an arbitrary element of the domain, and then apply universal generalization. In
this proof, we need to show that a conditional statement is true. Because of this, we now focus
on methods that show that conditional statements are true. Recall that p → q is true unless p is
true but q is false. Note that to prove the statement p → q, we need only show that q is true if p
is true.

111
Q

Indirect Proofs.

A

Proofs of theorems of this type that are not direct
proofs, that is, that do not start with the premises and end with the conclusion, are called indirect
proofs.
types : proof by contraposition,
proof by contradiction.

112
Q

Proof by contraposition:

A

Proofs by contraposition make use of the fact that the conditional statement p → q is equivalent to its
contrapositive, ¬q → ¬p.
This means that the conditional statement p → q can be proved by showing that its contrapositive, ¬q → ¬p, is true.
In a proof by contraposition of p → q, we
take ¬q as a premise, and using axioms, definitions, and previously proven theorems, together
with rules of inference, we show that ¬p must follow.

113
Q

heuristic Summary:

A
p --> q is true when:
prove that if p is true then q is true (direct proof)
OR
prove if q is false p is false (proof by contraposition)
OR
hypothesis in false
OR
Conclusion is true
[picture conditional's truth table]
114
Q

vacuous proof:

A

We can quickly prove that a conditional statement
p → q is true when we know that p is false, because p → q must be true when p is false. Consequently, if we can show that p is false, then we have a proof, called a vacuous proof, of the
conditional statement p → q.

Vacuous proofs are often used to establish special cases of theorems that state that a conditional statement is true for all positive integers [i.e., a theorem of the
kind ∀nP(n), where P(n) is a propositional function]

115
Q

Trivial Proof:

A

We can also quickly prove a conditional statement p → q if we know that the conclusion
q is true. By showing that q is true, it follows that p → q must also be true. A proof of p → q
that uses the fact that q is true is called a trivial proof. Trivial proofs are often important when
special cases of theorems are proved and
in mathematical induction.

116
Q

Lil proof strategy:

A

When you want to prove a statement of the form ∀x(P(x) → Q(x)), first evaluate whether
a direct proof looks promising. Begin by expanding the definitions in the hypotheses. Start to
reason using these hypotheses, together with axioms and available theorems. If a direct proof
does not seem to go anywhere, for instance when there is no clear way to use hypotheses as in
Examples 3 and 4 to reach the conclusion, try the same thing with a proof by contraposition.

(Hypotheses such as x is irrational or x ≠ 0 that are difficult to reason from are a clue that
an indirect proof might be your best best.)

117
Q

Rational and Irrational:

A

The real number r is rational if there exist integers p and q with q ≠ 0 such that r = p∕q. A
real number that is not rational is called irrational.

118
Q

Proof By Contradiction :

for a statement.

A

Suppose we want to prove that a statement p is true. Furthermore, suppose that we can find a
contradiction q such that ¬p → q is true.
Because q is false, but ¬p → q is true, we can conclude
that ¬p is false, which means that p is true.
Now,
Because the statement r ∧ ¬r is a contradiction whenever r is a proposition, we can prove
that p is true if we can show that ¬p → (r ∧ ¬r) is true for some proposition r.

119
Q

Contradiction and contrposition:

A

Note that we can rewrite a proof by contraposition of a conditional statement as a proof
by contradiction. In a proof of p → q by contraposition, we assume that ¬q is true. We then
show that ¬p must also be true. To rewrite a proof by contraposition of p → q as a proof by
contradiction, we suppose that both p and ¬q are true. Then, we use the steps from the proof of
¬q → ¬p to show that ¬p is true. This leads to the contradiction p ∧ ¬p

120
Q

Proof by contradiction of conditional:

A

Proof by contradiction can be used to prove conditional statements. In such proofs, we first
assume the negation of the conclusion. We then use the premises of the theorem and the negation
of the conclusion to arrive at a contradiction. (The reason that such proofs are valid rests on the
logical equivalence of p → q and (p ∧ ¬q) → F. To see that these statements are equivalent,
simply note that each is false in exactly one case, namely, when p is true and q is false.)

121
Q

PROOFS OF EQUIVALENCE

A

To prove a theorem that is a biconditional statement, that is, a
statement of the form p ↔ q, we show that p → q and q → p are both true. The validity of this
approach is based on the tautology
(p ↔ q) ↔ (p → q) ∧ (q → p).

122
Q

Show that p1, p2, … , pn are all equivalent

A

propositions p1, p2, p3, … , pn are equivalent. This can be written as
p1 ↔ p2 ↔ ⋯ ↔ pn
which states that all n propositions have the same truth values, and consequently, that for all i
and j with 1 ≤ i ≤ n and 1 ≤ j ≤ n, pi and pj are equivalent. One way to prove these are mutually
equivalent is to use the tautology
p1 ↔ p2 ↔ ⋯ ↔ pn ↔ (p1 → p2) ∧ (p2 → p3) ∧ ⋯ ∧ (pn → p1).

123
Q

If the n conditional statements p1 → p2, p2 → p3, … ,
pn → p1 can be shown to
be true, then?

A

If the n conditional statements p1 → p2, p2 → p3, … ,
pn → p1 can be shown to
be true,
then the propositions p1, p2, … , pn are all equivalent.

use the tautology
p1 ↔ p2 ↔ ⋯ ↔ pn ↔ (p1 → p2) ∧ (p2 → p3) ∧ ⋯ ∧ (pn → p1).

This is much more efficient than proving that pi → pj for all i ≠ j with 1 ≤ i ≤ n and 1 ≤
j ≤ n. (Note that there are n^2 − n such conditional statements.)

124
Q

division of both sides of an equation by the same quantity is valid?

A

Division of both sides of an equation by the same quantity is valid as
long as this quantity is not zero.

125
Q

Circular Reasoning:

A

Many incorrect arguments are
based on a fallacy called “BEGGING the QUESTION’. This fallacy occurs when one or more steps of
a proof are based on the truth of the statement being proved. In other words, this fallacy arises
when a statement is proved using itself, or a statement equivalent to it. That is why this fallacy
is also called circular reasoning.

126
Q

Proof By Cases:

A

To prove a
conditional statement of the form
(p1 ∨ p2 ∨ ⋯ ∨ pn) → q
the tautology
[(p1 ∨ p2 ∨ ⋯ ∨ pn) → q] ↔ [(p1 → q) ∧ (p2 → q) ∧ ⋯ ∧ (pn → q)]
can be used as a rule of inference.
This shows that the original conditional statement with a hypothesis made up of a disjunction of the propositions p1, p2, … , pn can be proved by proving
each of the n conditional statements pi → q, i = 1, 2, … , n, individually. Such an argument is
called a proof by cases.

Sometimes to prove : p → q is true, it’s
convenient to use a disjunction p1 ∨ p2 ∨ ⋯ ∨ pn instead of p as the hypothesis, where
p ≡ p1 ∨ p2 ∨ ⋯ ∨ pn.

127
Q

EXHAUSTIVE PROOF

A

Some theorems can be proved by examining a relatively small number of examples. Such proofs are called exhaustive proofs, or proofs by exhaustion because
these proofs proceed by exhausting all possibilities. An exhaustive proof is a special type of
proof by cases where each case involves checking a single example.

128
Q

LEVERAGING PROOF BY CASES

A

Generally, look for a proof by cases when there is no obvious
way to begin a proof, but when extra information in each case helps move the proof forward.

129
Q

Formulate a conjecture about the final decimal digit of the square of an integer and prove your
result.

A

The final decimal digit of a perfect square is 0, 1, 4, 5, 6, or 9.

Express integer n as 10a + b, where a,b : +ve integers and b is 0 to 9. Here a is the integer obtained by subtracting the final decimal digit of n from n and dividing by 10.
Next, note that (10a + b)^2 = 100a^2 + 20ab + b^2 =
10(10a^2 + 2b) + b^2, so that the final decimal digit of n^2 is the same as the final decimal digit
of b^2. Furthermore, note that the final decimal digit of b^2 is the same as the final decimal digit
of (10 − b)^2 = 100 − 20b + b^2. Consequently, we can reduce our proof to the consideration of
six cases.
n = 1,9 ; 2,8; 3,7; 4,6;5;0.

130
Q

Show that there are no solutions in integers x and y of x^2+ 3y^2 = 8.

A

We can quickly reduce proof to checking just a few simple cases because x^2 > 8
when |x| ≥ 3 and 3y^2 > 8 when |y| ≥ 2. This leaves the cases when x equals −2,−1, 0, 1, or 2
and y equals −1, 0, or 1. We can finish using exhaustive proof.
BUT
possible values for x^2 =0, 1, 4
possible values for 3y^2 = 0,3.
largest sum of possible values for x^2 and 3y^2 = 7. Consequently, it is impossible for
x2 + 3y2 = 8 to hold when x and y are integers.

131
Q

WLOG

A

When the phrase “without loss of generality” is used in a proof, we assert that by proving one case of a theorem, no additional argument is
required to prove other specified cases. That is, other cases follow by making straightforward
changes to the argument, or by filling in some straightforward initial step. Proofs by cases can
often be made much more efficient when the notion of WLOG is employed.
like |xy| = |x||y|
the case x <0, y >0
and the case y <0, x>0 can be proved in single case stating WLOG.

132
Q

COMMON ERRORS WITH EXHAUSTIVE PROOF AND PROOF BY CASES

A

A common
error of reasoning is to draw incorrect conclusions from examples. No matter how many separate
examples are considered, a theorem is not proved by considering examples unless every possible
case is covered. The problem of proving a theorem is analogous to showing that a computer
program always produces the output desired. No matter how many input values are tested, unless
all input values are tested, we cannot conclude that the program always produces the correct
output.

133
Q

existence proof

A

Many theorems are assertions that objects of a particular type exist. A theorem of this type is
a proposition of the form ∃xP(x), where P is a predicate. A proof of a proposition of the form
∃xP(x) is called an existence proof

134
Q

Witness

A

An existence proof of ∃xP(x) can be given by finding an element a, called a witness,
such that P(a) is true.

135
Q

Constructive proof?

A

An existence proof of ∃xP(x) can be given by finding an element a, called a witness,
such that P(a) is true. This type of existence proof is called constructive.

136
Q

Non Constructive proof:

A

use proof by contradiction and show that the

negation of the existential quantification implies a contradiction.

137
Q

Uniqueness Proofs

A

Some theorems assert the existence of a unique element with a particular property.
The two parts of a uniqueness proof are:
Existence: We show that an element x with the desired property exists.
Uniqueness: We show that if x and y both have the desired property, then x = y.

Remark: Showing that there is a unique element x such that P(x) is the same as proving the
statement ∃x(P(x) ∧ ∀y(y ≠ x → ¬P(y))).

138
Q

Proof Strategy

A
  1. When you are confronted with a statement to
    prove, you should first replace terms by their definitions and then carefully analyze what the
    hypotheses and the conclusion mean.
  2. Look for counterexamples, if yes then there’s no proof.
139
Q

Forward and Backward reasoning:

A

Direct proof is Forward reasoning.
Usually, it’s complicated so we use backward reasoning. To reason backward to prove a statement q,
we find a statement p that we can prove with the property that p → q. (Note that it is not helpful
to find a statement r that you can prove such that q → r, because it is the fallacy of begging
the question to conclude from q → r and r that q is true.)

(Note that the steps of our backward reasoning will
not be part of the final proof. These steps serve as our guide for putting this proof together

140
Q

Adapting Existing Proofs:

A

Making use to existing proofs.

141
Q

Checkboard:

A

A checkerboard is a rectangle divided into squares of the same size by horizontal and
vertical lines. The game of checkers is played on a board with 8 rows and 8 columns; this
board is called the standard checkerboard a

142
Q

Domino

A

A domino is a rectangular piece that is one square

by two squares

143
Q

Tiled:

A

We say that a board is tiled by dominoes when all its

squares are covered with no overlapping dominoes and no dominoes overhanging the board.

144
Q

polyominoes:

A

Identically shaped pieces constructed from congruent squares that are
connected along their edges. Such pieces are called polyominoes.

145
Q

FERMAT’S LAST THEOREM

A

The equation
x^n + y^n = z^n
has no solutions in integers x, y, and z with xyz ≠ 0 whenever n is an integer with n > 2.
The equation x^2 + y^2 = z^2 has infinitely many solutions in integers x, y, and z [Pythagorean triples].

146
Q

procedure that can be used for proving theorems in

mathematics

A

Finally, note that we have not given a procedure that can be used for proving theorems in
mathematics. It is a deep theorem of mathematical logic that there is no such procedure.

147
Q

The 3x + 1 Conjecture

A

Let T be the transformation that sends an even integer x to x∕2 and
an odd integer x to 3x + 1. A famous conjecture, sometimes known as the 3x + 1 conjecture,
states that for all positive integers x, when we repeatedly apply the transformation T, we will eventually reach the integer 1. For example, starting with x = 13, we find T(13) =
3 ⋅ 13 + 1 = 40, T(40) = 40∕2 = 20, T(20) = 20∕2 = 10, T(10) = 10∕2 = 5, T(5) =
3 ⋅ 5 + 1 = 16, T(16) = 8, T(8) = 4, T(4) = 2, and T(2) = 1. The 3x + 1 conjecture has
been verified using computers for all integers x up to 5.48 ⋅ 10^18.