3 research outputs found
An Infinite Needle in a Finite Haystack: Finding Infinite Counter-Models in Deductive Verification
First-order logic, and quantifiers in particular, are widely used in
deductive verification. Quantifiers are essential for describing systems with
unbounded domains, but prove difficult for automated solvers. Significant
effort has been dedicated to finding quantifier instantiations that establish
unsatisfiability, thus ensuring validity of a system's verification conditions.
However, in many cases the formulas are satisfiable: this is often the case in
intermediate steps of the verification process. For such cases, existing tools
are limited to finding finite models as counterexamples. Yet, some quantified
formulas are satisfiable but only have infinite models. Such infinite
counter-models are especially typical when first-order logic is used to
approximate inductive definitions such as linked lists or the natural numbers.
The inability of solvers to find infinite models makes them diverge in these
cases. In this paper, we tackle the problem of finding such infinite models.
These models allow the user to identify and fix bugs in the modeling of the
system and its properties. Our approach consists of three parts. First, we
introduce symbolic structures as a way to represent certain infinite models.
Second, we describe an effective model finding procedure that symbolically
explores a given family of symbolic structures. Finally, we identify a new
decidable fragment of first-order logic that extends and subsumes the
many-sorted variant of EPR, where satisfiable formulas always have a model
representable by a symbolic structure within a known family. We evaluate our
approach on examples from the domains of distributed consensus protocols and of
heap-manipulating programs. Our implementation quickly finds infinite
counter-models that demonstrate the source of verification failures in a simple
way, while SMT solvers and theorem provers such as Z3, cvc5, and Vampire
diverge
Explicit fixed-points in provability logic
Smyslem tĂ©to diplomovĂ© práce je prozkoumat explicitnĂ vĂ˝poty pevn Ă˝ch bod v logice dokazatelnosti GL. Vta o pevnĂ˝ch bodech znĂ: Pro kadou modálnĂ formuli A(p) v nĂ kadĂ˝ vĂ˝skyt atomu p je vázán modálnĂm operátorem ¤, existuje formule D obsahujĂcĂ pouze vĂ˝rokovĂ© atomy obsaenĂ© v A(p), neobsahujĂcĂ vĂ˝rokovĂ˝ atom p, a taková, e v GL je dokazatelnĂ© D ' A(D). Formule D je navĂc ur- ena a na dokazatelnou ekvivalenci jednoznan. Nejprve vyslovĂme nkolik speciálnĂch pĂpad vty o pevnĂ˝ch bodech a potĂ© podrobnji prozkoumáme vtu v plnĂ©m znnĂ. Dále ukáeme jednu sĂ©mantickou a dv syntaktickĂ© konstrukce pevnĂ˝ch bod a dokáeme jejich korektnost. V práci se zabĂ˝váme takĂ© nkterĂ˝mi sloitostnĂmi aspekty konstrukce, pedevĂm uvádĂme jednoduchĂ© hornĂ odhady dĂ©lky a modálnĂ sloitosti zĂskanĂ˝ch pevnĂ˝ch bod.The aim of this diploma thesis is to discuss the explicit calculations of xed-points in provability logic GL. The xed-point theorem reads: For every modal formula A(p) such that each occurrence of p is under the scope of ¤, there is a formula D containing only sentence letters contained in A(p), not containing the sentence letter p, such that GL proves D ' A(D). Moreover, D is unique up to the provable equivalence. Firstly, we establish some special cases of the theorem and then we will look more closely at the full theorem. We show one semantic and two syntactic full xed-point constructions and prove their correctness. We also discuss some complexity aspects connected with the constructions and present basic upper bounds on length and modal depth of the constructed xed-points.Katedra logikyDepartment of LogicFaculty of ArtsFilozofická fakult