Scala to the Power of Z3: Integrating SMT and Programming

被引:0
|
作者
Koeksal, Ali Sinan [1 ]
Kuncak, Viktor [1 ]
Suter, Philippe [1 ]
机构
[1] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
来源
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We describe a system that integrates the SMT solver Z3 with the Scala programming language. The system supports the use of the SMT solver for checking satisfiability, unsatisfiability, as well as solution enumeration. The embedding of formula trees into Scala uses the host type system of Scala to prevent the construction of certain ill-typed constraints. The solution enumeration feature integrates into the iteration constructions of Scala and supports writing non-deterministic programs. Using Z3's mechanism of theory extensions, our system also helps users construct custom constraint solvers where the interpretation of predicates and functions is given as Scala code. The resulting system preserves the productivity advantages of Scala while simplifying tasks such as combinatorial search.
引用
收藏
页码:400 / 406
页数:7
相关论文
共 50 条
  • [41] Supercharging Plant Configurations Using Z3
    Bjorner, Nikolaj
    Levatich, Maxwell
    Lopes, Nuno P.
    Rybalchenko, Andrey
    Vuppalapati, Chandrasekar
    INTEGRATION OF CONSTRAINT PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND OPERATIONS RESEARCH, 2021, 12735 : 1 - 25
  • [42] Edge Z3 parafermions in fermionic lattices
    Teixeira, Raphael L. R. C.
    Dias da Silva, Luis G. G., V
    PHYSICAL REVIEW B, 2022, 105 (19)
  • [43] Z3 scalar singlet dark matter
    Belanger, Genevieve
    Kannike, Kristjan
    Pukhov, Alexander
    Raidal, Martti
    JOURNAL OF COSMOLOGY AND ASTROPARTICLE PHYSICS, 2013, (01):
  • [44] Moto Z3 Play海外发布
    刘刚
    计算机与网络, 2018, 44 (13) : 27 - 27
  • [46] Z3 flavor symmetry and possible implications
    Luo, M. J.
    PHYSICS LETTERS B, 2009, 672 (03) : 303 - 306
  • [47] Satisfiability Modulo Custom Theories in Z3
    Bjorner, Nikolaj
    Eisenhofer, Clemens
    Kovacs, Laura
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2023, 2023, 13881 : 91 - 105
  • [48] DKAL and Z3: A Logic Embedding Experiment
    Mera, Sergio
    Bjorner, Nikolaj
    FIELDS OF LOGIC AND COMPUTATION: ESSAYS DEDICATED TO YURI GUREVICH ON THE OCCASION OF HIS 70TH BIRTHDAY, 2010, 6300 : 504 - +
  • [49] NONPERTURBATIVE CALCULATION OF Z3 IN MASSLESS ELECTRODYNAMICS
    FRISHMAN, Y
    PHYSICAL REVIEW, 1965, 138 (6B): : 1450 - &
  • [50] Measures on the Circle invariant under z → z2 and z → z3
    Nadkarni, MG
    TRIBUTE TO C.S. SESHADRI: A COLLECTION OF ARTICLES ON GEOMETRY AND REPRESENTATION THEORY, 2003, : 421 - 427