- 1、本文档共42页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
人工智能课程教学课件ch一阶逻辑中的推理
第九章、一阶逻辑中的推理 命题与一阶推理 量词的实例化(?和?) 如何将一阶推理简化为命题推理(命题化) 合一与提升 构造直接用于一阶语句的推理规则 前向链接 反向链接 归结 Universal instantiation (UI) Every instantiation of a universally quantified sentence is entailed by it:
?v αSubst({v/g}, α)
for any variable v and ground term g
E.g., ?x King(x) ? Greedy(x) ? Evil(x) yields:
King(John) ? Greedy(John) ? Evil(John) King(Richard) ? Greedy(Richard) ? Evil(Richard) King(Father(John)) ? Greedy(Father(John)) ? Evil(Father(John)) . . . Existential instantiation (EI) For any sentence α, variable v, and constant symbol k that does not appear elsewhere in the knowledge base:
?v α Subst({v/k}, α)
E.g., ?x Crown(x) ? OnHead(x,John) yields: Crown(C1) ? OnHead(C1,John)
provided C1 is a new constant symbol, called a Skolem constant
Reduction(简化) to propositional inference Suppose the KB contains just the following:
?x King(x) ? Greedy(x) ? Evil(x) King(John) Greedy(John) Brother(Richard,John)
Instantiating the universal sentence in all possible ways, we have: King(John) ? Greedy(John) ? Evil(John) King(Richard) ? Greedy(Richard) ? Evil(Richard) King(John) Greedy(John) Brother(Richard,John)
The new KB is propositionalized(命题化): proposition symbols are
King(John), Greedy(John), Evil(John), etc.
Reduction contd. Every FOL KB can be propositionalized so as to preserve entailment
(中文书翻译不准确!) (A ground sentence is entailed by new KB iff entailed by original KB)
Idea: propositionalize KB and query, apply resolution, return result
Problem: with function symbols, there are infinitely many ground terms, e.g., Father(Father(Father(John)))
Reduction contd. Theorem: Herbrand (1930). If a sentence α is entailed by an FOL KB, it is entailed by a finite subset of the propositionalized KB
Idea: For n = 0 to ∞ do create a propositional KB by instantiating with depth n terms see if α is entailed by this KB
Problem: works if α is entailed, loops if α is not entailed
Theorem: Turing (1936), Church (1936) Entailment for FOL is
semidecid
文档评论(0)