pith:SEQTVGXR
Verifying Exact Samplers for Continuous Distributions with a Discrete Program Logic
A higher-order separation logic proves exact samplers for continuous distributions correct.
arxiv:2605.13526 v1 · 2026-05-13 · cs.LO
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{SEQTVGXREBQ6NJ27UPORUOOQCB}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
We present Continuous-Eris, a higher-order separation logic for verifying the correctness of exact sampling algorithms for computable distributions. To demonstrate Continuous-Eris, we verify the correctness of computable samplers for the uniform, Gaussian, and Laplace distributions, as well as a library for exact real arithmetic for working with generated samples. All of the results in this paper have been verified in the Rocq proof assistant.
The underlying programming language semantics for probabilistic choice, higher-order functions, and mutable state are faithfully captured by the separation logic rules, and the model of computable reals correctly represents lazy digit generation without hidden approximation.
Continuous-Eris is a new separation logic, fully verified in Rocq, that proves correctness of exact samplers for uniform, Gaussian, and Laplace distributions plus an exact real arithmetic library.
References
Receipt and verification
| First computed | 2026-05-18T02:44:24.309674Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
91213a9af12061e6a75fa3dd1a39d01069a2e97a2c7d3c37bbee19135ecaab04
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/SEQTVGXREBQ6NJ27UPORUOOQCB \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 91213a9af12061e6a75fa3dd1a39d01069a2e97a2c7d3c37bbee19135ecaab04
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "3692aaf252ed8b1b1275424aefaf96e87009fc56df75197610f80a8887849854",
"cross_cats_sorted": [],
"license": "http://creativecommons.org/licenses/by/4.0/",
"primary_cat": "cs.LO",
"submitted_at": "2026-05-13T13:39:31Z",
"title_canon_sha256": "ce9b349437b50d37a84d53b7c6a971ca41d679e03b6b05e8e1617addd5b2b844"
},
"schema_version": "1.0",
"source": {
"id": "2605.13526",
"kind": "arxiv",
"version": 1
}
}