Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Reasoning About Loops Using Vampire

View through CrossRef
In 2009, the symbol elimination method for loop invariant generationwas introduced, which used saturationtheorem proving in first-order logic to generate quantified invariantsof programs with arrays. Symbol elimination is fully automatic,requires no user guidance, and it is the first ever approach able togenerate invariants with alternations of quantifiers. In this paperwe describe a number of improvements and extensions to symbolelimination and invariant generation using first-order theoremproving, in particular the Vampire theorem prover. Rather than beinglimited to a specific programming language, our approach to reasoningabout loops in Vampire relies on a simple guarded command language forits input, which can be used as an interface for more complex andrealistic imperative languages. We propose new ways for extendingquantified loop properties describing valid loop properties, bysimplifying the properties over array updates and next staterelations. We also extend symbol elimination with pre- andpost-conditions of loops. We use the loop specification to generateonly invariants that are relevant, that is, invariants that are neededfor proving partial correctness of loops. Further, we turn symbolelimination into an automatic approach proving program correctness,providing an alternative method to Hoare-rule based loop verificationor other deductive systems. We present our newly redesignedimplementation of loop reasoning in Vampire and also report onexperimental results.
Title: Reasoning About Loops Using Vampire
Description:
In 2009, the symbol elimination method for loop invariant generationwas introduced, which used saturationtheorem proving in first-order logic to generate quantified invariantsof programs with arrays.
Symbol elimination is fully automatic,requires no user guidance, and it is the first ever approach able togenerate invariants with alternations of quantifiers.
In this paperwe describe a number of improvements and extensions to symbolelimination and invariant generation using first-order theoremproving, in particular the Vampire theorem prover.
Rather than beinglimited to a specific programming language, our approach to reasoningabout loops in Vampire relies on a simple guarded command language forits input, which can be used as an interface for more complex andrealistic imperative languages.
We propose new ways for extendingquantified loop properties describing valid loop properties, bysimplifying the properties over array updates and next staterelations.
We also extend symbol elimination with pre- andpost-conditions of loops.
We use the loop specification to generateonly invariants that are relevant, that is, invariants that are neededfor proving partial correctness of loops.
Further, we turn symbolelimination into an automatic approach proving program correctness,providing an alternative method to Hoare-rule based loop verificationor other deductive systems.
We present our newly redesignedimplementation of loop reasoning in Vampire and also report onexperimental results.

Related Results

The Universal Vampire
The Universal Vampire
Since the publication of John Polidori’s The Vampyre (1819), the vampire has been a mainstay of Western culture, appearing consistently in literature, art, music (notably opera), f...
Characterization of dislocation loops in hydrogen-ion irradiated vanadium
Characterization of dislocation loops in hydrogen-ion irradiated vanadium
Vanadium alloys are considered as the candidate materials for structure application in fusion reactors because of their low radiation-induced activation, high resistance to radiati...
Vampire Bat Rabies: Ecology, Epidemiology and Control
Vampire Bat Rabies: Ecology, Epidemiology and Control
Extensive surveillance in bat populations in response to recent emerging diseases has revealed that this group of mammals acts as a reservoir for a large range of viruses. However,...
Logical Challenges in Artificial General Intelligence
Logical Challenges in Artificial General Intelligence
The present thesis pertains to the research area of logic for artificial intelligence (AI), and is motivated by the critical role of automated reasoning in AI, particularly by the ...
Connections between Basarab and Buchsteiner Loops
Connections between Basarab and Buchsteiner Loops
Basarab loops and Buchsteiner loops are both G-loops with deep algebraic andstructural properties. Extra loops belong to these two classes. This paper examinesthe main connections ...
How Large Language Models Can Affect Clinical Reasoning: A Randomized Clinical Trial
How Large Language Models Can Affect Clinical Reasoning: A Randomized Clinical Trial
Abstract Importance LLMs have encoded a vast array of medical knowledge and are being integrated into clinical settings as deci...
The Vampire Alive in the Sand
The Vampire Alive in the Sand
Using a dream, 2 paintings, and 2 sandtrays from clinical practice the author explores the meaning of the vampire image. The vampire image is also amplified in folklore, literature...

Back to Top