You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Cauchy–Schwarz pair and second-moment cross-collision lower bounds #455
Lower-bounding the probability that a finite map $f : M \to Y$ produces collisions among uniform samples—both within a single pair of inputs and across two disjoint batches of inputs—requires Cauchy–Schwarz pair lower bounds and second-moment (Paley–Zygmund) cross-collision bounds.
Proposed change
Add universe-polymorphic collision lower bounds in src/Probability/CollisionLower.lean (re-exported from src/Probability.lean):
Cross-collision second-moment / Paley–Zygmund bounds across two batches (labelCount, crossCount, crossCount_mean, crossCount_second, cubic_moment_le, crossCount_second_le, crossCount_nonzero_mass_ge, distinct_cross_collision_mass_ge).
Advances #14. (Once #427 / PR #444 lands, the local second-moment helper nonzero_mass_mul_second_ge can be replaced by Probability.Distribution.expect_sq_le_mass_pos_mul_second.)
Acceptance criteria
Instantiate pair, distinct-pair, and cross-collision lower bounds on finite types in src/Tests/CollisionLower.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