南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)什么样的推理是正确的

问题求解 论题1-2:什么样的推理是正确的? Logic--The discipline that deals with the methods of reasoning majun@nju.edu.cn 2017.10.12
单击此处编辑母版标题样式 majun@nju.edu.cn 2017.10.12 Logic--The discipline that deals with the methods of reasoning 问题求解 论题1-2:什么样的推理是正确的?

What is Logic? Logic The discipline that deals with the methods of reasoning The study of the principles and criteria of valid inference and demonstration Mathematical Logic Philosophical Logic a bran h-8mat ematics the application of formal that gre w out of symbolic logic to philosophical problems
What is Logic? • Logic • The discipline that deals with the methods of reasoning • The study of the principles and criteria of valid inference and demonstration Mathematical Logic a branch of mathematics that grew out of symbolic logic Philosophical Logic the application of formal logic to philosophical problems

An Example:Home Town We know that Bill,Jim and Sam are from Boston,Chicago and Detroit,respectively. Each of following sentence is half right and half wrong: Bill is from Boston,and Jim is from Chicago. Sam is from Boston,and Bill is from Chicago. Jim is from Boston,and Bill is from Detroit. Tell the truth about their home towns
• We know that Bill, Jim and Sam are from Boston, Chicago and Detroit, respectively. • Each of following sentence is half right and half wrong: • Bill is from Boston, and Jim is from Chicago. • Sam is from Boston, and Bill is from Chicago. • Jim is from Boston, and Bill is from Detroit. • Tell the truth about their home towns. An Example: Home Town

How to solve it? Understanding the problem! Bill,Jim and Sam are from Boston,Chicago and Detroit,respectively Each of following sentence is half right and half wrong: Bill is from Boston,and Jim is from Chicago. Guessing Bill is from Boston,if and only if Jim is NOT from Chicago. and Jim is from Chicago,if and only if Bill is NOT from Boston. Reasoning Sam is from Boston,and Bill is from Chicago. Sam is from Boston,if and only if Bill is NOT from Chicago. Bill is from Chicago,if and only if Sam is NOT from Boston. Jim is from Boston,and Bill is from Detroit. Jim is from Boston,if and only if Bill is NOT from Detroit. Bill is from Detroit,if and only if Jim is NOT from Boston
How to solve it? • Bill, Jim and Sam are from Boston, Chicago and Detroit, respectively • Each of following sentence is half right and half wrong: • Bill is from Boston, and Jim is from Chicago. • Bill is from Boston, if and only if Jim is NOT from Chicago. • Jim is from Chicago, if and only if Bill is NOT from Boston. • Sam is from Boston, and Bill is from Chicago. • Sam is from Boston, if and only if Bill is NOT from Chicago. • Bill is from Chicago, if and only if Sam is NOT from Boston. • Jim is from Boston, and Bill is from Detroit. • Jim is from Boston, if and only if Bill is NOT from Detroit. • Bill is from Detroit, if and only if Jim is NOT from Boston. Guessing and Reasoning Understanding the problem!

One Possible Reasoning ·Guessing that“Bill is from Boston", Bill,Jim and Sam are from then Boston,Chicago and Detroit, respectively Jim is NOT from Chicago ·Jim is NOT from Boston ·Bill is from Detroit CONFLICT Bill is from Boston,if and only if Jim is NOT from Chicago. Sam is from Boston,if and only So the guessing is wrong,and if Bill is NOT from Chicago. ·Jim is from Chicago ·Bill is from Detroit Jim is from Boston,if and only ·Sam is from Boston if Bill is NOT from Detroit
One Possible Reasoning • Guessing that “Bill is from Boston”, then • Jim is NOT from Chicago • Jim is NOT from Boston • Bill is from Detroit • So the guessing is wrong, and • Jim is from Chicago • Bill is from Detroit • Sam is from Boston • Bill, Jim and Sam are from Boston, Chicago and Detroit, respectively • Bill is from Boston, if and only if Jim is NOT from Chicago. • Sam is from Boston, if and only if Bill is NOT from Chicago. • Jim is from Boston, if and only if Bill is NOT from Detroit

Question ONE There are some principles and rules guiding the reasoning process. Can we specify them in a They are mathematical independent with way? the facts/contents we are reasoning about
Question ONE Can we specify them in a mathematical way? There are some principles and rules guiding the reasoning process. They are independent with the facts/contents we are reasoning about

Formalization 勉 WHY Precise Effective Correct Description Reasoning Proving do we need How to How to carry out What is a correct unambiguously reasoning? proof? formalization? specify a statement
Formalization WHY do we need formalization? How to unambiguously specify a statement. Precise Description How to carry out reasoning? Effective Reasoning What is a correct proof? Correct Proving

Formalization Proposition Proposition Variable Logic Connectives Fundamental Logic Logic Formulas Logical Equivalence Elements Predicate Inference Quantifier
Formalization Fundamental Logic Elements ► Proposition & Proposition Variable ► Logic Connectives ► Logic Formulas ► Logical Equivalence ► Predicate & Quantifier ► Inference

Proposition(命题) A proposition/statement is a sentence that is true or false (might be unknown),but not both My salary of this month is greater than that of last month. Today is Tuesday,and it is raining. Can you speak English? 3-x=5 Every even integer greater than 2 can be expressed as the sum of two primes "What I'm talking now is fake." paradox
is a sentence that is true or false (might be unknown), but not both Proposition(命题) A proposition/statement My salary of this month is greater than that of last month. Today is Tuesday, and it is raining. Can you speak English? 3-x=5 Every even integer greater than 2 can be expressed as the sum of two primes “What I’m talking now is fake.” paradox

Proposition Variable(命题变元) Usually,we use lower case letters to denote proposition variables (e.g.,p,q,r) ·p:Today is Friday ·q:2+2=4 ·r:Bill is from Boston ·The range of a proposition variable:{T,月 p:Today is Friday(p=F) ·q:2+2=4(q=T) r:Bill is from Boston (r=F)
Proposition Variable(命题变元) • Usually, we use lower case letters to denote proposition variables (e.g., p, q, r) • p : Today is Friday • q : 2+2=4 • r : Bill is from Boston • The range of a proposition variable: {T, F} • p: Today is Friday (p=F) • q: 2+2=4 (q =T) • r: Bill is from Boston (r=F)
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)为什么计算机能解题(马骏).pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)为什么计算机能解题(陶先平).pptx
- 《计算机问题求解》课程教学资源:《Mathematics:A Discrete Introduction》参考教材(Second Edition,Edward R.Scheinerman).pdf
- 《计算机问题求解》课程参考书籍教材:Undergraduate Texts in Mathematics——Reading, Writing, and Proving(A Closer Look at Mathematics,Second Edition,S. Axler、K.A. Ribet).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)随机算法的概念(OLD).pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)问题求解课程总复习.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)近似算法的基本概念.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)启发式算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法问题的形式化描述.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)代数编码.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)NP完全理论初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数论算法(OLD).pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数论基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)密码算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)串匹配.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群同态基本定理与正规子群.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)置换群与拉格朗日定理(OLD).pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群论初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)线性规划.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)贪心算法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)常用证明方法及其逻辑正确性.pptx
- 《计算机问题求解》课程教学资源:《Theory and Problems of Discrete Mathematics》书籍教材(Third Edition,Seymour Lipschutz、Marc Lars Lipson).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数据与数据结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法的基本结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)问题求解课程解释和约定.pptx
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论 I 公理与操作.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论 I 公理与操作(简版).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论 II 关系 Relation.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论 II 关系 Relation(简版).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论(III)函数 Function.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论(III)函数 Function(简版).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论(IV)无穷 Infinity.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)集合论(IV)无穷 Infinity(简版).pdf
- 《计算机问题求解》课程教学资源:《Discrete Mathematics for Computer Scientists》参考书籍教材(Stein、DrysdaleBogart).pdf
- 《计算机问题求解》课程参考书籍教材:Abstract Data Types and Algorithms(Second Edition,Manoochehr Azmoodeh).pdf
- 《计算机问题求解》课程教学资源:《Concrete Mathematics:A Foundation for Computer Science》参考书籍教材(Ronald L. Graham、Donald E. Knuth、Oren Patashnik).pdf
- 《计算机问题求解》课程教学资源(阅读材料)Programming Pearls, Second Edition by Jon Bentley. Addison-Wesley, Inc., 2000.pdf
- 《计算机问题求解》课程教学资源(阅读材料)THE CLASSIC WORK EXTENDED AND REFINED《The Art of Computer Programming》Vol4A Combinatorial Algorithms Part 1(DONALD E.KNUTH).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)布尔代数.pptx
- 《计算机问题求解》课程教学资源:《An Introduction to the Analysis of Algorithms》参考书籍教材(Second Edition,Robert Sedgewick、Philippe Flajolet).pdf