Logic Notes-MSI
Logic Notes-MSI
Logic Notes-MSI
Part 1
Knowledge <- Causation
An argument, the object of inquiry for logic, is defined as a set of premises and a conclusion where the
conclusion and the premises are separated by some trigger word, phrase, or mark known as a turnstile.
Socrates is Mortal (conclusion) is split up into two premises: 1. Socrates is a man, 2. all men are mortal.
The argument is the vehicle to express ideas and rationality. But it has to have this function that the
conclusion consists of 2+ premises.
Declarative kind
Question-Begging Fallacy: e.g. God exists, because the bible says so.
A QB fallacy is when a premise that is supposed to be the common ground is too close to the
conclusion. Thus group 2 will not accept the premise as true because it is too close to the truth that is
exclusive to group 1.
Interactivity: Dynamic nature of discourse, this raises these two questions:
[08.1] What does it mean to say that a rational
argumentation in a civilized society takes place in
an "interactive" environment?
When rationalizing an argument, it is necessary to have premises that are either true or
false to present the conclusion. However, taking in mind the uniqueness of a civilized
society, not every person has the same cognitive spectrum of truths and validities; e.g.
The premise "God exists" is true for those who believe in God. For those who do not
believe in God, that premise is false thus yielding a different conclusion than the person
who believes in God. First, there has to be premises that other groups are able to
understand and accept. The group attempting to prove the case will use the notion of
interest of the other group by letting them accept the mutual premises as true. Then, if
the premises are accepted as true, by using rationality and logic, the conclusion must
also be true. In this case, if the group that believes in God has a case with the premises:
There is a constant battle between good and evil in the universe, the Bible speaks of
God as good and the devil as evil, and the Bible is irrefutable truth, then if the Atheist
agrees with those premises, then God must exist since the Bible says that God exists.
Conversely, the Atheist could present the case with these premises: We, as humans,
use our five senses to discern reality, we cannot feel god with any of our five senses,
thus God does not exist. The myriad of different opinions encourage interactivity
when other people’s truths are not your truths. Finding a common ground using mutual
premises can lead to an inference to your own conclusion with very little opposition.
When the premise that is supposed to use the notion of interest of another party is too
close to the conclusion or beyond the validity of the conclusion that it is trying to prove,
then this becomes a question-begging fallacy. Party one will not be able to convince
party two since the conclusion “God exists” under the premise that “God is real” is too
close to one another with very little logic and rationality involved in the process. This is
not acceptable in an interactive space. The premise is immediately rejected by party two
and the inference cannot be connected since there is no proof of stand.
Part 2
The sentence is derived from the soundness of the premises. Truth does not guaranteed validity and
vice versa. But requires both truth and validity to have soundness. Truth requires semantics and validity
requires syntax. Then this is a sentence.
Semantics – conditions for something to be true
Tool: Proofs
-Sentential Logic
-Predicate Logic
The main ingredients for sentence: Subject and predicate which considered 1 unit.
The truth table is a function mechanism in which the truth value of the atomic is used to find the truth
value of the compound. Y=f(x) | y= TV of CS and x = TV of AS
So, in semantics, we take for granted the atomic sentence (Primitive information) since we could find
more questions and truths using that atomic truth.
e.g. P-The streets are wet (true), Q- It rained(true) then P because Q is true, however
Two AS will make 4 states of affairs. Which means TT, TF, FT, and FF.
For P Λ Q, Truth table values are T, F, F, and F. Since the only way for that statement to be true is for
both P and Q to be simultaneously true.
Example of sentence with and that is NOT a conjunction: A and B were teammates.
Example of sentence without and that IS a conjunction: Many fought bravely but some lost their lives.
So “but” is connecting A= many fought bravely, and B= some lost their lives.
For P V Q, truth table values are T, T, T, F, since at least 1 of the elements has to be true.
However, in an extra-ordinary (exclusive) disjunction like “The exam will be on Tuesday or Thursday.”
Conditionality- the existence of one event depends on the existence of another. Combines 2 or more AS.
This is how we derive basic events. “Oh, the streets are wet. It must have rained.”
Material Conditional- The material is truth functional, however the conditional is non-truth functional.
In Row 3, Q is still true thus P->Q is still true. And in Row 4, P->Q is true so ~P->~Q is also true.
Email Exercises
Exercise 11 ... (Non-credit)
Function: uses “and” and “or” to connect atomic sentences to derive conclusion
When A and B is a statement, you can determine the validity if you know if A=T or B=T. However, if A because
B, then it is not guaranteed that A or B is true because of one another. In other words, both values can be true
but the statement can be false.
===================================================================
Exercise 13 ... (Non-credit)
Same as 13.1
===================================================================
Exercise 14 ... (Non-Credit)
Exclusive disjunction because there can only be one best player. Either M or K, that is M V K
Exclusive disjunction since the sentence can only be one value or the other (binary). T V F
[14.4] Abortion is either murder or it's a harmless form of birth control. Exclusive.
===================================================================
Exercise 15 ... (Non-Credit)
Negation does not connect two atomic sentences; however, it Is still truth-functional because it relies
on the element’s value. Whatever binary value that the element holds (P is true), then the negated element is
the opposite value (~P is false).
===================================================================
Exercise 16 ... (For-Credit: 5 points)
In a truth-functional conditional, the truth value of the compound sentence is fully reliant
on the truth value of the components. That is, PQ is false iff P is true and Q is false. The rest of
the time, PQ is true in these circumstances. All that matters are the values of P and Q to derive
the conclusion.
However, in a non-truth-functional conditional, PQ has other components that
contribute to its validity. One of those differences is timing. P iff Q is true when P and Q have
the individual truth values of false or true. In a non-truth-functional conditional, P(F)Q(T) is a
false statement since it requires both values to be true. This dependency is why it is called the
material conditional.
[16-2] Determine the truth value of the following conditional
statement used as a material conditional:
P Q PQ
T T T
T F F
F T T
F F T
The conclusion is only false when the earth is flat, yet the earth continues to rotate around the sun.
===================================================================
Exercise 17 ... (Non-Credit)
===================================================================
Exercise 18 ... (Non-Credit)
===================================================================
Exercise 21 ... (Non-Credit)
===================================================================
Exercise 22 ... (Non-Credit)
===================================================================
Exercise 23 ... (Non-Credit)
If A and B are true, and C, D, and E are false, what are the
truth-values of the following compound sentences? Show your
result in Truth-Tables.
[23-1] (A V D) -> E
===================================================================
Exercise 24 ... (For-Credit: 5 points)
A ~A A&~A ~(A&~A)
T F T|F|F T
F T F|F|T T
2. A V (A -> B)
This is a tautology.
A B (AB) A V (AB)
T T T T
T F F T
F T T T
F F T T
===================================================================
Exercise 25 ... (Non-Credit)
P -> Q ~Q -> ~P
===================================================================
Exercise 26 ... (Non-Credit)
[26-2] P1: ~D V ~F
P2: G -> (D & F)
-------------------
C: ~G
==================================================================
Exercise 27 ... (For-Credit: 15 points)
P1: P~Q
P2: ~R <-> Q
P3: P
C: R
P Q R ~R P~Q ~R Q
T T T F F F
T T F T F T
T F T F T T
T F F T T F
F T T F F F
F T F T F T
F F T F T T
F F F T T F
P is true. P implies not Q thus not Q is true. Thus, Q is false. Since Q is biconditional with not R, not R
is false. Therefore, R is true.
-----------------------------------------------------------------------------
3. alternative notations & drawing Truth-Table:
Part 3
Transition from semantics to syntax
The term syntax refers to grammatical structure whereas the term semantics refers to the meaning of
the vocabulary symbols arranged with that structure.
P2: It rained.
-------------------------
-------------------------
P1: If human beings as moral agents are deprived of free will, human beings are not
morally responsible for their behaviors.
P2: Death penalty can be a legitimate punishment, only if human beings are morally
responsible for their behaviors.
P3: Human beings are deprived of free will.
C: therefore, death penalty is not a legitimate punishment.
P1: H~M
P2: DM
P3: H
-------------------------
C:~D
4. ~B/ 1,3 MT
5. ~D/ 2,4 DS
Email Exercises
Exercise 28 ... (Non-Credit)
==================================================================
Exercise 29 ... (Non-Credit)
==================================================================
Exercise 30 ... (Non-Credit)
==================================================================
Exercise 31 ... (Non-Credit)
---------------------------------------------------------------
[31-1] Do the following 3 things to do a Proof for the
following argument:
--------------------------------------------------------------
[31-2] "Derive" the conclusion (C) from the 3 premises
(1 to 3) in a formalized argument below by
employing rules of inference (i.e., proof, where
you need to come up with additional steps beyond
3 below to lead you to the conclusion):
C. ~T
-----------------------------
1. (R V S) -> (T -> K)
2. ~K
3. R V S
-----------------------------
==================================================================
Exercise 32 ... (Non-Credit)
==================================================================
Exercise 33 ... (Non-Credit)
------------------------------------------------------------------
[33-1] Come up with an instance of argument that conforms to HS.
-------------------------------------------------------------
[33-2] Derive the conclusion from the given premises in
the argument below by utilizing the rules of
inference (hint: use HS, MT, DS, or some other
combination, as an alternative is available
here).
C: B
-------------------
1: A V B
2: C -> D
3: A -> C
4: ~D
-------------------
==================================================================
Exercise 34 ... (Non-Credit)
C: A & C
--------------
P1: A & B
P2: B -> C
--------------
==================================================================
Exercise 35 ... (Non-Credit)
C: (A V E) & (C V D)
--------------------------
P1: A & C
--------------------------
==================================================================
Exercise 36 ... (Non-Credit)
==================================================================
Exercise 37 (*) ... (For-Credit of 25 Points)
C: G
---------------------
1: ~M
2: N -> G
3: N v M
---------------------
4. N / 1,3 DS
5. G / 2,4 MP
======================================
[37-2] Revised
C: D
-----------------------
1: ~G -> (A v B)
2: ~B
3: A -> D
4: ~G
-----------------------
5. A V B / 1,4 MP
6. A / 2,5 DS
7. D / 3,6 MP
======================================
[37-3]
C: ~B
------------------------
1: A -> (B -> C)
2: ~C
3: ~D -> A
4: C V ~D
------------------------
5. ~D / 2,4 DS
6. A / 3,5 MP
7. BC / 1,6 MP
8. ~B / 2, 7 MT
======================================
[37-4] Revised
C: D & E
-----------------------
1: A -> (~B & C)
2: C -> D
3: E v B
4: A
5. ~B Λ C / 1,4 MP
6. ~B / Simplification
7. C / Simplification
8. D / 2,7 MP
9. E / 3,6 DS
10. D Λ E / 8, 9 Conjunction
======================================
[37-5] Revised
C: ~F
-----------------------
1: (F -> G) v H
2: ~G
3: ~H
-----------------------
4. FG / 1,3 DS
5. ~F / 2, 4 MT
======================================
[37-6] Revised
C: L
----------------------
1: ~A
2: (C v A) -> L
3: A v D
4: (D v U) -> C
----------------------
5. D / 1,3 DS
6. D V U / 4, 5 DS
7. C / 4, 6 MP
8. C V A / 2, 7 DS
9. L / 2, 8 MP
============================
[37-2]
C: D
P1: ~G -> (A v B)
P2: ~B
P3: A -> D
P4: ~G
5. AVB / P4, P1 MP
6. A / P2, P1 DS
7. D / P6, P3 MP
-----------------------------------------------------------------------------
3. convention for proof
P Ξ ~(~P) Ξ is equivalent
"~" adds a value of binary. If P is true, then ~P is 1(true) +1 (~) that is 0 (False). Add another negation to
that (+1) and its 0+1 which is 1 that is true.
P--> Q Ξ ~Q--> ~P
If it rains, then the streets are wet. If the streets are not wet, then it has not rained.
Inference rule based on equivalence between disjunction and conditional, like DS.
P V Q Ξ ~P-->Q
(P Ξ Q) Ξ (P Q) & (Q P)
This means if you can prove PQ is true, and then prove QP is true, then P Ξ Q
--------------------------------------------------------------------------------
Other inference rules not used as often:
Distribution: P Λ (Q V R) Ξ (P Λ Q) V (P Λ R)
A ∨ (B • ~C)
A ⊃ D
~D ⊃ C
____________
D
So long as each step is justified by reference to an earlier step (or steps) in the proof
and to one of the nineteen rules, it must be a valid derivation. Next, let's work with the
third premise a bit:
1. A ∨ (B • ~C) premise
2. A ⊃ D premise
3. ~D ⊃ C premise
4. (A ∨ B) • (A ∨ ~C) 1 Dist.
5. (A ∨ ~C) • (A ∨ B) 4 Comm.
6. A ∨ ~C 5 Simp.
7. ~C ⊃ ~~D 3 Trans.
8. ~C ⊃ D 7 D.N.
Again, each step is justified by application of one of the rules of replacement to all or
part of a preceding line in the proof. Now conjoin the second premise with our eighth
line, and we've set up a constructive dilemma:
1. A ∨ (B • ~C) premise
2. A ⊃ D premise
3. ~D ⊃ C premise
4. (A ∨ B) • (A ∨ ~C) 1 Dist.
5. (A ∨ ~C) • (A ∨ B) 4 Comm.
6. A ∨ ~C 5 Simp.
7. ~C ⊃ ~~D 3 Trans.
8. ~C ⊃ D 7 D.N.
9. (A ⊃ D) • (~C ⊃ D) 2, 8 Conj.
10. D ∨ D 9, 6 C.D.
All that remains is to apply Tautology in order to reach our intended conclusion, so
the entire proof will look like this:
1. A ∨ (B • ~C) premise
2. A ⊃ D premise
3. ~D ⊃ C premise
4. (A ∨ B) • (A ∨ ~C) 1 Dist.
5. (A ∨ ~C) • (A ∨ B) 4 Comm.
6. A ∨ ~C 5 Simp.
7. ~C ⊃ ~~D 3 Trans.
8. ~C ⊃ D 7 D.N.
9. (A ⊃ D) • (~C ⊃ D) 2, 8 Conj.
10. D ∨ D 9, 6 C.D.
11. D 10 Taut.
Two subsets of Inference rules with rationality at core.
- Arguent based, unidirectional (MP, MT, DS, HS, Simp, Conj, Add, CD)
-Equivalence based, bi-directional (DN, DeM, Contra, Impl, Equiv, Taut, Com, Asso, Distri, Exp
Examples:
C:~F
1. F-->G
2. ~(H&G)
3. H
-----------
4. ~H V ~G / 2 DeM
5. ~G / 3,4 DS
6. ~F / 1,5 MT
---------------------------------------------------------------------------------------------
C: R--> (R&W)
P1: R-->W
-----------
P2. R / AP Though it is not guaranteed R is true, we assume for the sake of the argument.
P3. W /1,2 MP
Another Example:
C: A-->E Since the conclusion is a conditional, we should use Assumed Premise (AP)
1. A-->(B&C)
2. (BVD) -->E
----------
3. A / AP
4. B&C / 1,3 MP
5. B / 4 Simp
6. BVD / 5 Add
7. E / 2,6 MP
8. A-->E / 3-7 CP
------------------------------------------------------------------------------------------------------------
A direct proof of the implication p \to q proceeds by assuming that p is true and showing that this
implies that q must also be true. That is, in a direct proof, you assume that the hypothesis is true and try
to reason from this assumption that the conclusion of the implication must also be true. When you try
to prove a theorem, you usually try a direct proof as the first method of attack, and if this does not seem
to go through, you move on to a different proof method.
An indirect proof of the implication p \to q proceeds by assuming that q is false and show that this
implies that p must also be false. That is, in an indirect proof, you assume that the conclusion is false and
try to reason from this assumption that the hypothesis must also be false. Another way to look at this is
to note that an indirect proof is a direct proof of the contrapositive \neg q\to\neg p of the original
implication. It is usually worthwhile to see whether an indirect proof will work once you can determine
that there is no clear or easy direct proof.
Law of the Excluded Middle (LEM): P V~P, there is truth, then false. This law implies the middle of those
two. that is neither one of them.
C:B
1. ~A
2. CVB
3. C-->(AVB)
--------------
Thought process: Were looking for B, ok its in the second premise. Now looking for C, its in P3. Now
have to prove ~(AVB) to prove ~C to prove B. We know ~(AVB) is ~A ^ ~B using DeM. And we have ~A in
P1, but ~B is the opposite of the conclusion... Can't prove B.
4. ~B / AP
5. C /2,4 DS
6. AVB / 3,5 MP
7. A / 4,6 DS
CP and IP Combination
C: CVB Can’t get C or B so use Impl by finding ~CB since it is equivalent to CVB
1. H (AB)
2. ~C (HVB)
3. HA
------------------
4. ~C / AP (CP)
5. ~B / AP (IP)
6. HVB / 2,4 MP
7. H / 5,6 DS
8. A / 3,7 MP
9. AB /1,7 MP
10. B / 8,9 MP
12. B / 5-11 IP
Email Exercises
Exercise 44 (*) ... (For-Credit of 10 points)
--------------------------------------------------------
[44-1] Exercise designed to appreciate comparative merit of
CP with the same argument below,
C: M -> R
1: ~M V N
2: ~R -> ~N
Without CP:
1.
With CP:
3. M / AP
4. N / 1,3 DS
5. R / 2,4 MT
6. MR / CP
--------------------------------------------------------
[44-2] Exercise designed to employ CP as part of the whole
process:
C: ~P -> ~R
1: R -> (L & S)
2: (L V M) -> P
44-2.1---------------
3. ~P / AP
4.~ (L V M) / 2, 3 MT
5. ~L & ~M / 4 DeM
6. ~L / 5 Simp
7. ~(L&S) / 6 Addition
8. ~R / 1,7 MT
9. ~P~R / 3-9 CP
44-2.2----------------
3. R / AP
4. (L & S) / 1,3 MP
5. L / 4 Simp
6. L V M / 5 Addition
7. P / 2,6 MP
8. R—>P / 3-8 CP
9. ~P~R / 8 Contra
--------------------------------------------------------
[44-3] Exercise designed to see CP as a self-contained
module:
C: (H -> M) & ~F
1: ~H V ~F
2: ~M -> F
3: (~H V M) -> ~F
4. ~F /AP
5. M / 2,4 MT
6. H / 1,4 DS
7. (~HVM) / 3,4 MP
8. HM / 7 Impl
C: A <-> B
1: A -> ~C
2: ~B -> C
3: A V ~B
4. A / AP
5. ~C / 1,4 MP
6. B / 2,5 MT
7. AB / 4-6 CP
------
8. B / AP
9. ~C / 2,8 MT
10. A / 1,9 MP
11. BA / 8-10 CP
-----
12. AB / 7,11Equiv
=============================================================
Exercise 45 (*) ... (For-Credit of 15 Points)
=================================================
[45-1]
C: ~A
1: A -> (B & C)
2: ~B
3. A / AP
4. B & C / 1,3 MP
5. B / 4 Simp
7. ~A / 3-6 IP
=================================================
[45-2]
C: C
1: A -> ~B
2: B V C
3: A V C
4. ~C / AP
5. B / 2, 4 DS
6. A / 3,4 DS
7. ~B / 1, 6 MP
8. B & ~B / 5, 7 Contra
9. C / 4-8 IP
=================================================
[45-3]
C: ~(A V C)
1: A -> B
2: C -> D
3: (B V D) -> E
4: ~E
6. A / 5 Simp
7. B / 1, 6 MP
9. B V D / 7 Addition
10. E / 3, 9 MP
=================================================
[45-4]
C: ~(C & D)
1: ~A
2: (A V B) <-> C
3: ~B
4. C & D / AP (IP)
5. C / 4 Simp
6. A V B / 2, 5 MP
7. B / 1,6 DS
9. ~(C&D) 4-8 IP
Part 5
Predicate Logic
Its basic elements (entities) correspond to things in the world and their properties (predicates).
-This means that there exist some humans that are bald and some that are not. This is a limited
predication.
- One particular being, that is Henry is annoying. The property "annoying" is confined to only Henry.
--------------------------
Symbolization in predicate logic
Particular:
"Arthur is Happy"
H(a) where H is happy and a is Arthur. The property of being happy is the focal point and the entities
are just part of the properties.
P(d) V P(l)
W(h)H(s)
Universal:
(x) (HxMx) where the (x) is the universal quantifier and it means "for all x".
Existential:
Two properties coexist here: 1. Disease 2. Contagious disease (Since if it’s not one, then it’s the other)
There is some x, where x belongs to the class of disease and belongs to the class of contagious.
Universal Negation:
(x)(Dx~Fx)
Existential Negation:
First
Negation
Double negation on this statement above^. So DN turns the statement back to original value.
Rules of thumb to apply QN:
God is perfect.
Only real being can be perfect. (only is in front, try putting in middle: Perfect only if real being)
C. Therefore, God is real. (Rg)
------------
Pg
(x)(PxRx)
PgRg / 2 UI
Rg / 1,3 MP QED
Case of Human Mortality
All Rutgers students are human
All humans are mortal
C: Therefore, all Rutgers students are mortal (x)(RxMx)
---------------------
1. (x)(RxHx)
2. (x)(HxMx)
3. RaHa /1 UI
4. HaMa / 2 UI
5. RaMa / 3,4 HS
6. (x)(RxMx) / 5 UG QED
Case of Human Value (You can use CP under predicate logic)
1. Only humans have inherent values.
2. No chimps are humans.
C: So, no chumps have inherent values. (x)(Cx~Vx)
-----------------------
1. (x)(VxHx)
2. (x)Cx~Hx)
3. VaHa / 1 UI
4. Ca ~Ha / 2 UI
5. Ca / AP
6. ~Ha / 4,5 MP
7. ~Va / 3, 6 MT
8. Ca ~Va / 5-7 CP
9. (x)(Cx~Vx) / 8 UG QED
Without CP:
4. Ha~Ca / 4 Contrapositive
5. Va~Ca / 3,5 HS
6. Ca ~Va / 6 Contra
7. (x)(Cx~Vx) / 7 UG QED
Case of Math and Logic
1. All students take math.
2. Not all students take logic.
C: Some students who take math do not take logic. (Ǝx)[Sx Λ (Mx Λ ~Lx)]
1. (x)(SxMx)
2. ~(x)(SxLx)
3. SaMa / 1 UI
4. (Ǝx)(Sx Λ ~Lx) / 2 QN
5. Sa Λ ~La / 4 EI
6. Sa / 5 Simp
7. Ma / 3,6 MP
8. ~La / 5 Simp
9. Ma Λ ~La / 6,7 Conj
10. [Sa Λ (Ma Λ ~La)] / 6,9 Conj
11. (Ǝx)[Sx Λ (Mx Λ ~Lx)] / 10 EG QED
Email Exercises
Exercise 48 ... (Non-Credit)
The deficiency of sentimental logic lies in the disability to express the depth of its premises. Concisely,
it does not utilize quantifiers.
=================================================================
Exercise 49 ... (Non-Credit)
=================================================================
Exercise 50 ... (Non-Credit)
(x)(SxTx)
(Ǝx)(Jx Λ Px)
(x)(Px~Hx)
(Ǝx)(Ex Λ Dx)
Es Λ Pr I think
=================================================================
Exercise 51 (*) ... (For-Credit of 5 Points)
--------------------------------------------------------------
1. Anything that leads to violence is wrong.
(x)(VxWx)
~(Ǝx)(Vx Λ ~Wx)
There are no things that lead to violence that are not wrong.
-------------------------------------------------------------
2. Not every smile is genuine.
a. ~(x)(SxGx)
b. (Ǝx)(Sx Λ ~Gx)
--------------------------------------------------------------
3. Terrorists are neither rational nor empathetic.
(x)[Tx~(Rx Λ Ex)]
--------------------------------------------------------------
4. (1) Humans are spiritual.
(2) Only humans are spiritual. (Humans only are spiritual)
1a. (x)(HxSx)
2a. (x)(SxHx)
NB: Of course, these are not the same, as "only" makes the
predicate a consequent of the conditional
=================================================================
Exercise 52 ... (Non-Credit)
=================================================================
Exercise 53 ... (Non-Credit)
=================================================================
Exercise 54 ... (Non-Credit)
=================================================================
Exercise 55 ... (Non-Credit)
=================================================================
Exercise 56 ... (Non-Credit)
=================================================================
Exercise 57 ... (Non-Credit)
=================================================================
Exercise 58 ... (Non-Credit)
=================================================================
Exercise 59 ... (Non-Credit)
=================================================================
Exercise 60 (*) ... (For-Credit of 15 points)
(x)(Cx Vx)
(Ǝx)(Hx Λ Cx)
Ca Va / 1 UI
Ha Λ Ca / 2 EI
Ca / 4 Simp
Va / 3,5 MP
Ha / 4 Simp
Ha Λ Va / 6,7 Conj