Foundations of Artificial Intelligence
|
|
- Francis Pierce
- 5 years ago
- Views:
Transcription
1 Foundations of Artificial Intelligence 9. Predicate Logic Syntax and Semantics, Normal Forms, Herbrand Expansion, Resolution Wolfram Burgard, Bernhard Nebel and Martin Riedmiller Albert-Ludwigs-Universität Freiburg
2 Contents 1 Motivation 2 Syntax and Semantics 3 Normal Forms 4 Reduction to Propositional Logic: Herbrand Expansion 5 Resolution & Unification 6 Closing Remarks (University of Freiburg) Foundations of AI 2 / 57
3 Motivation We can already do a lot with propositional logic. It is, however, annoying that there is no structure in the atomic propositions. Example: All blocks are red There is a block A It should follow that A is red But propositional logic cannot handle this. Idea: We introduce individual variables, predicates, functions,.... First-Order Predicate Logic (PL1) (University of Freiburg) Foundations of AI 3 / 57
4 The Alphabet of First-Order Predicate Logic Symbols: Operators:,,,,, = Variables: x, x 1, x 2,..., x, x,..., y,..., z,... Brackets: (), [], {} Function symbols (e.g., weight(), color()) Predicate symbols (e.g., block(), red()) Predicate and function symbols have an arity (number of arguments). 0-ary predicate: propositional logic atoms 0-ary function: constant We suppose a countable set of predicates and functions of any arity. = is usually not considered a predicate, but a logical symbol (University of Freiburg) Foundations of AI 4 / 57
5 The Grammar of First-Order Predicate Logic (1) Terms (represent objects): 1. Every variable is a term. 2. If t 1, t 2,..., t n are terms and f is an n-ary function, then is also a term. f(t 1, t 2,..., t n ) Terms without variables: ground terms. Atomic Formulae (represent statements about objects) 1. If t 1, t 2,..., t n are terms and P is an n-ary predicate, then P (t 1, t 2,..., t n ) is an atomic formula. 2. If t 1 and t 2 are terms, then t 1 = t 2 is an atomic formula. Atomic formulae without variables: ground atoms. (University of Freiburg) Foundations of AI 5 / 57
6 The Grammar of First-Order Predicate Logic (2) Formulae: 1. Every atomic formula is a formula. 2. If ϕ and ψ are formulae and x is a variable, then ϕ, ϕ ψ, ϕ ψ, ϕ ψ, ϕ ψ, xϕ and xϕ are also formulae., are as strongly binding as. Propositional logic is part of the PL1 language: 1. Atomic formulae: only 0-ary predicates 2. Neither variables nor quantifiers. (University of Freiburg) Foundations of AI 6 / 57
7 Alternative Notation Here Elsewhere ϕ ϕ ϕ ϕ ψ ϕ&ψ ϕ ψ ϕ, ψ ϕ ψ ϕ ψ ϕ; ψ ϕ + ψ ϕ ψ ϕ ψ ϕ ψ ϕ ψ ϕ ψ ϕ ψ xϕ ( x)ϕ xϕ xϕ ( x)ϕ xϕ (University of Freiburg) Foundations of AI 7 / 57
8 Meaning of PL1-Formulae Our example: x[block(x) Red(x)], Block(a) For all objects x: If x is a block, then x is red and a is a block. Generally: Terms are interpreted as objects. Universally-quantified variables denote all objects in the universe. Existentially-quantified variables represent one of the objects in the universe (made true by the quantified expression). Predicates represent subsets of the universe. Similar to propositional logic, we define interpretations, satisfiability, models, validity,... (University of Freiburg) Foundations of AI 8 / 57
9 Semantics of PL1-Logic Interpretation: I = D, I where D is an arbitrary, non-empty set and I is a function that maps n-ary function symbols to functions over D: f I [D n D] maps individual constants to elements of D: a I D maps n-ary predicate symbols to relations over D: P I D n Interpretation of ground terms: (f(t 1,..., t n )) I = f I (t I 1,..., ti n) Satisfaction of ground atoms P (t 1,..., t n ): I = P (t 1,..., t n ) iff t I 1,..., ti n P I (University of Freiburg) Foundations of AI 9 / 57
10 Example (1) D = {d 1,..., d n n > 1} a I = d 1 b I = d 2 c I =... Block I = {d 1 } Red I = D I = Red(b) I = Block(b) (University of Freiburg) Foundations of AI 10 / 57
11 Example (2) D = {1, 2, 3,...} 1 I = 1 2 I = 2 Even I = {2, 4, 6,...} succ I = {(1 2), (2 3),...} I = Even(2) I = Even(succ(2)) (University of Freiburg) Foundations of AI 11 / 57
12 Semantics of PL1: Variable Assignment Set of all variables V. Function α : V D Notation: α[x/d] is the same as α apart from point x. For x : α[x/d](x) = d. Interpretation of terms under I, α: Satisfaction of atomic formulae: x I,α = α(x) a I,α = a I (f(t 1,..., t n )) I,α = f I (t I,α 1,..., ti,α n ) I, α = P (t 1,..., t n ) iff t I,α 1,..., ti,α n P I (University of Freiburg) Foundations of AI 12 / 57
13 Example α = {(x d 1 ), (y d 2 )} I, α = Red(x) I, α[y/d 1 ] = Block(y) (University of Freiburg) Foundations of AI 13 / 57
14 Semantics of PL1: Satisfiability A formula ϕ is satisfied by an interpretation I and a variable assignment α, i.e., I, α = ϕ: I, α = I, α = I, α = ϕ iff I, α = ϕ and all other propositional rules as well as I, α = P (t 1,..., t n ) iff t I,α 1,..., ti,α n P I,α I, α = xϕ iff for all d D, I, α[x/d] = ϕ I, α = xϕ iff there exists a d D with I, α[x/d] = ϕ (University of Freiburg) Foundations of AI 14 / 57
15 Example T = {Block(a), Block(b), x(block(x) Red(x))} D = {d 1,..., d n n > 1} a I = d 1 b I = d 2 Block I = {d 1} Red I = D α = {(x d 1), (y d 2)} Questions: 1. I, α = Block(b) Block(b)? 2. I, α = Block(x) (Block(x) Block(y))? 3. I, α = Block(a) Block(b)? 4. I, α = x(block(x) Red(x))? 5. I, α =? (University of Freiburg) Foundations of AI 15 / 57
16 Free and Bound Variables x[r( y, z ) y{ P (y, x) R(y, z )}] The boxed appearances of y and z are free. All other appearances of x,y,z are bound. Formulae with no free variables are called closed formulae or sentences. We form theories from closed formulae. Note: With closed formulae, the concepts logical equivalence, satisfiability, and implication, etc. are not dependent on the variable assignment α (i.e., we can always ignore all variable assignments). With closed formulae, α can be left out on the left side of the model relationship symbol: I = ϕ (University of Freiburg) Foundations of AI 16 / 57
17 Terminology An interpretation I is called a model of ϕ under α if I, α = ϕ A PL1 formula ϕ can, as in propositional logic, be satisfiable, unsatisfiable, falsifiable, or valid. Analogously, two formulae are logically equivalent (ϕ ψ) if for all I, α: Note: P (x) P (y)! I, α = ϕ iff I, α = ψ Logical Implication is also analogous to propositional logic. Question: How can we define derivation? (University of Freiburg) Foundations of AI 17 / 57
18 Prenex Normal Form Because of the quantifiers, we cannot produce the CNF form of a formula directly. First step: Produce the prenex normal form quantifier prefix + (quantifier-free) matrix Qx 1 Qx 2 Qx 3... Qx n ϕ (University of Freiburg) Foundations of AI 18 / 57
19 Equivalences for the Production of Prenex Normal Form ( xϕ) ψ x(ϕ ψ) if x not free in ψ ( xϕ) ψ x(ϕ ψ) if x not free in ψ ( xϕ) ψ x(ϕ ψ) if x not free in ψ ( xϕ) ψ x(ϕ ψ) if x not free in ψ xϕ xψ x(ϕ ψ) xϕ xψ x(ϕ ψ) xϕ x ϕ xϕ x ϕ... and propositional logic equivalents (University of Freiburg) Foundations of AI 19 / 57
20 Production of Prenex Normal Form 1. Eliminate and 2. Move inwards 3. Move quantifiers outwards Example: x[( xp (x)) Q(x)] x[ ( xp (x)) Q(x)] x[( xp (x)) Q(x)] And now? (University of Freiburg) Foundations of AI 20 / 57
21 Renaming of Variables ϕ[ x t ] is obtained from ϕ by replacing all free appearances of x in ϕ by t. Lemma: Let y be a variable that does not appear in ϕ. Then it holds that xϕ yϕ[ x y ] and xϕ yϕ[ x y ] Theorem: There exists an algorithm that calculates the prenex normal form of any formula. (University of Freiburg) Foundations of AI 21 / 57
22 Derivation in PL1 Why is prenex normal form useful? Unfortunately, there is no simple law as in propositional logic that allows us to determine satisfiability or general validity (by transformation into DNF or CNF). But: we can reduce the satisfiability problem in predicate logic to the satisfiability problem in propositional logic. In general, however, this produces a very large number of propositional formulae (perhaps infinitely many) Then: apply resolution. (University of Freiburg) Foundations of AI 22 / 57
23 Skolemization Idea: Elimination of existential quantifiers by applying a function that produces the right element. Theorem (Skolem Normal Form): Let ϕ be a closed formula in prenex normal form such that all quantified variables are pair-wise distinct and the function symbols g 1, g 2,... do not appear in ϕ. Let ϕ = x 1 x i yψ, then ϕ is satisfiable iff [ ϕ = x 1 x i ψ is satisfiable. y g i (x 1,...,x i ) Example: x y[p (x) Q(y)] x[p (x) Q(g(x))] ] (University of Freiburg) Foundations of AI 23 / 57
24 Skolem Normal Form Skolem Normal Form: Prenex normal form without existential quantifiers. Notation: ϕ* is the SNF of ϕ. Theorem: It is possible to calculate the Skolem normal form of every closed formula ϕ. Example: x(( xp (x)) Q(x)) y(( xp (x)) Q(y)) y( x(p (x) Q(x))) x(p (x) Q(g 0 )) develops as follows: Note: This transformation is not an equivalence transformation; it only preserves satisfiability! Note:... and is not unique. (University of Freiburg) Foundations of AI 24 / 57
25 Ground Terms & Herbrand Expansion The set of ground terms (or Herbrand Universe) over a set of SNF formulae θ* is the (infinite) set of all ground terms formed from the symbols of θ* (in case there is no constant symbol, one is added). This set is denoted by D(θ*). The Herbrand expansion E(θ*) is the instantiation of the Matrix ψ i of all formulae in θ* through all terms t D(θ*): E(θ*) = {ψ i [ x 1 t 1,..., xn t n ] ( x 1,..., x n ψ i ) θ*, t j D(θ*)} Theorem (Herbrand): Let θ* be a set of formulae in SNF. Then θ* is satisfiable iff E(θ*) is satisfiable. Note: If D(θ*) and θ* are finite, then the Herbrand expansion is finite finite propositional logic theory. Note: This is used heavily in AI and works well most of the time! (University of Freiburg) Foundations of AI 25 / 57
26 Infinite Propositional Logic Theories Can a finite proof exist when the set is infinite? Theorem (compactness of propositional logic): A (countable) set of formulae of propositional logic is satisfiable if and only if every finite subset is satisfiable. Corollary: A (countable) set of formulae in propositional logic is unsatisfiable if and only if a finite subset is unsatisfiable. Corollary: (compactness of PL1): A (countable) set of formulae in predicate logic is satisfiable if and only if every finite subset is satisfiable. (University of Freiburg) Foundations of AI 26 / 57
27 Recursive Enumeration and Decidability We can construct a semi-decision procedure for validity, i.e., we can give a (rather inefficient) algorithm that enumerates all valid formulae step by step. Theorem: The set of valid (and unsatisfiable) formulae in PL1 is recursively enumerable. What about satisfiable formulae? Theorem (undecidability of PL1): It is undecidable, whether a formula of PL1 is valid. (Proof by reduction from PCP) Corollary: The set of satisfiable formulae in PL1 is not recursively enumerable. In other words: If a formula is valid, we can effectively confirm this fact. Otherwise, we can end up in an infinite loop. (University of Freiburg) Foundations of AI 27 / 57
28 Derivation in PL1 Clausal Form instead of Herbrand Expansion. Clauses are universally quantified disjunctions of literals; all variables are universally quantified ( x 1,..., x n )(l 1... l n ) l 1... l n {l 1,..., l n } written as or (University of Freiburg) Foundations of AI 28 / 57
29 Production of Clausal Form from SNF Skolem Normal Form quantifier prefix + (quantifier-free) matrix x 1 x 2 x 3 x n ϕ 1. Put Matrix into CNF using distribution rule 2. Eliminate universal quantifiers 3. Eliminate conjunction symbol 4. Rename variables so that no variable appears in more than one clause. Theorem: It is possible to calculate the clausal form of every closed formula ϕ. Note: Same remarks as for SNF (University of Freiburg) Foundations of AI 29 / 57
30 Conversion to CNF (1) Everyone who loves all animals is loved by someone: x[ yanimal(y) Loves(x, y)] [ yloves(y, x)] 1. Eliminate biconditionals and implications x [ y Animal(y) Loves(x, y)] [ yloves(y, x)] 2. Move inwards: xp x p, xp x p x[ y ( Animal(y) Loves(x, y))] [ yloves(y, x)] x[ y Animal(y) Loves(x, y)] [ yloves(y, x)] x[ yanimal(y) Loves(x, y)] [ yloves(y, x)] (University of Freiburg) Foundations of AI 30 / 57
31 Conversion to CNF (2) 3. Standardize variables: each quantifier should use a different one x[ yanimal(y) Loves(x, y)] [ zloves(z, x)] 4. Skolemize: a more general form of existential instantiation. Each existential variable is replaced by a Skolem function of the enclosing universally quantified variables: x[animal(f (x)) Loves(x, F (x))] [Loves(G(x), x)] 5. Drop universal quantifiers: [Animal(F (x)) Loves(x, F (x))] [Loves(G(x), x)] 6. Distribute over : [Animal(F (x)) Loves(G(x), x)] [ Loves(x, F (x)) Loves(G(x), x)] (University of Freiburg) Foundations of AI 31 / 57
32 Clauses and Resolution Assumption: All formulae in the KB are clauses. Equivalently, we can assume that the KB is a set of clauses. Due to commutativity, associativity, and idempotence of, clauses can also be understood as sets of literals. The empty set of literals is denoted by. Set of clauses: Set of literals: C, D Literal: l Negation of a literal: l (University of Freiburg) Foundations of AI 32 / 57
33 Propositional Resolution C 1 {l}, C 2 {l} C 1 C 2 C 1 C 2 are called resolvents of the parent clauses C 1 {l} and C 2 {l}. l and l are the resolution literals. Example: {a, b, c} resolves with {a, d, c} to {a, b, d}. Note: The resolvent is not equivalent to the parent clauses, but it follows from them! Notation: R( ) = {C C is a resolvent of two clauses from } (University of Freiburg) Foundations of AI 33 / 57
34 What Changes? Examples {{Nat(s(0)), Nat(0)}, {Nat(0)}} {Nat(s(0))} {{Nat(s(0)), Nat(x)}, {Nat(0)}} {Nat(s(0))} {{Nat(s(x)), Nat(x)}, {Nat(0)}} {Nat(s(0))} We need unification, a way to make literals identical. Based on the notion of substitution, e.g., { x 0 }. (University of Freiburg) Foundations of AI 34 / 57
35 Substitutions A substitution s = { v 1 t1,..., vn t n } substitutes variables v i for terms t i (t i does NOT contain v i ). Applying a substitution s to an expression ϕ yields the expression ϕs which is ϕ with all occurrences of v i replaced by t i for all i. (University of Freiburg) Foundations of AI 35 / 57
36 Substitution Examples P (x, f(y), B) P (z, f(w), B) s = { x z, y w } P (x, f(a), B) s = { y A } { x P (g(z), f(a), B) s = g(z), y } A P (C, f(a), A) (University of Freiburg) Foundations of AI 36 / 57
37 Composing Substitutions Composing substitutions s 1 and s 2 gives s 1 s 2 which is that substitution obtained by first applying s 2 to the terms in s 1 and adding remaining term/variable pairs (not occurring in s 1 ) to s 1. Example: { z g(x,y)} { x A, y B, w C, z D } = { z g(a,b), x A, y B, w C Application example: P (x, y, z) P (A, B, g(a, B)) } (University of Freiburg) Foundations of AI 37 / 57
38 Properties of substitutions For a formula ϕ and substitutions s 1, s 2 (ϕs 1 )s 2 = ϕ(s 1 s 2 ) (s 1 s 2 )s 3 = s 1 (s 2 s 3 ) associativity s 1 s 2 s 2 s 1 no commutativity! (University of Freiburg) Foundations of AI 38 / 57
39 Unification Unifying a set of expressions {w i } Find substitution s such that w i s = w j s for all i, j Example {P (x, f(y), B), P (x, f(b), B)} s = { y B, z A } not the simplest unifier s = { y B } most general unifier (mgu) The most general unifier, the mgu, g of {w i } has the property that if s is any unifier of {w i } then there exists a substitution s such that {w i }s = {w i }gs Property: The common instance produced is unique up to alphabetic variants (variable renaming) (University of Freiburg) Foundations of AI 39 / 57
40 Subsumption Lattice a) b) (University of Freiburg) Foundations of AI 40 / 57
41 Disagreement Set The disagreement set of a set of expressions {w i } is the set of sub-terms {t i } of {w i } at the first position in {w i } for which the {w i } disagree Examples {P (x, A, f(y)), P (v, B, z)} gives {x, v} {P (x, A, f(y)), P (x, B, z)} gives {A, B} {P (x, y, f(y)), P (x, B, z)} gives {y, B} (University of Freiburg) Foundations of AI 41 / 57
42 Unification Algorithm Unify(T erms): Initialize k 0; Initialize T k = T erms; Initialize s k = {}; *If T k is a singleton, then output s k. Otherwise continue. Let D k be the disagreement set of T k. If there exists a var v k and a term t k in D k such that v k does not occur in t k, continue. Otherwise, exit with failure. s k+1 s k { v k tk }; T k+1 T k { v k tk }; k k + 1; Goto *. (University of Freiburg) Foundations of AI 42 / 57
43 Example {P (x, f(y), y), P (z, f(b), B)} (University of Freiburg) Foundations of AI 43 / 57
44 Binary Resolution C 1 {l 1 }, C 2 {l 2 } [C 1 C 2 ]s where s = mgu(l 1, l 2 ), the most general unifier [C 1 C 2 ]s is the resolvent of the parent clauses C 1 {l 1 } and C 2 {l 2 }. C 1 {l 1 } and C 2 {l 2 } do not share variables l 1 and l 2 are the resolution literals. Examples: {{Nat(s(0)), Nat(0)}, {Nat(0)}} {Nat(s(0))} {{Nat(s(0)), Nat(x)}, {Nat(0)}} {Nat(s(0))} {{Nat(s(x)), Nat(x)}, {Nat(0)}} {Nat(s(0))} (University of Freiburg) Foundations of AI 44 / 57
45 Some Further Examples Resolve P (x) Q(f(x)) and R(g(x)) Q(f(A)) Standardizing the variables apart gives P (x) Q(f(x)) and R(g(y)) Q(f(A)) Substitution s = { x A } Resolvent P (A) R(g(y)) Resolve P (x) Q(x, y) and P (A) R(B, z) Standardizing the variables apart Substitution s = { x A } and Resolvent Q(A, y) R(B, z) (University of Freiburg) Foundations of AI 45 / 57
46 Factoring C 1 {l 1 } {l 2 } [C 1 {l 1 }]s where s = mgu(l 1, l 2 ) is the most general unifier. Needed because: {{P (u), P (v)}, { P (x), P (y)}} = but cannot be derived by binary resolution Factoring yields: {P (u)} and { P (x)} whose resolvent is. (University of Freiburg) Foundations of AI 46 / 57
47 Derivations Notation: R( ) = {C C is a resolvent or a factor of two clauses from } We say D can be derived from, i.e., D, if there exist C 1, C 2, C 3,..., C n = D such that C i R( {C 1,..., C i 1 }) for 1 i n. (University of Freiburg) Foundations of AI 47 / 57
48 Example From Russell and Norvig: The law says it is a crime for an American to sell weapons to hostile nations. The country Nono, an enemy of America, has some missiles, and all of its missiles were sold to it by Colonel West, who is American. Prove that Col. West is a criminal. (University of Freiburg) Foundations of AI 48 / 57
49 Example... it is a crime for an American to sell weapons to hostile nations: American(x) weapon(y) Sells(x, y, z) Hostile(z) Criminal(x) Nono... has some missiles, i.e., xowns(nono, x) Missile(x): Owns(Nono, M 1) and Missile(M 1)... all of its missiles were sold to it by Colonel West. xmissiles(x) Owns(Nono, x) Sells(West, x, Nono) Missiles are weapons: Missile(x) Weapon(x) An enemy of America counts as hostile : Enemy(x, America) Hostile(x) West, who is American... American(West) The country Nono, an enemy of America Enemy(Nono, America) (University of Freiburg) Foundations of AI 49 / 57
50 An Example American(x) Weapon(y) Sells(x,y,z) Hostile(z) Criminal(x) American(West) Missile(x) Weapon(x) Missile(M 1 ) Missile(x) Owns(Nono,x) Sells(West,x,Nono) Missile(M 1 ) Owns(Nono,M 1 ) Criminal(West) American(West) Weapon(y) Sells(West,y,z) Hostile(z) Weapon(y) Sells(West,y,z) Hostile(z) Missile(y) Sells(West,y,z) Hostile(z) Sells(West,M 1,z) Hostile(z) Missile(M 1 ) Owns(Nono,M 1 ) Hostile(Nono) Owns(Nono,M 1 ) Hostile(Nono) Enemy(x,America) Hostile(x) Enemy(Nono,America) Hostile(Nono) Enemy(Nono,America) (University of Freiburg) Foundations of AI 50 / 57
51 Another Example Cat(Tuna) Cat(x) Animal(x) Kills(Jack, Tuna) Kills(Curiosity, Tuna) Kills(Curiosity, Tuna) Animal(Tuna) Loves(y, x) Animal(z) Kills(x, z) Kills(Jack, Tuna) Loves(x,F(x)) Loves(G(x), x) Animal(x) Loves(Jack, x) Loves(y, x) Kills(x, Tuna) Animal(F(Jack)) Loves(G(Jack), Jack) Animal(F(x)) Loves(G(x), x) Loves(y, Jack) Loves(G(Jack), Jack) (University of Freiburg) Foundations of AI 51 / 57
52 Properties of Resolution Lemma: (soundness) If D, then = D. Lemma: resolution is refutation-complete: is unsatisfiable implies. Theorem: is unsatisfiable iff. Technique: to prove that = C negate C and prove that { C}. (University of Freiburg) Foundations of AI 52 / 57
53 The Lifting Lemma Lemma: Let C 1 and C 2 be two clauses with no shared variables, and let C 1 and C 2 be ground instances of C 1 and C 2. If C is a resolvent of C 1 and C 2, then there exists a clause such that (1) C is a resolvent of C 1 and C 2 (2) C is a ground instance of C Can be easily generalized to derivations (University of Freiburg) Foundations of AI 53 / 57
54 The General Picture Any set of sentences S is representable in clausal form Assume S is unsatisfiable, and in clausal form Herbrand s theorem Some set S of ground instances is unsatisfiable Ground resolution theorem Resolution can find a contradiction in S Lifting lemma There is a resolution proof for the contradiction in S (University of Freiburg) Foundations of AI 54 / 57
55 Closing Remarks: Processing PL1-Resolution: forms the basis of most state of the art theorem provers for PL1 the programming language Prolog only Horn clauses considerably more efficient methods. not dealt with : search/resolution strategies Finite theories: In applications, we often have to deal with a fixed set of objects. Domain closure axiom: x[x = c 1 x = c 2... x = c n ] Translation into finite propositional theory is possible. (University of Freiburg) Foundations of AI 55 / 57
56 Closing Remarks: Possible Extensions PL1 is definitely very expressive, but in some circumstances we would like more... Second-Order Logic: Also over predicate quantifiers x, y[(x = y) { p[p(x) p(y)]}] Validity is no longer semi-decidable (we have lost compactness) Lambda Calculus: Definition of predicates, e.g., λx, y[ zp (x, z) Q(z, y)] defines a new predicate of arity 2 Reducible to PL1 through Lambda-Reduction Uniqueness quantifier:!xϕ(x) - there is exactly one x... Reduction to PL1: x[ϕ(x) y{ϕ(y) x = y}] (University of Freiburg) Foundations of AI 56 / 57
57 Summary PL1 makes it possible to structure statements, thereby giving us considerably more expressive power than propositional logic. Formulae consist of terms and atomic formulae, which, together with connectors and quantifiers, can be put together to produce formulae. Interpretations in PL1 consist of a universe and an interpretation function. The Herbrand Theory shows that satisfiability in PL1 can be reduced to satisfiability in propositional logic (although infinite sets of formulae can arise under certain circumstances). Resolution is refutation complete Validity in PL1 is not decidable (it is only semi-decidable) (University of Freiburg) Foundations of AI 57 / 57
Artificial Intelligence
Jörg Hoffmann Artificial Intelligence Chapter 12: Predicate Logic Reasoning, Part II 1/56 Artificial Intelligence 12. Predicate Logic Reasoning, Part II: Reasoning And Now: How to Actually Think in Terms
More informationCSC242: Intro to AI. Lecture 13. Thursday, February 28, 13
CSC242: Intro to AI Lecture 13 Recap Rooms adjacent to pits will have breezes Socrates is a person All people are mortal Anybody s grandmother is either their mother s or their father s mother Elements
More informationCS 771 Artificial Intelligence. First Order Logic Inference
CS 771 Artificial Intelligence First Order Logic Inference Universal instantiation (UI) Notation: Subst({v/g}, α) means the result of substituting ground term g for variable v in sentence α Every instantiation
More informationInference in first-order logic
Inference in first-order logic CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2014 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 9 Outline
More informationArtificial Intelligence
Jörg Hoffmann Artificial Intelligence Chapter 12: Predicate Logic Reasoning, Part II 1/56 Artificial Intelligence 12. Predicate Logic Reasoning, Part II: Reasoning And Now: How to Actually Think in Terms
More informationIntroduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 9: Inference in First-Order Logic
Introduction to Artificial Intelligence 2 nd semester 2016/2017 Chapter 9: Inference in First-Order Logic Mohamed B. Abubaker Palestine Technical College Deir El-Balah 1 Outlines Reducing first-order inference
More informationOutline. Reducing first-order inference to propositional inference Unification. Forward chaining Backward chaining
Inference in First-Order Od Logic 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward chaining Backward chaining Resolution 2 Universal instantiation
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Logic programming
More informationInference in first-order logic
Revised by Hankui Zhuo, March 28, 2018 Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward
More informationAgenda Artificial Intelligence. Let s Talk About the Wumpus Instead? Let s Talk About Blocks, Baby...
Agenda Artificial Intelligence 12. Predicate Logic Reasoning, Part I: Basics Do You Think About the World in Terms of Propositions? 1 Introduction Álvaro Torralba Wolfgang Wahlster 2 Syntax 3 Semantics
More informationInference in First-Order Logic
A brief history of reasoning 450B.C. Stoics propositional logic, inference (maybe) 322B.C. Aristotle syllogisms (inference rules), quantifi 1565 Cardano probability theory (propositional logic + uncertainty)
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Logic programming
More informationSet 8: Inference in First-order logic. ICS 271 Fall 2013 Chapter 9: Russell and Norvig
Set 8: Inference in First-order logic ICS 271 Fall 2013 Chapter 9: Russell and Norvig Universal instantiation (UI) Every instantiation of a universally quantified sentence is entailed by it: v α Subst({v/g},
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Logic programming
More informationLogic-based agents. Logic Summary
Artificial Intelligence Programming Inference Chris Brooks Department of Computer Science University of San Francisco Logic-based agents The big picture: our agent needs to make decisions about what to
More informationInf2D 11: Unification and Generalised Modus Ponens
Inf2D 11: Unification and Generalised Modus Ponens School of Informatics, University of Edinburgh 08/02/18 Slide Credits: Jacques Fleuriot, Michael Rovatsos, Michael Herrmann Outline Reducing first-order
More informationInference in First-Order Predicate Calculus
Inference in First-Order Predicate Calculus Deepak Kumar November 2017 Knowledge Engineering in FOPC Identify the task Assemble relevant knowledge Decide on a vocabulary of predicates, functions, and constants
More informationFirst Order Logic (FOL) and Inference
First Order Logic (FOL) and Inference CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter
More informationSet 8: Inference in First-order logic. ICS 271 Fall 2017 Chapter 9: Russell and Norvig
Set 8: Inference in First-order logic ICS 271 Fall 2017 Chapter 9: Russell and Norvig Universal instantiation (UI) Every instantiation of a universally quantified sentence is entailed by it: v α Subst({v/g},
More informationLogic: First Order Logic (Part I)
Logic: First Order Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Ch. 9 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Resolution
More informationLogic. Foundations of First Order Logic. franconi. Enrico Franconi
(1/41) Logic Foundations of First Order Logic Enrico Franconi franconi@inf.unibz.it http://www.inf.unibz.it/ franconi Faculty of Computer Science, Free University of Bozen-Bolzano (2/41) Motivation We
More informationArtificial Intelligence
Torralba and Wahlster Artificial Intelligence Chapter 12: Predicate Logic Reasoning, Part I 1/44 Artificial Intelligence 12. Predicate Logic Reasoning, Part I: Basics Do You Think About the World in Terms
More informationCS 5100: Founda.ons of Ar.ficial Intelligence
CS 5100: Founda.ons of Ar.ficial Intelligence Logical Inference Prof. Amy Sliva September 29, 2011 Outline First- order logic Review syntax and semantics Conjunctive normal form Inference in FOL Theoretical
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016
More informationAI Programming CS S-10 First Order Logic
AI Programming CS662-2013S-10 First Order Logic David Galles Department of Computer Science University of San Francisco 10-0: Representation Propositional Logic has several nice features Lets us easily
More informationIntroduction to Logic in Computer Science: Autumn 2007
Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Tableaux for First-order Logic The next part of
More informationSyntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2)
Syntax of FOL Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam The syntax of a language defines the way in which
More informationLogical Agents. CITS3001 Algorithms, Agents and Artificial Intelligence. 2018, Semester 2
Logical Agents CITS3001 Algorithms, Agents and Artificial Intelligence Tim French School of Computer Science and Software Engineering The University of Western Australia 2018, Semester 2 Summary We motivate
More informationSyntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.
First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable
More informationOutline. Inference in first- order logic: just a taste. Universal instan8a8on (UI) Inference with Quan8fiers. Reduc8on to proposi8onal inference
Outline Inference in first- order logic: just a taste Dr. Melanie Mar8n CS 4480 Based on slides from hap://aima.eecs.berkeley.edu/2nd- ed/slides- ppt/ Reducing first- order inference to proposi8onal inference
More informationCS 561: Artificial Intelligence
CS 561: Artificial Intelligence Instructor: TAs: Sofus A. Macskassy, macskass@usc.edu Nadeesha Ranashinghe (nadeeshr@usc.edu) William Yeoh (wyeoh@usc.edu) Harris Chiu (chiciu@usc.edu) Lectures: MW 5:00-6:20pm,
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents
More informationArtificial Intelligence Chapter 9: Inference in First-Order Logic
Artificial Intelligence Chapter 9: Inference in First-Order Logic Andreas Zell After the Textbook: Artificial Intelligence, A Modern Approach by Stuart Russell and Peter Norvig (3 rd Edition) 9 Inference
More information7. Propositional Logic. Wolfram Burgard and Bernhard Nebel
Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics
More informationOutline. Logic. Definition. Theorem (Gödel s Completeness Theorem) Summary of Previous Week. Undecidability. Unification
Logic Aart Middeldorp Vincent van Oostrom Franziska Rapp Christian Sternagel Department of Computer Science University of Innsbruck WS 2017/2018 AM (DCS @ UIBK) week 11 2/38 Definitions elimination x φ
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Logic programming
More informationResolution for Predicate Logic
Resolution for Predicate Logic The connection between general satisfiability and Herbrand satisfiability provides the basis for a refutational approach to first-order theorem proving. Validity of a first-order
More informationThe non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω
1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the
More informationINF3170 / INF4171 Notes on Resolution
INF3170 / INF4171 Notes on Resolution Andreas Nakkerud Autumn 2015 1 Introduction This is a short description of the Resolution calculus for propositional logic, and for first order logic. We will only
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Frank Hutter and Bernhard Nebel Albert-Ludwigs-Universität Freiburg
More informationArtificial Intelligence
Artificial Intelligence First-Order Logic Marc Toussaint University of Stuttgart Winter 2015/16 (slides based on Stuart Russell s AI course) First-order logic (FOL) is exactly what is sometimes been thought
More informationLogic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form.
Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form. Valentin Stockholm University October 2016 Revision: CNF and DNF of propositional
More informationFirst-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms
First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationHerbrand Theorem, Equality, and Compactness
CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order
More informationCS 730/730W/830: Intro AI
CS 730/730W/830: Intro AI 1 handout: slides 730W journal entries were due Wheeler Ruml (UNH) Lecture 9, CS 730 1 / 16 Logic First-Order Logic The Joy of Power Wheeler Ruml (UNH) Lecture 9, CS 730 2 / 16
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 13, 5/18/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Inference in first-order
More informationFirst-Order Logic and Inference
First-Order Logic and Inference Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:
More informationCOMP9414: Artificial Intelligence First-Order Logic
COMP9414, Wednesday 13 April, 2005 First-Order Logic 2 COMP9414: Artificial Intelligence First-Order Logic Overview Syntax of First-Order Logic Semantics of First-Order Logic Conjunctive Normal Form Wayne
More information1 Introduction to Predicate Resolution
1 Introduction to Predicate Resolution The resolution proof system for Predicate Logic operates, as in propositional case on sets of clauses and uses a resolution rule as the only rule of inference. The
More informationCOMP4418: Knowledge Representation and Reasoning First-Order Logic
COMP4418: Knowledge Representation and Reasoning First-Order Logic Maurice Pagnucco School of Computer Science and Engineering University of New South Wales NSW 2052, AUSTRALIA morri@cse.unsw.edu.au COMP4418
More information4 Predicate / First Order Logic
4 Predicate / First Order Logic 4.1 Syntax 4.2 Substitutions 4.3 Semantics 4.4 Equivalence and Normal Forms 4.5 Unification 4.6 Proof Procedures 4.7 Implementation of Proof Procedures 4.8 Properties First
More informationAutomated Reasoning in First-Order Logic
Automated Reasoning in First-Order Logic Peter Baumgartner http://users.cecs.anu.edu.au/~baumgart/ 7/11/2011 Automated Reasoning in First-Order Logic... First-Order Logic Can express (mathematical) structures,
More informationCOMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning
COMP9414, Monday 26 March, 2012 Propositional Logic 2 COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning Overview Proof systems (including soundness and completeness) Normal Forms
More informationIntroduction to Logic in Computer Science: Autumn 2006
Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction
More information7.5.2 Proof by Resolution
137 7.5.2 Proof by Resolution The inference rules covered so far are sound Combined with any complete search algorithm they also constitute a complete inference algorithm However, removing any one inference
More informationLecture 10: Even more on predicate logic" Prerequisites for lifted inference: Skolemization and Unification" Inference in predicate logic"
CS440/ECE448: Intro to Artificial Intelligence Lecture 10: Even more on predicate logic Prof. Julia Hockenmaier juliahmr@illinois.edu http://cs.illinois.edu/fa11/cs440 Inference in predicate logic All
More informationFirst-Order Logic (FOL)
First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary
More informationHandout Proof Methods in Computer Science
Handout Proof Methods in Computer Science Sebastiaan A. Terwijn Institute of Logic, Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam the Netherlands terwijn@logic.at
More informationCogSysI Lecture 8: Automated Theorem Proving
CogSysI Lecture 8: Automated Theorem Proving Intelligent Agents WS 2004/2005 Part II: Inference and Learning Automated Theorem Proving CogSysI Lecture 8: Automated Theorem Proving p. 200 Remember......
More informationCS156: The Calculus of Computation Zohar Manna Winter 2010
Page 3 of 35 Page 4 of 35 quantifiers CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 2: First-Order Logic (FOL) existential quantifier x. F [x] there exists an x such that F [x] Note:
More informationCS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning.
CS 730/830: Intro AI 3 handouts: slides, asst 6, asst 7 Wheeler Ruml (UNH) Lecture 12, CS 730 1 / 16 Logic First-Order Logic The Joy of Power in First-order Logic Wheeler Ruml (UNH) Lecture 12, CS 730
More informationInference in first-order logic
Inference in first-order logic Chapter 9 Chapter 9 1 Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward and backward chaining Resolution Chapter
More informationOutline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation
Outline Formale Methoden der Informatik First-Order Logic for Forgetters Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Motivation Syntax of PL1
More information1 FUNDAMENTALS OF LOGIC NO.10 HERBRAND THEOREM Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical connectives (,,, ) Truth table Tautology
More informationConvert to clause form:
Convert to clause form: Convert the following statement to clause form: x[b(x) ( y [ Q(x,y) P(y) ] y [ Q(x,y) Q(y,x) ] y [ B(y) E(x,y)] ) ] 1- Eliminate the implication ( ) E1 E2 = E1 E2 x[ B(x) ( y [
More informationComputational Logic Automated Deduction Fundamentals
Computational Logic Automated Deduction Fundamentals 1 Elements of First-Order Predicate Logic First Order Language: An alphabet consists of the following classes of symbols: 1. variables denoted by X,
More informationLogic: First Order Logic
Logic: First Order Logic Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06
More informationLogic for Computer Scientists
Logic for Computer Scientists Pascal Hitzler http://www.pascal-hitzler.de CS 499/699 Lecture, Winter Quarter 2011 Wright State University, Dayton, OH, U.S.A. [final version: 03/10/2011] Contents 1 Propositional
More informationInformal Statement Calculus
FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example
More informationTheory of Computer Science
Theory of Computer Science B4. Predicate Logic II Malte Helmert University of Basel March 9, 2016 Free and Bound Variables Free and Bound Variables: Motivation Question: Consider a signature with variable
More informationAAA615: Formal Methods. Lecture 2 First-Order Logic
AAA615: Formal Methods Lecture 2 First-Order Logic Hakjoo Oh 2017 Fall Hakjoo Oh AAA615 2017 Fall, Lecture 2 September 24, 2017 1 / 29 First-Order Logic An extension of propositional logic with predicates,
More informationPropositional and Predicate Logic - V
Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus
More informationLogic for Computer Scientists
Logic for Computer Scientists Pascal Hitzler http://www.pascal-hitzler.de CS 499/699 Lecture, Spring Quarter 2010 Wright State University, Dayton, OH, U.S.A. Final version. Contents 1 Propositional Logic
More informationFirst-order logic. AI Slides (5e) c Lin
First-order logic 6 AI Slides (5e) c Lin Zuoquan@PKU 2003-2018 6 1 6 First-Order Logic 2.1 First-order logic Syntax Semantics 2.2 Representation in FOL 2.3 Agents in first-order case AI Slides (5e) c Lin
More informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationInference in first-order logic
CS 57 Introduction to AI Lecture 5 Inference in first-order logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Logical inference in FOL Logical inference problem: Given a knowledge base KB (a
More information8 General first order representation
Intro. to Artificial Intelligence: Dale Schuurmans, Relu Patrascu 1 8 General first order representation 8.1 First order language Propositional core constants A, B, C, D predicates on(, ) associated arity,
More informationFirst-Order Predicate Calculus
First-Order Predicate Calculus Deepak Kumar November 2017 Propositional Logic - Syntax Sentences Well-formed formulas (wffs) Any atom is a wff [Atomic Sentences] e.g. P, Q, R, R3 Complex Sentences If ω
More informationTheory of Computer Science
Theory of Computer Science B3. Predicate Logic I Malte Helmert University of Basel March 7, 2016 Motivation Limits of Propositional Logic group axioms for G, and neutral element e: 1 For all x, y, z G,
More informationLogic for Computer Scientists
Logic for Computer Scientists Pascal Hitzler http://www.pascal-hitzler.de CS 499/699 Lecture, Winter Quarter 2012 Wright State University, Dayton, OH, U.S.A. [version: 03/01/2012] Contents 1 Propositional
More informationPart 1: Propositional Logic
Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax
More informationFirst-order resolution for CTL
First-order resolution for Lan Zhang, Ullrich Hustadt and Clare Dixon Department of Computer Science, University of Liverpool Liverpool, L69 3BX, UK {Lan.Zhang, U.Hustadt, CLDixon}@liverpool.ac.uk Abstract
More informationFirst-Order Logic. Resolution
First-Order Logic Resolution 1 Resolution for predicate logic Gilmore s algorithm is correct and complete, but useless in practice. We upgrade resolution to make it work for predicate logic. 2 Recall:
More informationLogic Part I: Classical Logic and Its Semantics
Logic Part I: Classical Logic and Its Semantics Max Schäfer Formosan Summer School on Logic, Language, and Computation 2007 July 2, 2007 1 / 51 Principles of Classical Logic classical logic seeks to model
More informationInference in First Order Logic
Inference in First Order Logic Course: CS40002 Instructor: Dr. Pallab Dasgupta Department of Computer Science & Engineering Indian Institute of Technology Kharagpur Inference rules Universal elimination:
More information3 Propositional Logic
3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists
More informationResolution for Predicate Logic
Logic and Proof Hilary 2016 James Worrell Resolution for Predicate Logic A serious drawback of the ground resolution procedure is that it requires looking ahead to predict which ground instances of clauses
More informationFirst-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)
First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems
More informationLogic: Propositional Logic (Part I)
Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.
More informationFirst Order Logic (FOL) 1 znj/dm2017
First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.
More informationKnowledge based Agents
Knowledge based Agents Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Knowledge Based Agents
More informationLogic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning
Logic Knowledge Representation & Reasoning Mechanisms Logic Logic as KR Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning Logical inferences Resolution and Theorem-proving Logic
More informationStrong AI vs. Weak AI Automated Reasoning
Strong AI vs. Weak AI Automated Reasoning George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Artificial intelligence can be classified into two categories:
More informationOverview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method
Overview CS389L: Automated Logical Reasoning Lecture 7: Validity Proofs and Properties of FOL Agenda for today: Semantic argument method for proving FOL validity Işıl Dillig Important properties of FOL
More informationInference in first-order logic
CS 2710 Foundations of AI Lecture 15 Inference in first-order logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Logical inference in FOL Logical inference problem: Given a knowledge base KB
More informationExercises 1 - Solutions
Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note
More informationDeliberative Agents Knowledge Representation II. First Order Predicate Logic
Deliberative Agents Knowledge Representation II Vasant Honavar Bioinformatics and Computational Biology Program Center for Computational Intelligence, Learning, & Discovery honavar@cs.iastate.edu www.cs.iastate.edu/~honavar/
More informationComputational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/26)
Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/26) Propositional Logic - algorithms Complete calculi for deciding logical
More information