feat(Probability): bound statistical distance under scores, conditioning, and pairing - #1066
Closed
SamuelSchlesinger wants to merge 2 commits into
Conversation
SamuelSchlesinger
requested review from
arademaker,
chenson2018,
crei,
fmontesi and
sorrachai
as code owners
October 4, 2026 22:08
SamuelSchlesinger
added this pull request to stack #1064
October 4, 2026 22:08
SamuelSchlesinger
force-pushed
the
samschles/crypto-pr-04-statistical-distance-lemmas
branch
from
October 4, 2026 23:03
308e5d8 to
f7d7f3f
Compare
SamuelSchlesinger
force-pushed
the
samschles/crypto-pr-03-statistical-distance-tsum
branch
from
October 4, 2026 23:03
6028aca to
d892828
Compare
…ing, and pairing Adds the standard ways statistical distance enters reductions, for finite types. Changing the distribution moves the expectation of a score bounded by `B` by at most `2 * B * dist p q` (`abs_sum_mul_sub_le`). Conditioning on an event changes a distribution by exactly the probability it discards (`dist_filter`). With a shared revealed input, statistical distance is the average distance of the conditional outputs (`dist_bind_pair`), and its square is at most the average squared distance (`dist_bind_pair_sq_le`).
SamuelSchlesinger
force-pushed
the
samschles/crypto-pr-04-statistical-distance-lemmas
branch
from
October 4, 2026 23:33
f7d7f3f to
9a4128d
Compare
SamuelSchlesinger
force-pushed
the
samschles/crypto-pr-03-statistical-distance-tsum
branch
2 times, most recently
from
October 5, 2026 20:01
5342fca to
29ccc5b
Compare
SamuelSchlesinger
removed this pull request from stack #1064
October 5, 2026 20:06
SamuelSchlesinger
changed the base branch from
samschles/crypto-pr-03-statistical-distance-tsum
to
samschles/crypto-stack-review-base
October 5, 2026 20:07
SamuelSchlesinger
added this pull request to stack #1077
October 5, 2026 20:07
SamuelSchlesinger
removed this pull request from stack #1077
October 5, 2026 20:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deferred from the CSLib crypto stack. The remaining proposed developments do not use these bounded-score, conditioning, or pairing lemmas.
The implementation is preserved on this branch for later entropy and hashing work, with upstream placement reconsidered alongside those consumers.
Originally composed with Claude Code.