CDM FOL Theories
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Infinite Natural Numbers: an Unwanted Phenomenon, Or a Useful Concept?
Infinite natural numbers: an unwanted phenomenon, or a useful concept? V´ıtˇezslav Svejdarˇ ∗ Appeared in M. Peliˇsand V. Puncochar eds., The Logica Yearbook 2010, pp. 283–294, College Publications, London, 2011. Abstract We consider non-standard models of Peano arithmetic and non- -standard numbers in set theory, showing that not only they ap- pear rather naturally, but also have interesting methodological consequences and even practical applications. We also show that the Czech logical school, namely Petr Vopˇenka, considerably con- tributed to this area. 1 Peano arithmetic and its models Peano arithmetic PA was invented as an axiomatic theory of natu- ral numbers (non-negative integers 0, 1, 2, . ) with addition and multiplication as designated operations. Its language (arithmetical language) consists of the symbols + and · for these two operations, the symbol 0 for the number zero and the symbol S for the successor function (addition of one). The language {+, ·, 0, S} could be replaced with the language {+, ·, 0, 1} having a constant for the number one: with the constant 1 at hand one can define S(x) as x + 1, and with the symbol S one can define 1 as S(0). However, we stick with the language {+, ·, 0, S}, since it is used in traditional sources like (Tarski, Mostowski, & Robinson, 1953). The closed terms S(0), S(S(0)), . represent the numbers 1, 2, . in the arithmetical language. We ∗This work is a part of the research plan MSM 0021620839 that is financed by the Ministry of Education of the Czech Republic. 2 V´ıtˇezslav Svejdarˇ Infinite natural numbers: . a useful concept? 3 write n for the numeral S(S(. -
Gödel's Second Incompleteness Theorem for Σn-Definable Theories
G¨odel’s second incompleteness theorem for Σn-definable theories Conden Chao∗ Payam Seraji† May 3, 2016 Abstract G¨odel’s second incompleteness theorem is generalized by showing that if the set of axioms of a theory T ⊇ PA is Σn+1-definable and T is Σn-sound, then T dose not prove the sentence Σn-Sound(T ) that expresses the Σn-soundness of T . The optimal- ity of the generalization is shown by presenting a Σn+1-definable (indeed a complete ∆n+1-definable) and Σn−1-sound theory T such that PA ⊆ T and Σn−1-Sound(T ) is provable in T . It is also proved that no recursively enumerable and Σ1-sound theory of arithmetic, even very weak theories which do not contain Robinson’s Arithmetic, can prove its own Σ1-soundness. Keywords: G¨odel’s second incompleteness, Σn-definable, Σn-sound, Σn-Sound, strong provability predicate arXiv:1602.02416v3 [math.LO] 30 Apr 2016 1 Introduction G¨odel’s second incompleteness theorem states that for any recursively enumerable and sufficiently strong (say any extension of Peano’s Arithmetic PA) theory T , T 6⊢ Con(T ), ∗Department of Philosophy, Peking University. My correspondence address is: Room 223 of Building 4th, Changchun New Garden, Peking University, P. C. 100872, Peking, CHINA. Email: [email protected]. †Faculty of Mathematical Sciences, University of Tabriz, 29 Bahman Boulevard, P. O. Box 5166617766, Tabriz, IRAN. Email: p [email protected]. 1 where Con(T ) is the arithmetical sentence expressing the the consistency of T (see e.g. [2, 3, 9, 10]). -
Coq in a Hurry Yves Bertot
Coq in a Hurry Yves Bertot To cite this version: Yves Bertot. Coq in a Hurry. Types Summer School, also used at the University of Nice Goteborg, Nice, 2006. inria-00001173v2 HAL Id: inria-00001173 https://cel.archives-ouvertes.fr/inria-00001173v2 Submitted on 24 May 2006 (v2), last revised 19 Oct 2017 (v6) 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. Coq in a Hurry Yves Bertot May 24, 2006 These notes provide a quick introduction to the Coq system and show how it can be used to define logical concepts and functions and reason about them. It is designed as a tutorial, so that readers can quickly start their own experiments, learning only a few of the capabilities of the system. A much more comprehensive study is provided in [1], which also provides an extensive collection of exercises to train on. 1 Expressions and logical formulas The Coq system provides a language in which one handles formulas, verify that they are well-formed, and prove them. Formulas may also contain functions and limited forms of computations are provided for these functions. The first thing you need to know is how you can check whether a formula is well- formed. -
Computation and Reflection in Coq And
Computation and reflection in Coq and HOL John Harrison Intel Corporation, visiting Katholieke Universiteit Nijmegen 20th August 2003 0 What is reflection? Stepping back from the straightforward use of a formal system and reasoning about it (‘reflecting upon it’). • Exploiting the syntax to prove general/meta theorems • Asserting consistency or soundness Similar concept in programming where programs can examine and modify their own syntax [Brian Cantwell Smith 1984]. The ‘reflection principle’ in ZF set theory is rather different. 1 Logical power of reflection The process of reflection may involve: • Adding new theorems that were not provable before • Adding a new, but conservative, rule to the logic • Making no extension of the logic [Giunchiglia and Smail 1989] use ‘reflection principles’ to refer to logic-strengthening rules only, but use ‘reflection’ to describe the process in all cases. 2 Reflection principles The classic reflection principle is an assertion of consistency. More generally, we can assert the ‘local reflection schema’: ⊢ Pr(pφq) ⇒ φ By Godel’s¨ Second Incompleteness Theorem, neither is provable in the original system, so this makes the system stronger. The addition of reflection principles can then be iterated transfinitely [Turing 1939], [Feferman 1962], [Franzen´ 2002]. 3 A conservative reflection rule Consider instead the following reflection rule: ⊢ Pr(pφq) ⊢ φ Assuming that the original logic is Σ-sound, this is a conservative extension. On the other hand, it does make some proofs much shorter. Whether it makes any interesting ones shorter is another matter. 4 Total internal reflection We can exploit the syntax-semantics connection without making any extensions to the logical system. -
A Complete Proof of Coq Modulo Theory
EPiC Series in Computing Volume 46, 2017, Pages 474–489 LPAR-21. 21st International Conference on Logic for Programming, Artificial Intelligence and Reasoning Coq without Type Casts: A Complete Proof of Coq Modulo Theory Jean-Pierre Jouannaud1;2 and Pierre-Yves Strub2 1 INRIA, Project Deducteam, Université Paris-Saclay, France 2 LIX, École Polytechnique, France Abstract Incorporating extensional equality into a dependent intensional type system such as the Calculus of Constructions provides with stronger type-checking capabilities and makes the proof development closer to intuition. Since strong forms of extensionality lead to undecidable type-checking, a good trade-off is to extend intensional equality with a decidable first-order theory T , as done in CoqMT, which uses matching modulo T for the weak and strong elimination rules, we call these rules T -elimination. So far, type-checking in CoqMT is known to be decidable in presence of a cumulative hierarchy of universes and weak T -elimination. Further, it has been shown by Wang with a formal proof in Coq that consistency is preserved in presence of weak and strong elimination rules, which actually implies consistency in presence of weak and strong T -elimination rules since T is already present in the conversion rule of the calculus. We justify here CoqMT’s type-checking algorithm by showing strong normalization as well as the Church-Rosser property of β-reductions augmented with CoqMT’s weak and strong T -elimination rules. This therefore concludes successfully the meta-theoretical study of CoqMT. Acknowledgments: to the referees for their careful reading. 1 Introduction Type checking for an extensional type theory being undecidable, as is well-known since the early days of Martin-Löf’s type theory [16], most proof assistants implement an intensional type theory. -
Notes on Incompleteness Theorems
The Incompleteness Theorems ● Here are some fundamental philosophical questions with mathematical answers: ○ (1) Is there a (recursive) algorithm for deciding whether an arbitrary sentence in the language of first-order arithmetic is true? ○ (2) Is there an algorithm for deciding whether an arbitrary sentence in the language of first-order arithmetic is a theorem of Peano or Robinson Arithmetic? ○ (3) Is there an algorithm for deciding whether an arbitrary sentence in the language of first-order arithmetic is a theorem of pure (first-order) logic? ○ (4) Is there a complete (even if not recursive) recursively axiomatizable theory in the language of first-order arithmetic? ○ (5) Is there a recursively axiomatizable sub-theory of Peano Arithmetic that proves the consistency of Peano Arithmetic (even if it leaves other questions undecided)? ○ (6) Is there a formula of arithmetic that defines arithmetic truth in the standard model, N (even if it does not represent it)? ○ (7) Is the (non-recursively enumerable) set of truths in the language of first-order arithmetic categorical? If not, is it ω-categorical (i.e., categorical in models of cardinality ω)? ● Questions (1) -- (7) turn out to be linked. Their philosophical interest depends partly on the following philosophical thesis, of which we will make frequent, but inessential, use. ○ Church-Turing Thesis:A function is (intuitively) computable if/f it is recursive. ■ Church: “[T]he notion of an effectively calculable function of positive integers should be identified with that of recursive function (quoted in Epstein & Carnielli, 223).” ○ Note: Since a function is recursive if/f it is Turing computable, the Church-Turing Thesis also implies that a function is computable if/f it is Turing computable. -
Calculi for Program Incorrectness and Arithmetic Philipp Rümmer
Thesis for the Degree of Doctor of Philosophy Calculi for Program Incorrectness and Arithmetic Philipp R¨ummer Department of Computer Science and Engineering Chalmers University of Technology and G¨oteborg University SE-412 96 G¨oteborg Sweden G¨oteborg, 2008 Calculi for Program Incorrectness and Arithmetic Philipp R¨ummer ISBN 978-91-628-7242-7 c Philipp R¨ummer, 2008 Technical Report no. 50D Department of Computer Science and Engineering Research Group: Formal Methods Department of Computer Science and Engineering Chalmers University of Technology and G¨oteborg University SE-412 96 G¨oteborg, Sweden Telephone +46 (0)31–772 1000 Printed at Chalmers, G¨oteborg, 2008 II Abstract This thesis is about the development and usage of deductive methods in two main areas: (i) the deductive dis-verification of programs, i.e., how techniques for deductive verification of programs can be used to detect program defects, and (ii) reasoning modulo integer arithmetic, i.e., how to prove the validity (and, in special cases, satisfiability) of first-order formulae that involve integer arithmetic. The areas of program verification and of testing are traditionally considered as complementary: the former searches for a formal proof of program correctness, while the latter searches for witnesses of program incorrectness. Nevertheless, de- ductive verification methods can discover bugs indirectly: the failure to prove the absence of bugs is interpreted as a sign for the incorrectness of the program. This approach is bound to produce “false positives” and bugs can be reported also for correct programs. To overcome this problem, I investigate how techniques that are normally used for verification can be used to directly prove the incorrectness of programs. -
Presburger Arithmetic: Cooper’S Algorithm Top- Ics in Em- Michael R
02917 Ad- 02917 Advanced Topics in Embedded Systems vanced Presburger Arithmetic: Cooper’s algorithm Top- ics in Em- Michael R. Hansen bed- ded Sys- tems Michael R. Hansen 1 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition. ics in Em- Examples of formulas are: ∃x.2x = y and ∃x.∀y.x + y > z. bed- ded Unlike Peano Arithmetic, which also includes multiplication, Sys- Presburger Arithmetic is a decidable theory. tems Michael R. Hansen We shall consider the algorithm introduced by D.C Cooper in 1972. The presentation is based on: Chapter 7: Quantified Linear Arithmetic of The Calculus of Computation by Bradley and Manna. 2 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition. ics in Em- Examples of formulas are: ∃x.2x = y and ∃x.∀y.x + y > z. bed- ded Unlike Peano Arithmetic, which also includes multiplication, Sys- Presburger Arithmetic is a decidable theory. tems Michael R. Hansen We shall consider the algorithm introduced by D.C Cooper in 1972. The presentation is based on: Chapter 7: Quantified Linear Arithmetic of The Calculus of Computation by Bradley and Manna. 3 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition. -
Decidability and Decision Procedures –Some Historical Notes–
Satisfiability Checking Decidability and Decision Procedures –Some Historical Notes– Prof. Dr. Erika Ábrahám RWTH Aachen University Informatik 2 LuFG Theory of Hybrid Systems WS 19/20 Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 1 / 26 Propositional logic decidable SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 2 / 26 decidable SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Propositional logic Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 2 / 26 SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Propositional logic decidable Satisfiability Checking — Prof. -
What Is Mathematics: Gödel's Theorem and Around. by Karlis
1 Version released: January 25, 2015 What is Mathematics: Gödel's Theorem and Around Hyper-textbook for students by Karlis Podnieks, Professor University of Latvia Institute of Mathematics and Computer Science An extended translation of the 2nd edition of my book "Around Gödel's theorem" published in 1992 in Russian (online copy). Diploma, 2000 Diploma, 1999 This work is licensed under a Creative Commons License and is copyrighted © 1997-2015 by me, Karlis Podnieks. This hyper-textbook contains many links to: Wikipedia, the free encyclopedia; MacTutor History of Mathematics archive of the University of St Andrews; MathWorld of Wolfram Research. Are you a platonist? Test yourself. Tuesday, August 26, 1930: Chronology of a turning point in the human intellectua l history... Visiting Gödel in Vienna... An explanation of “The Incomprehensible Effectiveness of Mathematics in the Natural Sciences" (as put by Eugene Wigner). 2 Table of Contents References..........................................................................................................4 1. Platonism, intuition and the nature of mathematics.......................................6 1.1. Platonism – the Philosophy of Working Mathematicians.......................6 1.2. Investigation of Stable Self-contained Models – the True Nature of the Mathematical Method..................................................................................15 1.3. Intuition and Axioms............................................................................20 1.4. Formal Theories....................................................................................27 -
Truth and Provability
Truth and provability Herman Ruge Jervell May 24, 2009 2 Contents 0.1 Incompleteness . 7 0.2 Truth . 8 0.3 Thinking from assumptions . 8 0.4 The pioneers . 9 1 Data structures and syntax 11 1.1 Skolems paper . 11 1.2 Pairs . 12 1.3 The language of pairs . 12 1.4 Representing syntax by pairs . 13 1.5 Natural numbers . 15 2 Elementary theories of syntax 19 2.1 The elementary theories . 19 2.2 The minimal theory . 19 2.3 Robinson theory . 21 2.4 Non standard models . 22 2.5 Induction . 23 2.6 Skolem theory . 23 3 Decidable theories 25 3.1 Decidable versus undecidable . 25 3.2 Automata theory . 25 3.3 Logic of acceptance . 27 3.4 Presburger arithmetic . 28 3.5 Arithmetic with only multiplication . 28 3.6 Numbers with addition and multiplication . 29 3.7 Infinite input . 29 3.8 Complement of infinite strings . 34 3.9 Complement of infinite trees . 35 4 Diagonalization 39 4.1 Cantors argument . 39 4.2 Russells paradox . 40 4.3 Fix point of functions . 41 3 4 CONTENTS 4.4 Diagonal lemma . 41 4.5 Self reference . 42 4.6 Currys paradox . 44 5 Provability 45 5.1 Representing syntax . 45 5.2 Provability as necessity . 46 5.3 Tarskis theorem . 49 5.4 Consistency . 49 5.5 G¨odels first incompleteness theorem . 50 5.6 G¨odels second incompleteness theorem . 50 6 Modality 53 6.1 The G¨odel-L¨obmodal logic . 53 6.2 Solovays first completeness theorem . 57 6.3 Solovays second completeness teorem . -
Presburger Arithmetic with Threshold Counting Quantifiers Is Easy
Presburger arithmetic with threshold counting quantifiers is easy Dmitry Chistikov ! Centre for Discrete Mathematics and its Applications (DIMAP) & Department of Computer Science, University of Warwick, Coventry, UK Christoph Haase ! Department of Computer Science, University of Oxford, Oxford, UK Alessio Mansutti ! Department of Computer Science, University of Oxford, Oxford, UK Abstract We give a quantifier elimination procedures for the extension of Presburger arithmetic with aunary threshold counting quantifier ∃≥cy that determines whether the number of different y satisfying some formula is at least c ∈ N, where c is given in binary. Using a standard quantifier elimination procedure for Presburger arithmetic, the resulting theory is easily seen to be decidable in 4ExpTime. Our main contribution is to develop a novel quantifier-elimination procedure for a more general counting quantifier that decides this theory in 3ExpTime, meaning that it is no harder to decide than standard Presburger arithmetic. As a side result, we obtain an improved quantifier elimination procedure for Presburger arithmetic with counting quantifiers as studied by Schweikardt [ACM Trans. Comput. Log., 6(3), pp. 634-671, 2005], and a 3ExpTime quantifier-elimination procedure for Presburger arithmetic extended with a generalised modulo counting quantifier. 2012 ACM Subject Classification Theory of computation → Logic Keywords and phrases Presburger arithmetic, counting quantifiers, quantifier elimination Funding This work is part of a project that has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 852769, ARiAT). 1 Introduction Counting the number of solutions to an equation, or the number of elements in a set subject to constraints, is a fundamental problem in mathematics and computer science.