A note on the complexity of program evaluation
A simple variant of the evaluation problem for simple loop programs is examined and shown to be nonelementary recursive. The problem is the following: given an input-free program P without nested loops using only instructions of the form \(x\leftarrow 1\), \(x\leftarrow x+y\), \(x\leftarrow x\dot-y (x\dot- y=x-y\) if \(x\geq y\) and 0 otherwise), do \(x...\) end, does P output 0? Formally, let \(C=\{P\}\) be a set of programs over the nonnegative integers and let \(E(C)=\{P| P\in C\) and P outputs 0 when all its variables are initially set to 0\(\}\). The complexity (lower and upper bounds) of recognizing E(C) is looked at and it is shown in a straight-forward manner that E(C) is not elementary recursive even for very simple classes C. The result follows basically from the time hierarchy theorem and a merit of it is its elementary proof. The result can be easily generalized to shown that this 0-evaluation problem is progressively harder for programs with nested loops.
- Program evaluation as a decision problem
- Applying Mccabe's complexity measure to multiple-exit programs
- Mixed evaluation of relations in programs
- A distributionally robust analysis of the program evaluation and review technique
- Performance evaluation as a tool for quantitative assessment of complexity of interactive systems
- The Mixing Problem in Programme Evaluation
- scientific article; zbMATH DE number 3420721
- Characterizations of Presburger Functions
- scientific article; zbMATH DE number 3664335 (Why is no real title available?)
- scientific article; zbMATH DE number 3511563 (Why is no real title available?)
- scientific article; zbMATH DE number 3560737 (Why is no real title available?)
- scientific article; zbMATH DE number 3586480 (Why is no real title available?)
- scientific article; zbMATH DE number 3303654 (Why is no real title available?)
- scientific article; zbMATH DE number 3310089 (Why is no real title available?)
- On the Complexity of Flowchart and Loop Program Schemes and Programming Languages
- On the Computational Complexity of Algorithms
- On the Computational Complexity of Program Scheme Equivalence
- Simple programming languages and restricted classes of Turing machines
- Simple Programs Realize Exactly Presburger Formulas
- Subrecursive Programming Languages, Part I
- The Complexity of the Equivalence Problem for Simple Programs
- The Equivalence Problem of Simple Programs
- Some complexity bounds for problems concerning finite and 2-dimensional vector addition systems with states
- On the complexity of the correctness problem for non-zeroness test instruction sequences
- The event-history approach to program evaluation
- On simple programs with primitive conditional statements
- scientific article; zbMATH DE number 4066332 (Why is no real title available?)
- The Garland measure and computational complexity of stack programs
- Register complexity of LOOP-, WHILE-, and GOTO-programs
- On the complexity of commutativity analysis
This page was built for publication: A note on the complexity of program evaluation
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3319774)