deduction proof system  imps home page自然演绎证明系统小鬼主页课件_第1页
deduction proof system  imps home page自然演绎证明系统小鬼主页课件_第2页
deduction proof system  imps home page自然演绎证明系统小鬼主页课件_第3页
deduction proof system  imps home page自然演绎证明系统小鬼主页课件_第4页
deduction proof system  imps home page自然演绎证明系统小鬼主页课件_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Natural Deduction System for First Order Logic Student: Wei Lei Instructor: W. M. Farmer Department of Computing and Software McMaster University, Hamilton, CA Contents Natural Deduction Natural Deduction Proof Rules of First Order logic Axioms of Natural Deduction System Reference Natural Deduction Natural deduction was invented by G. Gentzen in 1934. The idea was to have a system of derivation rules that as closely as possible reflect the logical steps in an informal rigorous proof. For each connective there is an introduction rule (except conjunction, which has two) which can be seen as a definition of which conditions must be satisfied for the proposition to be true. Natural Deduction tries to follow the natural style of reasoning. Most of the proof consists of forward reasoning, i.e. deriving conclusions, deriving new conclusions from these conclusions, etc. Occasionally hypotheses are introduced or dropped. A derivation is a tree where the nodes are the rules and the leafs are the assumptions of the derivation. The root of the tree is the conclusion of the derivation. An assumption may be discharged by a rule in the derivation; that an assumption A is discharged in a derivation is denoted by A. Natural Deduction Proof Definition. A natural deduction proof is a finite tree whose leaves are formula (over the alphabet ,) and which is built by using the rules. Example: p q, r |= p r Proof: p q e p r i p r Rules of First Order logic If we have a derivation of B from the assumption A, we may derive AB and discharge the assumption A: A I B A B Given derivations of A B and A, we can conclude B: A B A E B For conjunction, the introduction rule tells us that if we have derivations of A and B, then we can conclude A B: A B I A B Rules of First Order logic There are two elimination rules for conjunction: A B E1 A A B E2 B We can infer a disjunction if we know one of the disjuncts. Hence there are two introduction rules for the disjunction: A V I1 A V B B V I2 A V B Rules of First Order logic The elimination rule for disjunction is slightly more complicated to formulate. We must make use of the fact that we know AVB but not necessarily which of A and B it is that holds. A B A V B C C VE C Rules for : A A A I E A Rules of First Order logic Rules for : A B A B E1 E2 AB BA AB BA I A B Rules for : A A A B E B B I A B Rules of First Order logic Rules for : x: X P(x) x is a new object of type X E Px:=t P(X) I x: X P(x) The notation Px := t means intelligent replacement. Also we have rules for equality: Equality reflexivity Equality replacement Axioms of Natural Deduction System Example of an axiomatic system of natural deduction Name Of System: AS Let A,B denote statements. Undefined terms: , Axiom(conjunction C): A,B; therefore A B Axiom(simplification1 S1): A B; therefore A Axiom(simplification2 S2): A B; therefore B Axiom(double negation1 DN1): ( A); therefore A Axiom(double negation2 DN2): A; therefore ( A) Axiom(Conjunctive Syllogism CS): A,(A B); therefore B Definition: A V B = ( A B) Definition: If A then B = (A B) Definition: A if only if B = (if A then B) (if B then A) Notice that the axioms were not framed using any of the definitions. Axioms of Natural Deduction System Whether or not AS is complete. That is, the question as to whether or not AS contains enough axioms in order for a reasoning agent to figure out all possible natural deductions (memory limitations aside), can be raised. If the answer is yes, then the system is said to be complete. It turns out that AS is complete, but proving so is rather difficult. Reference i John M. Anderson and Henry W.Johnstone, Jr. Natural Deduction, The Logical Basis of Axiom Systems. Wadsworth publishing company, inc. Belmont, California:1962 ii Dirk

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论