Cargando…

A First-Order Logic with Frames

We propose a novel logic, called Frame Logic (FL), that extends first-order logic (with recursive definitions) using a construct [Formula: see text] that captures the implicit supports of formulas— the precise subset of the universe upon which their meaning depends. Using such supports, we formulate...

Descripción completa

Detalles Bibliográficos
Autores principales: Murali, Adithya, Peña, Lucas, Löding, Christof, Madhusudan, P.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7702254/
http://dx.doi.org/10.1007/978-3-030-44914-8_19
Descripción
Sumario:We propose a novel logic, called Frame Logic (FL), that extends first-order logic (with recursive definitions) using a construct [Formula: see text] that captures the implicit supports of formulas— the precise subset of the universe upon which their meaning depends. Using such supports, we formulate proof rules that facilitate frame reasoning elegantly when the underlying model undergoes change. We show that the logic is expressive by capturing several data-structures and also exhibit a translation from a precise fragment of separation logic to frame logic. Finally, we design a program logic based on frame logic for reasoning with programs that dynamically update heaps that facilitates local specifications and frame reasoning. This program logic consists of both localized proof rules as well as rules that derive the weakest tightest preconditions in FL.