2017
DOI: 10.1145/3158133
|View full text |Cite
|
Sign up to set email alerts
|

Generating good generators for inductive relations

Abstract: Property-based random testing (PBRT) is widely used in the functional programming and verification communities. For testing simple properties, PBRT tools such as QuickCheck can automatically generate random inputs of a given type. But for more complex properties, effective testing often demands generators for random inputs that belong to a given type and satisfy some logical condition. QuickCheck provides a library of combinators for building such generators by hand, but this can be tedious for simple conditio… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
9
0

Year Published

2018
2018
2022
2022

Publication Types

Select...
4
4
1

Relationship

0
9

Authors

Journals

citations
Cited by 30 publications
(9 citation statements)
references
References 32 publications
0
9
0
Order By: Relevance
“…Regardless of the input node, Tzer simply returns a new node generated from scratch that satisfies the given constraints. This is done by Tzer's generator, which is inspired by the prior generators in the random testing community [Claessen et al 2015;Lampropoulos et al 2017]. The functionality of the generator is to produce IR ingredients/snippets based on the constraints and a Deletion.…”
Section: Anynodetype =mentioning
confidence: 99%
“…Regardless of the input node, Tzer simply returns a new node generated from scratch that satisfies the given constraints. This is done by Tzer's generator, which is inspired by the prior generators in the random testing community [Claessen et al 2015;Lampropoulos et al 2017]. The functionality of the generator is to produce IR ingredients/snippets based on the constraints and a Deletion.…”
Section: Anynodetype =mentioning
confidence: 99%
“…Hammers and other general-purpose automation (Section 5.2.1) can help a proof engineer discharge simple proof obligations and quickly determine that a theorem is true; the proof engineer can then reprove the theroem in a different way if desired. Propertybased testing tools like Quickcheck for Isabelle (Bulwahn, 2012) and QuickChick (Lampropoulos et al, 2017;Paraskevopoulou et al, 2015) for Coq can help users identify counterexamples to false properties.…”
Section: Tooling For User Supportmentioning
confidence: 99%
“…There are tools for random testing such as QuickCheck [Claessen and Hughes 2000], Smallcheck [Runciman et al 2008], and QuickChick [Lampropoulos et al 2018] that use type information and additional properties to generate random tests. However, we are not aware that these tools have been used to generate worst-case inputs or tests for exposing high resource usage.…”
Section: Related Workmentioning
confidence: 99%