




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、2lUnificationlPredicate-Calculus ResolutionlCompleteness and SoundnesslConverting Arbitrary wffs to Clause FormlUsing Resolution to Prove TheoremslAnswer ExtractionlThe Equality PredicatelAdditional Readings and Discussion3lAbbreviating wffs of the form by , where are literals that might contain occ
2、urrences of the variableslSimply dropping the universal quantifiers and assuming universal quantification of any variables in the lClauses: WFFs in the abbreviated form lIf two clauses have matching but complementary literals, it is possible to resolve them Example: ,4lUnification: A process that co
3、mputes the appropriate substitution lSubstitution instance of an expression is obtained by substituting terms for variables in that expression. Four substitution instances of are The first instance is called an alphabetic variant. The last of the four different variables is called a ground instance
4、(A ground term is a term that contains no variables). 5lAny substitution can be represented by a set of ordered pairs The pair means that term is substituted for every occurrence of the variable throughout the scope of the substitution. No variables can be replaced by a tern containing that same var
5、iable. The substitutions used earlier in obtaining the four instances of ws denotes a substitution instance of an expression w, using a substitution s. Thus, The composition s1 and s2 is denoted by s1s2, which is that substitution obtained by first applying s2 to the terms of s1 and then adding any
6、pairs of s2 having variables not occurring among the variables of s1. Thus, 6l Let w be P(x,y), s1 be f(y)/x, and s2 be A/y then, and Substitutions are not, in general, commutativelUnifiable: a set of expressions is unifiable if there exists a substitution s such that unifies , to yield 7lMGU (Most
7、general (or simplest) unifier) has the property that if s is any unifier of yielding , then there exists a substitution such that . Furthermore, the common instance produced by a most general unifier is unique except for alphabetic variants.lUNIFY Can find the most general unifier of a finite set of
8、 unifiable expressions and that report failure when the set cannot be unified. Works on a set of list-structured expressions in which each literal and each term is written as a list. Basic to UNIFY is the idea of a disagreement set. The disagreement set of a nonempty set W of expressions is obtained
9、 by locating the first symbol at which not all the expressions in W have exactly the same symbol, and then extracting from each expression in W the subexpression that begins with the symbol occupying that position.89l are two clauses. Atom in and a literal in such that and have a most general unifie
10、r, , then these two clauses have a resolvent, . The resolvent is obtained by applying the substitution to the union of and , leaving out the complementary literals.lExamples:10lPredicate-calculus resolution is sound If is the resolvent of two clauses and , then , |= lCompleteness of resolution It is
11、 impossible to infer by resolution alone all the formulas that are logically entailed by a given set. In propositional resolution, this difficulty is surmounted by using resolution refutation. 111. Eliminate implication signs.2. Reduce scopes of negation signs.3. Standardize variables Since variable
12、s within the scopes of quantifiers are like “dummy variables”, they can be renamed so that each quantifier has its own variable symbol.4. Eliminate existential quantifiers.12 Skolem function, Skolemization: Replace each occurrence of its existentially quantified variable by a Skolem function whose a
13、rguments are those universally quantified variables Function symbols used in Skolem functions must be “new”.13 Skolem function of no arguments Skolem form: To eliminate all of the existentially quantified variables from a wff, the proceding procedure on each subformula is used in turn. Eliminating t
14、he existential quantifiers from a set of wffs produces what is called the Skolem form of the set of formulas. The skolem form of a wff is not equivalent to the original wff. . What is true is that a set of formulas, is satisfiable if and only if the Skolem form of is. Or more usefully for purpose of
15、 resolution refutations, is unsatisfiable if and only if the Skolem form of is unsatifiable.145. Convert to prenex formAt this stage, there are no remaining existential quantifiers, and each universal quantifier has its own variable symbol. A wff in prenex form consists of a string of quantifiers ca
16、lled a prefix followed by a quantifier-free formula called a matrix. The prenex form fof the example wff marked with an * earlier is 6. Put the matrix in conjunctive normal formWhen the matrix of the preceding example wff is put in conjunctive normal form, it became 157. Eliminate universal quantifi
17、ers Assume that all variables in the matrix are universally quantified.8. Eliminate symbols The explicit occurrence of symbols may be eliminated by replacing expressions of the form with the set of wffs . 169. Rename variables Variable symbols may be renamed so that no variable symbol appears in mor
18、e than one clause . 17lTo prove wff from , proceed just as in the propositional calculus. 1. Negate , 2. Convert this negation to clause form, and 3. Add it to the clause form of . 4. Then apply resolution until the empty clause is deduced. 18lProblem: the package delivery robot. Suppose this robot knows that all of the packages in room 27 are smaller than any of the o
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- ??谑猩罾贌l(fā)電項目爐渣綜合利用項目環(huán)境影響報告表(公示稿)環(huán)評報告表
- 初一的上學期數(shù)學試卷
- 有關(guān)廣西地區(qū)桉樹高產(chǎn)營造林技術(shù)及病蟲害防治措施的討論
- 江蘇省鹽城市阜寧縣2024-2025學年七年級下學期3月月考地理試題(原卷版+解析版)
- 智研咨詢發(fā)布:2025年中國醫(yī)療器械融資租賃行業(yè)市場現(xiàn)狀及投資前景分析報告
- 加強生態(tài)環(huán)境保護與綠色發(fā)展實施方案
- 加強法律保護與知識產(chǎn)權(quán)保障
- 基于SOLO分類理論的高中生物課堂教學設(shè)計分析
- 食品加工企業(yè)食品安全管理手冊
- 高考政治一輪浙江選考總復習講義第十五單元生活中的法律常識第四十二課
- CBZ125-1998-潛艇船體結(jié)構(gòu)焊接質(zhì)量檢驗規(guī)則
- 2024年河南省信陽市浉河區(qū)二模語文試卷
- 代理商區(qū)域保護協(xié)議書范本
- 2024年包頭鋼鐵職業(yè)技術(shù)學院單招職業(yè)適應性測試題庫及答案解析
- 2024年南京鐵道職業(yè)技術(shù)學院單招職業(yè)技能測試題庫及答案解析
- 英語定位紙模板
- 中外政治思想史-形成性測試四-國開(HB)-參考資料
- 小學語文中高年級單元整體教學設(shè)計的實踐研究(中期報告)
- 國家安全教育國土安全
- 機電系統(tǒng)綜合調(diào)試方案
- 《合理調(diào)節(jié)情緒-做自己情緒的主人》班會課件
評論
0/150
提交評論