Classical Propositional Logic

Size: px
Start display at page:

Download "Classical Propositional Logic"

Transcription

1 The Language of A Henkin-style Proof for Natural Deduction January 16, 2013

2 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information, we can sensibly ask, Is that information consistent? What follows from it? What additional information would be consistent with it? What information would imply it? We can also ask whether individual sentences are truths of logic, contradictions, or contingent statements that give real information about the world.

3 The Language of A Henkin-style Proof for Natural Deduction Implication A logic is a theory of inference. The most fundamental concept of logic is implication or entailment, symbolized by =.

4 The Language of A Henkin-style Proof for Natural Deduction Notation We will use capital Italic letters (generally from the beginning of the alphabet) to stand for sentences or formulas or a formalized language. I ll generally use capital letters from the end of the alphabet for sets of sentences or formulas. So, we can think of a logic as a theory specifying when X = A. Generally we ll restrict ourselves to finite sets unless otherwise indicated.

5 The Language of A Henkin-style Proof for Natural Deduction Syntax and Semantics Logics generally characterize implication in two ways. They formalize a language that reveals relevant aspects of structure, allowing the identification of valid patterns of reasoning, and specify a semantics, or theory of meaning, for that language.

6 The Language of A Henkin-style Proof for Natural Deduction Semantics The semantics usually, but not always, takes the form of a theory of truth. It characterizes implication, specifying when X = A. But it does not always characterize it in a very useful form. We want to be able to test arguments for validity; we want to be able to construct arguments that are valid. We want, in other words, to be able to identify valid inferences.

7 The Language of A Henkin-style Proof for Natural Deduction Logical Systems Logics thus also specify valid patterns of inference or provide tests of valid inference that depend on form. They might be axiomatic, specifying axioms and rules of inference that allow us to move from axioms to theorems. They might be natural deduction systems, which forgo axioms and consist entirely of rules of inference. They might be tableaux systems, that test for validity using trees. Or they might take other forms. If the inference from X to A passes the test (or is possible given the axioms and rules, etc.), we can write X A.

8 The Language of A Henkin-style Proof for Natural Deduction Implication Implication itself is a semantic notion;, provability, is a syntactic or structural notion. The goal of logic is typically to find a syntactic method that matches the semantics. This is not always possible, as we shall see.

9 The Language of A Henkin-style Proof for Natural Deduction Vocabulary The language of propositional logic is remarkably simple. Its vocabulary consists of propositional parameters (also called sentence letters) p 0, p 1,..., connectives,,,,, and parentheses ( and ).

10 The Language of A Henkin-style Proof for Natural Deduction Syntax The syntax: The set of formulas is the smallest generated by the inductive clauses: Propositional parameters are formulas; If A and B are formulas, so are A, (A B), (A B), (A B), and (A B). The conditional is often written ; the biconditional, as.

11 The Language of A Henkin-style Proof for Natural Deduction Semantics A model, interpretation, or assignment v is a function from propositional parameters to truth values in classical logic, {0, 1}, where 0 represents falsehood and 1 represents truth.

12 The Language of A Henkin-style Proof for Natural Deduction Truth Clauses We can extend v to a function from formulas to truth values by way of an inductive truth definition: v( A) = 1 v(a) = 0 (and = 0 otherwise; hereafter I omit this) v(a B) = 1 v(a) = v(b) = 1 v(a B) = 1 v(a) = 1 or v(b) = 1 v(a B) = 1 v(a) = 0 or v(b) = 1 v(a B) = 1 v(a) = v(b)

13 The Language of A Henkin-style Proof for Natural Deduction Implication A set X of formulas implies a formula A (X = A) iff every assignment making every member of X true also makes A true. A is logically true or valid iff = A.

14 The Language of A Henkin-style Proof for Natural Deduction Adequacy How well does classical propositional logic represent items in natural language? Negation is meant to mirror not ; conjunction, and ; disjunction, or ; and the conditional, if. Do they succeed?

15 The Language of A Henkin-style Proof for Natural Deduction Bivalence The principle of bivalence states that each sentence is either true or false. Classical logic also assumes that no sentence is both true and false. Many-valued and paraconsistent logics reject those assumptions. For now, assume that every sentence is either true or false, and not both.

16 The Language of A Henkin-style Proof for Natural Deduction Adequacy Negation, conjunction, and disjunction are reasonably accurate representations of the meanings of natural language connectives. Some people think that there is a tensed aspect of conjunction; compare John fell down and got up to John got up and fell down, or Joan got married and got pregnant to Joan got pregnant and got married. But this effect occurs with or without and ; it seems to be a function of narrative discourse, not of conjunction.

17 The Language of A Henkin-style Proof for Natural Deduction Adequacy Some also think that disjunction is ambiguous between inclusive (p or q or both) and exclusive (p or q but not both) senses. But that s a hard case to make. Many putative examples of exclusive disjunction involve permission, which is notoriously tricky to analyze. Others rely on background information. ( The car was either a Dodge or a Plymouth. Given the background information that no car is both, inclusive and exclusive senses are equivalent.)

18 The Language of A Henkin-style Proof for Natural Deduction The Conditional The chief problem with classical propositional logic, as a theory of natural language meaning, lies with the conditional. The material conditional is not a very accurate representation of the meaning of if in English. Much of this course, in fact, will be devoted to finding better representations. The search for a logic of the conditional adequate to natural language conditionals is a, and perhaps the, main motivation for developing nonclassical logics.

19 The Language of A Henkin-style Proof for Natural Deduction History Tableau or tree-based systems for evaluating arguments stem from Gerhard Gentzen s 1936 dissertation (Investigations into Logical Deduction). There are many differences, however, between Gentzen s method and the increasingly popular tableaux technique. First, he thought of the method as syntactic. Second, and more importantly, he made explicit use of the deduction symbol; the basic unit in a Gentzen sequent calculus is a sequent (or, in Belnap s Abelard-inspired terminology, consecution) of the form A 1,..., A n B.

20 The Language of A Henkin-style Proof for Natural Deduction History In 1958, E. W. Beth and K. J. J. Hintikka independently realized that a simplified version of Gentzen s method reflected semantic truth clauses very closely and yielded an intuitively and computationally appealing way to evaluate arguments for validity. Tableaux make metatheoretic proofs easy, because the rules for each connective so closely match its semantics.

21 The Language of A Henkin-style Proof for Natural Deduction Strategy The general strategy underlying tableaux rests on the fact that X = A iff X, A (which abbreviates X { A}) is contradictory. If X = A, every model of X is a model of A. But then no models of X are models of A, so, X, A is unsatisfiable, that is, contradictory. Tableaux in effect formalize W. V. O. Quine s Main Method (Methods of Logic, 1950): to find out whether X implies A, assume X and A, and try to deduce a contradiction. To assess whether X = A, we construct a tableau with X, A as its initial list.

22 The Language of A Henkin-style Proof for Natural Deduction Tableau Rules Define the rules as in Priest:

23 The Language of A Henkin-style Proof for Natural Deduction Negation A A

24 The Language of A Henkin-style Proof for Natural Deduction Conjunction A B A B

25 The Language of A Henkin-style Proof for Natural Deduction Negated Conjunction (A B) A B

26 The Language of A Henkin-style Proof for Natural Deduction Disjunction A B A B

27 The Language of A Henkin-style Proof for Natural Deduction Negated Disjunction (A B) A B

28 The Language of A Henkin-style Proof for Natural Deduction Conditional A B A B

29 The Language of A Henkin-style Proof for Natural Deduction Negated Conditional (A B) A B

30 The Language of A Henkin-style Proof for Natural Deduction Biconditional A B A B A B

31 The Language of A Henkin-style Proof for Natural Deduction Negated Biconditional (A B) A B B A

32 The Language of A Henkin-style Proof for Natural Deduction Closure A tableau branch is closed iff some formula and its negation both appear on it. A tableau is closed iff all its branches are. A tableau is completed iff every rule that can be applied on it has been applied. Throughout, assume that X is finite. Say that X A iff there is a completed, closed tableau with X, A as initial list.

33 The Language of A Henkin-style Proof for Natural Deduction and We can now ask whether our rules are sound, that is, whether X A X = A, and also whether we have enough rules, that is, whether X = A X A. These are relatively new questions. Throughout the history of logic, soundness was an intuitive notion, and asked rule-by-rule; the assumption seems to have been that a logical system is sound if and only if all its rules are sound. As we will see, this is usually, but not always, true; Quine s system for predicate logic is sound, but not rule-by-rule.

34 The Language of A Henkin-style Proof for Natural Deduction Truth Preservation The intuitive idea behind the soundness theorem is truth-preservation. A valid inference is truth-preserving: If the premises are true, the conclusion is true. If our logical system consists in a set of rules, we might show that each rule is truth-preserving, and then use induction to show that any proof using those rules yields valid conclusions.

35 The Language of A Henkin-style Proof for Natural Deduction Fidelity A tableau system requires a variation on this strategy. We need to show that closed tableaux establish validity; if something can be proved from a set of premises by way of trees, it follows from them. We define the fidelity of an assignment to a branch, and then show that the rules are fidelity-preserving.

36 The Language of A Henkin-style Proof for Natural Deduction Fidelity Say that an assignment v is faithful to b iff v(a) = 1 for every formula A on b. An assignment is faithful to a branch if it makes every formula on the branch true.

37 The Language of A Henkin-style Proof for Natural Deduction Theorem The Theorem: X A X = A.

38 The Language of A Henkin-style Proof for Natural Deduction : Proof Proof: We ll prove the contrapositive: If X =/ A, then X A. Assume that X =/ A. Then there is an assignment v such that v(b) = 1 for all B X but v(a) = 0, so v( A) = 1. We show that X A. Consider a completed tableau with the initial list X, A. Notice that v is faithful to that initial list. It makes everything in X true and it also makes A true.

39 The Language of A Henkin-style Proof for Natural Deduction Lemma Lemma: Rules preserve fidelity. If v is faithful to b, and a tableau rule is applied to b, v is faithful to at least one resulting branch.

40 The Language of A Henkin-style Proof for Natural Deduction Proof of Lemma Proof: Assume that v is faithful to b, to which a tableau rule is applied. There are as many cases as rules. Here are two representative ones.

41 The Language of A Henkin-style Proof for Natural Deduction Conjunction Case Case 1: The rule for A B is applied. Then A and B both appear on the branch. Since v(a B) = 1, by the truth definition v(a) = v(b) = 1. So, v is faithful to the resulting branch.

42 The Language of A Henkin-style Proof for Natural Deduction Negated Conjunction Case Case 2: The rule for (A B) is applied. Then two branches result, one with A, and one with B. By the truth definition, since v( (A B)) = 1, v( A) = 1 or v( B) = 1. Thus, v is faithful to at least one of the resulting branches.

43 The Language of A Henkin-style Proof for Natural Deduction Proof by Induction With lemma in hand, we can now proceed to show that v is faithful to an open branch on the completed tableau by induction on the number of rules applied to complete the tableau.

44 The Language of A Henkin-style Proof for Natural Deduction Base Case Base: No rules need to be applied. Then the initial list is itself a completed tableau, and v is faithful to it.

45 The Language of A Henkin-style Proof for Natural Deduction Inductive Hypothesis Inductive step: Assume that v is faithful to an open branch up to the nth rule application. By the lemma, v is faithful to at least one resulting branch.

46 The Language of A Henkin-style Proof for Natural Deduction Inductive Step So, by induction, v is faithful to a branch on the completed tableau. If it were closed, no assignment could be faithful to it, since no assignment makes both a formula and its negation true. So, the branch is open, and thus X A.

47 The Language of A Henkin-style Proof for Natural Deduction A logical system is (strongly) complete if and only if every valid inference can be proved valid within the system. That is, a system is complete iff, whenever X = A, X A. (It is weakly complete if and only if every logical truth is provable within it; if, that is, = A only if A.) Surprisingly, no one seems to have asked the question of completeness until David Hilbert and Wilhelm Ackermann raised it in their Principles of Theoretical Logic (1928) and Kurt Gödel, in his 1930 dissertation (The of the Axioms of the Functional Calculus of Logic), answered it.

48 The Language of A Henkin-style Proof for Natural Deduction Strategy The central strategy of the completeness theorem is to show that valid inferences can always be proved valid by showing the contrapositive. Assume that an inference cannot be shown to be valid. In a tableau system, this means there is at least one open branch of any tableau constructed to evaluate the inference. Derive, from this open branch, a set of formulas here, the set of literals, that is, atomic formulas and their negations that appear on the branch.

49 The Language of A Henkin-style Proof for Natural Deduction Strategy Construct, from this set of formulas, a semantic interpretation here, the interpretation assigning p truth if it appears on the branch and falsehood if p appears on the branch. Show that the interpretation is a countermodel of the original inference, thus concluding that it was not valid.

50 The Language of A Henkin-style Proof for Natural Deduction Strategy Putting this in a diagram: Open branch Set of literals Induced assignment Countermodel

51 The Language of A Henkin-style Proof for Natural Deduction Open Branches We can use open branches to build models and countermodels. An open branch of a tableau not only tells us that there is an assignment making the initial list true, but also specifies it. Say that an assignment v is induced by an open branch b iff, for every propositional parameter p on b, v(p) = 1, and for every p on b, v(p) = 0. Induced assignments thus respect the values implicitly assigned to propositional parameters on the branch.

52 The Language of A Henkin-style Proof for Natural Deduction Induced Assignments Induced assignments, that is, make all propositional parameters and their negations on a branch true; faithful assignments make every formula on it true. All faithful assignments are induced, by definition, but whether all induced assignments are faithful depends on the tableau rules. Indeed, showing that all induced assignments are faithful is the key lemma in the completeness theorem. It accomplishes steps (3) and (4), showing that the assignment induced by the branch is a countermodel of the original inference.

53 The Language of A Henkin-style Proof for Natural Deduction Theorem The Theorem: X = A X A.

54 The Language of A Henkin-style Proof for Natural Deduction Proof of Proof: We prove the contrapositive. Suppose that X A. Then there is no completed closed tableau with X, A as initial list. So, every completed tableau with X, A as initial list has at least one open branch b.

55 The Language of A Henkin-style Proof for Natural Deduction Induce an Assignment Any completed open branch b, moreover, induces an assignment. For any propositional parameter p, let v(p) = 1 if p is on b and v(p) = 0 if p is on b. Assign any other parameters any value you like.

56 The Language of A Henkin-style Proof for Natural Deduction Lemma Lemma: All induced assignments are faithful. If v is induced by b, v is faithful to b. That is, if b, a completed open branch of a tableau, induces v, then: if A is on b, v(a) = 1; if A is on b, v(a) = 0.

57 The Language of A Henkin-style Proof for Natural Deduction Proof by Induction Let b, a completed open branch, induce v. We show that for every A on b, v(a) = 1, and for every A on b, v(a) = 0, by induction on the complexity of A, that is, the number of connectives in A.

58 The Language of A Henkin-style Proof for Natural Deduction Base Case Base: Say A is a propositional parameter on b. Then v(a) = 1, since b induces v. Say A on b is p for some propositional parameter p. Then v(a) = 0, since b induces v.

59 The Language of A Henkin-style Proof for Natural Deduction Inductive Step Inductive step: Assume that v(d) = 1 for every D on b with fewer than n connectives and that v(d) = 0 for all D on b with fewer than n connectives. Assume that A has n connectives. There are nine cases to consider:

60 The Language of A Henkin-style Proof for Natural Deduction Negation Case 1: A = B is on b. Since the result holds for B, v(b) = 0, so, by the truth definition, v(a) = 1.

61 The Language of A Henkin-style Proof for Natural Deduction Conjunction Case 2: A = (B C) is on b. By the tableau rules, if A, that is, B C is on b, then so are B and C. But they contain fewer connectives than A, so, by inductive hypothesis, v(b) = v(c) = 1. By the truth definition, therefore, v(a) = 1.

62 The Language of A Henkin-style Proof for Natural Deduction Negated Conjunction Case 3: A = (B C) is on b. By the tableau rules, if A, that is, (B C) is on b, then either B or C is on b. Both B and C have fewer connectives than A, so, by the inductive hypothesis, v(b) = 0 or v(c) = 0. By the truth definition, then, v(b C) = 0, and v (B C) = 1.

63 The Language of A Henkin-style Proof for Natural Deduction Disjunction, Conditional, Biconditional The other six cases are similar.

64 The Language of A Henkin-style Proof for Natural Deduction Completing the Proof We have shown that, if X A, every tableaux with the initial list X, A has an open branch; that such a branch induces an assignment v; and that every induced assignment is faithful to the branch. Since open branch b has the initial list X, A, v, being faithful to it, makes every member of X true, but A false. So, X does not imply A.

65 The Language of A Henkin-style Proof for Natural Deduction Natural Deduction Systems Leon Henkin developed his method in 1948 ( The of the First-Order Functional Calculus ) to prove completeness without immersion in the apparatus of recursion theory. It will be convenient to limit our language to negation and conjunction. We will not begin with a specific logical system in mind, but construct what we need for a complete system from the proof.

66 The Language of A Henkin-style Proof for Natural Deduction Proofs A proof system consists of a (possibly empty) set of axioms and a nonempty set of rules of inference. A proof is a finite sequence of formulas each of which is an assumption, an axiom, or follows from previous lines by a rule of inference. There is a proof of A from X (X A) iff there is a proof including as assumptions formulas in X and terminating in A.

67 The Language of A Henkin-style Proof for Natural Deduction Strategy The general idea of the completeness proof is similar to tableau completeness proofs. The completeness theorem says that X = A X A. So, assume that X A, and construct a model of X, A.

68 The Language of A Henkin-style Proof for Natural Deduction Strategy Let s assume, then, that X A. It follows that X, A are consistent; there is no B such that X, A = B, B. Our strategy is to construct a model of X, A by first extending X, A to a maximally consistent set.

69 The Language of A Henkin-style Proof for Natural Deduction Lindenbaum s Lemma Lindenbaum s Lemma: Every consistent set of formulas extends to a maximal consistent set.

70 The Language of A Henkin-style Proof for Natural Deduction Proof of Lindenbaum s Lemma Proof. Let Y be a consistent set of formulas. Our language is countable, so we can enumerate the formulas of the language: A 1,..., A n,... We construct a series of sets: Y 0 = Y Y n+1 = Y n {A n }, iff that is consistent; if not, Y n+1 = Y n { A n } Y ω = Y n

71 The Language of A Henkin-style Proof for Natural Deduction Maximality Obviously, Y ω Y. Y ω is also maximal: for every formula A, A Y ω or A Y ω. The argument: A appears at some stage in our enumeration of the formulas of the language. Say that A is formula n. Either A is consistent with Y n or not. If so, A Y n+1 Y ω. If not, A Y n+1 Y ω.

72 The Language of A Henkin-style Proof for Natural Deduction Consistency Moreover, Y ω is consistent. The argument: Suppose not. Then Y ω B, B for some B. Since proofs are finite, and Y is consistent, there must be some first finite stage n + 1 at which Y n+1 B, B. Y n+1 = Y n {A n }, iff that is consistent; since it is inconsistent, Y n+1 = Y n { A n }. So, Y n { A n } B, B. But then Y n A n, provided that our deduction system has rules of indirect proof and double negation. Since Y n A n B, B, however, Y n A, so Y n is inconsistent, contradicting the assumption that Y n+1 is the first finite stage at which an inconsistency appears.

73 The Language of A Henkin-style Proof for Natural Deduction Closure Also, Y ω is closed under proof; Y ω A A Y ω. Let Y ω A but A Y ω. By maximality, A Y ω, so Y ω A, A; Y ω is inconsistent. But we have already demonstrated its consistency.

74 The Language of A Henkin-style Proof for Natural Deduction Countermodel Since, by the Lemma, every consistent set extends to a maximal consistent set, X, A does so. Call that set X ω. We construct a model v from this set as follows: v(p) = 1 p X ω.

75 The Language of A Henkin-style Proof for Natural Deduction Countermodel Claim: v = A A X ω.

76 The Language of A Henkin-style Proof for Natural Deduction Base Case Proof: By induction on the complexity of A. For propositional parameters, it is trivial. Assume that the claim holds for all formulas less complex than A.

77 The Language of A Henkin-style Proof for Natural Deduction Negation Case 1: A = B. v = A v = B v B. By inductive hypothesis, that is true iff B X ω. Since that set is maximal, that is true iff B X ω.

78 The Language of A Henkin-style Proof for Natural Deduction Conjunction Case 2: A = (B C). v = B C v = B and v = C. By inductive hypothesis, that is true iff B, C X ω. So, that is true iff B C X ω, provided that our deduction system has rules corresponding to conjunction introduction and exploitation.

79 The Language of A Henkin-style Proof for Natural Deduction We have now shown that we can construct a model making all of X true but A false, provided that we have rules of indirect proof, double negation, conjunction introduction, and conjunction exploitation. So, X A.

80 The Language of A Henkin-style Proof for Natural Deduction Compactness As a quick corollary to the completeness theorem, we obtain: Compactness: X = A there is a finite X 0 X such that X 0 = A. In an alternate form, a set is satisfiable iff every finite subset of it is satisfiable.

81 The Language of A Henkin-style Proof for Natural Deduction There is a sense in which completeness is a limiting result. Syntactic methods, such as tableaux and proof systems, have limited complexity. Semantic characterizations of entailment can easily have greater complexity. A completeness result thus shows that the syntactic system is strong enough a positive result but also, correspondingly, that the semantic system is weak enough to be captured by a set of rules.

82 The Language of A Henkin-style Proof for Natural Deduction Effective Procedures Say that a method for answering a question determining whether an object has a property, or whether an object belongs to a set is effective iff it is mechanical and infallible. It is mechanical in the sense that it is entirely rule-governed; it is algorithmic. No creativity is required. It is infallible in the sense that it always gives the correct yes or no answer after a finite time.

83 The Language of A Henkin-style Proof for Natural Deduction Decidability A property (or set) is decidable iff there is an effective method (called a decision procedure) for determining whether an object has that property (or belongs to that set). Examples: validity in propositional logic; validity in first-order logic with only monadic predicates; quantifier-free arithmetic.

84 The Language of A Henkin-style Proof for Natural Deduction Decidability Tableaux constitute a decision procedure for classical propositional logic. A tree always has finitely many branches, and each branch is finite. The tableau terminates after finitely many steps. And then it either closes or yields a model of the formulas on the trunk. If the tree is testing the validity of a formula or argument form, that model is a countermodel of the formula or argument form. We have thus shown that classical propositional logic is decidable.

85 The Language of A Henkin-style Proof for Natural Deduction Semi-decidability Sometimes, a method is only half infallible it always gives a correct positive answer after a finite time, say, but may run on infinitely if the answer is negative. Such a method is positively semi-decidable. A method that always gives a correct negative answer after a finite time, but may run on infinitely if the answer is positive, is negatively semi-decidable.

86 The Language of A Henkin-style Proof for Natural Deduction Enumerability A property is (effectively) enumerable iff there is an effective method of generating or listing all and only its instances. An enumerable set is the range (or the domain) of a decidable relation. Any finite set is enumerable. But there are also infinite enumerable sets. Any decidable set, for example, is enumerable. Examples of enumerable properties that are not decidable: validity in full first-order logic. (Church proved first-order logic to be undecidable in 1936.)

87 The Language of A Henkin-style Proof for Natural Deduction Enumerability and Semi-decidability An enumerable property is positively semi-decidable: take the method to be waiting for the object to emerge on the list. If it is an instance, it will be on the list at some finite stage. Conversely, any positively semi-decidable property is enumerable: test objects one by one, and add to the list those for which the method yields a yes answer.

88 The Language of A Henkin-style Proof for Natural Deduction Craig s Little Theorem Craig s Little Theorem: If P and P are both enumerable, then both are decidable. Start listing instances of P and of P. Any given object must appear on one list or the other (assuming bivalence) after a finite time.

89 The Language of A Henkin-style Proof for Natural Deduction Axiomatizability A theory is a set of sentences closed under logical consequence. Let Cn(X) = {A : X = A}. For any theory T, T = Cn(T). T is finitely axiomatizable iff there is a finite X such that T = Cn(X), and axiomatizable iff there is a decidable X such that T = Cn(X).

90 The Language of A Henkin-style Proof for Natural Deduction Axiomatizability A first-order theory is axiomatizable iff it is enumerable. We want sets of axioms to be decidable; we want to be able to determine effectively whether or not something is an axiom. Similarly, we want proofs to be decidable; we want an effective method for determining whether something is a proof. If a theory is axiomatizable, then the set of its theorems is enumerable, for it is the range of a decidable relation (that of proof) on a decidable set (of axioms).

91 The Language of A Henkin-style Proof for Natural Deduction Partial Enumerability Say that a property is partially enumerable iff it has an infinite enumerable subset. Gödel s incompleteness theorem (1931) states that truth in arithmetic is only partially enumerable; arithmetic is not axiomatizable. But it is partially axiomatizable; that is, there are decidable sets of axioms that are true in arithmetic and whose consequences are all true in arithmetic. But there are truths of arithmetic that are not consequences of them.

92 The Language of A Henkin-style Proof for Natural Deduction Partial Enumerability The general idea of Gödel s proof is to assign symbols, formulas, sequences of formulas, and thus proofs code numbers in a systematic way, and then show that there are arithmetical formulas that represent a sequence being a proof of a formula, a formula s bring provable, etc. It is possible to show that there is an arithmetical predicate Pr such that Pr[A] if and only if A is provable in Peano arithmetic (where [A] is the code number of A). That is, PA Pr[A] if and only if PA A.

93 The Language of A Henkin-style Proof for Natural Deduction Partial Enumerability But then it is possible to construct a sentence G such that PA G Pr[G] that says, in other words, that it is not provable. If G, I am not provable, is true, it is not provable, and there is a true sentence of arithmetic not provable from the axioms. If it is false, then it is provable, and the axioms and rules are unsound, allowing us to prove something false.

94 The Language of A Henkin-style Proof for Natural Deduction Immunity A property is immune iff it is infinite but has no infinite enumerable subsets. Such a property is not even partially enumerable. Any axiom or axiom set would have exceptions; it would have consequences that are not instances of the property. Example: the set of ethical truths, from an intuitionist point of view; the set of truths about God, in Aquinas.

95 The Language of A Henkin-style Proof for Natural Deduction Cardinality Consider the set of natural numbers. It is countable, but its power set the set of all subsets of the set of natural numbers is uncountable. Countably many of those subsets are decidable; countably many others are enumerable but not decidable. Uncountably many are partially enumerable. And uncountably many are immune.

Chapter 11: Automated Proof Systems

Chapter 11: Automated Proof Systems Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are

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

On some Metatheorems about FOL

On some Metatheorems about FOL On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

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

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

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. First order logic. Alexander Clark. Autumn 2014

Propositional logic. First order logic. Alexander Clark. Autumn 2014 Propositional logic First order logic Alexander Clark Autumn 2014 Formal Logic Logical arguments are valid because of their form. Formal languages are devised to express exactly that relevant form and

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them: Completeness in the Monadic Predicate Calculus We have a system of eight rules of proof. Let's list them: PI At any stage of a derivation, you may write down a sentence φ with {φ} as its premiss set. TC

More information

Informal Statement Calculus

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

First-Degree Entailment

First-Degree Entailment March 5, 2013 Relevance Logics Relevance logics are non-classical logics that try to avoid the paradoxes of material and strict implication: p (q p) p (p q) (p q) (q r) (p p) q p (q q) p (q q) Counterintuitive?

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

Propositional and Predicate Logic - V

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

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008 Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency

More information

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

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

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

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning

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

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Nonclassical logics (Nichtklassische Logiken)

Nonclassical logics (Nichtklassische Logiken) Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter

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

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

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

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

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

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

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

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

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

The Logic of Proofs, Semantically

The Logic of Proofs, Semantically The Logic of Proofs, Semantically Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: fitting@lehman.cuny.edu web page:

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

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

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

KE/Tableaux. What is it for?

KE/Tableaux. What is it for? CS3UR: utomated Reasoning 2002 The term Tableaux refers to a family of deduction methods for different logics. We start by introducing one of them: non-free-variable KE for classical FOL What is it for?

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

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

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

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

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

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

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

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

The Syntax of First-Order Logic. Marc Hoyois

The Syntax of First-Order Logic. Marc Hoyois The Syntax of First-Order Logic Marc Hoyois Table of Contents Introduction 3 I First-Order Theories 5 1 Formal systems............................................. 5 2 First-order languages and theories..................................

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

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

Syntax Semantics Tableau Completeness Free Logic The Adequacy of First-Order Logic. Predicate Logic. Daniel Bonevac.

Syntax Semantics Tableau Completeness Free Logic The Adequacy of First-Order Logic. Predicate Logic. Daniel Bonevac. March 18, 2013 Aristotle s theory of syllogisms, the first real logical theory, took predicates expressions that are not true or false in themselves, but true or false of objects as its basic units of

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

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University Formal Epistemology: Lecture Notes Horacio Arló-Costa Carnegie Mellon University hcosta@andrew.cmu.edu Logical preliminaries Let L 0 be a language containing a complete set of Boolean connectives, including

More information

Advanced Topics in LP and FP

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

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic Propositional logic Logical connectives Rules for wffs Truth tables for the connectives Using Truth Tables to evaluate

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

CS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why?

CS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why? CS 486: Applied Logic Lecture 7, February 11, 2003 7 Compactness 7.1 Compactness why? So far, we have applied the tableau method to propositional formulas and proved that this method is sufficient and

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

S4LP and Local Realizability

S4LP and Local Realizability S4LP and Local Realizability Melvin Fitting Lehman College CUNY 250 Bedford Park Boulevard West Bronx, NY 10548, USA melvin.fitting@lehman.cuny.edu Abstract. The logic S4LP combines the modal logic S4

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

Propositional Calculus - Deductive Systems

Propositional Calculus - Deductive Systems Propositional Calculus - Deductive Systems Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Deductive proofs (1/3) Suppose we want to know

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

17.1 Correctness of First-Order Tableaux

17.1 Correctness of First-Order Tableaux Applied Logic Lecture 17: Correctness and Completeness of First-Order Tableaux CS 4860 Spring 2009 Tuesday, March 24, 2009 Now that we have introduced a proof calculus for first-order logic we have to

More information

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS BEN CHAIKEN Abstract. This paper will discuss the completeness and incompleteness theorems of Kurt Gödel. These theorems have a profound impact on the philosophical

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

Propositional Logic. Spring Propositional Logic Spring / 32

Propositional Logic. Spring Propositional Logic Spring / 32 Propositional Logic Spring 2016 Propositional Logic Spring 2016 1 / 32 Introduction Learning Outcomes for this Presentation Learning Outcomes... At the conclusion of this session, we will Define the elements

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

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

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

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

Propositional and Predicate Logic - IV

Propositional and Predicate Logic - IV Propositional and Predicate Logic - IV Petr Gregor KTIML MFF UK ZS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - IV ZS 2015/2016 1 / 19 Tableau method (from the previous lecture)

More information

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

02 Propositional Logic

02 Propositional Logic SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or

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

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

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Deduction by Daniel Bonevac. Chapter 3 Truth Trees Deduction by Daniel Bonevac Chapter 3 Truth Trees Truth trees Truth trees provide an alternate decision procedure for assessing validity, logical equivalence, satisfiability and other logical properties

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

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically

More information

3 Propositional Logic

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

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

Propositional Logic: Gentzen System, G

Propositional Logic: Gentzen System, G CS402, Spring 2017 Quiz on Thursday, 6th April: 15 minutes, two questions. Sequent Calculus in G In Natural Deduction, each line in the proof consists of exactly one proposition. That is, A 1, A 2,...,

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

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem Michael Beeson The hypotheses needed to prove incompleteness The question immediate arises whether the incompleteness

More information

TR : Tableaux for the Logic of Proofs

TR : Tableaux for the Logic of Proofs City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2004 TR-2004001: Tableaux for the Logic of Proofs Bryan Renne Follow this and additional works

More information

An Intuitively Complete Analysis of Gödel s Incompleteness

An Intuitively Complete Analysis of Gödel s Incompleteness An Intuitively Complete Analysis of Gödel s Incompleteness JASON W. STEINMETZ (Self-funded) A detailed and rigorous analysis of Gödel s proof of his first incompleteness theorem is presented. The purpose

More information

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer Artificial Intelligence Propositional Logic Copyright 2011 Dieter Fensel and Florian Fischer 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods

More information

The Method of Socratic Proofs for Normal Modal Propositional Logics

The Method of Socratic Proofs for Normal Modal Propositional Logics Dorota Leszczyńska The Method of Socratic Proofs for Normal Modal Propositional Logics Instytut Filozofii Uniwersytetu Zielonogórskiego w Zielonej Górze Rozprawa doktorska napisana pod kierunkiem prof.

More information

Herbrand Theorem, Equality, and Compactness

Herbrand 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 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

The Countable Henkin Principle

The Countable Henkin Principle The Countable Henkin Principle Robert Goldblatt Abstract. This is a revised and extended version of an article which encapsulates a key aspect of the Henkin method in a general result about the existence

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

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ Model Theory MARIA MANZANO University of Salamanca, Spain Translated by RUY J. G. B. DE QUEIROZ CLARENDON PRESS OXFORD 1999 Contents Glossary of symbols and abbreviations General introduction 1 xix 1 1.0

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook) Lecture 2 Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits Reading (Epp s textbook) 2.1-2.4 1 Logic Logic is a system based on statements. A statement (or

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. 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 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 The first part of the course will

More information

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic

More information

Foundations of Artificial Intelligence

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

Foundations of Artificial Intelligence

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

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC)

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC) Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras Lecture - 15 Propositional Calculus (PC) So, now if you look back, you can see that there are three

More information