{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T16:02:48Z","timestamp":1790697768342,"version":"4.1.0"},"reference-count":70,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2023,4,6]],"date-time":"2023-04-06T00:00:00Z","timestamp":1680739200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2023,4,6]]},"abstract":"<jats:p>Template-based synthesis, also known as sketching, is a localized approach to program synthesis in which the programmer provides not only a specification, but also a high-level \"sketch\" of the program. The sketch is basically a partial program that models the general intuition of the programmer, while leaving the low-level details as unimplemented \"holes\". The role of the synthesis engine is then to fill in these holes such that the completed program satisfies the desired specification. In this work, we focus on template-based synthesis of polynomial imperative programs with real variables, i.e. imperative programs in which all expressions appearing in assignments, conditions and guards are polynomials over program variables. While this problem can be solved in a sound and complete manner by a reduction to the first-order theory of the reals, the resulting formulas will contain a quantifier alternation and are extremely hard for modern SMT solvers, even when considering toy programs with a handful of lines. Moreover, the classical algorithms for quantifier elimination are notoriously unscalable and not at all applicable to this use-case.<\/jats:p><jats:p>In contrast, our main contribution is an algorithm, based on several well-known theorems in polyhedral and real algebraic geometry, namely Putinar's Positivstellensatz, the Real Nullstellensatz, Handelman's Theorem and Farkas' Lemma, which sidesteps the quantifier elimination difficulty and reduces the problem directly to Quadratic Programming (QP). Alternatively, one can view our algorithm as an efficient way of eliminating quantifiers in the particular formulas that appear in the synthesis problem. The resulting QP instances can then be handled quite easily by SMT solvers. Notably, our reduction to QP is sound and semi-complete, i.e. it is complete if polynomials of a sufficiently high degree are used in the templates. Thus, we provide the first method for sketching-based synthesis of polynomial programs that does not sacrifice completeness, while being scalable enough to handle meaningful programs. Finally, we provide experimental results over a variety of examples from the literature.<\/jats:p>","DOI":"10.1145\/3586052","type":"journal-article","created":{"date-parts":[[2023,4,6]],"date-time":"2023-04-06T21:06:02Z","timestamp":1680815162000},"page":"727-756","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":15,"title":["Algebro-geometric Algorithms for Template-Based Synthesis of Polynomial Programs"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1702-6584","authenticated-orcid":false,"given":"Amir Kafshdar","family":"Goharshady","sequence":"first","affiliation":[{"name":"Hong Kong University of Science and Technology, Hong Kong"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7419-3560","authenticated-orcid":false,"given":"S.","family":"Hitarth","sequence":"additional","affiliation":[{"name":"Hong Kong University of Science and Technology, Hong Kong"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5187-0995","authenticated-orcid":false,"given":"Fatemeh","family":"Mohammadi","sequence":"additional","affiliation":[{"name":"KU Leuven, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2142-4254","authenticated-orcid":false,"given":"Harshit Jitendra","family":"Motwani","sequence":"additional","affiliation":[{"name":"Ghent University, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,4,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"crossref","unstructured":"Alessandro Abate Cristina David Pascal Kesseli Daniel Kroening and Elizabeth Polgreen. 2018. Counterexample guided inductive synthesis modulo theories. In CAV. 270\u2013288. Alessandro Abate Cristina David Pascal Kesseli Daniel Kroening and Elizabeth Polgreen. 2018. Counterexample guided inductive synthesis modulo theories. In CAV. 270\u2013288.","DOI":"10.1007\/978-3-319-96145-3_15"},{"key":"e_1_2_1_2_1","doi-asserted-by":"crossref","unstructured":"Sheshansh Agrawal Krishnendu Chatterjee and Petr Novotn\u1ef3. 2017. Lexicographic ranking supermartingales: an efficient approach to termination of probabilistic programs. In POPL. Sheshansh Agrawal Krishnendu Chatterjee and Petr Novotn\u1ef3. 2017. Lexicographic ranking supermartingales: an efficient approach to termination of probabilistic programs. In POPL.","DOI":"10.1145\/3158122"},{"key":"e_1_2_1_3_1","volume-title":"Mukund Raghothaman, Sanjit A Seshia, Rishabh Singh, Armando Solar-Lezama, Emina Torlak, and Abhishek Udupa.","author":"Alur Rajeev","year":"2013","unstructured":"Rajeev Alur , Rastislav Bodik , Garvit Juniwal , Milo MK Martin , Mukund Raghothaman, Sanjit A Seshia, Rishabh Singh, Armando Solar-Lezama, Emina Torlak, and Abhishek Udupa. 2013 . Syntax-Guided Synthesis. FMCAD. Rajeev Alur, Rastislav Bodik, Garvit Juniwal, Milo MK Martin, Mukund Raghothaman, Sanjit A Seshia, Rishabh Singh, Armando Solar-Lezama, Emina Torlak, and Abhishek Udupa. 2013. Syntax-Guided Synthesis. FMCAD."},{"key":"e_1_2_1_4_1","unstructured":"Rajeev Alur Dana Fisman Saswat Padhi Andrew Reynolds Rishabh Singh and Abhishek Udupa. 2019. SyGuS-Comp: Syntax-guided Synthesis Competition. https:\/\/sygus.org\/ Rajeev Alur Dana Fisman Saswat Padhi Andrew Reynolds Rishabh Singh and Abhishek Udupa. 2019. SyGuS-Comp: Syntax-guided Synthesis Competition. https:\/\/sygus.org\/"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3208071"},{"key":"e_1_2_1_6_1","volume-title":"Amir Kafshdar Goharshady, and Mohammad Mahdavi","author":"Asadi Ali","year":"2021","unstructured":"Ali Asadi , Krishnendu Chatterjee , Hongfei Fu , Amir Kafshdar Goharshady, and Mohammad Mahdavi . 2021 . Polynomial reachability witnesses via Stellens\u00e4tze. In PLDI. 772\u2013787. Ali Asadi, Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, and Mohammad Mahdavi. 2021. Polynomial reachability witnesses via Stellens\u00e4tze. In PLDI. 772\u2013787."},{"key":"e_1_2_1_7_1","doi-asserted-by":"crossref","unstructured":"Haniel Barbosa Clark W. Barrett Martin Brain Gereon Kremer Hanna Lachnitt Makai Mann Abdalrhman Mohamed Mudathir Mohamed Aina Niemetz Andres N\u00f6tzli Alex Ozdemir Mathias Preiner Andrew Reynolds Ying Sheng Cesare Tinelli and Yoni Zohar. 2022. cvc5: A Versatile and Industrial-Strength SMT Solver. In TACAS Dana Fisman and Grigore Rosu (Eds.). 415\u2013442. Haniel Barbosa Clark W. Barrett Martin Brain Gereon Kremer Hanna Lachnitt Makai Mann Abdalrhman Mohamed Mudathir Mohamed Aina Niemetz Andres N\u00f6tzli Alex Ozdemir Mathias Preiner Andrew Reynolds Ying Sheng Cesare Tinelli and Yoni Zohar. 2022. cvc5: A Versatile and Industrial-Strength SMT Solver. In TACAS Dana Fisman and Grigore Rosu (Eds.). 415\u2013442.","DOI":"10.1007\/978-3-030-99524-9_24"},{"key":"e_1_2_1_8_1","doi-asserted-by":"crossref","unstructured":"Grigoriy Blekherman Pablo A Parrilo and Rekha R Thomas. 2012. Semidefinite optimization and convex algebraic geometry. SIAM. Grigoriy Blekherman Pablo A Parrilo and Rekha R Thomas. 2012. Semidefinite optimization and convex algebraic geometry. SIAM.","DOI":"10.1137\/1.9781611972290"},{"key":"e_1_2_1_9_1","volume-title":"Real algebraic geometry. 36","author":"Bochnak Jacek","unstructured":"Jacek Bochnak , Michel Coste , and Marie-Fran\u00e7oise Roy . 2013. Real algebraic geometry. 36 , Springer Science & Business Media . Jacek Bochnak, Michel Coste, and Marie-Fran\u00e7oise Roy. 2013. Real algebraic geometry. 36, Springer Science & Business Media."},{"key":"e_1_2_1_10_1","doi-asserted-by":"crossref","unstructured":"James Bornholt and Emina Torlak. 2018. Finding code that explodes under symbolic evaluation. In OOPSLA. 1\u201326. James Bornholt and Emina Torlak. 2018. Finding code that explodes under symbolic evaluation. In OOPSLA. 1\u201326.","DOI":"10.1145\/3276519"},{"key":"e_1_2_1_11_1","doi-asserted-by":"crossref","unstructured":"Krishnendu Chatterjee Hongfei Fu and Amir Kafshdar Goharshady. 2016. Termination analysis of probabilistic programs through Positivstellensatz\u2019s. In CAV. 3\u201322. Krishnendu Chatterjee Hongfei Fu and Amir Kafshdar Goharshady. 2016. Termination analysis of probabilistic programs through Positivstellensatz\u2019s. In CAV. 3\u201322.","DOI":"10.1007\/978-3-319-41528-4_1"},{"key":"e_1_2_1_12_1","first-page":"41","article-title":"Non-polynomial Worst-Case Analysis of Recursive Programs","volume":"10427","author":"Chatterjee Krishnendu","year":"2017","unstructured":"Krishnendu Chatterjee , Hongfei Fu , and Amir Kafshdar Goharshady . 2017 . Non-polynomial Worst-Case Analysis of Recursive Programs . In CAV. 10427 , 41 \u2013 63 . Krishnendu Chatterjee, Hongfei Fu, and Amir Kafshdar Goharshady. 2017. Non-polynomial Worst-Case Analysis of Recursive Programs. In CAV. 10427, 41\u201363.","journal-title":"CAV."},{"key":"e_1_2_1_13_1","article-title":"Non-polynomial Worst-Case Analysis of Recursive Programs","volume":"41","author":"Chatterjee Krishnendu","year":"2019","unstructured":"Krishnendu Chatterjee , Hongfei Fu , and Amir Kafshdar Goharshady . 2019 . Non-polynomial Worst-Case Analysis of Recursive Programs . ACM Trans. Program. Lang. Syst. , 41 , 4 (2019), 20:1\u201320:52. Krishnendu Chatterjee, Hongfei Fu, and Amir Kafshdar Goharshady. 2019. Non-polynomial Worst-Case Analysis of Recursive Programs. ACM Trans. Program. Lang. Syst., 41, 4 (2019), 20:1\u201320:52.","journal-title":"ACM Trans. Program. Lang. Syst."},{"key":"e_1_2_1_14_1","volume-title":"Amir Kafshdar Goharshady, and Ehsan Kafshdar Goharshady","author":"Chatterjee Krishnendu","year":"2020","unstructured":"Krishnendu Chatterjee , Hongfei Fu , Amir Kafshdar Goharshady, and Ehsan Kafshdar Goharshady . 2020 . Polynomial invariant generation for non-deterministic recursive programs. In PLDI. 672\u2013687. Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, and Ehsan Kafshdar Goharshady. 2020. Polynomial invariant generation for non-deterministic recursive programs. In PLDI. 672\u2013687."},{"key":"e_1_2_1_15_1","volume-title":"Amir Kafshdar Goharshady, and Nastaran Okati","author":"Chatterjee Krishnendu","year":"2018","unstructured":"Krishnendu Chatterjee , Hongfei Fu , Amir Kafshdar Goharshady, and Nastaran Okati . 2018 . Computational Approaches for Stochastic Shortest Path on Succinct MDPs. In IJCAI. 4700\u20134707. Krishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, and Nastaran Okati. 2018. Computational Approaches for Stochastic Shortest Path on Succinct MDPs. In IJCAI. 4700\u20134707."},{"key":"e_1_2_1_16_1","doi-asserted-by":"crossref","unstructured":"Krishnendu Chatterjee Hongfei Fu and Petr Novotn\u1ef3. 2020. Termination analysis of probabilistic programs with martingales. Foundations of Probabilistic Programming 221\u2013258. Krishnendu Chatterjee Hongfei Fu and Petr Novotn\u1ef3. 2020. Termination analysis of probabilistic programs with martingales. Foundations of Probabilistic Programming 221\u2013258.","DOI":"10.1017\/9781108770750.008"},{"key":"e_1_2_1_17_1","volume-title":"Tobias Meggendorfer, and Dorde Zikelic.","author":"Chatterjee Krishnendu","year":"2022","unstructured":"Krishnendu Chatterjee , Amir Kafshdar Goharshady , Tobias Meggendorfer, and Dorde Zikelic. 2022 . Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic Programs. In CAV. 55\u201378. Krishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, and Dorde Zikelic. 2022. Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic Programs. In CAV. 55\u201378."},{"key":"e_1_2_1_18_1","article-title":"Application of recursive arithmetic to the problem of circuit synthesis","volume":"28","author":"Church Alonzo","year":"1963","unstructured":"Alonzo Church . 1963 . Application of recursive arithmetic to the problem of circuit synthesis . Journal of Symbolic Logic , 28 , 4 (1963). Alonzo Church. 1963. Application of recursive arithmetic to the problem of circuit synthesis. Journal of Symbolic Logic, 28, 4 (1963).","journal-title":"Journal of Symbolic Logic"},{"key":"e_1_2_1_19_1","doi-asserted-by":"crossref","unstructured":"Alessandro Cimatti Alberto Griggio Bastiaan Schaafsma and Roberto Sebastiani. 2013. The MathSAT5 SMT Solver. In TACAS Nir Piterman and Scott Smolka (Eds.). Alessandro Cimatti Alberto Griggio Bastiaan Schaafsma and Roberto Sebastiani. 2013. The MathSAT5 SMT Solver. In TACAS Nir Piterman and Scott Smolka (Eds.).","DOI":"10.1007\/978-3-642-36742-7_7"},{"key":"e_1_2_1_20_1","doi-asserted-by":"crossref","unstructured":"Michael A Col\u00f3n Sriram Sankaranarayanan and Henny B Sipma. 2003. Linear invariant generation using non-linear constraint solving. In CAV. 420\u2013432. Michael A Col\u00f3n Sriram Sankaranarayanan and Henny B Sipma. 2003. Linear invariant generation using non-linear constraint solving. In CAV. 420\u2013432.","DOI":"10.1007\/978-3-540-45069-6_39"},{"key":"e_1_2_1_21_1","first-page":"1","article-title":"Theory of simple inequalities","volume":"1902","author":"Farkas Julius","year":"1902","unstructured":"Julius Farkas . 1902 . Theory of simple inequalities .. Journal for pure and applied mathematics (Crelles Journal) , 1902 , 124 (1902), 1 \u2013 27 . Julius Farkas. 1902. Theory of simple inequalities.. Journal for pure and applied mathematics (Crelles Journal), 1902, 124 (1902), 1\u201327.","journal-title":"Journal for pure and applied mathematics (Crelles Journal)"},{"key":"e_1_2_1_22_1","doi-asserted-by":"crossref","unstructured":"Grigory Fedyukovich Sumanth Prabhu Kumar Madhukar and Aarti Gupta. 2019. Quantified invariants via syntax-guided synthesis. In CAV. 259\u2013277. Grigory Fedyukovich Sumanth Prabhu Kumar Madhukar and Aarti Gupta. 2019. Quantified invariants via syntax-guided synthesis. In CAV. 259\u2013277.","DOI":"10.1007\/978-3-030-25540-4_14"},{"key":"e_1_2_1_23_1","doi-asserted-by":"crossref","unstructured":"Yijun Feng Lijun Zhang David N Jansen Naijun Zhan and Bican Xia. 2017. Finding polynomial loop invariants for probabilistic programs. In ATVA. 400\u2013416. Yijun Feng Lijun Zhang David N Jansen Naijun Zhan and Bican Xia. 2017. Finding polynomial loop invariants for probabilistic programs. In ATVA. 400\u2013416.","DOI":"10.1007\/978-3-319-68167-2_26"},{"key":"e_1_2_1_25_1","doi-asserted-by":"crossref","unstructured":"Amir Goharshady S. Hitarth Fatemeh Mohammadi and Harshit Motwani. 2023. Algebro-geometric Algorithms for Template-based Synthesis of Polynomial Programs (Full Version including Appendices). https:\/\/hal.science\/hal-04012686 Amir Goharshady S. Hitarth Fatemeh Mohammadi and Harshit Motwani. 2023. Algebro-geometric Algorithms for Template-based Synthesis of Polynomial Programs (Full Version including Appendices). https:\/\/hal.science\/hal-04012686","DOI":"10.1145\/3586052"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.7697453"},{"key":"e_1_2_1_27_1","doi-asserted-by":"crossref","unstructured":"Cordell Green. 1981. Application of theorem proving to problem solving. In Readings in Artificial Intelligence. 202\u2013222. Cordell Green. 1981. Application of theorem proving to problem solving. In Readings in Artificial Intelligence. 202\u2013222.","DOI":"10.1016\/B978-0-934613-03-3.50019-2"},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Sumit Gulwani. 2011. Automating string processing in spreadsheets using input-output examples. In POPL. 317\u2013330. Sumit Gulwani. 2011. Automating string processing in spreadsheets using input-output examples. In POPL. 317\u2013330.","DOI":"10.1145\/1925844.1926423"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2240236.2240260"},{"key":"e_1_2_1_30_1","doi-asserted-by":"crossref","unstructured":"Sumit Gulwani Susmit Jha Ashish Tiwari and Ramarathnam Venkatesan. 2011. Synthesis of loop-free programs. In PLDI. 62\u201373. Sumit Gulwani Susmit Jha Ashish Tiwari and Ramarathnam Venkatesan. 2011. Synthesis of loop-free programs. In PLDI. 62\u201373.","DOI":"10.1145\/1993316.1993506"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1561\/2500000010"},{"key":"e_1_2_1_32_1","doi-asserted-by":"crossref","unstructured":"Zheng Guo Michael James David Justo Jiaxiao Zhou Ziteng Wang Ranjit Jhala and Nadia Polikarpova. 2019. Program synthesis by type-guided abstraction refinement. In POPL. 1\u201328. Zheng Guo Michael James David Justo Jiaxiao Zhou Ziteng Wang Ranjit Jhala and Nadia Polikarpova. 2019. Program synthesis by type-guided abstraction refinement. In POPL. 1\u201328.","DOI":"10.1145\/3371080"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.2140\/pjm.1988.132.35"},{"key":"e_1_2_1_34_1","volume-title":"Algebraic geometry. 52","author":"Hartshorne Robin","unstructured":"Robin Hartshorne . 2013. Algebraic geometry. 52 , Springer Science & Business Media . Robin Hartshorne. 2013. Algebraic geometry. 52, Springer Science & Business Media."},{"key":"e_1_2_1_35_1","volume-title":"Solving Program Sketches with Large Integer Values. TOPLAS, 44, 2","author":"Hu Qinheping","year":"2022","unstructured":"Qinheping Hu , Rishabh Singh , and Loris D\u2019Antoni . 2022. Solving Program Sketches with Large Integer Values. TOPLAS, 44, 2 ( 2022 ), 9:1\u20139:28. Qinheping Hu, Rishabh Singh, and Loris D\u2019Antoni. 2022. Solving Program Sketches with Large Integer Values. TOPLAS, 44, 2 (2022), 9:1\u20139:28."},{"key":"e_1_2_1_36_1","first-page":"1","article-title":"Modular verification for almost-sure termination of probabilistic programs","volume":"129","author":"Huang Mingzhang","year":"2019","unstructured":"Mingzhang Huang , Hongfei Fu , Krishnendu Chatterjee , and Amir Kafshdar Goharshady . 2019 . Modular verification for almost-sure termination of probabilistic programs . In OOPSLA. 129 : 1 \u2013 129 :29. Mingzhang Huang, Hongfei Fu, Krishnendu Chatterjee, and Amir Kafshdar Goharshady. 2019. Modular verification for almost-sure termination of probabilistic programs. In OOPSLA. 129:1\u2013129:29.","journal-title":"OOPSLA."},{"key":"e_1_2_1_37_1","first-page":"226","article-title":"Invariant Generation for Multi-Path Loops with Polynomial Assignments","volume":"10747","author":"Humenberger Andreas","year":"2018","unstructured":"Andreas Humenberger , Maximilian Jaroschek , and Laura Kov\u00e1cs . 2018 . Invariant Generation for Multi-Path Loops with Polynomial Assignments . In VMCAI. 10747 , 226 \u2013 246 . Andreas Humenberger, Maximilian Jaroschek, and Laura Kov\u00e1cs. 2018. Invariant Generation for Multi-Path Loops with Polynomial Assignments. In VMCAI. 10747, 226\u2013246.","journal-title":"VMCAI."},{"key":"e_1_2_1_38_1","doi-asserted-by":"crossref","unstructured":"Tristan Knoth Di Wang Nadia Polikarpova and Jan Hoffmann. 2019. Resource-guided program synthesis. In PLDI. 253\u2013268. Tristan Knoth Di Wang Nadia Polikarpova and Jan Hoffmann. 2019. Resource-guided program synthesis. In PLDI. 253\u2013268.","DOI":"10.1145\/3314221.3314602"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01186549"},{"key":"e_1_2_1_40_1","volume-title":"Genetic programming as a means for programming computers by natural selection. Statistics and computing, 4, 2","author":"Koza John R","year":"1994","unstructured":"John R Koza . 1994. Genetic programming as a means for programming computers by natural selection. Statistics and computing, 4, 2 ( 1994 ), 87\u2013112. John R Koza. 1994. Genetic programming as a means for programming computers by natural selection. Statistics and computing, 4, 2 (1994), 87\u2013112."},{"key":"e_1_2_1_41_1","doi-asserted-by":"crossref","unstructured":"Krzysztof Krawiec. 2016. Behavioral program synthesis with genetic programming. 618. Krzysztof Krawiec. 2016. Behavioral program synthesis with genetic programming. 618.","DOI":"10.1007\/978-3-319-27565-9"},{"key":"e_1_2_1_42_1","unstructured":"Hongming Liu Hongfei Fu Zhiyong Yu Jiaxin Song and Guoqiang Li. 2022. Location-by-Location Linear Invariant Generation with Farkas\u2019 Lemma. In OOPSLA. Hongming Liu Hongfei Fu Zhiyong Yu Jiaxin Song and Guoqiang Li. 2022. Location-by-Location Linear Invariant Generation with Farkas\u2019 Lemma. In OOPSLA."},{"key":"e_1_2_1_43_1","article-title":"On the complexity of Putinar\u2013Vasilescu\u2019s Positivstellensatz","author":"Anh Mai Ngoc Hoang","year":"2022","unstructured":"Ngoc Hoang Anh Mai and Victor Magron . 2022 . On the complexity of Putinar\u2013Vasilescu\u2019s Positivstellensatz . Journal of Complexity, 101663. Ngoc Hoang Anh Mai and Victor Magron. 2022. On the complexity of Putinar\u2013Vasilescu\u2019s Positivstellensatz. Journal of Complexity, 101663.","journal-title":"Journal of Complexity, 101663."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/362566.362568"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.7717\/peerj-cs.103"},{"key":"e_1_2_1_46_1","doi-asserted-by":"crossref","unstructured":"Leonardo de Moura and Nikolaj Bj\u00f8rner. 2008. Z3: An efficient SMT solver. In TACAS. 337\u2013340. Leonardo de Moura and Nikolaj Bj\u00f8rner. 2008. Z3: An efficient SMT solver. In TACAS. 337\u2013340.","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_2_1_47_1","unstructured":"Eike Neumann Jo\u00ebl Ouaknine and James Worrell. 2020. On ranking function synthesis and termination for polynomial programs. In CONCUR. Eike Neumann Jo\u00ebl Ouaknine and James Worrell. 2020. On ranking function synthesis and termination for polynomial programs. In CONCUR."},{"key":"e_1_2_1_48_1","doi-asserted-by":"crossref","unstructured":"Rong Pan Qinheping Hu Rishabh Singh and Loris D\u2019Antoni. 2020. Solving Program Sketches with Large Integer Values. In ESOP. 572\u2013598. Rong Pan Qinheping Hu Rishabh Singh and Loris D\u2019Antoni. 2020. Solving Program Sketches with Large Integer Values. In ESOP. 572\u2013598.","DOI":"10.1007\/978-3-030-44914-8_21"},{"key":"e_1_2_1_49_1","doi-asserted-by":"crossref","unstructured":"Amir Pnueli and Roni Rosner. 1989. On the synthesis of a reactive module. In POPL. 179\u2013190. Amir Pnueli and Roni Rosner. 1989. On the synthesis of a reactive module. In POPL. 179\u2013190.","DOI":"10.1145\/75277.75293"},{"key":"e_1_2_1_50_1","doi-asserted-by":"crossref","unstructured":"Nadia Polikarpova Ivan Kuraj and Armando Solar-Lezama. 2016. Program synthesis from polymorphic refinement types. In PLDI. 522\u2013538. Nadia Polikarpova Ivan Kuraj and Armando Solar-Lezama. 2016. Program synthesis from polymorphic refinement types. In PLDI. 522\u2013538.","DOI":"10.1145\/2980983.2908093"},{"key":"e_1_2_1_51_1","doi-asserted-by":"crossref","unstructured":"Mathias Preiner Aina Niemetz and Armin Biere. 2017. Counterexample-guided model synthesis. In TACAS. 264\u2013280. Mathias Preiner Aina Niemetz and Armin Biere. 2017. Counterexample-guided model synthesis. In TACAS. 264\u2013280.","DOI":"10.1007\/978-3-662-54577-5_15"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1512\/iumj.1993.42.42045"},{"key":"e_1_2_1_53_1","doi-asserted-by":"crossref","unstructured":"Andrew Reynolds Morgan Deters Viktor Kuncak Cesare Tinelli and Clark Barrett. 2015. Counterexample-guided quantifier instantiation for synthesis in SMT. In CAV. 198\u2013216. Andrew Reynolds Morgan Deters Viktor Kuncak Cesare Tinelli and Clark Barrett. 2015. Counterexample-guided quantifier instantiation for synthesis in SMT. In CAV. 198\u2013216.","DOI":"10.1007\/978-3-319-21668-3_12"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1090\/S0002-9947-1953-0053041-6"},{"key":"e_1_2_1_55_1","unstructured":"Enric Rodr\u00edguez-Carbonell. 2018. Some programs that need polynomial invariants in order to be verified. https:\/\/www.cs.upc.edu\/ erodri\/webpage\/polynomial_invariants\/list.html Enric Rodr\u00edguez-Carbonell. 2018. Some programs that need polynomial invariants in order to be verified. https:\/\/www.cs.upc.edu\/ erodri\/webpage\/polynomial_invariants\/list.html"},{"key":"e_1_2_1_56_1","doi-asserted-by":"crossref","unstructured":"Sriram Sankaranarayanan Henny B Sipma and Zohar Manna. 2004. Constraint-based linear-relations analysis. In SAS. 53\u201368. Sriram Sankaranarayanan Henny B Sipma and Zohar Manna. 2004. Constraint-based linear-relations analysis. In SAS. 53\u201368.","DOI":"10.1007\/978-3-540-27864-1_7"},{"key":"e_1_2_1_57_1","doi-asserted-by":"crossref","unstructured":"Sriram Sankaranarayanan Henny B Sipma and Zohar Manna. 2004. Non-linear loop invariant generation using Gr\u00f6bner bases. In POPL. 318\u2013329. Sriram Sankaranarayanan Henny B Sipma and Zohar Manna. 2004. Non-linear loop invariant generation using Gr\u00f6bner bases. In POPL. 318\u2013329.","DOI":"10.1145\/982962.964028"},{"key":"e_1_2_1_58_1","unstructured":"David E Shaw William R Swartout and C Cordell Green. 1975. Inferring LISP Programs From Examples. In IJCAI. 260\u2013267. David E Shaw William R Swartout and C Cordell Green. 1975. Inferring LISP Programs From Examples. In IJCAI. 260\u2013267."},{"key":"e_1_2_1_59_1","doi-asserted-by":"crossref","unstructured":"Xujie Si Woosuk Lee Richard Zhang Aws Albarghouthi Paraschos Koutris and Mayur Naik. 2018. Syntax-guided synthesis of datalog programs. In ESEC\/FSE. 515\u2013527. Xujie Si Woosuk Lee Richard Zhang Aws Albarghouthi Paraschos Koutris and Mayur Naik. 2018. Syntax-guided synthesis of datalog programs. In ESEC\/FSE. 515\u2013527.","DOI":"10.1145\/3236024.3236034"},{"key":"e_1_2_1_60_1","volume-title":"Pygmalion: a creative programming environment","author":"Smith David Canfield","unstructured":"David Canfield Smith . 1975. Pygmalion: a creative programming environment . Stanford University . David Canfield Smith. 1975. Pygmalion: a creative programming environment. Stanford University."},{"key":"e_1_2_1_61_1","article-title":"A Comprehensive Survey on Program Synthesis with Evolutionary Algorithms","author":"Sobania Dominik","year":"2022","unstructured":"Dominik Sobania , Dirk Schweim , and Franz Rothlauf . 2022 . A Comprehensive Survey on Program Synthesis with Evolutionary Algorithms . IEEE Transactions on Evolutionary Computation. Dominik Sobania, Dirk Schweim, and Franz Rothlauf. 2022. A Comprehensive Survey on Program Synthesis with Evolutionary Algorithms. IEEE Transactions on Evolutionary Computation.","journal-title":"IEEE Transactions on Evolutionary Computation."},{"key":"e_1_2_1_62_1","volume-title":"Program synthesis by sketching","author":"Solar-Lezama Armando","unstructured":"Armando Solar-Lezama . 2008. Program synthesis by sketching . University of California , Berkeley. Armando Solar-Lezama. 2008. Program synthesis by sketching. University of California, Berkeley."},{"key":"e_1_2_1_63_1","doi-asserted-by":"crossref","unstructured":"Armando Solar-Lezama. 2009. The sketching approach to program synthesis. In APLAS. 4\u201313. Armando Solar-Lezama. 2009. The sketching approach to program synthesis. In APLAS. 4\u201313.","DOI":"10.1007\/978-3-642-10672-9_3"},{"key":"e_1_2_1_64_1","doi-asserted-by":"crossref","unstructured":"Saurabh Srivastava Sumit Gulwani and Jeffrey S Foster. 2010. From program verification to program synthesis. In POPL. 313\u2013326. Saurabh Srivastava Sumit Gulwani and Jeffrey S Foster. 2010. From program verification to program synthesis. In POPL. 313\u2013326.","DOI":"10.1145\/1707801.1706337"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10009-012-0223-4"},{"key":"e_1_2_1_66_1","doi-asserted-by":"crossref","unstructured":"Toru Takisaka Yuichiro Oyabu Natsuki Urabe and Ichiro Hasuo. 2018. Ranking and repulsing supermartingales for reachability in probabilistic programs. In ATVA. 476\u2013493. Toru Takisaka Yuichiro Oyabu Natsuki Urabe and Ichiro Hasuo. 2018. Ranking and repulsing supermartingales for reachability in probabilistic programs. In ATVA. 476\u2013493.","DOI":"10.1007\/978-3-030-01090-4_28"},{"key":"e_1_2_1_67_1","doi-asserted-by":"crossref","unstructured":"Emina Torlak and Rastislav Bod\u00edk. 2014. A lightweight symbolic virtual machine for solver-aided host languages. In PLDI. 530\u2013541. Emina Torlak and Rastislav Bod\u00edk. 2014. A lightweight symbolic virtual machine for solver-aided host languages. In PLDI. 530\u2013541.","DOI":"10.1145\/2666356.2594340"},{"key":"e_1_2_1_68_1","doi-asserted-by":"crossref","first-page":"973","DOI":"10.1016\/S0049-237X(08)71127-3","article-title":"Aspects of constructive mathematics","volume":"90","author":"Troelstra Anne S","year":"1977","unstructured":"Anne S Troelstra . 1977 . Aspects of constructive mathematics . In Studies in Logic and the Foundations of Mathematics. 90 , 973 \u2013 1052 . Anne S Troelstra. 1977. Aspects of constructive mathematics. In Studies in Logic and the Foundations of Mathematics. 90, 973\u20131052.","journal-title":"Studies in Logic and the Foundations of Mathematics."},{"key":"e_1_2_1_69_1","doi-asserted-by":"crossref","unstructured":"Jinyi Wang Yican Sun Hongfei Fu Krishnendu Chatterjee and Amir Kafshdar Goharshady. 2021. Quantitative analysis of assertion violations in probabilistic programs. In PLDI. 1171\u20131186. Jinyi Wang Yican Sun Hongfei Fu Krishnendu Chatterjee and Amir Kafshdar Goharshady. 2021. Quantitative analysis of assertion violations in probabilistic programs. In PLDI. 1171\u20131186.","DOI":"10.1145\/3410310"},{"key":"e_1_2_1_70_1","volume-title":"Krishnendu Chatterjee, Xudong Qin, and Wenjun Shi.","author":"Wang Peixin","year":"2019","unstructured":"Peixin Wang , Hongfei Fu , Amir Kafshdar Goharshady , Krishnendu Chatterjee, Xudong Qin, and Wenjun Shi. 2019 . Cost analysis of nondeterministic probabilistic programs. In PLDI. 204\u2013220. Peixin Wang, Hongfei Fu, Amir Kafshdar Goharshady, Krishnendu Chatterjee, Xudong Qin, and Wenjun Shi. 2019. Cost analysis of nondeterministic probabilistic programs. In PLDI. 204\u2013220."},{"key":"e_1_2_1_71_1","volume-title":"Fundamentals of matrix computations. 64","author":"Watkins David S","unstructured":"David S Watkins . 2004. Fundamentals of matrix computations. 64 , John Wiley & Sons . David S Watkins. 2004. Fundamentals of matrix computations. 64, John Wiley & Sons."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3586052","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3586052","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T18:08:10Z","timestamp":1750183690000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3586052"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,4,6]]},"references-count":70,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2023,4,6]]}},"alternative-id":["10.1145\/3586052"],"URL":"https:\/\/doi.org\/10.1145\/3586052","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,4,6]]},"assertion":[{"value":"2023-04-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}