DocumentCode :
3257366
Title :
Functional Reachability
Author :
Ong, C.-H.L. ; Tzevelekos, N.
Author_Institution :
Univ. of Oxford, Oxford, UK
fYear :
2009
fDate :
11-14 Aug. 2009
Firstpage :
286
Lastpage :
295
Abstract :
What is reachability in higher-order functional programs? We formulate reachability as a decision problem in the setting of the prototypical functional language PCF, and show that even in the recursion-free fragment generated from a finite base type, several versions of the reachability problem are undecidable from order 4 onwards, and several other versions are reducible to each other. We characterise a version of the reachability problem in terms of a new class of tree automata introduced by Stirling at FoSSaCS 2009, called Alternating Dependency Tree Automata (ADTA). As a corollary, we prove that the ADTA non-emptiness problem is undecidable, thus resolving an open problem raised by Stirling. However, by restricting to contexts constructible from a finite set of variable names, we show that the corresponding solution set of a given instance of the reachability problem is regular. Hence the relativised reachability problem is decidable.
Keywords :
automata theory; decidability; formal languages; functional languages; functional programming; reachability analysis; trees (mathematics); alternating dependency tree automata; decision problem; functional reachability; higher-order functional program; prototypical functional language; recursion-free fragment; undecidable; Automata; Computer industry; Computer science; Logic; Polynomials; Prototypes; Simultaneous localization and mapping; Software safety; Software standards; Software testing; PCF; Reachability; game semantics; higher-order computation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic In Computer Science, 2009. LICS '09. 24th Annual IEEE Symposium on
Conference_Location :
Los Angeles, CA
ISSN :
1043-6871
Print_ISBN :
978-0-7695-3746-7
Type :
conf
DOI :
10.1109/LICS.2009.48
Filename :
5230572
Link To Document :
بازگشت