General forking lemma:
ProvedCryptologyCity.general_forking_lemmacryptographycryptology-citydiscrete-logarithmrandom-oracle-model
Let be a type with a distribution , let be a finite type with decidable equality, let be nonempty, let and let . Draw and independently and uniformly. Let , and let be the probability that , for () and (), and . Then
Preamble
import Definitions.Def_CryptologyCity_SchnorrROM open scoped ENNReal
Formal statement
namespace CryptologyCity
theorem general_forking_lemma {Ω H : Type*} [Fintype H] [DecidableEq H] (ν : PMF Ω)
(C : Finset H) (hC : C.Nonempty) (q : ℕ) (J : Ω → (Fin q → H) → Option (Fin q)) :
((ν.bind fun ω => (iidPMF (PMF.uniformOfFinset C hC) q).map fun h => (J ω h).isSome)
true).toReal *
(((ν.bind fun ω => (iidPMF (PMF.uniformOfFinset C hC) q).map fun h => (J ω h).isSome)
true).toReal / q - 1 / C.card) ≤
((ν.bind fun ω => (iidPMF (PMF.uniformOfFinset C hC) q).bind fun h =>
(iidPMF (PMF.uniformOfFinset C hC) q).map fun h' =>
match J ω h with
| none => false
| some i => decide (J ω (fun j => if j < i then h j else h' j) = some i ∧ h i ≠ h' i))
true).toReal := by sorry
end CryptologyCitySource
Cryptology City, Forking lemma, https://cryptology.city/Folklore/forking-lemma (frk ≥ acc·(acc/q − 1/h)). Bellare–Neven, ACM CCS 2006, Lemma 1, https://doi.org/10.1145/1180405.1180453.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.