Title
Making Random Judgments: Automatically Generating Well-Typed Terms from the Definition of a Type-System.
Abstract
This paper presents a generic method for randomly generating well-typed expressions. It starts from a specification of a typing judgment in PLT Redex and uses a specialized solver that employs randomness to find many different valid derivations of the judgment form. Our motivation for building these random terms is to more effectively falsify conjectures as part of the tool-support for semantics models specified in Redex. Accordingly, we evaluate the generator against the other available methods for Redex, as well as the best available custom well-typed term generator. Our results show that our new generator is much more effective than generation techniques that do not explicitly take types into account and is competitive with generation techniques that do, even though they are specialized to particular type-systems and ours is not.
Year
DOI
Venue
2015
10.1007/978-3-662-46669-8_16
Lecture Notes in Computer Science
Field
DocType
Volume
Programming language,Expression (mathematics),Computer science,Theoretical computer science,Solver,Randomness
Conference
9032
ISSN
Citations 
PageRank 
0302-9743
5
0.42
References 
Authors
15
5
Name
Order
Citations
PageRank
Burke Fetscher150.42
Koen Claessen2146896.88
Michal H. Palka350.42
John Hughes41573174.22
Robert Bruce Findler550.76