Skip to main content

2021 | OriginalPaper | Buchkapitel

Approximate Bit Dependency Analysis to Identify Program Synthesis Problems as Infeasible

verfasst von : Marius Kamp, Michael Philippsen

Erschienen in: Verification, Model Checking, and Abstract Interpretation

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Bit-vector-based program synthesis is an important building block of state-of-the-art techniques in computer programming. Some of these techniques do not only rely on a synthesizer’s ability to return an appropriate program if it exists but also require a synthesizer to detect if there is no such program at all in the entire search space (i.e., the problem is infeasible), which is a computationally demanding task.
In this paper, we propose an approach to quickly identify some synthesis problems as infeasible. We observe that a specification function encodes dependencies between input and output bits that a correct program must satisfy. To exploit this fact, we present approximate analyses of essential bits and use them in two novel algorithms to check if a synthesis problem is infeasible. Our experiments show that adding our technique to applications of bit vector synthesis can save up to 33% of their time.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The benchmark sources provide a means to obtain the correct program. For example, some sources specify rewrite rules. Here, the left hand side corresponds to the specification function and the right hand side is an implementing program.
 
2
We observed that synthesizers for the class of Syntax Guided Synthesis problems perform poorly due to the necessary restrictions, as others noted before us [4].
 
Literatur
1.
Zurück zum Zitat Alur, R., et al.: Syntax-guided synthesis. In: FMCAD 2013: Formal Methods in Computer-Aided Design, Portland, OR, pp. 1–8 (2013). https://sygus.org Alur, R., et al.: Syntax-guided synthesis. In: FMCAD 2013: Formal Methods in Computer-Aided Design, Portland, OR, pp. 1–8 (2013). https://​sygus.​org
4.
Zurück zum Zitat Buchwald, S., Fried, A., Hack, S.: Synthesizing an instruction selection rule library from semantic specifications. In: CGO 2018: Code Generation and Optimization, Vienna, Austria, pp. 300–313 (2018). https://doi.org/10.1145/3168821 Buchwald, S., Fried, A., Hack, S.: Synthesizing an instruction selection rule library from semantic specifications. In: CGO 2018: Code Generation and Optimization, Vienna, Austria, pp. 300–313 (2018). https://​doi.​org/​10.​1145/​3168821
7.
Zurück zum Zitat Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order. Cambridge University Press, Cambridge (2002)CrossRef Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order. Cambridge University Press, Cambridge (2002)CrossRef
12.
Zurück zum Zitat Hu, Q., Cyphert, J., D’Antoni, L., Reps, T.W.: Exact and approximate methods for proving unrealizability of syntax-guided synthesis problems. In: PLDI 2020: Programming Language Design and Implementation, London, UK, pp. 1128–1142 (2020). https://doi.org/10.1145/3385412.3385979 Hu, Q., Cyphert, J., D’Antoni, L., Reps, T.W.: Exact and approximate methods for proving unrealizability of syntax-guided synthesis problems. In: PLDI 2020: Programming Language Design and Implementation, London, UK, pp. 1128–1142 (2020). https://​doi.​org/​10.​1145/​3385412.​3385979
14.
Zurück zum Zitat Mechtaev, S., Griggio, A., Cimatti, A., Roychoudhury, A.: Symbolic execution with existential second-order constraints. In: ESEC/FSE 2018: European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Lake Buena Vista, FL, pp. 389–399 (2018). https://doi.org/10.1145/3236024.3236049 Mechtaev, S., Griggio, A., Cimatti, A., Roychoudhury, A.: Symbolic execution with existential second-order constraints. In: ESEC/FSE 2018: European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Lake Buena Vista, FL, pp. 389–399 (2018). https://​doi.​org/​10.​1145/​3236024.​3236049
21.
Zurück zum Zitat Warren Jr., H.S.: Hacker’s Delight. Addison-Wesley, Upper Saddle River (2012) Warren Jr., H.S.: Hacker’s Delight. Addison-Wesley, Upper Saddle River (2012)
22.
Zurück zum Zitat Wegener, I.: The Complexity of Boolean Functions. B. G. Teubner, Stuttgart (1987)MATH Wegener, I.: The Complexity of Boolean Functions. B. G. Teubner, Stuttgart (1987)MATH
Metadaten
Titel
Approximate Bit Dependency Analysis to Identify Program Synthesis Problems as Infeasible
verfasst von
Marius Kamp
Michael Philippsen
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-67067-2_16