We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LO

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Logic in Computer Science

Title: A Hoare Logic with Regular Behavioral Specifications

Abstract: We present a Hoare logic that extends program specifications with regular expressions that capture behaviors in terms of sequences of events that arise during the execution. The idea is similar to session types or process-like behavioral contracts, two currently popular research directions. The approach presented here strikes a particular balance between expressiveness and proof automation, notably, it can capture interesting sequential behavior across multiple iterations of loops. The approach is modular and integrates well with autoactive deductive verification tools. We describe and demonstrate our prototype implementation in SecC using two case studies: A matcher for E-Mail addresses and a specification of the game steps in the VerifyThis Casino challenge.
Subjects: Logic in Computer Science (cs.LO); Formal Languages and Automata Theory (cs.FL)
Cite as: arXiv:2205.06584 [cs.LO]
  (or arXiv:2205.06584v1 [cs.LO] for this version)

Submission history

From: Gidon Ernst [view email]
[v1] Fri, 13 May 2022 12:16:22 GMT (51kb,D)

Link back to: arXiv, form interface, contact.