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

Đang mở
#465 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
cryptography

Hướng nghiên cứu

This is blocked until #426 (PR #446) lands: read src/Probability/Permutation/Replay.lean and the restriction-count results from PR #445 first, since Walk.lean builds on both. Then create src/Probability/Permutation/Walk.lean, re-export it from src/Probability.lean, and reproduce each listed declaration (walk mass, fresh-label bounds, public-table replay, forward/inverse reply-event bounds) in src/Tests/PermutationWalk.lean with #print axioms checks. Done means lake build --wfail, scripts/check-sources.sh, scripts/check-axioms.sh and Mathlib linters pass with zero warnings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Lean
Star
3
Fork
0
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
123

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của trailofbits/constructive-cryptography

Tất cả issue của trailofbits/constructive-cryptography

Issue tương tự

Thêm issue về Cryptography

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.