- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Proving things A proof is a sequence of sentences, where each is a premise or is derived from earlier sentences in the proof by an inference rule The last sentence is the theorem (also called goal or query) that we want to prove Example for the “weather problem” 1 Hu premise “It’s humid” 2 Hu?Ho premise “If it’s humid, it’s hot” 3 Ho modus ponens(1,2) “It’s hot” 4 (Ho?Hu)?R premise “If it’s hot humid, it’s raining” 5 Ho?Hu and introduction(1,3) “It’s hot and humid” 6 R modus ponens(4,5) “It’s raining” Horn sentences A Horn sentence or Horn clause has the form: P1 ? P2 ? P3 ... ? Pn ? Qm where n=0, m in{0,1} Note: a conjunction of 0 or more symbols to left of ? and 0-1 symbols to right Special cases: n=0, m=1: P (assert P is true) n0, m=0: P?Q ? (constraint: both P and Q can’t be true) n=0, m=0: (well, there is nothing there!) Put in CNF: each sentence is a disjunction of literals with at most one non-negative literal ?P1 ? ? P2 ? ? P3 ... ? ? Pn ? Q (P ? Q) = (?P ? Q) Significance of Horn logic We can also have horn sentences in FOL Reasoning with horn clauses is much simpler Satisfiability of a propositional KB (i.e., finding values for a symbols that will make it true) is NP complete Restricting KB to horn sentences, satisfiability is in P For this reason, FOL Horn sentences are the basis for Prolog and Datalog What Horn sentences give up are handling, in a general way, (1) negation and (2) disjunctions Entailment and derivation Entailment: KB |= Q Q is entailed by KB (set sentences) iff there is no logically possible world where Q is false while all the sentences in KB are true Or, stated positively, Q is entailed by KB iff the conclusion is true in every logically possible world in which all the premises in KB are true Derivation: KB |- Q We can derive Q from KB if there’s a proof consisting of a sequence of valid inference steps starting from the premises in KB and resulting in Q Two important properties for inference Soundness: If KB |- Q then K
您可能关注的文档
- L- E- A- N- M- A- N- U- F- A- C- T- U- R- I- N- G- T- R- A- I- N- I- N- G某企业精益生产培训课件.ppt
- L- E- L- A-10082- Varieties-of- English课件.ppt
- L- L- D- P- E套期保值操作实务课件.ppt
- Lecture-4-–- State- Machine- Design课件.ppt
- Lecture-5- Multimedia- Technology第五课-多媒体技术课件.ppt
- Lecture-9- Registers,- Counters-and- Shifters课件.ppt
- Lecture-on- Writing- For- Non-- English- Major- Master- Degree-课件.ppt
- Lesson- Four课件.ppt
- Leveraging- Belief- Propagation,- Backtrack- Search,-and-课件.ppt
- libujseducn课件.ppt
- Proteus-可视化设计课件.ppt
- Puzzled-questions-for-us课件.ppt
- Quantization课件.ppt
- Questionnaires-eg-课件.ppt
- R&- D活动与科技活动的区别及统计中容易出现的错误2004课件.PPT
- R&- D活动及其分类课件.ppt
- R- E- B- J980615- B- J-- G- B课件.ppt
- R- M- S-10- S- P1最佳实践课件.ppt
- Reading-and- Writing- Skills-for- Students-of- Literature-in- English课件.ppt
- Ref- Works课件.ppt
文档评论(0)