Bruno DINIS and Gilda FERREIRA INSTANTIATION OVERFLOW

Similar documents
The faithfulness of atomic polymorphism

Commuting conversions vs. the standard conversions of the good connectives

Investigation of Prawitz s completeness conjecture in phase semantic framework

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC

Introduction to Metalogic

Propositional Logic Language

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

Partially commutative linear logic: sequent calculus and phase semantics

Yet Another Proof of the Strong Equivalence Between Propositional Theories and Logic Programs

Propositions and Proofs

Strong normalization of a symmetric lambda calculus for second order classical logic

Advanced Topics in LP and FP

Natural Deduction for Propositional Logic

Exercises 1 - Solutions

Notation for Logical Operators:

The Syntax of First-Order Logic. Marc Hoyois

The Moore-Penrose inverse of differences and products of projectors in a ring with involution

Teaching Natural Deduction as a Subversive Activity

Infinite objects in constructive mathematics

Section 1.1 Propositions

Classical Propositional Logic

Axiom schema of Markov s principle preserves disjunction and existence properties

Sub-λ-calculi, Classified

Restricted truth predicates in first-order logic

MATH 1090 Problem Set #3 Solutions March York University

3 Propositional Logic

Logic Overview, I. and T T T T F F F T F F F F

Mathematical Logic. Helmut Schwichtenberg

Prefixed Tableaus and Nested Sequents

Informal Statement Calculus

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Propositional logic. First order logic. Alexander Clark. Autumn 2014

PROPOSITIONAL MIXED LOGIC: ITS SYNTAX AND SEMANTICS

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

An Independence Relation for Sets of Secrets

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

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

Canonical Calculi: Invertibility, Axiom expansion and (Non)-determinism

Propositional and Predicate Logic - V

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

On sequent calculi vs natural deductions in logic and computer science

Metainduction in Operational Set Theory

2.5.2 Basic CNF/DNF Transformation

CHAPTER 10. Predicate Automated Proof Systems

A Remark on Propositional Kripke Frames Sound for Intuitionistic Logic

NORMAL DERIVABILITY IN CLASSICAL NATURAL DEDUCTION

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Proving Completeness for Nested Sequent Calculi 1

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

Supplementary exercises in propositional logic

Consequence Relations and Natural Deduction

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

Equivalent Types in Lambek Calculus and Linear Logic

1.1 Language and Logic

Recursive definitions on surreal numbers

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus

Warm-Up Problem. Is the following true or false? 1/35

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

Clausal Presentation of Theories in Deduction Modulo

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

TR : Binding Modalities

A generalization of modal definability

Lecture 1: The arithmetic hierarchy

Partial Collapses of the Σ 1 Complexity Hierarchy in Models for Fragments of Bounded Arithmetic

3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule.

Two New Definitions of Stable Models of Logic Programs with Generalized Quantifiers

Propositional Logics and their Algebraic Equivalents

s-generalized Fibonacci Numbers: Some Identities, a Generating Function and Pythagorean Triples

Linear Logic Pages. Yves Lafont (last correction in 2017)

KE/Tableaux. What is it for?

Equivalents of Mingle and Positive Paradox

The semantics of propositional logic

Display calculi in non-classical logics

Logic Part II: Intuitionistic Logic and Natural Deduction

Realization Using the Model Existence Theorem

Part 1: Propositional Logic

Propositions as Types

1.1 Language and Logic

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

On the Complexity of the Reflected Logic of Proofs

Excluded Middle without Definite Descriptions in the Theory of Constructions

A GENERALISATION OF THE TARSKI-HERBRAND DEDUCTION THEOREM. Si. SURMA

On the Stable Model Semantics for Intensional Functions

Proof-theoretic semantics, self-contradiction and the format of deductive reasoning

Chapter 11: Automated Proof Systems

First-Order Intuitionistic Logic with Decidable Propositional Atoms

Proof-Theoretic Analysis of the Quantified Argument Calculus

1 The Foundation: Logic and Proofs

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Part 1: Propositional Logic

Syntactic Characterisations in Model Theory

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg

Proof Theoretical Studies on Semilattice Relevant Logics

Refutability and Post Completeness

Lecture Notes on Cut Elimination

Lecture Notes on Ordered Logic

First order Logic ( Predicate Logic) and Methods of Proof

arxiv: v1 [cs.lo] 8 Jan 2013

SKETCHY NOTES FOR WEEKS 7 AND 8

Transcription:

RPORTS ON MATHMATICAL LOGIC 51 (2016), 15 33 doi:104467/20842589rm160025279 Bruno DINIS and Gilda FRRIRA INSTANTIATION OVRFLOW A b s t r a c t The well-known embedding of full intuitionistic propositional calculus into the atomic polymorphic system F at is possible due to the intriguing phenomenon of instantiation overflow Instantiation overflow ensures that (in F at ) we can instantiate certain universal formulas by any formula of the system, not necessarily atomic Until now only three types in F at were identified with such property: the types that result from the Prawitz translation of the propositional connectives (?, ^, _)into F at (or Girard s system F) Are there other types in F at with instantiation overflow? In this paper we show that the answer is yes and we isolate a class of formulas with such property Received 22 July 2015 The first author would like to acknowledge the support of Fundação para a Ciência e a Tecnologia [grant SFRH/BPD/97436/2013] and Centro de Investigação em Matemática e Aplicações [project Pst-O/MAT/UI0117/2014] The second author acknowledges the support of Fundação para a Ciência e a Tecnologia [UID/MAT/04561/2013 and grant SFRH/BPD/93278/2013] and is also grateful to Centro de Matemática, Aplicações Fundamentais e Investigação Operacional, Large-Scale Informatics Systems Laboratory (Universidade de Lisboa) and to Núcleo de Investigação em Matemática (Universidade Lusófona) AMS subject classification: 03F07; 03F03; 03B20 Keywords and phrases: Instantiation overflow, predicative polymorphism, natural deduction

16 BRUNO DINIS AND GILDA FRRIRA 1 Introduction Since 2006 [1], it is known that the restriction of Jean-Yves Girard s system F [6] to atomic universal instantiations embeds the full intuitionistic propositional calculus (IPC) Or, on recent terminology [3], the atomic polymorphic system F at embeds IPC System F at has exactly the same formulas as F: the smallest class of expressions which includes the atomic formulas (propositional constants P, Q, R, and second-order variables X, Y, Z, ) and is closed under implication and second-order universal quantification The (natural deduction) rules of F at only di er from the ones of F on the second-order universal elimination rule where a restriction to atomic instantiations is imposed Ie, the introduction rules of F at are as in F: [A] B A! B!I A 8XA 8I where, in the universal rule, X does not occur free in any undischarged hypothesis and the elimination rules of F at are: A! B B A! 8XA A[C/X] 8 where C is an atomic formula (free for X in A), and A[C/X] istheresult of replacing in A all the free occurrences of X by C (Note that system F allows in the 8-rule the instantiation by any formula, not only by the atomic ones) For a formulation of F at in the (operational) -calculus style see [3] As opposed to Girard s F, systemf at is predicative, has a good notion of subformula and enjoys the subformula property (see [1]) Moreover, strong normalization for F at can be proved by an easy adaptation of Tait s reducibility technique with no need for Girard s reducibility candidates, and an alternative proof of strong normalization for IPC can be derived [3]

INSTANTIATION OVRFLOW 17 The embedding of IPC into F at [1, 2] is via the Prawitz translation of connectives [7]:?:= 8XX A ^ B := 8X((A! (B! X))! X) A _ B := 8X((A! X)! ((B! X)! X)), where X is a second-order variable which does not occur in A nor in B; and is made possible due to the property of instantiation overflow, which ensures that, from the universal formulas above, it is possible to deduce in F at (respectively) F (A! (B! F ))! F (A! F )! ((B! F )! F ), for any (not necessarily atomic) formula F In other words, although the 8-rule of F at allows just atomic instantiations, for the three types above (ie, for the translations of?, A^B or A_B), instantiation overflow ensures that we can (via a proper derivation in F at ) do the instantiation with any formula (Modulo derivations in F at ) These three types are not a ected by F at s restriction Instantiation overflow is crucial in the embedding of IPC into F at For the proof of instantiation overflow 1 in the three cases above and the proof of the (sound) embedding of IPC into F at see [1, 2, 3] The faithfulness of the embedding can be seen in [4, 5] In [3] we can read: The above three types correspond to the empty type, the product type and the sum type (respectively) in the terminology of Girard et al [6] We believe that it is an interesting question to characterize exactly which types enjoy the property of instantiation overflow Note that if all formulas of F at had instantiation overflow, the system would have the exact same expressive power as F This is of course very far from being the case 2 1 The proof is by induction on the complexity of F and provides an algorithmic method for obtaining the deductions for the three types above 2 It is not clear yet how F at and IPC compare in terms of expressiveness

18 BRUNO DINIS AND GILDA FRRIRA Until now, the only formulas identified in F at with the overflow property were the three types above In general, from an universal formula, we do not have a derivation in F at for its instantiation by an arbitrary formula of the system See Appendix A for the illustration of that impossibility with a concrete example A brief inspection over arbitrary universal formulas quickly made us wonder if there was any other formula in F at with the overflow property This paper is a first contribution towards (what seems to be) the hard problem of characterizing the class of formulas of F at with instantiation overflow Inspired by the formula s structure imposed by the Prawitz translation of the IPC connectives?, ^, _, we construct a class of formulas stratified by levels and prove that the universal closure of all formulas in the first two levels (which properly include the translation of the three IPC connectives above) have the property of instantiation overflow We also show that at each level we can find at least a formula whose universal closure has the overflow property 2 Formulas with instantiation overflow As mentioned in Section 1, we know that the three types 8XX, 8X((A! (B! X))! X), 8X((A! X)! ((B! X)! X)), with X a second-order variable which does not occur in A nor in B, have instantiation overflow So far, no other formulas in F at were known to have such property When trying to answer the natural question: Are there other formulas in F at with instantiation overflow? some easy candidates are the universal closure of the subformulas of the formulas above Not surprisingly, as shown in the result below, they still have instantiation overflow Proposition 21 follows as a particular case of more general results (see Corollary 211) presented later in this section We opted for presenting its proof here to familiarize the reader with the algorithmic structure of a proof of instantiation overflow

INSTANTIATION OVRFLOW 19 Proposition 21 The following formulas 1 8X (A! X), 2 8X (A! (B! X)), 3 8X ((A! X)! X), with X a second-order variable which does not occur in A nor in B, have instantiation overflow Proof 1 From 8X (A! X) we want to show that there is a derivation in F at of A! F, for any formula F The proof is by induction on the complexity of the formula F For F an atomic formula the result is immediate from the application of the 8-rule For F of the form D! we have For F of the form 8X we have 8X (A! X) A! [A] D! A! (D! ) 8X (A! X) A! 8X A!8X Note that in the double lines above we are assuming (by induction hypothesis) that instantiation overflow is available for Cases 2 and 3 are proved in a similar way We present below the deduction trees for implication and universal quantification in the latter case [A]

20 BRUNO DINIS AND GILDA FRRIRA 3 One has [A! (D! )] [A] D! 8X ((A! X)! X) (A! )! A! D! (A! (D! ))! (D! ) [D] and 8X ((A! X)! X) (A! )! 8X (A!8X)!8X [A!8X] [A] 8X A! In the following proposition we present a formula with instantiation overflow which is not a subformula of any of the three types in the beginning of this section Proposition 22 The formula 8X ((A! X)! (B! X)), with X not occurring in A nor in B, has instantiation overflow Proof Let us prove, by induction on the complexity of the formula F, that from 8X ((A! X)! (B! X)) we can derive (A! F )! (B! F ) for any formula F For F an atomic formula, the result is immediate We give below the deduction trees for F : D! and for F : 8X 8X ((A! X)! (B! X)) (A! )! (B! ) B! [A! (D! )] [A] D! A! [D] D! B! (D! ) (A! (D! ))! (B! (D! )) [B]

INSTANTIATION OVRFLOW 21 and 8X ((A! X)! (B! X)) (A! )! (B! ) B! [A!8X] [A] 8X A! 8X B!8X (A!8X)! (B!8X) Since the target system in the Prawitz translation of the full intuitionistic propositional calculus is a system with implication, the connectives translated are?, ^ and _, with no need to translate! Note however that B! A could be translated (following a similar strategy) by the formula of Proposition 22 Could it be the case that the only formulas in F at with instantiation overflow were the ones that came from the translation of the four logical connectives via the previous extension of Prawitz correspondence (and their subformulas)? The answer is no Having in view to isolate a class of formulas with instantiation overflow we start with some definitions Definition 23 Consider the formula 8XA We say that A is a Prawitz formula if A can be obtained according to the following clauses: (i) A X (ii) A B! P, where X does not occur in B and P is a Prawitz formula (iii) A P! Q, wherep, Q are Prawitz formulas Definition 24 Let A be a Prawitz formula We define lv(a), the level of A, according to the following clauses: (i) lv(a) := 0, if A X (ii) lv(a) :=lv(p ), if A B! P,whereX does not occur in B and P is a Prawitz formula [B]

22 BRUNO DINIS AND GILDA FRRIRA (iii) lv(a) := max (lv (P )+1,lv(Q)), if A P! Q, wherep, Q are Prawitz formulas Note that the formulas of level 0 are the ones obtained by restricting Definition 23 to the first two clauses, ie are the smallest class of formulas that includes X and is closed under B! with B any formula of F at where X does not occur It is easy to see that a formula A has level 0 if and only if A is of the form B n! (B n 1! (! (B 1! B 0 ))), for n 2 N 0,where X does not occur in B i (1 apple i apple n) and B 0 X Lemma 25 Let A be a Prawitz formula such that lv (A) =0 Let D, be formulas in F at 1 If there is a proof of A [/X] in F at, possibly with undischarged hypothesis, then we can extend that proof to a proof of A [D! /X] and discharge any hypothesis D 2 If there is a proof of A [/X] in F at, where X does not occur free in any undischarged hypothesis, then we can extend that proof to a proof of A [8X/X] Proof Take A B n! (B n 1! (! (B 1! B 0 ) )), where B 0 is X and X does not occur in B i (1 apple i apple n) In both cases the proof is by induction on n 2 N 0 1 For n = 0 the proof is trivial (an application of the!i-rule) For the induction step assume that from a proof of B n!(b n 1!(!(B 1! ) )) we may derive B n! (B n 1! (! (B 1! (D! )) )) and discharge any hypothesis D Then B n+1! (B n! (! (B 1! ) )) [B n+1 ] B n! (B n 1! (! (B 1! ) )) B n! (B n 1! (! (B 1! (D! )) )) B n+1! (B n! (! (B 1! (D! )) )) Ie, from a proof of B n+1! (B n! (! (B 1! ) )) we may derive B n+1! (B n! (! (B 1! (D! )) )) and discharge any hypothesis D 2 For n = 0 the proof is trivial (an application of the 8I-rule)

INSTANTIATION OVRFLOW 23 For the induction step assume that from a proof of B n! (B n 1! (! (B 1! ))), where X does not occur free in any undischarged hypothesis we may derive a proof of B n! (B n 1! (! (B 1!8X) )) Then B n+1! (B n! (! (B 1! ) )) [B n+1 ] B n! (B n 1! (! (B 1! ) )) B n! (B n 1! (! (B 1!8X) )) B n+1! (B n! (! (B 1!8X)) ) Ie, from a proof of B n+1! (B n! (! (B 1! ) )), where X does not occur free in any undischarged hypothesis, we may derive a proof of B n+1! (B n! (! (B 1!8X)) ) In what follows we will be interested not only on the existence of the derivations above but also in the concrete derivations displayed in the proof of Lemma 25 Theorem 26 If lv(a) =0then the formula 8XA has instantiation overflow Proof Because lv(a) =0wehave(i)A X or (ii) A B n! (B n 1! (! (B 1! X))), for some n 1 Case (i) was shown in [1] To prove case (ii) we need to show that from 8XA we can derive, in F at, A [F/X], for any formula F By induction on the complexity of F we study the cases F : D! and F : 8X One has and 8X (B n! (B n 1! (! (B 1! X) ))) B n! (B n 1! (! (B 1! ) )) Lemma 251 B n! (B n 1! (! (B 1! (D! )) )) 8X (B n! (B n 1! (! (B 1! X) ))) B n! (B n 1! (! (B 1! ) )) Lemma 252 B n! (B n 1! (! (B 1! (8X)) )) We aim to show that any Prawitz formula A such that lv (A) = 1 also has instantiation overflow In order to do so we need a kind of converse of

24 BRUNO DINIS AND GILDA FRRIRA Lemma 25 (for level 0 formulas) and a version of the same lemma for level 1 formulas Lemma 27 Let A be a Prawitz formula such that lv (A) =0 Let D, be arbitrary formulas in F at FromA [D! /X] and D we can derive, in F at, A [/X] Proof Since lv (A) = 0, A has the form B n! (B n 1! (! (B 1! B 0 ) )), where B 0 is X and X does not occur in B i (1 apple i apple n) The proof is by induction on n 2 N 0 For n = 0 the proof is trivial (an application of the!-rule) For the induction step assume that from B n! (B n 1! (! (B 1! (D! )))) and D we may derive B n! (B n 1! (! (B 1! ) )) Then B n+1! (B n! (! (B 1! (D! )) )) [B n+1 ] B n! (B n 1! (! (B 1! (D! )) )) D B n! (B n 1! (! (B 1! ) )) B n+1! (B n! (! (B 1! ) )) Ie, from B n+1! (B n! (! (B 1! (D! )) )) and D we may derive B n+1! (B n! (! (B 1! ) )) Lemma 28 Let A be a Prawitz formula such that lv(a) =0 Let be an arbitrary formula in F at Then from A [8X/X] we can derive, in F at, A [/X] Proof We prove, by induction on n, that the formula A B n! (B n 1! (! (B 1! B 0 ))), where B 0 X and X does not occur in B i (1 apple i apple n) has the desired property, for all n 2 N 0 For n = 0 the result is trivial (an application of the 8-rule) For the induction step assume that from B n! (B n 1! (! (B 1!8X))) we may derive B n! (B n 1! (! (B 1! ) )) Then

INSTANTIATION OVRFLOW 25 B n+1! (B n! (! (B 1!8X) )) [B n+1 ] B n! (B n 1! (! (B 1!8X) )) B n! (B n 1! (! (B 1! ) )) B n+1! (B n! (! (B 1! ) )) Ie, from B n+1! (B n! (! (B 1!8X) )) we may derive B n+1! (B n! (! (B 1! ) )) By Definition 24, we can see that the class of Prawitz formulas of level 1 is the smallest class of formulas which includes the formulas of the form P 2! P 1 with lv (P 2 )=lv (P 1 ) = 0 and is closed under B! and S! where B is any formula in F at where X does not occur and S is any level 0 formula Lemma 29 Let A be a Prawitz formula such that lv (A) =1 Let D, be arbitrary formulas in F at Then 1 If there is a proof of A [/X] in F at, possibly with undischarged hypothesis, then we can extend that proof to a proof of A [D! /X] and discharge any hypothesis D 2 If there is a proof of A [/X], inf at, where X does not occur free in any undischarged hypothesis, then we can extend that proof to a proof of A [8X/X] Proof The proof is, in both cases, by induction on A, noticing that, because lv(a) = 1, the Prawitz formula A has one of the following forms: a) A A 1! A 2,withA 1, A 2 Prawitz formulas of level 0; b) A B! A 0,whereX does not occur in B and A 0 is a Prawitz formula of level 1; c) A A 1! A 2,whereA 1 is a Prawitz formula of level 0 and A 2 is a Prawitz formula of level 1

26 BRUNO DINIS AND GILDA FRRIRA 1 For cases a) and c) we have [A 1 [D! /X]] [D] A 1 [/X]! A 2 [/X] A 1 [/X] A 2 [/X] A 2 [D! /X] A 1 [D! /X]! A 2 [D! /X] Lemma 27 Lemma 251, case a), or IH, case c); D discharged For case b) we have B! A 0 [/X] A 0 [/X] [B] A 0 [D! /X] B! A 0 [D! /X] ; D discharged 2 For cases a) and c) we have A 1 [/X]! A 2 [/X] A 2 [/X] [A 1 [8X/X]] A 1 [/X] A 2 [8X/X] A 1 [8X/X]! A 2 [8X/X] Lemma 28 Lemma 252 (for case a)) or IH (for case c)) For case b) we have B! A 0 [/X] A 0 [/X] [B] A 0 [8X/X] B! A 0 [8X/X]

INSTANTIATION OVRFLOW 27 Theorem 210 If lv(a) =1then the formula 8XA has instantiation overflow Proof The proof is by induction on the complexity of F Weneedto show that from 8XA we may derive A [F/X] for any formula F For F atomic the proof is trivial (an application of the 8-rule) If F : D! then 8XA A [/X] A [D! /X] Lemma 291 If F := 8X then 8XA A [/X] A [8X/X] Lemma 292 We conclude that we may derive A [F/X] for any formula F,hencethe formula 8XA has instantiation overflow Corollary 211 Let A be the translation into F at of a formula of the intuitionistic propositional calculus (through the embedding of IPC into F at mentioned in the introductory section) then: every universal subformula of A (say 8XB) has instantiation overflow; the universal closure of the subformulas of B which have X as a freevariable have instantiation overflow Proof Immediately from Theorems 26 and 210 Note that 8XB has to be the Prawitz s translation of?, conjunction or disjunction and so B (and its subformulas which have X as a free-variable) have level less than or equal to 1 Remark 212 Let A be an arbitrary closed universal formula, and let A io := 8X ((A! X)! X)

28 BRUNO DINIS AND GILDA FRRIRA Trivially, A `Fat A io On the other side, by definition, (A! X)! X is a Prawitz formula of level 1, and so by Theorem 210, the formula A io has instantiation overflow Hence, A io `Fat (A! A)! A and also A io `Fat A does hold The (not so surprising) conclusion is that any universal formula is equivalent, in F at, to a universal formula having instantiation overflow And so, given that not all universal formulas have instantiation overflow (see Appendix A), it turns out that the class of formulas having instantiation overflow is not closed under logical equivalence 3 Prawitz formulas of level 2 and beyond It remains an open question if levels greater or equal than 2 are also as well-behaved as levels 0 and 1 concerning instantiation We are able to show that (even disregarding tautologies) each level n contains particular inhabitants whose universal closure has instantiation overflow, namely, with P a propositional constant (((P! X)! X) )! X {z } n+1 times Definition 31 Let P be a propositional constant For all n 2 N 0,we define A n recursively by ( A 0 := P A n+1 := A n! X Observe that for n 1 the formula A n is a Prawitz formula with level n 1 To show that for all n 2 N, the formula 8XA n has instantiation overflow we need the following lemma Lemma 32 Let A n be as defined above For all i, k 2 N 0, we can extend, in F at,aproofofa i [F/X] to a proof of A 2k+i [F/X], foranyformula F in F at Proof Fix i 2 N 0 The proof is by induction on k 2 N 0 For k =0 the result is obvious Assume that it is possible to extend, in F at, a proof of A i [F/X] to a proof of A 2k+i [F/X] Then

INSTANTIATION OVRFLOW 29 A i [F/X] A 2k+i [F/X] [A 2k+i+1 [F/X]] F A 2k+i+2 [F/X] Theorem 33 For all n 2 N, theformula8xa n has instantiation overflow Proof We consider two cases: i) n is even (say n 2m with m 2 N) and ii) n in odd (say n 2m 1 with m 2 N) In the first case, let us prove, by induction on the complexity of the formula F, that from 8XA 2m we can derive A 2m [F/X] for any formula F For F an atomic formula, the result is immediate We give below the deduction trees for F : D! and for F : 8X 8XA 2m A 2m [/X] [P! (D! )] [P ] D! P! A 1 [/X] A 2m D! (P! (D! ))! (D! ) A 2 [D! /X] Lemma 32 A 2m [D! /X] 1 [/X] [D] Lemma 32 where the dashed line means syntactic equality

30 BRUNO DINIS AND GILDA FRRIRA 8XA 2m A 2m [/X] [P!8X] [P ] 8X P! A 1 [/X] A 2m 1 [/X] 8X (P!8X)!8X A 2 [8X/X] Lemma 32 A 2m [8X/X] Lemma 32 In the second case, let us prove, by induction on the complexity of the formula F, that from 8XA 2m 1 we can derive A 2m 1 [F/X] for any formula F For F an atomic formula, the result is immediate We give below the deduction trees for F : D! and for F : 8X 8XA 2m 1 A 2m 1 [/X] D! P! (D! ) A 1 [D! /X] A 2m [P ] A 0 [/X] A 2m 1 [D! /X] 2 [/X] Lemma 32 Lemma 32 8XA 2m 1 A 2m 1 [/X] 8X P!8X A 1 [8X/X] A 2m [P ] A 0 [/X] A 2m 1 [8X/X] 2 [/X] Lemma 32 Lemma 32 Corollary 34 For all n 2 N 0 there exists a Prawitz formula of level n whose universal closure has instantiation overflow

INSTANTIATION OVRFLOW 31 Appendix A In this appendix we prove that the formula 8X (X! P ), with P a propositional constant, does not have instantiation overflow Observe that (according to Definition 23) X! P is not a Prawitz formula Theorem 35 The formula 8X (X! P ), withp apropositionalconstant, does not have instantiation overflow Proof Suppose, in order to obtain a contradiction, that from 8X (X! P ) one could derive, in F at,(p! P )! P SinceF at is strongly normalizable [3] take D a normal proof of (P! P )! P from 8X (X! P ) We know that ( ) every formula in D is either a subformula of 8X (X! P )(thehypothesis) or a subformula of (P! P )! P (the conclusion) 3 Let us analyse D By ( ) the last rule in D must be an introduction rule, so D has the form 8X (X! P ) [P! P ] P (P! P )! P Since P is a propositional constant it has to be derived by an elimination rule By ( ) it is the elimination of an implication Thus, in the bottom of the proof we have By ( ) three situations may occur: S! P S P (P! P )! P (?) (i) S is the formula P! P or (ii) S is P or (iii) S is an atomic formula di erent from P Case (i) does not occur Note that if it were the case we would have 3 Condition ( ) is known as the subformula property See [1] for a proof of the subformula property in F at

32 BRUNO DINIS AND GILDA FRRIRA (P! P )! P P! P P (P! P )! P which is impossible because D is a normal proof, so it cannot have an - conversion Case (iii) also does not occur because if it was the case we would have S! P S P (P! P )! P and above S the rule could not be an introduction rule since S is an atomic formula and could not be an elimination rule by ( ) Thus, we would have case (ii) and the proof would be P! P P P (P! P )! P Again, above P we would be in the previous (?) situation Case (iii) does not occur (see the argument above) Case (i) uses the conclusion, just postponing the problem, so we may assume it is not the case By case (ii) we have P! P P! P P P (P! P )! P P Another P and (?) situation was generated and it should be analysed exactly as before We see that the process would go forever This is a contradiction because D (being a natural deduction proof) has necessarily a finite number of steps Acknowledgements The authors are grateful to Fernando Ferreira and to the anonymous referee for useful comments and suggestions on preliminary versions of this paper

INSTANTIATION OVRFLOW 33 References [1] F Ferreira, Comments on Predicative Logic, Journal of Philosophical Logic 35 (2006), 1 8 [2] F Ferreira and G Ferreira, Commuting conversions vs the standard conversions of the good connectives, Studia Logica 92 (2009), 63 84 [3] F Ferreira and G Ferreira, Atomic Polymorphism, Journal of Symbolic Logic 78:1 (2013), 260 274 [4] F Ferreira and G Ferreira, The faithfulness of atomic polymorphism, Trends in Logic XIII, A Indrzejczak, J Kaczmarek, M Zawidzki (eds), Lódź University Press, pp 55 64, 2014 [5] F Ferreira and G Ferreira, The faithfulness of Fat: a proof-theoretic proof, Studia Logica 103:6 (2015), 1303 1311 [6] J-Y Girard, Y Lafont and P Taylor, Proofs and Types, Cambridge University Press, 1989 [7] D Prawitz, Natural Deduction, Almkvist & Wiskell, Stockholm, 1965 Reprinted in Dover Publications, 2006 Departamento de Matemática Faculdade de Ciências da Universidade de Lisboa Campo Grande, d C6 1749-016 Lisboa Portugal bmdinis@fculpt Departamento de Matemática Faculdade de Ciências da Universidade de Lisboa Campo Grande, d C6 1749-016 Lisboa Portugal and Departamento de Matemática Universidade Lusófona de Humanidades e Tecnologias Av do Campo Grande, 376 1749-024 Lisboa Portugal gmferreira@fculpt