Unboundedness for Recursion Schemes: A Simpler Type System

04/23/2022
by   David Barozzini, et al.
0

Decidability of the problems of unboundedness and simultaneous unboundedness (aka. the diagonal problem) for higher-order recursion schemes was established by Clemente, Parys, Salvati, and Walukiewicz (2016). Then a procedure of optimal complexity was presented by Parys (2017); this procedure used a complicated type system, involving multiple flags and markers. We present here a simpler and much more intuitive type system serving the same purpose. We prove that this type system allows to solve the unboundedness problem for a widely considered subclass of recursion schemes, called safe schemes. For unsafe recursion schemes we only have soundness of the type system: if one can establish a type derivation claiming that a recursion scheme is unbounded then it is indeed unbounded. Completeness of the type system for unsafe recursion schemes is left as an open question. Going further, we discuss an extension of the type system that allows to handle the simultaneous unboundedness problem. We also design and implement an algorithm that fully automatically checks unboundedness of a given recursion scheme, completing in a short time for a wide variety of inputs.

READ FULL TEXT

page 1

page 3

page 9

page 11

page 13

page 17

research
02/16/2022

On higher order passivity preserving schemes for nonlinear Maxwell's equations

We present two strategies for designing passivity preserving higher orde...
research
04/19/2021

Simple Type Theory is not too Simple: Grothendieck's Schemes without Dependent Types

We report on a formalization of schemes in the proof assistant Isabelle/...
research
10/10/2018

Recursion Schemes, the MSO Logic, and the U quantifier

We study the model-checking problem for recursion schemes: does the tree...
research
01/28/2023

An Unbounded Fully Homomorphic Encryption Scheme Based on Ideal Lattices and Chinese Remainder Theorem

We propose an unbounded fully homomorphic encryption scheme, i.e. a sche...
research
08/16/2021

A New Stability Approach for Positivity-Preserving Patankar-type Schemes

Patankar-type schemes are linearly implicit time integration methods des...
research
02/17/2020

On Higher-Order Cryptography (Long Version)

Type-two constructions abound in cryptography: adversaries for encryptio...
research
09/29/2005

Simultaneous adaptation to the margin and to complexity in classification

We consider the problem of adaptation to the margin and to complexity in...

Please sign up or login with your details

Forgot password? Click here to reset