Relational Reasoning in Natural Language

Size: px
Start display at page:

Download "Relational Reasoning in Natural Language"

Transcription

1 1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010

2 Adding transitive verbs the work on R, R, and other systems is joint with Ian Pratt-Hartmann The main language in this lecture uses see or r as variables for transitive verbs. All p are q Some p are q All p see all q All p see some q Some p see all q Some p see some q All p aren t q No p are q Some p aren t q All p don t see all q No p sees any q All p don t see some q No p sees all q Some p don t see any q Some p don t see some q The interpretation is the natural one, using the subject wide scope readings in the ambiguous cases. This is R. (The first system of its kind was Nishihara, Morita, Iwata 1990.) Another language called R has complemented atoms p on top of R. 2/67

3 3/67 Semantics [[r]] M M Issue: is there one verb, or many? For this fragment, we might as well restrict attention to just one verb. But when we move to the fragment with relative clauses, this will not do.

4 4/67 Are there any interesting inferences? { No x see any y All z see some y } = No x are z All x see all y All p are y Some p are q = All x see some q

5 5/67 Syntax of R Towards the syntax for R All p are q (p, q) Some p are q (p, q) All p r all q (p, (q, r)) All p r some q (p, (q, r)) Some p r all q (p, (q, r)) Some p r some q (p, (q, r)) No p are q (p, q) Some p aren t q (p, q) All p don t r all q No p r any q (p, (q, r)) All p don t r some q No p r all q (p, (q, r)) Some p don t r any q (p, (q, r)) Some p don t r some q (p, (q, r))

6 5/67 Syntax of R Towards the syntax for R All p are q (p, q) Some p are q (p, q) All p r all q (p, (q, r)) All p r some q (p, (q, r)) Some p r all q (p, (q, r)) Some p r some q (p, (q, r)) No p are q (p, q) Some p aren t q (p, q) No p r any q (p, (q, r)) No p r all q (p, (q, r)) Some p don t r any q (p, (q, r)) Some p don t r some q (p, (q, r)) set terms c positive p (p, r) (p, r) negative p (p, r) (p, r)

7 6/67 Syntax of R Reading the set terms (p, r) (p, r) (p, r) (p, r) those who r all p those who r some p those who fail-to-r all p those who r no p those who fail-to-r some p those who don t r some p

8 Syntax of R Towards the syntax for R All p are q (p, q) Some p are q (p, q) All p r all q (p, (q, r)) All p r some q (p, (q, r)) Some p r all q (p, (q, r)) Some p r some q (p, (q, r)) No p are q (p, q) Some p aren t q (p, q) No p sees any q (p, (q, r)) No p sees all q (p, (q, r)) Some p don t r any q (p, (q, r)) Some p don t r some q (p, (q, r)) simplifies to (p, c) (p, c) set terms c positive p (p, r) (p, r) negative p (p, r) (p, r) 7/67

9 8/67 Syntax of R Syntax of R and R We start with one collection of unary atoms (for nouns) and another of binary atoms (for transitive verbs). expression variables syntax unary atom p, q binary atom r set term c, d p (p, r) (p, r) p (p, r) (p, r) R sentence ϕ (p, c) (p, c) R sentence ϕ (p, c) (p, c) (p, c) (p, c)

10 9/67 Syntax of R Negations We need one last concept, syntactic negation: expression syntax negation set term c p p p p (p, r) (p, r) (p, r) (p, r) (p, r) (p, r) (p, r) (p, r) R sentence ϕ (p, c) (p, c) (p, c) (p, c) Note that p = p, c = c and ϕ = ϕ.

11 10/67 Syntax of R Semantics, again We said before that the semantics was based on [[r]] M M This doesn t give the full semantics of the language, since our syntax now has set terms. We define [[r all p]] = {x M : for all y [[p]], x [[r]] y} [[r some p]] = {x M : for some y [[p]], x [[r]] y} For set terms involving r, we take [[r]] = (M M) \ [[r]], and then [[r all p]] = {x M : for all y semanticsp, x [[r]] y} [[r some p]] = {x M : for some y [[p]], x [[r]] y}

12 11/67 Syntax of R By the way Set terms like (p, r) use the relation in a way that is different from the Kripke semantics for modal logic. [[r all p]] = {x M : for all y [[p]], x [[r]] y} [[ r p]] = {x M : for all y such that x[[r]]y, y [[p]]}

13 12/67 Syntax of R Review of the notation { No x see any y, All z see some y } = No x are z (x, (y, r)), (z, (y, r)) = (x, z) All x see all y, All p are y, Some p are q = All x see some y (x, (y, r)), (p, y), (p, q) = (x, (y, r))

14 13/67 Syntax of R The hardest two families of inferences (x 1, (x 2, r)) (x n, (y, r)) (x 1, (y, r)) (x 1, (y, r)) (H) (y 1, (y 2, r)) (y n, (z, r)) (z, (y 1, r)) (z, x) (x, x) (x, (y 1, r)) (HH) To see that (H) is semantically valid, argue by cases as to whether x 1 or not. For (HH), argue by cases as to whether y 1 or not.

15 14/67 The logical system: examples Relational syllogistic logic p and q range over unary atoms, c over set terms, and t over binary atoms or their negations. (p, q) (q, c) (p, c) (p, q) (q, c) (p, c) (p, q) (p, c) (q, c) (p, p) (p, c) (p, p) (q, c) (p, c) (p, q) (p, p) (p, c) (p, (q, t)) (q, q) (p, (n, t)) (q, n) (p, (q, t)) (p, (q, t)) (q, n) (p, (n, t)) (p, (q, t)) (q, n) (p, (n, t)) [ϕ]. (p, p) RAA ϕ

16 15/67 The logical system: examples Relational syllogistic logic Most are monotonicty principles (p, q ) (p, q ) (p, (q, t)) (p, (q, t)) (p, (q, t)) (p, (q, t)) Plus also RAA and (p, p) (p, c) (p, p) (p, p) (p, c) (p, (q, t)) (q, q) (q, c) (p, c) (p, q) ( ) (p, (n, t)) (q, n) (p, (q, t)) Of these, ( ) is the most interesting.

17 16/67 The logical system: examples Let s see some examples Here is a derivation showing that (x, (y, r)), (p, y), (p, q) (x, (y, r)) (p, q) (p, y) (x, (y, r)) (p, y) (x, (p, r)) (p, y) (x, (y, r))

18 17/67 The logical system: examples Let s see some examples Here is a formal proof showing that (x, x) (y, (x, r)) In words, if there are no xs, then all y s have any relation whatsoever to all of them. Note that this does not follow from the rule (p, p) (p, c)

19 17/67 The logical system: examples Let s see some examples Here is a formal proof showing that (x, x) (y, (x, r)) In words, if there are no xs, then all y s have any relation whatsoever to all of them. Here is a derivation: [ (y, (x, r))] 1 (x, x) (x, x) (x, x) (y, (x, r)) (RAA)1 Note: the general definition of Γ ϕ now must talk about uncancelled leaves in the derivation.

20 18/67 The logical system: examples Example of a proof in this system What do you think? All X see all Y, All X see some Z, All Z see some Y = All X see some Y

21 18/67 The logical system: examples Example of a proof in this system What do you think? All X see all Y, All X see some Z, All Z see some Y The conclusion does indeed follow. We should have a formal proof. = All X see some Y

22 18/67 The logical system: examples Example of a proof in this system What do you think? All X see all Y, All X see some Z, All Z see some Y = All X see some Y Some X see no Y X All X see some Z Some X see some Z Z X abbreviates Some X are X All Z see some Y Some Z see some Y Y All X see all Y All X see some Y Some X see no Y Some X aren t X

23 19/67 The logical system: examples But now [Some X see no Y ] X This shows that All X see some Z Some X see some Z Z All Z see some Y Some Z see some Y Y All X see all Y All X see some Y [Some X see no Y ] Some X aren t X All X see some Y RAA All X see all Y, All X see some Z, All Z see some Y All X see some Y

24 20/67 The logical system: examples An important consequence of RAA: Proof by Cases If Γ, ϕ ψ, and Γ, ϕ ψ, then Γ ψ For the proof, note first that Γ, ϕ, ψ. So by RAA, Γ, ψ ϕ. Take a derivation showing that Γ, ϕ ψ, replace all leaves ϕ with derivations showing Γ, ψ ϕ. In this way, we see that Γ, ψ ψ. Thus Γ, ψ. So as desired, Γ ψ.

25 21/67 The logical system: examples Another important consequence of RAA A set Γ is consistent if Γ. Γ is complete if for all ϕ, either ϕ Γ or ϕ Γ. In any logical system with RAA, every consistent set Γ has a consistent and complete extension. (For the proof, one can either use Zorn s Lemma, or else successively to Γ add each sentence or its negation.)

26 22/67 Negative result on R A negative result on this language R We are going to prove the completeness of the logic for R, but before that, we argue that RAA is needed. Theorem There are no finite syllogistic logical systems which are sound and complete for R. However, there is a logical system (presented above) which uses reductio ad absurdum [ϕ] and which is complete.. (p, p) ϕ RAA

27 23/67 Negative result on R There are no finite, sound, and complete purely syllogistic logics for R Suppose towards a contradiction that did it. We allow rules with arbitrarily many premises. Fix n N greater than the number of premises in any rule in the system. Let Y 1,..., Y n be distinct variables. Let Γ be the following set of R-formulas: All Y i see some Y i+1 (1 i < n) All Y 1 see all Y n All Y i are Y i (1 i < n) All Y i aren t Y j (1 i j n)

28 Negative result on R There are no finite, sound, and complete purely syllogistic logics for R Suppose towards a contradiction that did it. We allow rules with arbitrarily many premises. Fix n N greater than the number of premises in any rule in the system. Let Y 1,..., Y n be distinct variables. Let Γ be the following set of R-formulas: All Y i see some Y i+1 (1 i < n) All Y 1 see all Y n All Y i are Y i (1 i < n) All Y i aren t Y j (1 i j n) Observe that Γ = All Y 1 see some Y n, but this sentence is not in Γ. 23/67

29 24/67 Negative result on R Proof, continued Γ = All Y i see some Y i+1 (1 i < n) All Y 1 see all Y n All Y i are Y i (1 i < n) All Y i aren t Y j (1 i j n) For 1 i < n, let i = Γ \ {All Y i see some Y i+1 }. Claim If ϕ R and i = ϕ, then ϕ Γ.

30 24/67 Negative result on R Proof, continued Γ = All Y i see some Y i+1 (1 i < n) All Y 1 see all Y n All Y i are Y i (1 i < n) All Y i aren t Y j (1 i j n) For 1 i < n, let i = Γ \ {All Y i see some Y i+1 }. Claim If ϕ R and i = ϕ, then ϕ Γ. It follows this claim that Γ All Y 1 see some Y n.

31 Negative result on R Why the claim establishes the result Claim If ϕ R and i = ϕ, then ϕ Γ. Here is why Γ All Y 1 see some Y n. We show by induction on proof trees using that all deductions from Γ must have an element of Γ on the root. No rule of has more than n 1 premises. By induction hypothesis, the sentences just above the root are contained in Γ. So by the claim, the root is in Γ. Therefore the logic is not complete. 25/67

32 26/67 Negative result on R Claim: if ϕ R and i = ϕ, then ϕ Γ. Γ = All Y i see some Y i+1 (1 i < n) All Y 1 see all Y n All Y i are Y i (1 i < n) All Y i aren t Y j (1 i j n) For 1 i < n, let i = Γ \ {All Y i see some Y i+1 }. Proof sketch We consider every sentence in the language R. We check that all are either in Γ or are falsified in some model of i. All Y i are Y j Some Y i are Y j All Y i see all Y j All Y i see some Y j Some Y i see all Y j Some Y i see some Y j All Y i aren t Y j No X are Y j Some Y i aren t Y j All Y i don t see all Y j No X sees any Y j All Y i don t see some Y j No X sees all Y j Some Y i don t see any Y j Some Y i don t see some Y j

33 27/67 Negative result on R The proof goes on y 1 y 2 y i y i+1 y n 1 y n This structure satisfies i and makes a few false: All Y i are Y j No Y j are Y k for j = k Some Y i are Y j Some Y i aren t Y j All Y i r all Y j All Y i don t r all Y j No Y i sees any Y j All Y i r some Y j All Y i don t r some Y j No Y i sees all Y j Some Y i r all Y j Some Y i don t r any Y j Some Y i r some Y j Some Y i don t r some Y j

34 28/67 Negative result on R The proof goes on The empty structure satisfies i and makes a few more false: All Y j are Y k Some Y j are Y k All Y j r all Y k All Y j r some Y k Some Y j r all Y k Some Y j r some Y k No Y j are Y k for j = k Some Y j aren t Y k for j k All Y j don t r all Y k No Y i sees any Y j All Y j don t r some Y k No Y i sees all Y j Some Y j don t r any Y k Some Y j don t r some Y k

35 29/67 Negative result on R What remains We list the remaining sentences. All Y j r all Y j+1 All Y 1 r some Y n All Y j don t r all Y k No Y i sees any Y j All Y j don t r some Y k No Y i sees all Y j We only list the sentences not in i which are true in both of the two models we have seen so far. The ones on the right are easy to falsify in a model of i.

36 30/67 Negative result on R What remains We list the remaining sentences. All Y j r all Y j+1 All Y 1 r some Y n We can also falsify each of these in a model of i.

37 31/67 Negative result on R What to do? We should not be deterred by the negative result: there are two ways to go: 1 Move from a pure syllogistic system to a more liberal type of logic. (We have already done this by adding RAA.) 2 Use infinitely many rules. (I believe this is possible, but it is tedious.)

38 32/67 The logical system R for R Relational syllogistic logic p and q range over unary atoms, c over set terms, and t over binary atoms or their negations. (p, q) (q, c) (p, c) (p, q) (q, c) (p, c) (p, q) (p, c) (q, c) (p, p) (p, c) (p, p) (q, c) (p, c) (p, q) (p, p) (p, c) (p, (q, t)) (q, q) (p, (n, t)) (q, n) (p, (q, t)) (p, (q, t)) (q, n) (p, (n, t)) (p, (q, t)) (q, n) (p, (n, t)) [ϕ]. (p, p) RAA ϕ

39 33/67 The logical system R for R Completeness We shall show that every set Γ of sentences which is consistent in R is satisfiable. By what we saw earlier, we may assume that Γ is R-complete: for every sentence θ of R, either θ or θ belongs to Γ.

40 34/67 The logical system R for R The architecture of the completeness proof Start with a consistent and complete Γ, and build a model M such that for positive sentences ϕ, M = ϕ iff Γ ϕ All p are q (p, q) Some p are q (p, q) All p r all q (p, (q, r)) positive All p r some q (p, (q, r)) Some p r all q (p, (q, r)) Some p r some q (p, (q, r)) No p are q (p, q) Some p aren t q (p, q) All p don t r all q No p r any q (p, (q, r)) negative All p don t r some q No p r all q (p, (q, r)) Some p don t r any q (p, (q, r)) Some p don t r some q (p, (q, r))

41 34/67 The logical system R for R The architecture of the completeness proof Start with a consistent and complete Γ, and build a model M such that for positive sentences ϕ, M = ϕ iff Γ ϕ From this, we show that if ϕ is negative and ϕ Γ, we again have M = ϕ. For if not, then ϕ is positive and M = ϕ. So Γ ϕ. And now Γ is inconsistent.

42 The logical system R for R: completeness Model construction For such a consistent and R-complete set Γ, we shall define a model M = M(Γ) as follows: we let M = {x 1, x 2 : Γ (x, x)} {{p, q} : p q and Γ (p, q)}. We assume this union is disjoint, and we call the elements {p, q} pair-elements. So we have two copies of every variable x such that Γ entails the existence of x, and also pair elements {p, q} corresponding to sentences of the form (p, q) which are provable from Γ and such that p q. Our semantics will insure that the pair-element {p, q} belongs to [[p]] [[q]], and so this element will witness the truth of (p, q) in the model which we are constructing. 35/67

43 36/67 The logical system R for R: completeness Model construction The unary atoms x are interpreted in our models as follows: w i [[x]] iff Γ (w, x) {p, q} [[x]] iff Γ (p, x), or Γ (q, x) For the binary atom r, we need a lot more work. First, suppose M contains x 1, x 2, y 1, and y 2.

44 37/67 The logical system R for R: completeness The picture of [[r]] ({x 1, x 2 } {y 1, y 2 }) x 1 y 1 x 2 y 2 (x, (y, r)) x 1 y 1 x 2 y 2 (x, (y, r)) (x, (y, r)) (x, (y, r)) x 1 y 1 x 2 y 2 (x, (y, r)) (x, (y, r)) (x, (y, r)) x 1 y 1 x 2 y 2 (x, (y, r)) (x, (y, r)) (x, (y, r)) x 1 y 1 y 2 x 2 (x, (y, r)) (x, (y, r)) (x, (y, r)) x 1 y 1 x 2 y 2 (x, (y, r)) It depends on which sentences are provable from Γ.

45 38/67 The logical system R for R: completeness The model in full x i [[r]]y j iff x i y j according to the pictures from before {x, y}[[r]]w 2 iff Γ (x, (w, r)) or Γ (x, (y, r)) {x, y}[[r]]w 1 iff {x, y}[[r]]w 2, or Γ (x, (w, r)), or Γ (y, (w, r)) u 1 [[r]]{x, y} iff Γ (u, (x, r)) or Γ (u, (y, r)) u 2 [[r]]{x, y} iff u 1 [[r]]{x, y}, or Γ (u, (x, r)), or Γ (u, (y, r)) {x, y}[[r]]{p, q} iff Γ (x, (p, r)), or Γ (x, (q, r)), or Γ (y, (p, r)), or Γ (y, (q, r))

46 39/67 The logical system R for R: completeness Facts Concerning the relation [[r]]: 1 x 1 [[r]]y 2 iff Γ (x, (y, r)). 2 x 1 [[r]]y 1 iff Γ (x, (y, r)) or Γ (x, (y, r)). 3 x 2 [[r]]y 2 iff Γ (x, (y, r)) or Γ (x, (y, r)). 4 x 2 [[r]]y 1 iff for some i and j, x i [[r]]y j.

47 The logical system R for R: completeness The easy part Let Γ be an arbitrary set of R-sentences. Let ϕ be a positive sentence. If Γ ϕ, then M(Γ) = ϕ. We argue by cases on ϕ. Case 1: ϕ is (x, y). If z i [[x]], then z x. By monotonicity, z y. So z i [[y]]. If {p, q} [[x]], then without loss of generality (p, x). Again, we see that {p, q} [[y]]. Case 2: ϕ is (x, y). This time {x, y} is an element of our model. Our logic contains the identity axioms All x are x. By our semantics, {x, y} [[x]] [[y]]. Thus the model overall satisfies Some x are y. Case 3: ϕ is (x, (y, r)). Let z i [[x]] and w j [[y]]; so we have z x and w y. By monotonicity, Γ (z, (w, r)). So z i [[r]]w j for 1 i, j 2. We also must consider pair-elements {p, q} [[x]]. Without loss of 40/67

48 The logical system R for R: completeness More Case 4: ϕ is (x, (y, r)). In this case, we can assume that [[x]]. That is, Γ (x, x). Then Γ (y, y) as well. We shall show that every element of [[x]] is related to y 1. Let z i [[x]], so that z x. By monotonicity, Γ (z, (y, r)). Then by our Facts, parts (2) and (4), we indeed have z i [[r]]y 1 and z i [[r]]y 2. Further, let {p, q} [[x]]. Without loss of generality, p x. By monotonicity, Γ (p, (y, r)). Then by the definition of [[r]], {p, q}[[r]]y 1. Case 5: ϕ is (x, (y, r)). By rule (I) of our logic, Γ (x, x). Let w j [[y]]. Then Γ (w, y). Hence Γ (x, (w, r)). By our Facts, parts (3) and (4), x 2 [[r]]w 1, and also x 2 [[r]]w 2. We must also consider pair-elements of [[y]]. Let {p, q} [[y]] so that Γ (p, q); and assume Γ (p, y). By monotonicity, Γ (x, (p, r)). By construction, x 2 [[r]]{p, q}. We conclude that x 2 is the required witness to (x, (y, r)). Case 6: ϕ is (x, (y, r)). Here both Γ (x, x) and also (y, y). By Proposition 39, part (4), x 2 [[r]]y 1. So M = (x, (y, r)). 41/67

49 42/67 The logical system R for R: completeness The hard part Let Γ be complete and consistent. Let ϕ be a positive sentence. If M(Γ) = ϕ, then ϕ Γ. We argue by cases on ϕ. In each case, we assume that M(Γ) = ϕ, and we then show Γ ϕ. Since Γ is complete, we indeed have ϕ Γ. One fact which we shall use frequently is that if [[x]] in M(Γ), then Γ (x, x). For if y j [[x]], they by the structure of the model, Γ (y, y) and also (y, x). Similar considerations apply to a pair-element {u, w} [[x]]. Case 1: ϕ is (x, y). We may assume that Γ (x, x); if not, then Γ ϕ using (A). And then the structure of the model easily tells us that Γ ϕ. Case 2: ϕ is (x, y). The argument is very close to what we do concerning (x, (y, r)) in Case 6 below.

50 43/67 The logical system R for R: completeness The hard part, continued Case 3: ϕ is (x, (y, r)). By completeness, either Γ (x, x); or Γ (y, y); or else both Γ (x, x) and Γ (y, y). In the first case, Γ ϕ using the rule (A). In the second case, we show easily that Γ ϕ. In the last case, consider M = M(Γ). By the lemma which we have already seen, M(Γ) = ϕ. In M, x 1 [[x]] and y 2 [[y]]. Since M = ϕ, x 1 [[r]]y 2. By inspection of the model, Γ (x, (y, r)).

51 The logical system R for R: completeness More Case 4: ϕ is (x, (y, r)). As in the previous case, we may assume that Γ (x, x). Consider M = M(Γ). In the model, [[x]] by definition of the model, and because M = ϕ, the same is true of y. In particular, x 1 is related to some element of [[y]]. Say x 1 [[r]]z j where z y. If j = 1, then by Proposition 39, part (2), we Γ (x, (z, r)) or Γ (x, (z, r)). In the first case, we are done by monotonicity. So we shall assume that Γ (x, (z, r)). Since z j belongs to the model Γ (z, z). Therefore Γ (x, (z, r)), and as above we are done. Now if j = 2, then by Proposition 39, part (1), we have Γ (x, (z, r)). Exactly as above, we reason that Γ (x, (y, r)). The last possibility is that x 1 [[r]]{p, q}, where Γ (p, q). Without loss of generality, suppose that Γ (x, (q, r)) and also that Γ (p, y). The derivation in Example?? shows that Γ (x, (y, r)). 44/67

52 45/67 The logical system R for R: completeness Yet more Suppose next that it is x 2 [[x]] which is related by [[r]] to y 2. We have two alternatives: Γ (x, (y, r)) (and we are done); or else Γ (x, (y, r)). In this last case, we have already seen Γ (x, x), and we now have Γ (x, (y, r)). Finally, suppose that {p, q} [[x]] and also that {p, q}[[r]]y 2. Either Γ (p, (y, r)) or Γ (q, (y, r)). Since this pair-element {p, q} belongs to our model, Γ (p, q). So either Γ (p, (y, r)) or Γ (q, (y, r)). But also, either p x or q x. Without loss of generality, p x. By monotonicity, Γ (x, (y, r)).

53 The logical system R for R: completeness Concluding the proof Case 6: ϕ is (x, (y, r)). In our final case, we must have Γ (x, x); also Γ (y, y). Suppose that z 1 [[x]] and w 1 [[y]] are related by [[r]]. Thus z x and w y. By examining the model, Γ (z, (w, r)). Since z 1 belongs to our model, Γ (z, z). Thus Γ (z, (w, r)). And by monotonicity again, Γ (x, (y, r)). Next, suppose that z 1 [[x]] and w 2 [[y]] are related by [[r]]. The work here is quite similar, and we omit all the details. The same goes for the case of z 2 [[x]] and w 1 [[y]], and also for the case of z 2 [[x]] and w 2 [[y]]. There are several more cases, owing to the possibility that the witnesses to (x, (y, r)) might include pair-elements. These are all routine, and we omit these details. This concludes the proof. 46/67

54 47/67 The logical system R for R: completeness Completeness of the logical system For Γ {ϕ} R, Γ = ϕ iff Γ ϕ in R. The soundness is an easy induction on derivations. For the completeness, we need only show that a consistent set Γ is satisfiable. We may assume that Γ is R-complete. Consider M = M(Γ). By what we know M satisfies the positive sentences in Γ. We claim that M satisfies the negative sentences in Γ as well. For suppose that ψ is positive and ψ belongs to Γ. If M = ψ, we would have M = ψ. Also by what we know, Γ ψ. But then Γ is inconsistent, a contradiction. The claim shown, we now see that M = Γ.

55 48/67 The logical system R for R: completeness Incorporating background information Suppose we have a stock of background facts about verbs, such as kissing entails touching This background fact cannot be stated in any of the languages which we have so far studied. Nevertheless, it can be made into a semantic requirement: we would require of a model that [[kiss]] [[touch]]. Even though we cannot state our background fact as an axiom, it does yield rules of inference.

56 49/67 The logical system R for R: completeness Incorporating background information More abstractly, suppose we have a rule like r s (1) and we restrict attention to the models where [[r]] [[s]]. We get rules like (d, (c, r)) (d, (c, s)) (d, (c, r)) (d, (c, s)) (d, (c, r)) (d, (c, s)) (d, (c, r)) (d, (c, s)) We add these to the system R. Proposition The system R together with the rules of a sound and complete logic: Γ ϕ iff Γ = ϕ.

57 50/67 R R expression variables syntax unary atom p, q binary atom r set term c, d p (p, r) (p, r) p (p, r) (p, r) R sentence ϕ (p, c) (p, c) R sentence ϕ (p, c) (p, c) (p, c) (p, c)

58 51/67 R A stronger negative result on the larger language R Theorem There are no finite, purely syllogistic logical systems which are sound and complete for R. As we now know, there is such a system using RAA. Theorem There are no finite, sound and complete syllogistic logical systems for R, even allowing RAA. (But see our next lecture set for a rejoinder.)

59 52/67 R The Aristotle Boundary FOL Church-Turing FO 2 R adds full N-negation Aristotle S R relational syllogistic S

60 53/67 R Next: relative clauses FOL Church-Turing FO 2 RC adds full N-negation R Aristotle S R RC add relative clauses = relativized quantifiers S

61 54/67 R Inference with relative clauses What do you think about this one? All skunks are mammals All who fear all who respect all skunks fear all who respect all mammals

62 54/67 R Inference with relative clauses It follows, using an interesting antitonicity principle: All skunks are mammals All who respect all mammals respect all skunks

63 54/67 R Inference with relative clauses It follows, using an interesting antitonicity principle: All skunks are mammals All who respect all mammals respect all skunks All who fear all who respect all skunks fear all who respect all mammals

64 55/67 R RC and RC RC allows sentential subjects to be noun phrases containing subject relative clauses. who r all p who don t r all p who r some p who don t r any p expression syntax RC sentence (d +, c) (d +, c) RC sentence (d, c) (d, c) d + is a positive set term, and c is an arbitrary set term.

65 56/67 R The logical system RC (c +, c + ) (T) (c +, d) (c +, c + ) (I) (b +, c + ) (c +, d) (b +, d) (B) (b +, c + ) (c +, d) (b +, d) (D1) (b +, c + ) (b +, d) (c +, d) (D2) (p, q) ( (q, r), (p, r)) (J) (p, q) ( (p, r), (q, r)) (K) (p, q) ( (p, r), (q, r)) (L) (q, (p, r)) (p, p) (II) (p, p) (c +, (p, r)) (Z)

66 57/67 R Return of the skunks Iterated relative clauses (s, m) ( (m, r), (s, r)) ( ( (s, r), f ), ( (m, r), f ))

67 58/67 R(tr) and RC(tr) Next: comparative adjectives used for inferences involving phrases like bigger than some kitten FO 2 + trans FOL Church-Turing FO 2 RC (tr)!! R RC adds full N-negation Aristotle S R RC RC(tr) tr adds comparatives, requiring transitivity S

68 59/67 R(tr) and RC(tr) Comparative adjectives: R(tr) Every giraffe is taller than every gnu Some gnu is taller than every lion Some lion is taller than some zebra Every giraffe is taller than some zebra We extend R to a language R(tr) by taking a set A of comparative adjective phrases in the base. In the semantics, we would require that for a A, [[a]] must be a transitive relation (in every model M): if [[a]](x, y) and [[a]](y, z), then [[a]](x, z).

69 60/67 R(tr) and RC(tr) The logical system R(tr) for R(tr) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r)) (x, (y, r)) (y, (z, r)) (x, (z, r))

70 61/67 R(tr) and RC(tr) R(tr): an example Every giraffe is taller than every gnu Some gnu is taller than every lion Some lion is taller than some zebra Every giraffe is taller than some zebra (giraffe, (gnu, taller)) (gnu, (lion, taller)) (giraffe, (lion, taller)) (lion, (zebra, taller)) (giraffe, (zebra, taller))

71 62/67 R(tr) and RC(tr) A point on the completeness The proof turns out to be very similar to the completeness proof for the logical system for R. Indeed, we only have to check that when we work in the bigger system R(tr), the model that we built earlier is transitive. And luckily, this is true!

72 63/67 R(tr) and RC(tr) Irreflexivity and finiteness The additional requirement also results in the soundness of the following irreflexivity rule (p, (p, r)) (Irr) As weak as this looks, adding it gives a complete system. We also have a finiteness rule: (p, p) (p, (p, r)) (Fin) On top of irreflexivity and transitivity, this gives a complete system.

73 64/67 R(tr) and RC(tr) Comparative adjectives: RC(tr) Recall that RC has subject relative clauses. We again wish to interpret this on structures with transitive relations interpreting adjectives. In the logic, we add a few rules to the system RC for RC: (p, (q, r)) ( (p, r), (q, r)) (p, (q, r)) ( (p, r), (q, r)) (p, (q, r)) ( (p, r), (q, r)) (p, (q, r)) ( (p, r), (q, r)) This system derives R(tr).

74 65/67 R(tr) and RC(tr) Next: relational converses used for inferences relating bigger and smaller FOL FO 2 + trans Church-Turing RC (tr, opp) Aristotle FO 2 S R R RC (tr) RC RC(tr) RC RC(tr, opp) adds full N-negation adds relative clauses opp adds opposites of comparative adjectives S

75 66/67 R(tr) and RC(tr) Converses of transitive relations On top of all the other syllogistic systems we have seen (p, (q, t)) (q, (p, t 1 )) (p, (q, t)) (q, (p, t 1 )) (scope) (p, (q, r 1 )) ( (q, r), (p, r)) ( (p, r 1 ), (q, r)) (p, (q, r)) ( (p, r), (q, r 1 )) (p, (q, r 1 )) ( (p, r), (q, r 1 )) (q, (p, r 1 )) (p, (q, r)) ( (p, r 1 ), (n, r)) (p, (n, r)) ( ) (p, (q, r)) ( (p, r 1 ), (n, r)) (p, (n, r)) (scope): if some p is bigger than all q, then all q are smaller than some p or other. ( ): if every dog is bigger than some hedgehog, and everything smaller than some dog is bigger than some cat, then every dog is bigger than some cat.

76 67/67 R(tr) and RC(tr) Where we are We covered these in this lecture. FOL FO 2 + trans Church-Turing first-order logic FO 2 + R is trans RC (tr, opp) Peano-Frege Aristotle S FO 2 S S R R RC (tr) RC RC(tr) RC RC(tr, opp) 2 variable FO logic adds full N-negation RC(tr) + opposites RC + (transitive) comparative adjs R + relative clauses S + full N-negation R = relational syllogistic S adds p q S: all/some/no p are q

Natural Logic. Larry Moss, Indiana University. ASL North American Annual Meeting, March 19, 2010

Natural Logic. Larry Moss, Indiana University. ASL North American Annual Meeting, March 19, 2010 Natural Logic Larry Moss, Indiana University ASL North American Annual Meeting, March 19, 2010 This talk deals with new logical systems tuned to natural language The raison d être of logic is the study

More information

Natural Logic Welcome to the Course!

Natural Logic Welcome to the Course! 1/31 Natural Logic Welcome to the Course! Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/31 This course presents logical systems tuned to natural language The raison d être of logic

More information

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only 1/53 Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/53 An example that we ll see a few times Consider the

More information

Logics for Natural Language Inference (expanded version of lecture notes from a course at ESSLLI 2010) Lawrence S. Moss November 2010

Logics for Natural Language Inference (expanded version of lecture notes from a course at ESSLLI 2010) Lawrence S. Moss November 2010 Logics for Natural Language Inference (expanded version of lecture notes from a course at ESSLLI 2010) Lawrence S. Moss November 2010 Copyright c 2010 by Lawrence S. Moss. Contents Chapter 1. Introduction

More information

Natural Logic. Larry Moss, Indiana University. October 23, UC Berkeley Logic Seminar

Natural Logic. Larry Moss, Indiana University. October 23, UC Berkeley Logic Seminar Natural Logic Larry Moss, Indiana University UC Berkeley Logic Seminar October 23, 2015 This talk deals with new logical systems tuned to natural language The raison d être of logic is the study of inference

More information

Workshop on Inference from Text: Natural Logic

Workshop on Inference from Text: Natural Logic Workshop on Inference from Text: Natural Logic Larry Moss, Indiana University NASSLLI, June 21 22, 2010 Can we reason in language? Two views If we were to devise a logic of ordinary language for direct

More information

Natural Logic. Larry Moss, Indiana University EASLLC, /41

Natural Logic. Larry Moss, Indiana University EASLLC, /41 1/41 Natural Logic Larry Moss, Indiana University EASLLC, 2014 2/41 This course deals with the relation of logic and natural language What does semantics look like when we make inference the primary object

More information

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information ESSLLI 2007 19th European Summer School in Logic, Language and Information August 6-17, 2007 http://www.cs.tcd.ie/esslli2007 Trinity College Dublin Ireland COURSE READER ESSLLI is the Annual Summer School

More information

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37 1/37 Adding Some Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/37 What this chapter is about We started with the very small logic A of All x are y. And most recently we added verbs

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Contexts for Quantification

Contexts for Quantification Contexts for Quantification Valeria de Paiva Stanford April, 2011 Valeria de Paiva (Stanford) C4Q April, 2011 1 / 28 Natural logic: what we want Many thanks to Larry, Ulrik for slides! Program Show that

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-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 information

Gödel s Completeness Theorem

Gödel s Completeness Theorem A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

Truth-Functional Logic

Truth-Functional Logic Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence

More information

Syllogistic Logic with Complements

Syllogistic Logic with Complements Syllogistic Logic with Complements Lawrence S Moss Department of Mathematics Indiana University Bloomington, IN 47405 USA Abstract This paper continues the development of complete fragments of natural

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

Modal and temporal logic

Modal and temporal logic Modal and temporal logic N. Bezhanishvili I. Hodkinson C. Kupke Imperial College London 1 / 83 Overview Part II 1 Soundness and completeness. Canonical models. 3 lectures. 2 Finite model property. Filtrations.

More information

Inference in a Boolean Fragment

Inference in a Boolean Fragment UCLA Working Papers in Linguistics, Theories of Everything Volume 17, Article 31:261-273, 2012 Inference in a Boolean Fragment Lawrence S. Moss This paper is a contribution to natural logic, the study

More information

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

Syllogistic Logic and its Extensions

Syllogistic Logic and its Extensions 1/31 Syllogistic Logic and its Extensions Larry Moss, Indiana University NASSLLI 2014 2/31 Logic and Language: Traditional Syllogisms All men are mortal. Socrates is a man. Socrates is mortal. Some men

More information

arxiv: v1 [cs.lo] 4 Aug 2008

arxiv: v1 [cs.lo] 4 Aug 2008 Logics for the Relational Syllogistic arxiv:08080521v1 [cslo] 4 Aug 2008 Ian Pratt-Hartmann Abstract Lawrence S Moss The Aristotelian syllogistic cannot account for the validity of many inferences involving

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Gödel s Incompleteness Theorem. Overview. Computability and Logic Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

An Introduction to Modal Logic III

An Introduction to Modal Logic III An Introduction to Modal Logic III Soundness of Normal Modal Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, October 24 th 2013 Marco Cerami

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims Introduction INTRODUCTION TO LOGIC 2 Syntax and Semantics of Propositional Logic Volker Halbach In what follows I look at some formal languages that are much simpler than English and define validity of

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

Propositional logic (revision) & semantic entailment. p. 1/34

Propositional logic (revision) & semantic entailment. p. 1/34 Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)

More information

Logic: The Big Picture

Logic: The Big Picture Logic: The Big Picture A typical logic is described in terms of syntax: what are the legitimate formulas semantics: under what circumstances is a formula true proof theory/ axiomatization: rules for proving

More information

Propositional Logic Truth-functionality Definitions Soundness Completeness Inferences. Modal Logic. Daniel Bonevac.

Propositional Logic Truth-functionality Definitions Soundness Completeness Inferences. Modal Logic. Daniel Bonevac. January 22, 2013 Modal logic is, among other things, the logic of possibility and necessity. Its history goes back at least to Aristotle s discussion of modal syllogisms in the Prior Analytics. But modern

More information

Propositional Logic Language

Propositional 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 information

Introduction to Metalogic 1

Introduction to Metalogic 1 Philosophy 135 Spring 2012 Tony Martin Introduction to Metalogic 1 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: (i) sentence letters p 0, p 1, p 2,... (ii) connectives,

More information

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem Valentine Kabanets October 27, 2016 1 Gödel s Second Incompleteness Theorem 1.1 Consistency We say that a proof system P is consistent

More information

15414/614 Optional Lecture 1: Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic 15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,

More information

Introduction to Intuitionistic Logic

Introduction to Intuitionistic Logic Introduction to Intuitionistic Logic August 31, 2016 We deal exclusively with propositional intuitionistic logic. The language is defined as follows. φ := p φ ψ φ ψ φ ψ φ := φ and φ ψ := (φ ψ) (ψ φ). A

More information

Generalized Quantifiers Logical and Linguistic Aspects

Generalized Quantifiers Logical and Linguistic Aspects Generalized Quantifiers Logical and Linguistic Aspects Lecture 1: Formal Semantics and Generalized Quantifiers Dag Westerståhl University of Gothenburg SELLC 2010 Institute for Logic and Cognition, Sun

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Handout: Proof of the completeness theorem

Handout: Proof of the completeness theorem MATH 457 Introduction to Mathematical Logic Spring 2016 Dr. Jason Rute Handout: Proof of the completeness theorem Gödel s Compactness Theorem 1930. For a set Γ of wffs and a wff ϕ, we have the following.

More information

MAI0203 Lecture 7: Inference and Predicate Calculus

MAI0203 Lecture 7: Inference and Predicate Calculus MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture

More information

Lecture 7. Logic. Section1: Statement Logic.

Lecture 7. Logic. Section1: Statement Logic. Ling 726: Mathematical Linguistics, Logic, Section : Statement Logic V. Borschev and B. Partee, October 5, 26 p. Lecture 7. Logic. Section: Statement Logic.. Statement Logic..... Goals..... Syntax of Statement

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

More information

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Propositional Logic: Deductive Proof & Natural Deduction Part 1 Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of

More information

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Gödel s Incompleteness Theorem. Overview. Computability and Logic Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

1. Propositional Calculus

1. Propositional Calculus 1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:

More information

First Order Logic (1A) Young W. Lim 11/18/13

First Order Logic (1A) Young W. Lim 11/18/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

Introduction to Metalogic

Introduction to Metalogic Introduction to Metalogic Hans Halvorson September 21, 2016 Logical grammar Definition. A propositional signature Σ is a collection of items, which we call propositional constants. Sometimes these propositional

More information

The Lambek-Grishin calculus for unary connectives

The Lambek-Grishin calculus for unary connectives The Lambek-Grishin calculus for unary connectives Anna Chernilovskaya Utrecht Institute of Linguistics OTS, Utrecht University, the Netherlands anna.chernilovskaya@let.uu.nl Introduction In traditional

More information

CONTENTS. Appendix C: Gothic Alphabet 109

CONTENTS. Appendix C: Gothic Alphabet 109 Contents 1 Sentential Logic 1 1.1 Introduction............................ 1 1.2 Sentences of Sentential Logic................... 2 1.3 Truth Assignments........................ 7 1.4 Logical Consequence.......................

More information

The semantics of propositional logic

The semantics of propositional logic The semantics of propositional logic Readings: Sections 1.3 and 1.4 of Huth and Ryan. In this module, we will nail down the formal definition of a logical formula, and describe the semantics of propositional

More information

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos armandobcm@yahoo.com February 5, 2014 Abstract This note is for personal use. It

More information

NATURAL LOGIC 报告人 : 徐超哲学系逻辑学逻辑前沿问题讨论班 / 56

NATURAL LOGIC 报告人 : 徐超哲学系逻辑学逻辑前沿问题讨论班 / 56 NATURAL LOGIC 报告人 : 徐超哲学系逻辑学逻辑前沿问题讨论班 2017.5.2 1 / 56 Background Extended Syllogistic Inference Logics with individual variables, RCA (opp) Inference with Monotonicity and Polarity Conclusion & Summary

More information

1. Propositional Calculus

1. Propositional Calculus 1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Logic Background (1A) Young W. Lim 12/14/15

Logic Background (1A) Young W. Lim 12/14/15 Young W. Lim 12/14/15 Copyright (c) 2014-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any

More information

Logic: Propositional Logic (Part I)

Logic: 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 information

Propositional Logic Review

Propositional Logic Review Propositional Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane The task of describing a logical system comes in three parts: Grammar Describing what counts as a formula Semantics Defining

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction 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 information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

More information

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2 45 Kragujevac J. Math. 33 (2010) 45 62. AN EXTENSION OF THE PROBABILITY LOGIC LP P 2 Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2 1 University of Kragujevac, Faculty of Science,

More information

Gödel s Incompleteness Theorems

Gödel s Incompleteness Theorems Seminar Report Gödel s Incompleteness Theorems Ahmet Aspir Mark Nardi 28.02.2018 Supervisor: Dr. Georg Moser Abstract Gödel s incompleteness theorems are very fundamental for mathematics and computational

More information

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor Martin Henz and Aquinas Hobor October 14, 2010 Generated on Thursday 14 th October, 2010, 11:40 1 Review of Modal Logic 2 3 4 Motivation Syntax and Semantics Valid Formulas wrt Modalities Correspondence

More information

Modal logics: an introduction

Modal logics: an introduction Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

cse541 LOGIC FOR COMPUTER SCIENCE

cse541 LOGIC FOR COMPUTER SCIENCE cse541 LOGIC FOR COMPUTER SCIENCE Professor Anita Wasilewska Spring 2015 LECTURE 2 Chapter 2 Introduction to Classical Propositional Logic PART 1: Classical Propositional Model Assumptions PART 2: Syntax

More information

Completeness for FOL

Completeness for FOL Completeness for FOL Overview Adding Witnessing Constants The Henkin Theory The Elimination Theorem The Henkin Construction Lemma 12 This lemma assures us that our construction of M h works for the atomic

More information

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

Ibn Sina s explanation of reductio ad absurdum. Wilfrid Hodges Herons Brook, Sticklepath, Okehampton November 2011

Ibn Sina s explanation of reductio ad absurdum. Wilfrid Hodges Herons Brook, Sticklepath, Okehampton November 2011 1 Ibn Sina s explanation of reductio ad absurdum. Wilfrid Hodges Herons Brook, Sticklepath, Okehampton November 2011 http://wilfridhodges.co.uk 2 WESTERN LOGIC THE BIG NAMES Latin line through Boethius

More information

Axiomatisation of Hybrid Logic

Axiomatisation of Hybrid Logic Imperial College London Department of Computing Axiomatisation of Hybrid Logic by Louis Paternault Submitted in partial fulfilment of the requirements for the MSc Degree in Advanced Computing of Imperial

More information

SKETCHY NOTES FOR WEEKS 7 AND 8

SKETCHY NOTES FOR WEEKS 7 AND 8 SKETCHY NOTES FOR WEEKS 7 AND 8 We are now ready to start work on the proof of the Completeness Theorem for first order logic. Before we start a couple of remarks are in order (1) When we studied propositional

More information

Fuzzy Description Logics

Fuzzy Description Logics Fuzzy Description Logics 1. Introduction to Description Logics Rafael Peñaloza Rende, January 2016 Literature Description Logics Baader, Calvanese, McGuinness, Nardi, Patel-Schneider (eds.) The Description

More information

Overview of Today s Lecture

Overview of Today s Lecture Branden Fitelson Philosophy 4515 (Advanced Logic) Notes 1 Overview of Today s Lecture Administrative Stuff HW #1 grades and solutions have been posted Please make sure to work through the solutions HW

More information

Relations to first order logic

Relations to first order logic An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco

More information

Logic: Propositional Logic Truth Tables

Logic: Propositional Logic Truth Tables Logic: Propositional Logic Truth Tables 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 information

Chapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011

Chapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Chapter 2 An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Assertions In this chapter, we give a more detailed exposition of the assertions of separation logic: their meaning,

More information

To every formula scheme there corresponds a property of R. This relationship helps one to understand the logic being studied.

To every formula scheme there corresponds a property of R. This relationship helps one to understand the logic being studied. Modal Logic (2) There appeared to be a correspondence between the validity of Φ Φ and the property that the accessibility relation R is reflexive. The connection between them is that both relied on the

More information

Meta-logic derivation rules

Meta-logic derivation rules Meta-logic derivation rules Hans Halvorson February 19, 2013 Recall that the goal of this course is to learn how to prove things about (as opposed to by means of ) classical first-order logic. So, we will

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

CS 2800: Logic and Computation Fall 2010 (Lecture 13)

CS 2800: Logic and Computation Fall 2010 (Lecture 13) CS 2800: Logic and Computation Fall 2010 (Lecture 13) 13 October 2010 1 An Introduction to First-order Logic In Propositional(Boolean) Logic, we used large portions of mathematical language, namely those

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014 John Nachbar Washington University December 26, 2014 Logic and Proofs 1 1 Overview. These notes provide an informal introduction to some basic concepts in logic. For a careful exposition, see, for example,

More information

Formal (natural) deduction in propositional logic

Formal (natural) deduction in propositional logic Formal (natural) deduction in propositional logic Lila Kari University of Waterloo Formal (natural) deduction in propositional logic CS245, Logic and Computation 1 / 67 I know what you re thinking about,

More information

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010) http://math.sun.ac.za/amsc/sam Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics 2009-2010 Lecture notes in progress (27 March 2010) Contents 2009 Semester I: Elements 5 1. Cartesian product

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

7. 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 information

Propositional Logic: Review

Propositional Logic: Review Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or

More information

Deductive Systems. Lecture - 3

Deductive Systems. Lecture - 3 Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth

More information

Filtrations and Basic Proof Theory Notes for Lecture 5

Filtrations and Basic Proof Theory Notes for Lecture 5 Filtrations and Basic Proof Theory Notes for Lecture 5 Eric Pacuit March 13, 2012 1 Filtration Let M = W, R, V be a Kripke model. Suppose that Σ is a set of formulas closed under subformulas. We write

More information

Language of Propositional Logic

Language of Propositional Logic Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

Madhavan Mukund Chennai Mathematical Institute

Madhavan Mukund Chennai Mathematical Institute AN INTRODUCTION TO LOGIC Madhavan Mukund Chennai Mathematical Institute E-mail: madhavan@cmiacin Abstract ese are lecture notes for an introductory course on logic aimed at graduate students in Computer

More information

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54

Propositional Logic. CS 3234: Logic and Formal Systems. Martin Henz and Aquinas Hobor. August 26, Generated on Tuesday 31 August, 2010, 16:54 Propositional Logic CS 3234: Logic and Formal Systems Martin Henz and Aquinas Hobor August 26, 2010 Generated on Tuesday 31 August, 2010, 16:54 1 Motivation In traditional logic, terms represent sets,

More information

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January )

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January ) Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January 23 30 2017) John Lasseter Revised February 14, 2017 The following notes are a record of the class sessions we ve devoted to the

More information

Logic I - Session 22. Meta-theory for predicate logic

Logic I - Session 22. Meta-theory for predicate logic Logic I - Session 22 Meta-theory for predicate logic 1 The course so far Syntax and semantics of SL English / SL translations TT tests for semantic properties of SL sentences Derivations in SD Meta-theory:

More information

On Axiomatic Rejection for the Description Logic ALC

On Axiomatic Rejection for the Description Logic ALC On Axiomatic Rejection for the Description Logic ALC Hans Tompits Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Joint work with Gerald Berger Context The

More information

Inference in Propositional Logic

Inference in Propositional Logic Inference in Propositional Logic Deepak Kumar November 2017 Propositional Logic A language for symbolic reasoning Proposition a statement that is either True or False. E.g. Bryn Mawr College is located

More information