Sciweavers

PLPV
2010
ACM

Free theorems for functional logic programs

14 years 9 months ago
Free theorems for functional logic programs
Type-based reasoning is popular in functional programming. In particular, parametric polymorphism constrains functions in such a way that statements about their behavior can be derived without consulting function definitions. Is the same possible in a strongly, and polymorphically, typed functional logic language? This is the question we study in this paper. Logical features like nondeterminism and free variables cause interesting effects, which we examine based on examples and address by identifying appropriate conditions that guarantee standard free theorems or inequational versions thereof to hold. We see this case study as a stepping stone for a general theory, not provided here, involving the definition of a logical relation and other machinery required for parametricity arguments appropriate to functional logic languages. Categories and Subject Descriptors F.3.1 [Logics and Meanings of Programs]: Specifying and Verifying and Reasoning about Programs; D.3.3 [Programming Languag...
Jan Christiansen, Daniel Seidel, Janis Voigtlä
Added 17 Mar 2010
Updated 17 Mar 2010
Type Conference
Year 2010
Where PLPV
Authors Jan Christiansen, Daniel Seidel, Janis Voigtländer
Comments (0)