We propose to extend property-based testing to substructural logics to overcome the current lack of reasoning tools in the field. We take the first step by implementing a property-based testing system for specifications written in the linear logic programming language Lolli. We employ the foundational proof certificates architecture to model various data generation strategies. We validate our approach by encoding a model of a simple imperative programming language and its compilation and by testing its meta-theory via mutation analysis.
Towards Substructural Property-Based Testing / M. Mantovani, A. Momigliano (LECTURE NOTES IN ARTIFICIAL INTELLIGENCE). - In: Logic-Based Program Synthesis and Transformation / [a cura di] E. De Angelis, W. Vanhoof. - [s.l] : Springer, 2022 Mar. - ISBN 978-3-030-98868-5. - pp. 92-112 (( Intervento presentato al 31. convegno LOPSTR tenutosi a Tallinn nel 2021 [10.1007/978-3-030-98869-2_6].
Towards Substructural Property-Based Testing
M. MantovaniPrimo
;A. Momigliano
Ultimo
2022
Abstract
We propose to extend property-based testing to substructural logics to overcome the current lack of reasoning tools in the field. We take the first step by implementing a property-based testing system for specifications written in the linear logic programming language Lolli. We employ the foundational proof certificates architecture to model various data generation strategies. We validate our approach by encoding a model of a simple imperative programming language and its compilation and by testing its meta-theory via mutation analysis.File | Dimensione | Formato | |
---|---|---|---|
p9.pdf
accesso riservato
Tipologia:
Post-print, accepted manuscript ecc. (versione accettata dall'editore)
Dimensione
332.07 kB
Formato
Adobe PDF
|
332.07 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
Mantovani-Momigliano2022_Chapter_TowardsSubstructuralProperty-B.pdf
accesso aperto
Tipologia:
Publisher's version/PDF
Dimensione
620.9 kB
Formato
Adobe PDF
|
620.9 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.