Daniel Lund'en, Gizem Çaylak, F. Ronquist, David Broman
{"title":"Automatic Alignment in Higher-Order Probabilistic Programming Languages","authors":"Daniel Lund'en, Gizem Çaylak, F. Ronquist, David Broman","doi":"10.1007/978-3-031-30044-8_20","DOIUrl":"https://doi.org/10.1007/978-3-031-30044-8_20","url":null,"abstract":"","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134323650","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Complete Inference System for Skip-free Guarded Kleene Algebra with Tests","authors":"Todd J. Schmid, Tobias Kappé, Alexandra Silva","doi":"10.48550/arXiv.2301.11301","DOIUrl":"https://doi.org/10.48550/arXiv.2301.11301","url":null,"abstract":"Guarded Kleene Algebra with Tests (GKAT) is a fragment of Kleene Algebra with Tests (KAT) that was recently introduced to reason efficiently about imperative programs. In contrast to KAT, GKAT does not have an algebraic axiomatization, but relies on an analogue of Salomaa's axiomatization of Kleene Algebra. In this paper, we present an algebraic axiomatization and prove two completeness results for a large fragment of GKAT consisting of skip-free programs.","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117050942","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Quorum Tree Abstractions of Consensus Protocols","authors":"Berk Çirisci, C. Enea, Suha Orhun Mutluergil","doi":"10.48550/arXiv.2301.09946","DOIUrl":"https://doi.org/10.48550/arXiv.2301.09946","url":null,"abstract":"Distributed algorithms solving agreement problems like consensus or state machine replication are essential components of modern fault-tolerant distributed services. They are also notoriously hard to understand and reason about. Their complexity stems from the different assumptions on the environment they operate with, i.e., process or network link failures, Byzantine failures etc. In this paper, we propose a novel abstract representation of the dynamics of such protocols which focuses on quorums of responses (votes) to a request (proposal) that form during a run of the protocol. We show that focusing on such quorums, a run of a protocol can be viewed as working over a tree structure where different branches represent different possible outcomes of the protocol, the goal being to stabilize on the choice of a fixed branch. This abstraction resembles the description of recent protocols used in Blockchain infrastructures, e.g., the protocol supporting Bitcoin or HotStuff. We show that this abstraction supports reasoning about the safety of various algorithms, e.g., Paxos, PBFT, Raft, and HotStuff, in a uniform way. In general, it provides a novel induction based argument for proving that such protocols are safe.","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121780878","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Michael Schwarz, Simmo Saan, H. Seidl, Julian Erhard, Vesal Vojdani
{"title":"Clustered Relational Thread-Modular Abstract Interpretation with Local Traces","authors":"Michael Schwarz, Simmo Saan, H. Seidl, Julian Erhard, Vesal Vojdani","doi":"10.48550/arXiv.2301.06439","DOIUrl":"https://doi.org/10.48550/arXiv.2301.06439","url":null,"abstract":"We construct novel thread-modular analyses that track relational information for potentially overlapping clusters of global variables - given that they are protected by common mutexes. We provide a framework to systematically increase the precision of clustered relational analyses by splitting control locations based on abstractions of local traces. As one instance, we obtain an analysis of dynamic thread creation and joining. Interestingly, tracking less relational information for globals may result in higher precision. We consider the class of 2-decomposable domains that encompasses many weakly relational domains (e.g., Octagons). For these domains, we prove that maximal precision is attained already for clusters of globals of sizes at most 2.","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"91 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125252551","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Fast and Correct Gradient-Based Optimisation for Probabilistic Programming via Smoothing","authors":"Basim Khajwal, C. Ong, Dominik Wagner","doi":"10.48550/arXiv.2301.03415","DOIUrl":"https://doi.org/10.48550/arXiv.2301.03415","url":null,"abstract":"We study the foundations of variational inference, which frames posterior inference as an optimisation problem, for probabilistic programming. The dominant approach for optimisation in practice is stochastic gradient descent. In particular, a variant using the so-called reparameterisation gradient estimator exhibits fast convergence in a traditional statistics setting. Unfortunately, discontinuities, which are readily expressible in programming languages, can compromise the correctness of this approach. We consider a simple (higher-order, probabilistic) programming language with conditionals, and we endow our language with both a measurable and a smoothed (approximate) value semantics. We present type systems which establish technical pre-conditions. Thus we can prove stochastic gradient descent with the reparameterisation gradient estimator to be correct when applied to the smoothed problem. Besides, we can solve the original problem up to any error tolerance by choosing an accuracy coefficient suitably. Empirically we demonstrate that our approach has a similar convergence as a key competitor, but is simpler, faster, and attains orders of magnitude reduction in work-normalised variance.","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"61 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126276216","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Builtin Types viewed as Inductive Families","authors":"Guillaume Allais","doi":"10.48550/arXiv.2301.02194","DOIUrl":"https://doi.org/10.48550/arXiv.2301.02194","url":null,"abstract":"State of the art optimisation passes for dependently typed languages can help erase the redundant information typical of invariant-rich data structures and programs. These automated processes do not dramatically change the structure of the data, even though more efficient representations could be available. Using Quantitative Type Theory, we demonstrate how to define an invariant-rich, typechecking time data structure packing an efficient runtime representation together with runtime irrelevant invariants. The compiler can then aggressively erase all such invariants during compilation. Unlike other approaches, the complexity of the resulting representation is entirely predictable, we do not require both representations to have the same structure, and yet we are able to seamlessly program as if we were using the high-level structure.","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-01-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131804563","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
june wunder, Arthur Azevedo de Amorim, Patrick Baillot, Marco Gaboardi
{"title":"Bunched Fuzz: Sensitivity for Vector Metrics","authors":"june wunder, Arthur Azevedo de Amorim, Patrick Baillot, Marco Gaboardi","doi":"10.1007/978-3-031-30044-8_17","DOIUrl":"https://doi.org/10.1007/978-3-031-30044-8_17","url":null,"abstract":"","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"76 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-02-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127469133","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Kevin Batz, Ira Fesefeldt, M. Jansen, J. Katoen, Florian Kessler, C. Matheja, T. Noll
{"title":"Foundations for Entailment Checking in Quantitative Separation Logic (extended version)","authors":"Kevin Batz, Ira Fesefeldt, M. Jansen, J. Katoen, Florian Kessler, C. Matheja, T. Noll","doi":"10.1007/978-3-030-99336-8_3","DOIUrl":"https://doi.org/10.1007/978-3-030-99336-8_3","url":null,"abstract":"","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"55 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-01-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117342977","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Zeeshan Ali Lakhani, Ankush Das, Henry Deyoung, Andreia Mordido, F. Pfenning
{"title":"Polarized Subtyping","authors":"Zeeshan Ali Lakhani, Ankush Das, Henry Deyoung, Andreia Mordido, F. Pfenning","doi":"10.1007/978-3-030-99336-8_16","DOIUrl":"https://doi.org/10.1007/978-3-030-99336-8_16","url":null,"abstract":"","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"164 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121590416","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Daniel Lundén, Joey Öhman, J. Kudlicka, Viktor Senderov, F. Ronquist, David Broman
{"title":"Compiling Universal Probabilistic Programming Languages with Efficient Parallel Sequential Monte Carlo Inference","authors":"Daniel Lundén, Joey Öhman, J. Kudlicka, Viktor Senderov, F. Ronquist, David Broman","doi":"10.1007/978-3-030-99336-8_2","DOIUrl":"https://doi.org/10.1007/978-3-030-99336-8_2","url":null,"abstract":"","PeriodicalId":447395,"journal":{"name":"European Symposium on Programming","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128829824","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}