Logic for Computer Science Satisfiability and Validity

Total Page:16

File Type:pdf, Size:1020Kb

Logic for Computer Science Satisfiability and Validity Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Logic for Computer Science 2.2 Natural Deduction Jens Otten University of Oslo Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 1 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Satisfiability and Validity Definition (Satisfiable, Valid, Logical Consequence). Let A be a formula and U= A , ... be a set of formulae A . ∈F { 1 } i ∈F I A is satisfiable iff v (A) = T for some interpretation . I I A satisfying interpretation is a model for A. U= A , ... is satisfiable iff there is (common) model for all A . { 1 } i A/U is unsatisfiable iff A/U is not satisfiable. I A is valid, denoted = A, iff v (A) = T for all interpretations . | I I A is invalid iff A is not valid. I A is a logical consequence of U, denoted U = A, iff every | model of U is a model of A. Theorem (Logical Consequence and Validity). Let A and U= A , ..., A . Then U = A iff = A A. ∈F { 1 n} | | i i → Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171V Autumn ’18 2 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Validity and Complexity I A is valid, denoted = A, iff v (A) = T for all interpretations | I I I for a given formula A, testing for every possible interpretation I whether v (A) = T holds is an “expensive” task I n I if A contains n (different) atoms, i.e. = n, then2 truth |PA| assignments have to be tested I the problem of determining if a formula A is valid is co-NP-complete, i.e. all known solutions/algorithm have an exponential time complexity I if P = NP, then there is a solution/algorithm that has a polynomial time complexity Goal: “formal system” to derive valid formulae in a purely syntactical and more efficient way Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 3 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Calculus and Proof Definition 21 (Calculus/Deductive System). A calculus consists of axioms and inference rules. w1 wn Axioms have the form w ; rules have the form ···w (w1,..., wn are the premises, w is the conclusion). A proof of w is a tree whose (inner) nodes are rules of the calculus such that each premise of a rule is a conclusion of another rule or an axiom. Definition 22 (Proof, Derivation). Let = A ,... be axioms and = R ,... be rules of a calculus. A { 1 } R { 1 } 1. Let Ai be of the form w . Then w is a proof of w. ∈ A w is a derivation of w. w1 wn 2. Let R be a rule of the form ··· and 1, ..., n i ∈ R w D D proofs/derivations of w , ..., w . Then 1 n is also a 1 n D ···Dw proof/derivation of w. Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 4 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Hilbert Systems Goal: calculus (or deductive system) to formalize mathematical reasoning I published by David Hilbert in 1922/1934 I contains 3 axioms and 1 rule of inference I proofs are constructed as a sequence of formulae, each of which is either I an axiom (or a formula that has been previously proved) or I a derivation of a formula from previous formulae in the sequence using the rule of inference I uses only the logical connectives (implication) and (negation) → ¬ I A B can be defined as (A B) A ∧ B can be defined as ¬A →B ¬ ∨ ¬ → Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 5 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Hilbert’s Axiomatic System H Definition 23 (Hilbert System ). H The axioms of are: H A (B A) (Axiom 1) ` → → (A (B C)) ((A B) (A C)) (Axiom 2) ` → → → → → → ( B A) (A B) (Axiom 3) ` ¬ → ¬ → → The rule of inference of is modus ponens (“MP” for short): H A A B MP ` `B → ` Remark: All axioms of are valid formulae. The modus ponens inference H rule of states that “a formula B can be inferred from A and A B”. H → Definition 24 (Provable, Theorem). A formula A is provable in a calculus (here in ), written A, iff H ` there is a proof for A in the calculus ( ). A is called a theorem. H Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 6 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Hilbert System — Examples Theorem 25 (A A). → A A for formula A. ` → Proof. 1. A ((A A) A) (Axiom 1∗) ` → → → 2. (A ((A A) A)) ((A (A A)) (A A)) (Axiom 2∗) 3. ` (A → (A →A)) → (A →A) → → → → (MP 1,2) 4. ` A →(A →A) → → (Axiom 1 with B A) 5. ` A → A→ (MP≡ 3,4) ` → ∗: with B (A A) ≡ → Examples: I A (B A) (Axiom 1) ` → → I p (( q r) p) (Axiom 1) ` → ¬ → → (with A p and B ( q r)) ≡ ≡ ¬ → Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 7 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary The Deduction Rule Goal: simplify proofs in by using derived rules H Definition 26 (U A). ` Let U be a set of formulae and A be a formula. The notation U A means that formulae in U are assumptions in the proof of A ` (as axioms also allowed: U U0 with U0 U). ` ⊆ Definition 27 (Deduction Rule). U A B The deduction rule is ∪ { } ` . U A B ` → Theorem 28 (Deduction Theorem). The deduction rule is a sound derived rule, i.e., it does not increase the increase the set of provable formulae (theorems) in . H Proof. It is shown by induction on the length n of the proof of U A B how to obtain a proof of U A B that does not use the ∪ { } ` ` → deduction rule; for details see [Ben-Ari 2012, page 57]. Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 8 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Derived Rules in H U B A I Contrapositive rule: U` ¬A →B ¬ ` → Axiom 3 U B A U ( B A) (A B) ` ¬ → ¬ ` ¬ → ¬ → → MP U A B ` → A B B C I Transitivity: ` → A `C → ` → Prove (A B) [(B C) (A C)] (using deduction rule), → → → → → then use MP rule twice I Further derivable rules: e.g., exchange of antecedent, double negation, reductio ad absurdum Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 9 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Soundness and Completeness Correctness and completeness are important criteria for calculi. Definition 29 (Soundness/Correctness). A calculus is sound iff all provable formulae (i.e. theorems) are valid, i.e. for all A: if A then = A. ` | Definition 30 (Completeness). A calculus is complete iff all valid formulae are provable (i.e. theorems), i.e. for all A: if = A then A. | ` Theorem 31 (Soundness and Completeness of ). H The Hilbert System is sound and complete. H Proof. Soundness: the proof is by structural induction on the length of the proof. The axioms are valid and the inference rule MP preserves validity. Completeness: translation into sequent calculus, see also [Ben-Ari 2012, page 64ff.]. Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 10 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Hilbert Systems — Summary Hilbert Systems I are axiomatic systems, i.e., they are essentially based on axioms I are the simplest and historically first proof systems for first-order logic I allow to mechanically verify if a formula is an axiom and whether it follows correctly from other formulae by one of the inference rules I are easy to describe, but proofs/derivations in them are hard to read and understand, and are also (very!) hard to find The problem with Hilbert systems is that they offer no guidance on how to find a proof of a formula. Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 11 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Proof Search Calculi efficiency ¨* DPLL ¨ 6 ¨¨ × ¨¨ ¨ Resolution ¨ Connection Calculus × ¨ × ¨¨ ¨¨ ¨¨ ¨¨ ¨¨ ¨¨ Tableau Calculus ¨¨ × ¨ - ¨ time ¨¨ ¨¨ ¨¨ Sequent Calculus ¨¨ × Natural Deduction × ? readability Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 12 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Gentzen’s Natural Deduction Goal: A derivation system intended to mirror actual reasoning “First I wanted to construct a formalism which comes as close as possible to actual reasoning. Thus arose a calculus of natural deduction.” [G. Gentzen] I the calculus of natural deduction was developed by Gehard Gentzen in the 1930’s I he was dissatisfied with axiomatic systems in the Hilbert tradition, which did not seem to capture mathematical reasoning practices very directly I instead of many axioms and one rule, he introduced only one axiom and rules for each logical connective Jens Otten (UiO) Logic for CS — 2.2 Natural Deduction INF3170/4171 Autumn ’18 13 / 22 Motivation Hilbert Systems Natural Deduction The Calculus Examples Summary Natural Deduction — Assumptions I natural deduction systems are close to the informal reasoning used in mathematical proofs; natural deduction proofs begin with assumptions, inference rules are then applied I the inference rules come in two flavours, an introduction and an elimination rule for each logical operator I they introduce a logical operator in the conclusion or removea logical operator from a premise of the rule I some of the rules allow an assumption to be discharged; to indicate which assumption is discharged by which inference, a label is assigned to the assumption and the inference Definition 32 (Assumptions).
Recommended publications
  • MOTIVATING HILBERT SYSTEMS Hilbert Systems Are Formal Systems
    MOTIVATING HILBERT SYSTEMS Hilbert systems are formal systems that encode the notion of a mathematical proof, which are used in the branch of mathematics known as proof theory. There are other formal systems that proof theorists use, with their own advantages and disadvantages. The advantage of Hilbert systems is that they are simpler than the alternatives in terms of the number of primitive notions they involve. Formal systems for proof theory work by deriving theorems from axioms using rules of inference. The distinctive characteristic of Hilbert systems is that they have very few primitive rules of inference|in fact a Hilbert system with just one primitive rule of inference, modus ponens, suffices to formalize proofs using first- order logic, and first-order logic is sufficient for all mathematical reasoning. Modus ponens is the rule of inference that says that if we have theorems of the forms p ! q and p, where p and q are formulas, then χ is also a theorem. This makes sense given the interpretation of p ! q as meaning \if p is true, then so is q". The simplicity of inference in Hilbert systems is compensated for by a somewhat more complicated set of axioms. For minimal propositional logic, the two axiom schemes below suffice: (1) For every pair of formulas p and q, the formula p ! (q ! p) is an axiom. (2) For every triple of formulas p, q and r, the formula (p ! (q ! r)) ! ((p ! q) ! (p ! r)) is an axiom. One thing that had always bothered me when reading about Hilbert systems was that I couldn't see how people could come up with these axioms other than by a stroke of luck or genius.
    [Show full text]
  • Proof Theory Can Be Viewed As the General Study of Formal Deductive Systems
    Proof Theory Jeremy Avigad December 19, 2017 Abstract Proof theory began in the 1920’s as a part of Hilbert’s program, which aimed to secure the foundations of mathematics by modeling infinitary mathematics with formal axiomatic systems and proving those systems consistent using restricted, finitary means. The program thus viewed mathematics as a system of reasoning with precise linguistic norms, governed by rules that can be described and studied in concrete terms. Today such a viewpoint has applications in mathematics, computer science, and the philosophy of mathematics. Keywords: proof theory, Hilbert’s program, foundations of mathematics 1 Introduction At the turn of the nineteenth century, mathematics exhibited a style of argumentation that was more explicitly computational than is common today. Over the course of the century, the introduction of abstract algebraic methods helped unify developments in analysis, number theory, geometry, and the theory of equations, and work by mathematicians like Richard Dedekind, Georg Cantor, and David Hilbert towards the end of the century introduced set-theoretic language and infinitary methods that served to downplay or suppress computational content. This shift in emphasis away from calculation gave rise to concerns as to whether such methods were meaningful and appropriate in mathematics. The discovery of paradoxes stemming from overly naive use of set-theoretic language and methods led to even more pressing concerns as to whether the modern methods were even consistent. This led to heated debates in the early twentieth century and what is sometimes called the “crisis of foundations.” In lectures presented in 1922, Hilbert launched his Beweistheorie, or Proof Theory, which aimed to justify the use of modern methods and settle the problem of foundations once and for all.
    [Show full text]
  • An Anti-Locally-Nameless Approach to Formalizing Quantifiers Olivier Laurent
    An Anti-Locally-Nameless Approach to Formalizing Quantifiers Olivier Laurent To cite this version: Olivier Laurent. An Anti-Locally-Nameless Approach to Formalizing Quantifiers. Certified Programs and Proofs, Jan 2021, virtual, Denmark. pp.300-312, 10.1145/3437992.3439926. hal-03096253 HAL Id: hal-03096253 https://hal.archives-ouvertes.fr/hal-03096253 Submitted on 4 Jan 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. An Anti-Locally-Nameless Approach to Formalizing Quantifiers Olivier Laurent Univ Lyon, EnsL, UCBL, CNRS, LIP LYON, France [email protected] Abstract all cases have been covered. This works perfectly well for We investigate the possibility of formalizing quantifiers in various propositional systems, but as soon as (first-order) proof theory while avoiding, as far as possible, the use of quantifiers enter the picture, we have to face one ofthe true binding structures, α-equivalence or variable renam- nightmares of formalization: quantifiers are binders... The ings. We propose a solution with two kinds of variables in question of the formalization of binders does not yet have an 1 terms and formulas, as originally done by Gentzen. In this answer which makes perfect consensus .
    [Show full text]
  • Systematic Construction of Natural Deduction Systems for Many-Valued Logics
    23rd International Symposium on Multiple Valued Logic. Sacramento, CA, May 1993 Proceedings. (IEEE Press, Los Alamitos, 1993) pp. 208{213 Systematic Construction of Natural Deduction Systems for Many-valued Logics Matthias Baaz∗ Christian G. Ferm¨ullery Richard Zachy Technische Universit¨atWien, Austria Abstract sion.) Each position i corresponds to one of the truth values, vm is the distinguished truth value. The in- A construction principle for natural deduction sys- tended meaning is as follows: Derive that at least tems for arbitrary finitely-many-valued first order log- one formula of Γm takes the value vm under the as- ics is exhibited. These systems are systematically ob- sumption that no formula in Γi takes the value vi tained from sequent calculi, which in turn can be au- (1 i m 1). ≤ ≤ − tomatically extracted from the truth tables of the log- Our starting point for the construction of natural ics under consideration. Soundness and cut-free com- deduction systems are sequent calculi. (A sequent is pleteness of these sequent calculi translate into sound- a tuple Γ1 ::: Γm, defined to be satisfied by an ness, completeness and normal form theorems for the interpretationj iffj for some i 1; : : : ; m at least one 2 f g natural deduction systems. formula in Γi takes the truth value vi.) For each pair of an operator 2 or quantifier Q and a truth value vi 1 Introduction we construct a rule introducing a formula of the form 2(A ;:::;A ) or (Qx)A(x), respectively, at position i The study of natural deduction systems for many- 1 n of a sequent.
    [Show full text]
  • Complexities of Proof-Theoretical Reductions
    Complexities of Proof-Theoretical Reductions Michael Toppel Submitted in accordance with the requirements for the degree of Doctor of Philosophy The University of Leeds Department of Pure Mathematics September 2016 iii The candidate confirms that the work submitted is his own and that appropriate credit has been given where reference has been made to the work of others. This copy has been supplied on the understanding that it is copyright material and that no quotation from the thesis may be published without proper acknowledgement. c 2016 The University of Leeds and Michael Toppel iv v Abstract The present thesis is a contribution to a project that is carried out by Michael Rathjen 0 and Andreas Weiermann to give a general method to study the proof-complexity of Σ1- sentences. This general method uses the generalised ordinal-analysis that was given by Buchholz, Ruede¨ and Strahm in [5] and [44] as well as the generalised characterisation of provable-recursive functions of PA + TI(≺ α) that was given by Weiermann in [60]. The present thesis links these two methods by giving an explicit elementary bound for the i proof-complexity increment that occurs after the transition from the theory IDc ! + TI(≺ α), which was used by Ruede¨ and Strahm, to the theory PA + TI(≺ α), which was analysed by Weiermann. vi vii Contents Abstract . v Contents . vii Introduction 1 1 Justifying the use of Multi-Conclusion Sequents 5 1.1 Introduction . 5 1.2 A Gentzen-semantics . 8 1.3 Multi-Conclusion Sequents . 15 1.4 Comparison with other Positions and Responses to Objections .
    [Show full text]
  • An Integration of Resolution and Natural Deduction Theorem Proving
    From: AAAI-86 Proceedings. Copyright ©1986, AAAI (www.aaai.org). All rights reserved. An Integration of Resolution and Natural Deduction Theorem Proving Dale Miller and Amy Felty Computer and Information Science University of Pennsylvania Philadelphia, PA 19104 Abstract: We present a high-level approach to the integra- ble of translating between them. In order to achieve this goal, tion of such different theorem proving technologies as resolution we have designed a programming language which permits proof and natural deduction. This system represents natural deduc- structures as values and types. This approach builds on and ex- tion proofs as X-terms and resolution refutations as the types of tends the LCF approach to natural deduction theorem provers such X-terms. These type structures, called ezpansion trees, are by replacing the LCF notion of a uakfation with explicit term essentially formulas in which substitution terms are attached to representation of proofs. The terms which represent proofs are quantifiers. As such, this approach to proofs and their types ex- given types which generalize the formulas-as-type notion found tends the formulas-as-type notion found in proof theory. The in proof theory [Howard, 19691. Resolution refutations are seen LCF notion of tactics and tacticals can also be extended to in- aa specifying the type of a natural deduction proofs. This high corporate proofs as typed X-terms. Such extended tacticals can level view of proofs as typed terms can be easily combined with be used to program different interactive and automatic natural more standard aspects of LCF to yield the integration for which Explicit representation of proofs deduction theorem provers.
    [Show full text]
  • Applications of Non-Classical Logic Andrew Tedder University of Connecticut - Storrs, [email protected]
    University of Connecticut OpenCommons@UConn Doctoral Dissertations University of Connecticut Graduate School 8-8-2018 Applications of Non-Classical Logic Andrew Tedder University of Connecticut - Storrs, [email protected] Follow this and additional works at: https://opencommons.uconn.edu/dissertations Recommended Citation Tedder, Andrew, "Applications of Non-Classical Logic" (2018). Doctoral Dissertations. 1930. https://opencommons.uconn.edu/dissertations/1930 Applications of Non-Classical Logic Andrew Tedder University of Connecticut, 2018 ABSTRACT This dissertation is composed of three projects applying non-classical logic to problems in history of philosophy and philosophy of logic. The main component concerns Descartes’ Creation Doctrine (CD) – the doctrine that while truths concerning the essences of objects (eternal truths) are necessary, God had vol- untary control over their creation, and thus could have made them false. First, I show a flaw in a standard argument for two interpretations of CD. This argument, stated in terms of non-normal modal logics, involves a set of premises which lead to a conclusion which Descartes explicitly rejects. Following this, I develop a multimodal account of CD, ac- cording to which Descartes is committed to two kinds of modality, and that the apparent contradiction resulting from CD is the result of an ambiguity. Finally, I begin to develop two modal logics capturing the key ideas in the multi-modal interpretation, and provide some metatheoretic results concerning these logics which shore up some of my interpretive claims. The second component is a project concerning the Channel Theoretic interpretation of the ternary relation semantics of relevant and substructural logics. Following Barwise, I de- velop a representation of Channel Composition, and prove that extending the implication- conjunction fragment of B by composite channels is conservative.
    [Show full text]
  • Natural Deduction and the Curry-Howard-Isomorphism
    Natural Deduction and the Curry-Howard-Isomorphism Andreas Abel August 2016 Abstract We review constructive propositional logic and natural deduction and connect it to the simply-typed lambda-calculus with the Curry- Howard Isomorphism. Constructive Logic A fundamental property of constructive logic is the disjunction property: If the disjunction A _ B is provable, then either A is provable or B is provable. This property is not compatible with the principle of the excluded middle (tertium non datur), which states that A _:A holds for any proposition A. While each fool can state the classical tautology \aliens exist or don't", this certainly does not give us a means to decide whether aliens exist or not. A constructive proof of the fool's statement would require either showcasing an alien or a stringent argument for the impossibility of their existence.1 1 Natural deduction for propositional logic The proof calculus of natural deduction goes back to Gentzen[1935]. 1 For a more mathematical example of undecidability, refer to the continuum hypothesis CH which states that no cardinal exists between the set of the natural numbers and the set of reals. It is independent of ZFC, Zermelo-Fr¨ankel set theory with the axiom of choice, meaning that in ZFC, neither CH nor :CH is provable. 1 1.1 Propositions Formulæ of propositional logic are given by the following grammar: P; Q atomic proposition A; B; C ::= P j A ) B implication j A ^ B j > conjunction, truth j A _ B j ? disjunction, absurdity Even though we write formulas in linearized (string) form, we think of them as (abstract syntax) trees.
    [Show full text]
  • CHAPTER 8 Hilbert Proof Systems, Formal Proofs, Deduction Theorem
    CHAPTER 8 Hilbert Proof Systems, Formal Proofs, Deduction Theorem The Hilbert proof systems are systems based on a language with implication and contain a Modus Ponens rule as a rule of inference. They are usually called Hilbert style formalizations. We will call them here Hilbert style proof systems, or Hilbert systems, for short. Modus Ponens is probably the oldest of all known rules of inference as it was already known to the Stoics (3rd century B.C.). It is also considered as the most "natural" to our intuitive thinking and the proof systems containing it as the inference rule play a special role in logic. The Hilbert proof systems put major emphasis on logical axioms, keeping the rules of inference to minimum, often in propositional case, admitting only Modus Ponens, as the sole inference rule. 1 Hilbert System H1 Hilbert proof system H1 is a simple proof system based on a language with implication as the only connective, with two axioms (axiom schemas) which characterize the implication, and with Modus Ponens as a sole rule of inference. We de¯ne H1 as follows. H1 = ( Lf)g; F fA1;A2g MP ) (1) where A1;A2 are axioms of the system, MP is its rule of inference, called Modus Ponens, de¯ned as follows: A1 (A ) (B ) A)); A2 ((A ) (B ) C)) ) ((A ) B) ) (A ) C))); MP A ;(A ) B) (MP ) ; B 1 and A; B; C are any formulas of the propositional language Lf)g. Finding formal proofs in this system requires some ingenuity. Let's construct, as an example, the formal proof of such a simple formula as A ) A.
    [Show full text]
  • On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem
    On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem Yannick Forster Dominik Kirst Gert Smolka Saarland University Saarland University Saarland University Saarbrücken, Germany Saarbrücken, Germany Saarbrücken, Germany [email protected] [email protected] [email protected] Abstract like decidability, enumerability, and reductions are avail- We formalise the computational undecidability of validity, able without reference to a concrete model of computation satisfiability, and provability of first-order formulas follow- such as Turing machines, general recursive functions, or ing a synthetic approach based on the computation native the λ-calculus. For instance, representing a given decision to Coq’s constructive type theory. Concretely, we consider problem by a predicate p on a type X, a function f : X ! B Tarski and Kripke semantics as well as classical and intu- with 8x: p x $ f x = tt is a decision procedure, a function itionistic natural deduction systems and provide compact д : N ! X with 8x: p x $ ¹9n: д n = xº is an enumer- many-one reductions from the Post correspondence prob- ation, and a function h : X ! Y with 8x: p x $ q ¹h xº lem (PCP). Moreover, developing a basic framework for syn- for a predicate q on a type Y is a many-one reduction from thetic computability theory in Coq, we formalise standard p to q. Working formally with concrete models instead is results concerning decidability, enumerability, and reducibil- cumbersome, given that every defined procedure needs to ity without reference to a concrete model of computation. be shown representable by a concrete entity of the model.
    [Show full text]
  • Deduction and Resolution
    Lecture 12: Deduction and Resolution 1 Hilbert’s System Hilbert discovered a very elegant deductive system that is both sound and com- plete. His system uses only the connectives {¬, →}, which we know are an adequate basis. It has also been shown that each of the three axioms given below are necessary for the system to be sound and complete. Hilbert’s System consists of the following: • Three axioms (all are strongly sound): – A1: (p → (q → p)) Axiom of simplification. – A2: ((p → (q → r)) → ((p → q) → (p → r))) Frege’s axiom. – A3: ((¬p → q) → ((¬p → ¬q) → p)) Reductio ad absurdum. • Inference Rules: p,p→q – Modus Ponens: q (Strongly Sound) ϕ – Substitution: ϕ[θ] , where θ is a substitution (p → ψ). (Sound) The Substitution Inference Rule is shorthand for all sequences of the form hϕ, ϕ[θ]i. It is sometimes called a schema for generating inference rules. Note that in general, it is not the case that ϕ |= ϕ[θ], for example p 6|= q. However, in assignment 2, we showed that if |= ϕ, then |= ϕ[θ]. This is why this rule is sound but not strongly sound. Theorem 1. Hilbert’s system is sound, complete, and tractable. Proof. We prove each property separately. • Soundness: Since all axioms are strongly sound, and the two inference rules are sound, the whole system is sound. • Completeness: The proof of this property is fairly involved and thus it is outside the scope of the class. 1 + • Tractability: Given Γ ∈ Form and ϕ1, . , ϕn, is ϕ1, . , ϕn ∈ Deductions(Γ)? Clearly, < ϕ1 > is in Γ only if it is an axiom.
    [Show full text]
  • On Turing's Legacy in Mathematical Logic
    ARBOR Ciencia, Pensamiento y Cultura Vol. 189-764, noviembre-diciembre 2013, a079 | ISSN-L: 0210-1963 doi: http://dx.doi.org/10.3989/arbor.2013.764n6002 EL LEGADO DE ALAN TURING / THE LEGACY OF ALAN TURING ON TURING’S LEGACY IN EL LEGADO DE TURING EN MATHEMATICAL LOGIC AND THE LA LÓGICA MATEMÁTICA Y FOUNDATIONS OF MATHEMATICS* LOS FUNDAMENTOS DE LAS MATEMÁTICAS Joan Bagaria ICREA (InstitucióCatalana De Recerca I Estudis Avançats) and Departament de Lògica, Història i Filosofia de laCiència, Universitat de Barcelona. [email protected] Citation/Cómo citar este artículo: Bagaria, J. (2013). “On Copyright: © 2013 CSIC. This is an open-access article distributed Turing’s legacy in mathematical logic and the foundations under the terms of the Creative Commons Attribution-Non of mathematics”. Arbor, 189 (764): a079. doi: http://dx.doi. Commercial (by-nc) Spain 3.0 License. org/10.3989/arbor.2013.764n6002 Received: 10 July 2013. Accepted: 15 September 2013. ABSTRACT: While Alan Turing is best known for his work on RESUMEN: Alan Turing es conocido sobre todo por sus computer science and cryptography, his impact on the general contribuciones a las ciencias de la computación y a la theory of computable functions (recursion theory) and the criptografía, pero el impacto de su trabajo en la teoría general foundations of mathematics is of equal importance. In this de las funciones computables (teoría de la recursión) y en los article we give a brief introduction to some of the ideas and fundamentos de la matemática es de igual importancia. En este problems arising from Turing’s work in these areas, such as the artículo damos una breve introducción a algunas de las ideas y analysis of the structure of Turing degrees and the development problemas matemáticos surgidos de la obra de Turing en estas of ordinal logics.
    [Show full text]