Back to search

Chalmers University of Technology

QuickInv: Program Invariant Discovery from Execution Traces

Abstract

dc:description.abstract

Automatic loop invariant inference is a fundamental problem in program verification, yet it is challenging due to the complex behavior of program loops, and the problem is undecidable. Traditional approaches are often limited by predefined templates or are specialized to specific types of loop invariants. This thesis presents QuickInv, a dynamic invariant discovery system that is built upon the principles of theory exploration to overcome these limitations. QuickInv discovers high-level invariants by systematically exploring potential invariants by testing against recorded execution traces. We demonstrate QuickInv on several common array programs, such as binary search, selection sort, and merge sort, successfully recovering many key loop invariants.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • NILSSON, EDVIN
  • NOROZI, ENAYATULLAH
Advisor dc:contributor.supervisor
  • Smallbone, Nicholas
Committee member dc:contributor.committeemember
  • Abd Alrahman, Yehia

Subjects

dc:subject × 5

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX05

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

NILSSON, EDVIN; NOROZI, ENAYATULLAH. QuickInv: Program Invariant Discovery from Execution Traces. H thesis, 2025. https://hdl.handle.net/20.500.12380/310886