Proceedings

Program Synthesis as Dependency Quantified Formula Modulo Theory

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1894-1900.

https://doi.org/10.24963/ijcai.2021/261

Abstract

Given a specification φ(X, Y ) over inputs X and output Y and defined over a background theory T, the problem of program synthesis is to design a program f such that Y = f (X), satisfies the specification φ. Over the past decade, syntax-guided synthesis (SyGuS) has emerged as a dominant approach to program synthesis where in addition to the specification φ, the end-user also specifies a grammar L to aid the underlying synthesis engine. This paper investigates the feasibility of synthesis techniques without grammar, a sub-class defined as T constrained synthesis. We show that T-constrained synthesis can be reduced to DQF(T),i.e., to the problem of finding a witness of a dependency quantified formula modulo theory. When the underlying theory is the theory of bitvectors, the corresponding DQF problem can be further reduced to Dependency Quantified Boolean Formulas (DQBF). We rely on the progress in DQBF solving to design DQBF-based synthesizers that outperform the domain-specific program synthesis techniques; thereby positioning DQBF as a core representation language for program synthesis. Our empirical analysis shows that T-constrained synthesis can achieve significantly better performance than syntax-guided approaches. Furthermore, the general-purpose DQBF solvers perform on par with domain-specific synthesis techniques.

  1. [Akshay et al., 2018] S. Akshay, S. Chakraborty, S. Goel, S. Kulal, and S. Shah. What's hard about Boolean functional synthesis? In Proc. of CAV, 2018.
  2. [Akshay et al., 2019] S. Akshay, J. Arora, S. Chakraborty, S. Kr- ishna, D. Raghunathan, and S. Shah. Knowledge compilation for Boolean functional synthesis. In Proc. of FMCAD, 2019.
  3. [Alur et al., 2013] R. Alur, R. Bodik, G. Juniwal, M. M. Martin, M. Raghothaman, S. A. Seshia, R. Singh, A. Solar-Lezama, E. Torlak, and A. Udupa. Syntax-guided synthesis. In Proc. of FMCAD, 2013.
  4. [Alur et al., 2017] R. Alur, A. Radhakrishna, and A. Udupa. Scal- ing enumerative program synthesis via divide and conquer. In Proc. of TACAS, 2017.
  5. [Ardeshiricham et al., 2019] A. Ardeshiricham, Y. Takashima, S. Gao, and R. Kastner. Verisketch: Synthesizing secure hard- ware designs with timing-sensitive information flow properties. In Proc. of CCS, 2019.
  6. [Barrett et al., 2011] C. Barrett, C. L. Conway, M. Deters, L. Hadarean, D. Jovanovi'c, T. King, A. Reynolds, and C. Tinelli. CVC4. In Proc. of CAV, 2011.
  7. [Bendik and Meel, 2020] J. Bendik and K. S. Meel. Approximate counting of minimal unsatisfiable subsets. In Proc. of CAV, 2020.
  8. [Biere et al., 1999] A. Biere, A. Cimatti, E. Clarke, and Y. Zhu. Symbolic model checking without BDDs. In International con- ference on tools and algorithms for the construction and analysis of systems, pages 193-207. Springer, 1999.
  9. [De Moura and Bjørner, 2008] L. De Moura and N. Bjørner. Z3: An efficient SMT solver. In Proc. of TACAS, 2008.
  10. [Faymonville et al., 2017] P. Faymonville, B. Finkbeiner, M. N. Rabe, and L. Tentrup. Encodings of bounded synthesis. In Proc. of TACAS, 2017.
  11. [Fried et al., 2016] D. Fried, L. M. Tabajara, and M. Y. Vardi. BDD-based Boolean functional synthesis. In Proc. of CAV, 2016.
  12. [Fröhlich et al., 2012] A. Fröhlich, G. Kovásznai, and A. Biere. A DPLL algorithm for solving dqbf. Proc. POS, 2012.
  13. [Fröhlich et al., 2014] A. Fröhlich, G. Kovásznai, A. Biere, and H. Veith. idq: Instantiation-based DQBF solving. In Proc. of SAT, 2014.
  14. [Ganian et al., 2020] R. Ganian, T. Peitl, F. Slivovsky, and S. Szei- der. Fixed-parameter tractability of dependency QBF with struc- tural parameters. Proc. of KR, 2020.
  15. [Gitina et al., 2015] K. Gitina, R. Wimmer, S. Reimer, M. Sauer, C. Scholl, and B. Becker. Solving DQBF through quantifier elim- ination. In Proc. of DATE, 2015.
  16. [Golia et al., 2020] P. Golia, S. Roy, and K. S. Meel. Manthan: A data-driven approach for Boolean function synthesis. In Proc. of CAV, 2020.
  17. [Green, 1981] C. Green. Application of theorem proving to prob- lem solving. In Readings in Artificial Intelligence. 1981.
  18. [Henkin, 1961] L. Henkin. Some remarks on infinitely long for- mulas, infinitistic methods (proc. sympos. foundations of math., warsaw, 1959), 1961.
  19. [Huang et al., 2020] K. Huang, X. Qiu, P. Shen, and Y. Wang. Rec- onciling enumerative and deductive program synthesis. In Proc. of PLDI, 2020.
  20. [Jiang, 2009] J.-H. R. Jiang. Quantifier elimination via functional composition. In Proc. of CAV, 2009.
  21. [Kautz and Selman, 1992] H. A. Kautz and B. Selman. Planning as satisfiability. In Proc. of ECAI, 1992.
  22. [Kim et al., 2021] J. Kim, Q. Hu, L. D'Antoni, and T. Reps. Semantics-guided synthesis. In Proc. of POPL, 2021.
  23. [Kolmogorov, 1932] A. N. Kolmogorov. ,,zur deutung der intuition- istischen logik mathematische zeitschrift35. English translation in VM Tikhomirov (ed.) Selected Works of AN Kolmogorov, 1932.
  24. [Lonsing and Biere, 2010] F. Lonsing and A. Biere. DepQBF: A dependency-aware QBF solver. Proc. of JSAT, 2010.
  25. [Lonsing and Egly, 2017] F. Lonsing and U. Egly. DepQBF 6.0: A search-based QBF solver beyond traditional QCDCL. In Proc. of CADE, 2017.
  26. [Manna and Waldinger, 1971] Z. Manna and R. J. Waldinger. To- ward automatic program synthesis. Communications of the ACM, 1971.
  27. [Marques-Silva et al., 2009] J. Marques-Silva, I. Lynce, and S. Ma- lik. Conflict-driven clause learning SAT solvers. In Handbook of satisfiability, pages 131-153. ios Press, 2009.
  28. [Martins et al., 2014] R. Martins, V. Manquinho, and I. Lynce. Open-WBO: A modular MaxSAT solver. In Proc. of SAT, 2014.
  29. [Padhi et al., 2019] S. Padhi, T. D. Millstein, A. V. Nori, and R. Sharma. Overfitting in synthesis: Theory and practice. In Proc. of CAV, 2019.
  30. [Peterson et al., 2001] G. Peterson, J. Reif, and S. Azhar. Lower bounds for multiplayer noncooperative games of incomplete in- formation. Computers & Mathematics with Applications, 2001.
  31. [Rabe and Tentrup, 2015] M. N. Rabe and L. Tentrup. CAQE: A certifying QBF solver. In Proc. of FMCAD, 2015.
  32. [Rabe et al., 2018] M. N. Rabe, L. Tentrup, C. Rasmussen, and S. A. Seshia. Understanding and extending incremental deter- minization for 2QBF. In Proc. of CAV, 2018.
  33. [Rabe, 2017] M. N. Rabe. A resolution-style proof system for DQBF. In Proc. of SAT, 2017.
  34. [Rabe, 2019] M. N. Rabe. Incremental determinization for quanti- fier elimination and functional synthesis. In Proc. of CAV, 2019.
  35. [Reynolds et al., 2015] A. Reynolds, M. Deters, V. Kuncak, C. Tinelli, and C. Barrett. Counterexample-guided quantifier in- stantiation for synthesis in SMT. In Proc. of CAV, 2015.
  36. [Sharma et al., 2019] S. Sharma, S. Roy, M. Soos, and K. S. Meel. Ganak: A scalable probabilistic exact model counter. In Proc. IJCAI, 2019. IJCAI
  37. [Sìc, 2020] J. Sìc. Satisfiability of DQBF using binary decision di- agrams. Master's thesis, 2020.
  38. [Soos et al., 2020] M. Soos, S. Gocht, and K. S. Meel. Tinted, de- tached, and lazy CNF-XOR solving and its applications to count- ing and sampling. In Proc. of CAV, 2020.
  39. [Tentrup and Rabe, 2019] L. Tentrup and M. N. Rabe. Clausal ab- straction for DQBF. In Proc. of SAT, 2019.
  40. [Udupa et al., 2013] A. Udupa, A. Raghavan, J. V. Deshmukh, S. Mador-Haim, M. M. Martin, and R. Alur. TRANSIT: spec- ifying protocols with concolic snippets. ACM SIGPLAN Notices, 2013.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards