GOSPEL -Providing OCaml with a Formal Specification Language - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2019

GOSPEL -Providing OCaml with a Formal Specification Language

Résumé

This paper introduces GOSPEL, a behavioral specification language for OCaml. It is designed to enable modular verification of data structures and algorithms. GOSPEL is a contract-based, strongly typed language, with a formal semantics defined by means of translation into Separation Logic. Compared with writing specifications directly in Separation Logic, GOSPEL provides a high-level syntax that greatly improves conciseness and makes it accessible to programmers with no familiarity with Separation Logic. Although GOSPEL has been developed for specifying OCaml code, we believe that many aspects of its design could apply to other programming languages. This paper presents the design and semantics of GOSPEL, and reports on its application for the development of a formally verified library of general-purpose OCaml data structures.
Fichier principal
Vignette du fichier
main.pdf (405.54 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02157484 , version 1 (17-06-2019)
hal-02157484 , version 2 (12-07-2019)

Identifiants

  • HAL Id : hal-02157484 , version 1

Citer

Arthur Charguéraud, Jean-Christophe Filliâtre, Cláudio Lourenço, Mário Pereira. GOSPEL -Providing OCaml with a Formal Specification Language. FM 2019 : 23rd International Symposium on Formal Methods, Oct 2019, Porto, Portugal. ⟨hal-02157484v1⟩

Collections

INSERM
857 Consultations
1486 Téléchargements

Partager

More