SlideShare a Scribd company logo
1 of 26
Download to read offline
Truth, Deduction,
Computation
Lecture 3
The Logic of Atomic Sentences
Vlad Patryshev
SCU
2013
Introducing Arguments...
Premise1, premise2… conclusion!
Or: conclusion - because premise1,...
E.g.
● All men are mortal; Superman is a man, hence
Superman is mortal
● Pavlova is a man: after all, Pavlova is mortal,
and all men are mortal
Introducing Arguments...
Premise1, premise2… conclusion!
Or: conclusion - because: premise1,...
E.g.
● All men are mortal; Superman is a man,
hence Superman is mortal
● Pavlova is a man: after all, Pavlova is mortal,
and all men are mortal
Arguments
● Valid arguments (true, assuming premises
are true)
● Sound arguments (valid, and premises are
true)
Fitch Notation (LPL version)

All cactuses have needles
Prickly pear is a cactus
Prickly pear has needles

Fitch Bar

Conclusion

Premises
What is a Proof?
Definition. Proof is a step-by-step
demonstration that a conclusion follows from
premises.
Counterexample:
I ride my bicycle every day
The probability of an accident is very low
I will never have an accident
Good Example of a Proof
1. Cube(c)
2. c=b
3. Cube(b)

= Elim: 1,2
Elimination Rule
Aka the Indiscernibility of Identicals
Aka Substitution Principle (weaker than Liskov’s)
Aka Identity Elimination
If P(a) and a = b, then P(b).
E.g.
x2 - 1 = (x+1)*(x-1)
x2 > x 2 - 1
x2 > (x+1)*(x-1)
Introduction Rule
Aka Reflexivity of Identity
P1
P2
…
Pn
x = x
Symmetry of Identity
If a = b then b = a

a = b
a = a
b = a
Transitivity of Identity
If a = b and b = c then a = c

a = b
b = c
a = c
Other relationships may be transitive
If a < b and b < c then a < c

a
b
c
a

<
<
<
<

b
c
d
d
F-notation (specific to LPL book)
(Has nothing to do with System F)
We include in intermediate conclusions
For example:

P1
P2
…
Pn
S1
S2
…
Sm
S

1. a = b
2. a = a
3. b = a

= Intro
= Elim: 2, 1
Introduction Rule in Fitch

P1
P2
…
Pn
x = x
Introduction Rule (= Intro) in F

= Intro
x = x
Elimination Rule in F
= Elim
P(n)
…
n = m
…
P(m)
Reiteration Rule in F
= Reit
P
…
…
…
P
“Bidirectionality of Between” in F
Between(a,b,c)
…
…
…
Between(a,c,b)
Now, How Does It Work?
From premises SameSize(x, x) and x = y, prove
SameSize(y, x).
1. SameSize(x, x)
2. x = y
…
?. SameSize(y, x)
Now, How Does It Work? (take 2)
From premises SameSize(x, x) and x = y, prove
SameSize(y, x).
1.
2.
…
?.
?.

SameSize(x, x)
x = y
y = x
SameSize(y, x)

= Elim: 1, ?
Now, How Does It Work? (take 3)
From premises SameSize(x, x) and x = y, prove
SameSize(y, x).
1.
2.
…
3.
4.
5.

SameSize(x, x)
x = y
y = y
y = x
SameSize(y, x)

= Intro
= Elim: 3, 2
= Elim: 1, 4
Analytical Consequence in Fitch
This is something like a rule, but is based on “common
sense” and external knowledge. E.g.

Cube(a)
SameShape(a, b)
Cube(b)

=Ana Con

(“because we know what Cube means”)

Can be used to prove anything as long as we believe in our rules. It’s okay.
Proving Nonconsequence
E.g.
Are all binary operations associative?
Addition is, multiplication is, even with matrices or
complex number
1. op(a, b) = x
2. op(b, c) = y
?. op(a, y) = op(x, c)
Proving Nonconsequence
E.g.
Are all binary operations associative?
Addition is, multiplication is, even with matrices or
complex number
1. op(a, b) = x
2. op(b, c) = y
?. op(a, y) = op(x, c)
No!!!
Take binary trees. Take terms (from Chapter 1)
Proving Nonconsequence
Given premises P1,...,Pn, and conclusion Q.
Q does not follow from P1,...,Pn if we can provide a
counterexample.
References
What Fitch actually is:
Fitch Online:

http://en.wikipedia.org/wiki/Fitch-style_calculus

http://logik.phl.univie.ac.at/~chris/gateway/formular-uk-fitch.html

LPL software online (in Java Applets)

http://softoption.us/content/node/339

More Related Content

Similar to Truth, deduction, computation; lecture 3

Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicPalGov
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicManjula V
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)Raechel Lim
 
rulesOfInference.ppt
rulesOfInference.pptrulesOfInference.ppt
rulesOfInference.pptssuserf1f9e8
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mcaEdhole.com
 
Note 2 probability
Note 2 probabilityNote 2 probability
Note 2 probabilityNur Suaidah
 
Truth, deduction, computation; lecture 5
Truth, deduction, computation;  lecture 5Truth, deduction, computation;  lecture 5
Truth, deduction, computation; lecture 5Vlad Patryshev
 
Lecture-1-Probability-Theory-Part-1.pdf
Lecture-1-Probability-Theory-Part-1.pdfLecture-1-Probability-Theory-Part-1.pdf
Lecture-1-Probability-Theory-Part-1.pdfMICAHJAMELLEICAWAT1
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdfcodewithmensah
 
Orthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processOrthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processgidc engineering college
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...ArnavBishnoi2
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...ArnavBishnoi2
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...ArnavBishnoi2
 

Similar to Truth, deduction, computation; lecture 3 (20)

Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logic
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logic
 
Probability Theory 10
Probability Theory 10Probability Theory 10
Probability Theory 10
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
 
pattern recognition
pattern recognition pattern recognition
pattern recognition
 
rulesOfInference.ppt
rulesOfInference.pptrulesOfInference.ppt
rulesOfInference.ppt
 
AI R16 - UNIT-3.pdf
AI R16 - UNIT-3.pdfAI R16 - UNIT-3.pdf
AI R16 - UNIT-3.pdf
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
 
Note 2 probability
Note 2 probabilityNote 2 probability
Note 2 probability
 
PTSP PPT.pdf
PTSP PPT.pdfPTSP PPT.pdf
PTSP PPT.pdf
 
L2.pdf
L2.pdfL2.pdf
L2.pdf
 
Truth, deduction, computation; lecture 5
Truth, deduction, computation;  lecture 5Truth, deduction, computation;  lecture 5
Truth, deduction, computation; lecture 5
 
HPWFcorePRES--FUR2016
HPWFcorePRES--FUR2016HPWFcorePRES--FUR2016
HPWFcorePRES--FUR2016
 
Lecture-1-Probability-Theory-Part-1.pdf
Lecture-1-Probability-Theory-Part-1.pdfLecture-1-Probability-Theory-Part-1.pdf
Lecture-1-Probability-Theory-Part-1.pdf
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdf
 
Orthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processOrthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth process
 
Chapter06
Chapter06Chapter06
Chapter06
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
 
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
R. Bartle, D. Sherbert - Instructors Manual - Introduction to Real Analysis-J...
 

More from Vlad Patryshev

Formal methods 8 - category theory (last one)
Formal methods   8 - category theory (last one)Formal methods   8 - category theory (last one)
Formal methods 8 - category theory (last one)Vlad Patryshev
 
Formal methods 6 - elements of algebra
Formal methods   6 - elements of algebraFormal methods   6 - elements of algebra
Formal methods 6 - elements of algebraVlad Patryshev
 
Formal methods 5 - Pi calculus
Formal methods   5 - Pi calculusFormal methods   5 - Pi calculus
Formal methods 5 - Pi calculusVlad Patryshev
 
Formal methods 4 - Z notation
Formal methods   4 - Z notationFormal methods   4 - Z notation
Formal methods 4 - Z notationVlad Patryshev
 
Formal methods 3 - languages and machines
Formal methods   3 - languages and machinesFormal methods   3 - languages and machines
Formal methods 3 - languages and machinesVlad Patryshev
 
Formal methods 2 - languages and machines
Formal methods   2 - languages and machinesFormal methods   2 - languages and machines
Formal methods 2 - languages and machinesVlad Patryshev
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introductionVlad Patryshev
 
Formal methods 7 - category theory
Formal methods   7 - category theoryFormal methods   7 - category theory
Formal methods 7 - category theoryVlad Patryshev
 
Truth, deduction, computation lecture h
Truth, deduction, computation   lecture hTruth, deduction, computation   lecture h
Truth, deduction, computation lecture hVlad Patryshev
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture gVlad Patryshev
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture fVlad Patryshev
 
Truth, deduction, computation lecture e
Truth, deduction, computation   lecture eTruth, deduction, computation   lecture e
Truth, deduction, computation lecture eVlad Patryshev
 
Truth, deduction, computation lecture d
Truth, deduction, computation   lecture dTruth, deduction, computation   lecture d
Truth, deduction, computation lecture dVlad Patryshev
 
Truth, deduction, computation lecture c
Truth, deduction, computation   lecture cTruth, deduction, computation   lecture c
Truth, deduction, computation lecture cVlad Patryshev
 
Truth, deduction, computation lecture b
Truth, deduction, computation   lecture bTruth, deduction, computation   lecture b
Truth, deduction, computation lecture bVlad Patryshev
 
Truth, deduction, computation lecture a
Truth, deduction, computation   lecture aTruth, deduction, computation   lecture a
Truth, deduction, computation lecture aVlad Patryshev
 
Truth, deduction, computation lecture 9
Truth, deduction, computation   lecture 9Truth, deduction, computation   lecture 9
Truth, deduction, computation lecture 9Vlad Patryshev
 
Truth, deduction, computation lecture 8
Truth, deduction, computation   lecture 8Truth, deduction, computation   lecture 8
Truth, deduction, computation lecture 8Vlad Patryshev
 
Truth, deduction, computation lecture 7
Truth, deduction, computation   lecture 7Truth, deduction, computation   lecture 7
Truth, deduction, computation lecture 7Vlad Patryshev
 
Truth, deduction, computation lecture 6
Truth, deduction, computation   lecture 6Truth, deduction, computation   lecture 6
Truth, deduction, computation lecture 6Vlad Patryshev
 

More from Vlad Patryshev (20)

Formal methods 8 - category theory (last one)
Formal methods   8 - category theory (last one)Formal methods   8 - category theory (last one)
Formal methods 8 - category theory (last one)
 
Formal methods 6 - elements of algebra
Formal methods   6 - elements of algebraFormal methods   6 - elements of algebra
Formal methods 6 - elements of algebra
 
Formal methods 5 - Pi calculus
Formal methods   5 - Pi calculusFormal methods   5 - Pi calculus
Formal methods 5 - Pi calculus
 
Formal methods 4 - Z notation
Formal methods   4 - Z notationFormal methods   4 - Z notation
Formal methods 4 - Z notation
 
Formal methods 3 - languages and machines
Formal methods   3 - languages and machinesFormal methods   3 - languages and machines
Formal methods 3 - languages and machines
 
Formal methods 2 - languages and machines
Formal methods   2 - languages and machinesFormal methods   2 - languages and machines
Formal methods 2 - languages and machines
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introduction
 
Formal methods 7 - category theory
Formal methods   7 - category theoryFormal methods   7 - category theory
Formal methods 7 - category theory
 
Truth, deduction, computation lecture h
Truth, deduction, computation   lecture hTruth, deduction, computation   lecture h
Truth, deduction, computation lecture h
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture g
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture f
 
Truth, deduction, computation lecture e
Truth, deduction, computation   lecture eTruth, deduction, computation   lecture e
Truth, deduction, computation lecture e
 
Truth, deduction, computation lecture d
Truth, deduction, computation   lecture dTruth, deduction, computation   lecture d
Truth, deduction, computation lecture d
 
Truth, deduction, computation lecture c
Truth, deduction, computation   lecture cTruth, deduction, computation   lecture c
Truth, deduction, computation lecture c
 
Truth, deduction, computation lecture b
Truth, deduction, computation   lecture bTruth, deduction, computation   lecture b
Truth, deduction, computation lecture b
 
Truth, deduction, computation lecture a
Truth, deduction, computation   lecture aTruth, deduction, computation   lecture a
Truth, deduction, computation lecture a
 
Truth, deduction, computation lecture 9
Truth, deduction, computation   lecture 9Truth, deduction, computation   lecture 9
Truth, deduction, computation lecture 9
 
Truth, deduction, computation lecture 8
Truth, deduction, computation   lecture 8Truth, deduction, computation   lecture 8
Truth, deduction, computation lecture 8
 
Truth, deduction, computation lecture 7
Truth, deduction, computation   lecture 7Truth, deduction, computation   lecture 7
Truth, deduction, computation lecture 7
 
Truth, deduction, computation lecture 6
Truth, deduction, computation   lecture 6Truth, deduction, computation   lecture 6
Truth, deduction, computation lecture 6
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

Truth, deduction, computation; lecture 3

  • 1. Truth, Deduction, Computation Lecture 3 The Logic of Atomic Sentences Vlad Patryshev SCU 2013
  • 2. Introducing Arguments... Premise1, premise2… conclusion! Or: conclusion - because premise1,... E.g. ● All men are mortal; Superman is a man, hence Superman is mortal ● Pavlova is a man: after all, Pavlova is mortal, and all men are mortal
  • 3. Introducing Arguments... Premise1, premise2… conclusion! Or: conclusion - because: premise1,... E.g. ● All men are mortal; Superman is a man, hence Superman is mortal ● Pavlova is a man: after all, Pavlova is mortal, and all men are mortal
  • 4. Arguments ● Valid arguments (true, assuming premises are true) ● Sound arguments (valid, and premises are true)
  • 5. Fitch Notation (LPL version) All cactuses have needles Prickly pear is a cactus Prickly pear has needles Fitch Bar Conclusion Premises
  • 6. What is a Proof? Definition. Proof is a step-by-step demonstration that a conclusion follows from premises. Counterexample: I ride my bicycle every day The probability of an accident is very low I will never have an accident
  • 7. Good Example of a Proof 1. Cube(c) 2. c=b 3. Cube(b) = Elim: 1,2
  • 8. Elimination Rule Aka the Indiscernibility of Identicals Aka Substitution Principle (weaker than Liskov’s) Aka Identity Elimination If P(a) and a = b, then P(b). E.g. x2 - 1 = (x+1)*(x-1) x2 > x 2 - 1 x2 > (x+1)*(x-1)
  • 9. Introduction Rule Aka Reflexivity of Identity P1 P2 … Pn x = x
  • 10. Symmetry of Identity If a = b then b = a a = b a = a b = a
  • 11. Transitivity of Identity If a = b and b = c then a = c a = b b = c a = c
  • 12. Other relationships may be transitive If a < b and b < c then a < c a b c a < < < < b c d d
  • 13. F-notation (specific to LPL book) (Has nothing to do with System F) We include in intermediate conclusions For example: P1 P2 … Pn S1 S2 … Sm S 1. a = b 2. a = a 3. b = a = Intro = Elim: 2, 1
  • 14. Introduction Rule in Fitch P1 P2 … Pn x = x
  • 15. Introduction Rule (= Intro) in F = Intro x = x
  • 16. Elimination Rule in F = Elim P(n) … n = m … P(m)
  • 17. Reiteration Rule in F = Reit P … … … P
  • 18. “Bidirectionality of Between” in F Between(a,b,c) … … … Between(a,c,b)
  • 19. Now, How Does It Work? From premises SameSize(x, x) and x = y, prove SameSize(y, x). 1. SameSize(x, x) 2. x = y … ?. SameSize(y, x)
  • 20. Now, How Does It Work? (take 2) From premises SameSize(x, x) and x = y, prove SameSize(y, x). 1. 2. … ?. ?. SameSize(x, x) x = y y = x SameSize(y, x) = Elim: 1, ?
  • 21. Now, How Does It Work? (take 3) From premises SameSize(x, x) and x = y, prove SameSize(y, x). 1. 2. … 3. 4. 5. SameSize(x, x) x = y y = y y = x SameSize(y, x) = Intro = Elim: 3, 2 = Elim: 1, 4
  • 22. Analytical Consequence in Fitch This is something like a rule, but is based on “common sense” and external knowledge. E.g. Cube(a) SameShape(a, b) Cube(b) =Ana Con (“because we know what Cube means”) Can be used to prove anything as long as we believe in our rules. It’s okay.
  • 23. Proving Nonconsequence E.g. Are all binary operations associative? Addition is, multiplication is, even with matrices or complex number 1. op(a, b) = x 2. op(b, c) = y ?. op(a, y) = op(x, c)
  • 24. Proving Nonconsequence E.g. Are all binary operations associative? Addition is, multiplication is, even with matrices or complex number 1. op(a, b) = x 2. op(b, c) = y ?. op(a, y) = op(x, c) No!!! Take binary trees. Take terms (from Chapter 1)
  • 25. Proving Nonconsequence Given premises P1,...,Pn, and conclusion Q. Q does not follow from P1,...,Pn if we can provide a counterexample.
  • 26. References What Fitch actually is: Fitch Online: http://en.wikipedia.org/wiki/Fitch-style_calculus http://logik.phl.univie.ac.at/~chris/gateway/formular-uk-fitch.html LPL software online (in Java Applets) http://softoption.us/content/node/339