Complete and tractable machine-independent characterizations of second-order polytime

08/31/2022
by   Emmanuel Hainry, et al.
0

The class of Basic Feasible Functionals BFF is the second-order counterpart of the class of first-order functions computable in polynomial time. We present several implicit characterizations of BFF based on a typed programming language of terms. These terms may perform calls to imperative procedures, which are not recursive. The type discipline has two layers: the terms follow a standard simply-typed discipline and the procedures follow a standard tier-based type discipline. BFF consists exactly of the second-order functionals that are computed by typable and terminating programs. The completeness of this characterization surprisingly still holds in the absence of lambda-abstraction. Moreover, the termination requirement can be specified as a completeness-preserving instance, which can be decided in time quadratic in the size of the program. As typing is decidable in polynomial time, we obtain the first tractable (i.e., decidable in polynomial time), sound, complete, and implicit characterization of BFF, thus solving a problem opened for more than 20 years.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/23/2021

A tier-based typed programming language characterizing Feasible Functionals

The class of Basic Feasible Functionals BFF_2 is the type-2 counterpart ...
research
05/20/2022

General Ramified Recurrence and Polynomial-time Completeness

We exhibit a sound and complete implicit-complexity formalism for functi...
research
01/23/2018

Type-two polynomial-time and restricted lookahead

This paper provides an alternate characterization of type-two polynomial...
research
02/19/2018

A Type-Based Complexity Analysis of Object Oriented Programs

A type system is introduced for a generic Object Oriented programming la...
research
07/28/2017

A syntactic tool for proving hardness in the Second Level of the Polynomial-Time Hierarchy

In the nineties Immerman and Medina initiated the search for syn- tactic...
research
02/14/2018

On completeness and parametricity in the realizability semantics of System F

A general approach to the realizability semantics of System F is obtaine...
research
10/10/2017

Representations and evaluation strategies for feasibly approximable functions

A famous result due to Ko and Friedman (1982) asserts that the problems ...

Please sign up or login with your details

Forgot password? Click here to reset