{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T14:14:24Z","timestamp":1784211264444,"version":"3.55.0"},"reference-count":53,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T00:00:00Z","timestamp":1767830400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/W035847\/1"],"award-info":[{"award-number":["EP\/W035847\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001665","name":"Agence Nationale de la Recherche","doi-asserted-by":"publisher","award":["ANR-23-CPJ1-0054-01"],"award-info":[{"award-number":["ANR-23-CPJ1-0054-01"]}],"id":[{"id":"10.13039\/501100001665","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,1,8]]},"abstract":"<jats:p>\n                    In the last few years there has been a growing interest towards methods for statistical inference and learning based on computational geometry and, notably, tropical geometry, that is, the study of algebraic varieties over the min-plus semiring. At the same time, recent work has demonstrated the possibility of interpreting higher-order probabilistic programming languages in the framework of tropical mathematics, by exploiting algebraic and categorical tools coming from the semantics of linear logic. In this work we combine these two worlds, showing that tools and ideas from tropical geometry can be used to perform statistical inference over higher-order probabilistic programs. Notably, we first show that each such program can be associated with a\n                    <jats:italic toggle=\"yes\">\n                      degree and a\n                      <jats:italic toggle=\"yes\">n<\/jats:italic>\n                      -dimensional polyhedron\n                    <\/jats:italic>\n                    that encode its most likely runs. Then, we use these tools in order to design an intersection type system that estimates most likely runs in a compositional and efficient way.\n                  <\/jats:p>","DOI":"10.1145\/3776675","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"951-980","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Tropical Mathematics and the Lambda-Calculus II: Tropical Geometry of Probabilistic Programming Languages"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-4608-8282","authenticated-orcid":false,"given":"Davide","family":"Barbarossa","sequence":"first","affiliation":[{"name":"University of Bath, Department of Computer Science, Bath, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4250-9051","authenticated-orcid":false,"given":"Paolo","family":"Pistone","sequence":"additional","affiliation":[{"name":"Universit\u00e9 Claude Bernard Lyon 1, Laboratoire de l'Informatique du Parall\u00e9lisme, Lyon, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","unstructured":"Beniamino Accattoli St\u00e9phane Graham-Lengrand and Delia Kesner. 2018. Tight typings and split bounds. Proc. ACM Program. Lang. 2 ICFP Article 94 (July 2018) 30 pages. https:\/\/doi.org\/10.1145\/3236789 10.1145\/3236789","DOI":"10.1145\/3236789"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1109\/18.825794"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","unstructured":"Melissa Antonelli Ugo Dal Lago and Paolo Pistone. 2022. Curry and Howard Meet Borel. In Proceedings of the 37th Annual ACM\/IEEE Symposium on Logic in Computer Science (Haifa Israel) (LICS '22). Association for Computing Machinery New York NY USA Article 45 13 pages. https:\/\/doi.org\/10.1145\/3531130.3533361 10.1145\/3531130.3533361","DOI":"10.1145\/3531130.3533361"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","unstructured":"Victor Arrial Giulio Guerrieri and Delia Kesner. 2023. Quantitative Inhabitation for Different Lambda Calculi in a Unifying Framework. Proc. ACM Program. Lang. 7 POPL Article 51 (Jan. 2023) 31 pages. https:\/\/doi.org\/10.1145\/3571244 10.1145\/3571244","DOI":"10.1145\/3571244"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","unstructured":"Arthur Azevedo de Amorim Marco Gaboardi Justin Hsu Shin-ya Katsumata and Ikram Cherigui. 2017. A Semantic Account of Metric Preservation. In Proceedings POPL 2017 (Paris France). Association for Computing Machinery New York NY USA 545-556. https:\/\/doi.org\/10.1145\/3009837.3009890 10.1145\/3009837.3009890","DOI":"10.1145\/3009837.3009890"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CSL.2024.14"},{"key":"e_1_3_2_8_2","unstructured":"Davide Barbarossa and Paolo Pistone. 2025. Tropical Mathematics and the Lambda-Calculus II: Tropical Geometry of Probabilistic Programming Languages (Extended Version). (2025). https:\/\/arxiv.org\/abs\/2501.15637."},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","unstructured":"Mark de Berg Otfried Cheong Marc vaan Kreveld and Mark Overmars. 2008. Computational Geometry: Algorithms and Applications (3rd ed.). Springer-Verlag TELOS Santa Clara CA USA. https:\/\/doi.org\/10.1007\/978-3-540-77974-2 10.1007\/978-3-540-77974-2","DOI":"10.1007\/978-3-540-77974-2"},{"key":"e_1_3_2_10_2","doi-asserted-by":"crossref","first-page":"622","DOI":"10.70930\/tac\/y9rglypb","article-title":"Cartesian Differential Categories","volume":"22","author":"Richard F. Blute","year":"2009","unstructured":"Richard F. Blute, Robin Cockett, and R.A.G. Seely. 2009. Cartesian Differential Categories. Theory and Applications of Categories 22, 23 (2009), 622-672.","journal-title":"Theory and Applications of Categories"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","unstructured":"Flavien Breuvart and Ugo Dal Lago. 2018. On Intersection Types and Probabilistic Lambda Calculi. In Proceedings PPDP 2018 (Frankfurt am Main Germany) (PPDP '18). Association for Computing Machinery New York NY USA Article 8 13 pages. https:\/\/doi.org\/10.1145\/3236950.3236968 10.1145\/3236950.3236968","DOI":"10.1145\/3236950.3236968"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1093\/jigpal\/jzx018"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-57240-6_1"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","unstructured":"Pierre Clairambault and Simon Forest. 2024. An Analysis of Symmetry in Quantitative Semantics. In Proceedings of the 39th Annual ACM\/IEEE Symposium on Logic in Computer Science LICS 2024 Tallinn Estonia July 8-11 2024 Pawel Sobocinski Ugo Dal Lago and Javier Esparza (Eds.). Asociation for Computing Machinery New York NY USA 26:1-26:13. https:\/\/doi.org\/10.1145\/3661814.3662092 10.1145\/3661814.3662092","DOI":"10.1145\/3661814.3662092"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1090\/conm\/516\/10172"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2018.11.006"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-67899-9_14"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","unstructured":"Arthur Azevedo de Amorim Marco Gaboardi Justin Hsu and Shin-ya Katsumata. 2019. Probabilistic Relational Reasoning via Metrics. In 2019 34th Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS). 1-19. https:\/\/doi.org\/10.1109\/LICS.2019.8785715 10.1109\/LICS.2019.8785715","DOI":"10.1109\/LICS.2019.8785715"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129516000396"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1561\/0400000042"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","unstructured":"Thomas Ehrhard Michele Pagani and Christine Tasson. 2017. Measurable cones and stable measurable functions: a model for probabilistic higher-order programming. Proc. ACM Program. Lang. 2 POPL Article 59 (Dec. 2017) 28 pages. https:\/\/doi.org\/10.1145\/3158147 10.1145\/3158147","DOI":"10.1145\/3158147"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","unstructured":"Thomas Ehrhard Michele Pagani and Christine Tasson. 2018. Full Abstraction for Probabilistic PCF. f. ACM 65 4 Article 23 (2018) 44 pages. https:\/\/doi.org\/10.1145\/3164540 10.1145\/3164540","DOI":"10.1145\/3164540"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","unstructured":"Thomas Ehrhard Christine Tasson and Michele Pagani. 2014. Probabilistic coherence spaces are fully abstract for probabilistic PCF. In Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (San Diego California USA) (POPL '14). Association for Computing Machinery New York NY USA 309-320. https:\/\/doi.org\/10.1145\/2535838.2535865 10.1145\/2535838.2535865","DOI":"10.1145\/2535838.2535865"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","unstructured":"Claudia Faggian Daniele Pautasso and Gabriele Vanoni. 2024. Higher Order Bayesian Networks Exactly. Proc. ACM Program. Lang. 8 POPL Article 84 (Jan. 2024) 33 pages. https:\/\/doi.org\/10.1145\/3632926 10.1145\/3632926","DOI":"10.1145\/3632926"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/2480359.2429113"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00229-023-01492-5"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","unstructured":"Andrew D. Gordon Thomas A. Henzinger Aditya V. Nori and Sriram K.Rajamani. 2014. Probabilistic programming. In Future of Software Engineering Proceedings (Hyderabad India) (FOSE 2014). Association for Computing Machinery New York NY USA 167-181. https:\/\/doi.org\/10.1145\/2593882.2593900 10.1145\/2593882.2593900","DOI":"10.1145\/2593882.2593900"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.aam.2016.08.002"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4613-8431-1"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CSL.2025.31"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","unstructured":"Chris Heunen Ohad Kammar Sam Staton and Hongseok Yang. 2017. A convenient category for higher-order probability theory. In 2017 32nd Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS). Asociation for Computing Machinery New York NY USA 1-12. https:\/\/doi.org\/10.1109\/LICS.2017.8005137 10.1109\/LICS.2017.8005137","DOI":"10.1109\/LICS.2017.8005137"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","unstructured":"Bart Jacobs and Fabio Zanasi. 2020. The Logical Essentials of Bayesian Reasoning. In Foundations of Probabilistic Programming Gilles Barthe Joost-Pieter Katoen and Alexandra Silva (Eds.). Cambridge University Press Cambridge UK 295-332. https:\/\/doi.org\/10.1017\/9781108770750.010 10.1017\/9781108770750.010","DOI":"10.1017\/9781108770750.010"},{"key":"e_1_3_2_33_2","unstructured":"Daphne Koller and Nir Friedman. 2009. Probabilistic Graphical Models: Principles and Techniques - Adaptive Computation and Machine Learning. The MIT Press Cambridge Massachusetts."},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.FSCD.2016.24"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1016\/J.IC.2020.104645"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","unstructured":"Jim Laird Giulio Manzonetto Guy McCusker and Michele Pagani. 2013. Weighted Relational Models of Typed Lambda-Calculi. In 2013 28th Annual ACM\/IEEE Symposium on Logic in Computer Science. Asociation for Computing Machinery New York NY USA 301-310. https:\/\/doi.org\/10.1109\/LICS.2013.36 10.1109\/LICS.2013.36","DOI":"10.1109\/LICS.2013.36"},{"key":"e_1_3_2_37_2","doi-asserted-by":"crossref","DOI":"10.1090\/gsm\/161","volume-title":"Introduction to tropical geometry. Graduate Studies in Mathematics","author":"Diane Maclagan","year":"2015","unstructured":"Diane Maclagan and Bernd Sturmfels. 2015. Introduction to tropical geometry. Graduate Studies in Mathematics, Vol. 161. American Mathematical Society, Providence, Rhode Island."},{"issue":"3","key":"e_1_3_2_38_2","doi-asserted-by":"crossref","first-page":"451","DOI":"10.1017\/S0960129511000594","article-title":"What is a categorical model of the differential and the resource \u03bb-calculi?","volume":"22","author":"Giulio Manzonetto","year":"2012","unstructured":"Giulio Manzonetto. 2012. What is a categorical model of the differential and the resource \u03bb-calculi? Mathematical Structures in Computer Science 22, 3 (2012), 451-520. https:\/\/doi.org\/DOI:10.1017\/S0960129511000594 DOI:10.1017\/S0960129511000594","journal-title":"Mathematical Structures in Computer Science"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2021.3065238"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","unstructured":"Petros Maragos and Emmanouil Theodosis. 2020. Multivariate Tropical Regression and Piecewise-Linear Surface Fitting. In ICASSP 2020-2020 IEEE International Conference on Acoustics Speech and Signal Processing (ICASSP). IEEE Computer Society 3822-3826. https:\/\/doi.org\/10.1109\/ICASSP40776.2020.9054058 10.1109\/ICASSP40776.2020.9054058","DOI":"10.1109\/ICASSP40776.2020.9054058"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1017\/S096012950000150X"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","unstructured":"Damiano Mazza and Michele Pagani. 2021. Automatic differentiation in PCF. Proc. ACM Program. Lang. 5 POPL (2021) 1-27. https:\/\/doi.org\/10.1145\/3434309 10.1145\/3434309","DOI":"10.1145\/3434309"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1016\/0001-8708(89)90029-7"},{"key":"e_1_3_2_44_2","unstructured":"Gian Maria Negri Porzio Vanni Noferini and Leonardo Robol. 2021. Tropical Laurent series their tropical roots and localization results for the eigenvalues of nonlinear matrix functions. (2021). https:\/\/arxiv.org\/abs\/2107.07982."},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1137\/14096637X"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.0406011101"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.0406010101"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","unstructured":"Michele Pagani Peter Selinger and Beno\u00eet Valiron. 2014. Applying quantitative semantics to higher-order quantum computing. In Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (San Diego California USA) (POPL '14). Association for Computing Machinery New York NY USA 647-658. https:\/\/doi.org\/10.1145\/2535838.2535879 10.1145\/2535838.2535879","DOI":"10.1145\/2535838.2535879"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","unstructured":"Adam Scibior Ohad Kammar Matthijs V\u00e1k\u00e1r Sam Staton Hongseok Yang Yufei Cai Klaus Ostermann Sean K. Moss Chris Heunen and Zoubin Ghahramani. 2017. Denotational validation of higher-order Bayesian inference. Proc. ACM Program. Lang. 2 POPL Article 60 (Dec. 2017) 29 pages. https:\/\/doi.org\/10.1145\/3158148 10.1145\/3158148","DOI":"10.1145\/3158148"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","unstructured":"Emmanouil Theodosis and Petros Maragos. 2018. Analysis of the Viterbi Algorithm Using Tropical Algebra and Geometry. In 2018 IEEE 19th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC). 1-5. https:\/\/doi.org\/10.1109\/SPAWC.2018.8445777 10.1109\/SPAWC.2018.8445777","DOI":"10.1109\/SPAWC.2018.8445777"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3527634"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230180310"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","unstructured":"Henk Wymeersch. 2007. Factor graphs and the sum-product algorithm. Cambridge University Press Cambridge UK 35-76. https:\/\/doi.org\/10.1017\/CBO9780511619199.006 10.1017\/CBO9780511619199.006","DOI":"10.1017\/CBO9780511619199.006"},{"key":"e_1_3_2_54_2","first-page":"5819","article-title":"Tropical Geometry of Deep Neural Networks","volume":"80","author":"Liwen Zhang","year":"2018","unstructured":"Liwen Zhang, Gregory Naitzat, and Lek-Heng Lim. 2018. Tropical Geometry of Deep Neural Networks. In Proceedings ICML 2018 (Proceedings of Machine Learning Research, Vol. 80). PMLR, 5819-5827. http:\/\/proceedings.mlr.press\/v80\/zhang18i.html","journal-title":"In Proceedings ICML 2018 (Proceedings of Machine Learning Research"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776675","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:44:11Z","timestamp":1784209451000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776675"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":53,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776675"],"URL":"https:\/\/doi.org\/10.1145\/3776675","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-07-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-06","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}