English

Evidence-Tracked Tape Semantics for Probabilistic Computation

Logic in Computer Science 2026-05-11 v1

Abstract

A standard intensional account of probabilistic computation represents a randomized program as a deterministic computation that consumes an explicit random tape. This yields a two-layer perspective: an intensional layer that makes reuse of randomness and correlation visible, and an extensional layer obtained by interpreting tapes under a chosen probability measure. We develop an evidence-tracked tape semantics using the monadic-core-to-evidenced-frame pipeline (and its induced realizability tripos), obtaining a higher-order logic in which entailments are witnessed by uniform evidence transformers. Quantitative statements are recovered by interpretation: once a tape measure is fixed, probabilities and expectations arise by extracting numerical summaries from tape-indexed predicates, and entailments yield sound inequalities, with an almost-sure quotient supporting probability-one reasoning. We also study intensional principles that are lost at the level of laws, including proof-relevant transport along realizable tape-rewiring maps and a canonical splitting discipline for stream tapes enforcing independent draws. Finally, we relate tape-based reasoning to an extensional law semantics via pushforward, isolating a probability-one must abstraction as a sound summary of tape-based proofs.

Keywords

Cite

@article{arxiv.2605.07259,
  title  = {Evidence-Tracked Tape Semantics for Probabilistic Computation},
  author = {Liron Cohen and Tomer Samara},
  journal= {arXiv preprint arXiv:2605.07259},
  year   = {2026}
}
R2 v1 2026-07-01T12:56:55.401Z