Skip to content

Add adaptive permutation walk, public-table replay, and reply-event bounds #465

Backlog

Description

@MarcIlunga

Background

While Probability.Permutation (#425 / PR #445) and Probability.Permutation.Replay (#426 / PR #446) establish exact restriction counts and single-edge conditional factors for a uniform permutation, sponge and ideal-permutation security proofs also need causal adaptive-walk likelihoods, fresh-label lower bounds, joint replay bounds against a fixed public table, and conditional reply-event upper bounds in both directions without switching to a random function.

Proposed change

Add src/Probability/Permutation/Walk.lean (re-exported from src/Probability.lean) on top of #446:

  • Query orientation and independent-likelihood domination (permutation_reply_constraint, permutation_constraints_mass_ge_independent).
  • Adaptive causal walk mass (permutation_walk_mass).
  • Fresh-label exact mass and collision-plus-forbidden lower bounds (uniform_fresh_labels_mass, fresh_labels_factor_ge, fresh_labels_factor_ge_of_budget).
  • Joint adaptive replay with a fixed public permutation table (permutation_replay_public_mass, permutation_replay_public_good_factor, permutation_replay_public_good_lower_bound).
  • Conditional forward and inverse reply-set and reply-event upper bounds (permutation_forward_reply_mass_le, permutation_inverse_reply_mass_le, permutation_reply_set_mass_le, permutation_reply_event_mass_le).

Depends on #426 (PR #446). Advances #14.

Acceptance criteria

  • Instantiate likelihood domination, exact fresh-label mass and lower bound, and conditional forward and inverse reply-event upper bounds on finite types in src/Tests/PermutationWalk.lean with #print axioms checks.
  • Pass lake build --wfail, scripts/check-sources.sh, scripts/check-axioms.sh, and Mathlib standard linters with zero warnings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions