Skip to content

feat(Crypto): prove hybrid arguments with polynomially many hops - #1070

Open
SamuelSchlesinger wants to merge 2 commits into
samschles/crypto-pr-07-security-gamesfrom
samschles/crypto-pr-08-hybrid-arguments
Open

SamuelSchlesinger wants to merge 2 commits into
samschles/crypto-pr-07-security-gamesfrom
samschles/crypto-pr-08-hybrid-arguments

Conversation

@SamuelSchlesinger

@SamuelSchlesinger SamuelSchlesinger commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Adds Cslib.Crypto.Game.Hybrid. Bounds endpoint advantage by the sum of adjacent advantages and proves negligible total advantage for polynomially many hops sharing one negligible bound per adversary (Secure.hybrid).

Proves exact signed-gap and advantage identities for uniformly sampled adjacent hybrids, with unused indices rejecting. The averaging loss is the sampling capacity, which may exceed the number of hops. Secure.of_reduction_with_loss transfers security through an admissibility-preserving reduction with polynomial loss and negligible additive error; both bounds may depend on the adversary.

Reference: Arora and Barak, Computational Complexity: A Modern Approach, §9.3.

Depends on #1069.

Composed with Claude Code; reviewed and restacked with Codex.

@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1064 October 4, 2026 22:31
@SamuelSchlesinger
SamuelSchlesinger force-pushed the samschles/crypto-pr-08-hybrid-arguments branch from 923d75b to 6120d7b Compare October 4, 2026 23:03
@SamuelSchlesinger
SamuelSchlesinger force-pushed the samschles/crypto-pr-08-hybrid-arguments branch from 6120d7b to 34a1635 Compare October 4, 2026 23:33
@SamuelSchlesinger
SamuelSchlesinger removed this pull request from stack #1064 October 5, 2026 20:06
@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1077 October 5, 2026 20:07
@SamuelSchlesinger
SamuelSchlesinger force-pushed the samschles/crypto-pr-08-hybrid-arguments branch from 34a1635 to e0d0820 Compare October 5, 2026 20:19
@SamuelSchlesinger
SamuelSchlesinger removed this pull request from stack #1077 October 5, 2026 20:20
@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1080 October 5, 2026 20:20
@SamuelSchlesinger
SamuelSchlesinger removed this pull request from stack #1080 October 5, 2026 20:43
@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1082 October 5, 2026 20:43
Adds `Cslib.Crypto.Game.Hybrid`. The advantage between the endpoints of a chain of games is at most the sum of the adjacent advantages, so polynomially many hops with one common negligible bound per adversary give negligible total advantage (`Secure.hybrid`).

Choosing the hop uniformly at random telescopes the signed gaps (`advantage_hybrid_average`). This gives one reduction for every security parameter, whose loss is the number of hops, without selecting a length-dependent best hop ([AroraBarak09] §9.3). `Secure.of_reduction_with_loss` lets a reduction lose a polynomial factor and incur a negligible error.
@SamuelSchlesinger
SamuelSchlesinger force-pushed the samschles/crypto-pr-08-hybrid-arguments branch from e0d0820 to a0e897d Compare October 5, 2026 20:56
@SamuelSchlesinger
SamuelSchlesinger removed this pull request from stack #1082 October 5, 2026 20:57
@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1084 October 5, 2026 20:57
@SamuelSchlesinger
SamuelSchlesinger removed this pull request from stack #1084 October 5, 2026 21:02
@SamuelSchlesinger
SamuelSchlesinger changed the base branch from samschles/crypto-pr-07-security-games to main October 5, 2026 21:02
@SamuelSchlesinger
SamuelSchlesinger changed the base branch from main to samschles/crypto-pr-07-security-games October 5, 2026 21:02
@SamuelSchlesinger
SamuelSchlesinger added this pull request to stack #1085 October 5, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant