A generic imperative language for polynomial time

11/11/2019
by   Daniel Leivant, et al.
0

We propose a generic imperative programming language STR that captures PTime computations, on both infinite inductive structures and families of finite structures. The approach, set up in [29] for primitive-recursive complexity, construes finite partial-functions as a universal canonical form of data, and uses structure components for loop variants. STR is obtained by the further refinement that assigns ranks to finite partial-functions, which regulate the interaction of loops, yielding programs that run in polynomial time. STR captures algorithms that have eluded ramified recurrence, and is promising as an artifact of Implicit Complexity which is malleable to static analysis implementations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/09/2018

Implicit complexity via structure transformation

Implicit computational complexity, which aims at characterizing complexi...
research
08/15/2018

A theory of finite structures

We develop a novel formal theory of finite structures, based on a view o...
research
08/14/2019

Pointers in Recursion: Exploring the Tropics

We translate the usual class of partial/primitive recursive functions to...
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
09/28/2009

On the Scope of the Universal-Algebraic Approach to Constraint Satisfaction

The universal-algebraic approach has proved a powerful tool in the study...
research
05/20/2022

General Ramified Recurrence and Polynomial-time Completeness

We exhibit a sound and complete implicit-complexity formalism for functi...
research
02/28/2022

The Complexity of Evaluating nfer

Nfer is a rule-based language for abstracting event streams into a hiera...

Please sign up or login with your details

Forgot password? Click here to reset