Master’s Thesis Presentation • Formal Methods • Improvements to Many-Sorted Finite Model Finding using SMT SolversExport this event to calendar

Wednesday, August 9, 2023 — 12:00 PM to 1:00 PM EDT

Please note: This master’s thesis presentation will take place in DC 2564.

Owen Zila, Master’s candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Nancy Day

Formal modeling is a powerful tool in requirements engineering. By modeling a system before implementation, one can discover bugs before they appear in testing or production. Model finding for a model written in first-order logic is the problem of finding a mapping of variables to values that satisfies a model’s specifications. Unfortunately, this problem is undecidable in general. Finite model finding, the problem of finding a mapping of variables to finite sets of values, is decidable. Thus, finite model finding enables the automated verification of models at certain scopes (the number of elements in the domain of discourse of the problem). When transforming a model into a problem for finite model finding, one runs into several challenges. While finitizing a problem makes it solvable, as the scope of the problem increases, the problem can quickly become prohibitively expensive to solve. Therefore, it is important to choose an efficient encoding of the problem for satisfiability (SAT) or satisfiability modulo theories (SMT) solvers when finitizing a problem.

We propose improvements to encodings of many-sorted finite model finding problems for SMT solvers. We propose new encodings for transitive closure and finite integers. The key contributions of this thesis are that we:

  • Propose and prove the validity of an encoding of the transitive closure operator for a special case of the use of transitive closure
  • Generalize existing encodings of transitive closure to relations of arity greater than 2
  • Compare the performance of existing encodings and our new encoding of transitive closure on models generated from Alloy models
  • Formulate Milicevic and Jackson’s (Milicevic 2014) method for preventing overflows in integer problems using bitvectors as a transformation from/to a many-sorted first-order logic formula
  • Propose an integer finitization method, called overflow-preventing finite integers (OPFI), that produces results closer to unbounded integers than Milicevic and Jackson's method, improving the correctness of the finitization with respect to the same problem over unbounded integers
  • Demonstrate that OPFI solves problems faster than our encoding of Milicevic and Jackson’s method in an SMT solver, and does not solve problems significantly slower than unchecked (pure) bitvectors
Location 
DC - William G. Davis Computer Research Centre
DC 2564
200 University Avenue West

Waterloo, ON N2L 3G1
Canada
Event tags 

S M T W T F S
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
  1. 2024 (132)
    1. June (1)
    2. May (13)
    3. April (41)
    4. March (27)
    5. February (25)
    6. January (25)
  2. 2023 (296)
    1. December (20)
    2. November (28)
    3. October (15)
    4. September (25)
    5. August (30)
    6. July (30)
    7. June (22)
    8. May (23)
    9. April (32)
    10. March (31)
    11. February (18)
    12. January (22)
  3. 2022 (245)
  4. 2021 (210)
  5. 2020 (217)
  6. 2019 (255)
  7. 2018 (217)
  8. 2017 (36)
  9. 2016 (21)
  10. 2015 (36)
  11. 2014 (33)
  12. 2013 (23)
  13. 2012 (4)
  14. 2011 (1)
  15. 2010 (1)
  16. 2009 (1)
  17. 2008 (1)