The Safe Lambda Calculus
William Blum,C.-H. Luke Ong +1 more
TL;DR: The safe lambda calculus is introduced, which is obtained by transposing (and generalizing) the safety condition to the setting of the simply-typed lambda calculus, and it is shown that the numeric functions representable in the safelambda calculus are exactly the multivariate polynomials; thus conditional is not definable.
read more
Abstract: Safety is a syntactic condition of higher-order grammars that constrains occurrences of variables in the production rules according to their type-theoretic order. In this paper, we introduce the safe lambda calculus, which is obtained by transposing (and generalizing) the safety condition to the setting of the simply-typed lambda calculus. In contrast to the original definition of safety, our calculus does not constrain types (to be homogeneous). We show that in the safe lambda calculus, there is no need to rename bound variables when performing substitution, as variable capture is guaranteed not to happen. We also propose an adequate notion of beta-reduction that preserves safety. In the same vein as Schwichtenberg's 1976 characterization of the simply-typed lambda calculus, we show that the numeric functions representable in the safe lambda calculus are exactly the multivariate polynomials; thus conditional is not definable. We also give a characterization of representable word functions. We then study the complexity of deciding beta-eta equality of two safe simply-typed terms and show that this problem is PSPACE-hard. Finally we give a game-semantic analysis of safety: We show that safe terms are denoted by `P-incrementally justified strategies'. Consequently pointers in the game semantics of safe lambda-terms are only necessary from order 4 onwards.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Collapsible Pushdown Automata and Recursion Schemes
Matthew Hague,Andrzej S. Murawski,C.-H.L. Ong,Olivier Serre +3 more
- 24 Jun 2008
TL;DR: It is shown that the problem of solving parity games over the configuration graphs of order-n CPDA is n-EXPTIME complete, subsuming several well-known results about the solvability of games over higher-order pushdown graphs by (respectively) Walukiewicz, Cachat, and Knapik et al.
Complexity of Model Checking Recursion Schemes for Fragments of the Modal Mu-Calculus
Naoki Kobayashi,C.-H. Luke Ong +1 more
TL;DR: This study is motivated by Kobayashi's recent work showing that the resource usage verification of functional programs can be reduced to the model checking of recursion schemes.
The Safe Lambda Calculus
William Blum,C.-H. Luke Ong +1 more
TL;DR: The safe lambda calculus is introduced, which is obtained by transposing (and generalizing) the safety condition to the setting of the simply-typed lambda calculus, and it is shown that the numeric functions representable in the safelambda calculus are exactly the multivariate polynomials; thus conditional is not definable.
31
Transition systems over games
Paul Blain Levy,Sam Staton +1 more
- 14 Jul 2014
TL;DR: A framework for game semantics combining operational and denotational accounts is described, illustrated by an example of substitution within a lambda-calculus.
Simply typed fixpoint calculus and collapsible pushdown automata
Sylvain Salvati,Igor Walukiewicz +1 more
TL;DR: Two relatively simple translations from λY-terms to CPDA using Krivine machines as an intermediate step are presented, which provide the notions of closure and environment that facilitate reasoning about computation in the λ-calculus.
References
Intensional Interpretations of Functionals of Finite Type I
TL;DR: The main results of this paper are interpretations of T0 in intuitionistic arithmetic U0 and of T1 in intuitionist analysis U1 in this paper, where U1 is U0 with quantification over functionals of type (0,0) and the axiom schemata AC00 and of bar induction.
726
On Model-Checking Trees Generated by Higher-Order Recursion Schemes
C.-H.L. Ong
- 12 Aug 2006
TL;DR: It is proved that the modal mu-calculus model-checking problem for (ranked and ordered) node-labelled trees that are generated by order-n recursion schemes is n-EXPTIME complete, and it follows that the monadic second-order theories of these trees are decidable.
A game semantics for linear logic
TL;DR: It is proposed that the connectives of linear logic can be naturally interpreted as the operations on games introduced for entirely different purposes by Blass (1972), and it is shown that affine logic, i.e., linear logic plus the rule of weakening, is sound for this interpretation.
328
Intuitionistic propositional logic is polynomial-space complete
TL;DR: It is shown that the question of whether a given propositional formula is intuitionistically valid (in Brouwer's sense, in Kripke's sense), or just provable by Heyting's rules, is p-space complete.
287
Related Papers (5)
William Blum,C.-H. Luke Ong +1 more
Sylvain Salvati,Igor Walukiewicz +1 more
- 07 Sep 2015
Alberto Lluch-Lafuente,Ugo Montanari +1 more
- 01 Jan 2005