Extending Liquid Types to Arrays
dc.contributor.author | Montenegro Montes, Manuel | |
dc.contributor.author | Nieva Soto, Susana | |
dc.contributor.author | Peña Marí, Ricardo Vicente | |
dc.contributor.author | Segura Díaz, Clara María | |
dc.date.accessioned | 2023-06-17T08:25:29Z | |
dc.date.available | 2023-06-17T08:25:29Z | |
dc.date.issued | 2020-01-21 | |
dc.description.abstract | A liquid type is an ordinary Hindley-Milner type annotated with a logical predicate that states the properties satisfied by the elements of that type. Liquid types are a powerful tool for program verification, since programmers can use them to specify pre- and postconditions of their programs, while the predicates of intermediate variables and auxiliary functions are inferred automatically. Type inference is feasible in this context, since the logical predicates within liquid types are constrained to a quantifier-free logic in order to maintain decidability. In this paper we extend liquid types by allowing them to contain quantified properties on arrays, so that they can be used to infer invariants on array-related programs (for example, implementations of sorting algorithms). Although quantified logic is, in general, undecidable, we restrict properties on arrays to a decidable subset introduced by Bradley et al. We describe in detail the extended type system, the verification condition generator, and the iterative weakening algorithm for inferring invariants. After proving the correctness and completeness of these two algorithms, we apply them to find invariants on a set of algorithms involving array manipulations. | |
dc.description.department | Depto. de Sistemas Informáticos y Computación | |
dc.description.faculty | Fac. de Informática | |
dc.description.refereed | TRUE | |
dc.description.sponsorship | Ministerio de Economía y Competitividad (MINECO) | |
dc.description.sponsorship | Comunidad de Madrid/FEDER | |
dc.description.status | pub | |
dc.eprint.id | https://eprints.ucm.es/id/eprint/71766 | |
dc.identifier.doi | 10.1145/3362740 | |
dc.identifier.issn | 1529-3785 | |
dc.identifier.officialurl | https://dl.acm.org/doi/10.1145/3362740 | |
dc.identifier.uri | https://hdl.handle.net/20.500.14352/7066 | |
dc.issue.number | 2 | |
dc.journal.title | ACM Transactions on Computational Logic | |
dc.language.iso | eng | |
dc.page.final | 41 | |
dc.page.initial | 1 | |
dc.publisher | ACM | |
dc.relation.projectID | CAVIART-2 (TIN2017-86217-R) | |
dc.relation.projectID | BLOQUES-CM (S2018/TCS-4339) | |
dc.rights.accessRights | open access | |
dc.subject.keyword | Dependent Types | |
dc.subject.keyword | Liquid Types | |
dc.subject.keyword | Invariant Synthesis | |
dc.subject.keyword | Tipos dependientes | |
dc.subject.keyword | Tipos Liquid | |
dc.subject.keyword | Síntesis de Invariantes | |
dc.subject.ucm | Lenguajes de programación | |
dc.subject.ucm | Programación de ordenadores (Informática) | |
dc.subject.ucm | Software | |
dc.subject.ucm | Lógica simbólica y matemática (Matemáticas) | |
dc.subject.unesco | 1203.23 Lenguajes de Programación | |
dc.subject.unesco | 1203.23 Lenguajes de Programación | |
dc.subject.unesco | 3304.16 Diseño Lógico | |
dc.subject.unesco | 1102.14 Lógica Simbólica | |
dc.title | Extending Liquid Types to Arrays | |
dc.type | journal article | |
dc.volume.number | 21 | |
dspace.entity.type | Publication | |
relation.isAuthorOfPublication | dc391c7e-9682-4142-a1de-7d649b26bf3d | |
relation.isAuthorOfPublication | 21132b4a-0809-4135-9a71-0b771813a8e9 | |
relation.isAuthorOfPublication | 5dcfab9e-e180-44e1-809b-fea65a09bd23 | |
relation.isAuthorOfPublication | b7547876-744e-4e9b-b551-c0dfab2a2d83 | |
relation.isAuthorOfPublication.latestForDiscovery | dc391c7e-9682-4142-a1de-7d649b26bf3d |
Download
Original bundle
1 - 1 of 1