Affiliation:
1. Aarhus University, Denmark
Abstract
Developing denotational models for higher-order languages that combine
probabilistic and nondeterministic choice is known to be very
challenging. In this paper, we propose an alternative approach based
on operational techniques. We study a higher-order language combining
parametric polymorphism, recursive types, discrete probabilistic choice
and countable nondeterminism. We define probabilistic generalizations
of may- and must-termination as the optimal and pessimal probabilities
of termination. Then we define step-indexed logical relations and show
that they are sound and complete with respect to the induced contextual
preorders. For may-equivalence we use step-indexing over the natural
numbers whereas for must-equivalence we index over the countable
ordinals. We then show than the probabilities of may- and
must-termination coincide with the maximal and minimal probabilities of
termination under all schedulers. Finally we derive the equational
theory induced by contextual equivalence and show that it validates the
distributive combination of the algebraic theories for probabilistic
and nondeterministic choice.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Almost-Sure Termination by Guarded Refinement;Proceedings of the ACM on Programming Languages;2024-08-15
2. Bialgebraic Reasoning on Higher-order Program Equivalence;Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science;2024-07-08
3. Logical Predicates in Higher-Order Mathematical Operational Semantics;Lecture Notes in Computer Science;2024