Results 1 -
5 of
5
Walther Recursion
- Proceedings CADE 13, Springer LNCS
, 1996
"... . Primitive recursion is a well known syntactic restriction on recursive definitions which guarantees termination. Unfortunately many natural definitions, such as the most common definition of Euclid's GCD algorithm, are not primitive recursive. Walther has recently given a proof system for veri ..."
Abstract
-
Cited by 16 (0 self)
- Add to MetaCart
. Primitive recursion is a well known syntactic restriction on recursive definitions which guarantees termination. Unfortunately many natural definitions, such as the most common definition of Euclid's GCD algorithm, are not primitive recursive. Walther has recently given a proof system for verifying termination of a broader class of definitions. Although Walther's system is highly automatible, the class of acceptable definitions remains only semi-decidable. Here we simplify Walther's calculus and give a syntactic criterion on definitions which guarantees termination. This syntactic criteria generalizes primitive recursion and handles most of the examples given by Walther. We call the corresponding class of acceptable definitions "Walther recursive". 1 Introduction One of the central problems in verification logics, such as the Boyer-Moore theorem prover [2], [10], is the need to prove termination for recursive definitions. Many logics, such as that of Boyer and Moore, assu...
On the Complexity of Set-Based Analysis
, 1997
"... : We formally define the set-based abstraction of any language whose operational semantics can be defined by environment evaluation. The Aiken-Wimmers soft type system precisely corresponds to this set-based abstraction under their operational semantics. The Heintze set-based analysis is precisely t ..."
Abstract
-
Cited by 8 (0 self)
- Add to MetaCart
: We formally define the set-based abstraction of any language whose operational semantics can be defined by environment evaluation. The Aiken-Wimmers soft type system precisely corresponds to this set-based abstraction under their operational semantics. The Heintze set-based analysis is precisely this set-based abstraction under a different operational semantics. In general, set-based abstraction determines a notion of SBA-safety. Aiken-Wimmers typability is a form of SBA-safety. SBA- safety is decidable in most cases. For monovariant functional programs with shallow case statements SBA-safety is decidable in O(n 3 ) time under any standard operational semantics. We show here that if we allow deep patterns in the case statements of monovariant functional programs the problem of determining SBA-safety becomes complete for deterministic exponential time (under any standard operational semantics). We also systematically characterize the complexity of determining SBA-safety for monov...
A Methodological View of Constraint Solving
, 1996
"... Constraints have become very popular during the last decade. Constraints allow to define sets of data by means of logical formulae. Our goal here is to survey the notion of constraint system and to give examples of constraint systems operating on various domains, such as natural, rational or real nu ..."
Abstract
-
Cited by 4 (2 self)
- Add to MetaCart
Constraints have become very popular during the last decade. Constraints allow to define sets of data by means of logical formulae. Our goal here is to survey the notion of constraint system and to give examples of constraint systems operating on various domains, such as natural, rational or real numbers, finite domains, and term domains. We classify the different methods used for solving constraints, syntactic methods based on transformations, semantic methods based on adequate representations of constraints, hybrid methods combining transformations and enumerations. Examples are used throughout the paper to illustrate the concepts and methods. We also discuss applications of constraints to various fields, such as programming, operations research, and theorem proving. y CNRS and LRI, Bat. 490, Universit'e de Paris Sud, 91405 ORSAY Cedex, France fcomon, jouannaudg@lri.lri.fr z COSYTEC, Parc Club Orsay Universit'e, 4 Rue Jean Rostand, 91893 Orsay Cedex, France dincbas@cosytec.fr x ...
Inferring Recursive Data Types
"... . This paper contains five results on the problem of inferring types. The first is that type inference over recursive types with unions and data constructors can be done in cubic time using a flow analysis. The second is a general theorem characterizing the time complexity of bottom-up logic pro ..."
Abstract
-
Cited by 4 (0 self)
- Add to MetaCart
. This paper contains five results on the problem of inferring types. The first is that type inference over recursive types with unions and data constructors can be done in cubic time using a flow analysis. The second is a general theorem characterizing the time complexity of bottom-up logic programs. The O(n 3 ) running time of the flow analysis is a corollary of this bottom-up run time theorem. The third is that for shallow case statements typability by the semantic types of Aiken, Wimmers and Lakshman is equivalent to typability by recursive types and hence can be determined by flow analysis. The fourth is that, even for first order programs of arity one, typability by recursive types is PSPACE hard for polymorphic programs. The final result is that for any fixed bound on order and arity Hindley-Milner typability can be determined in pseudo-linear time, i.e., O(nff(n)) where ff is the inverse Ackerman function. The last two results suggest that let-polymorphism over s...

