PIR to dual PIR compression
OpenPIRLB.compressLet be a scheme with parameters and an oracle-free encoding. Suppose its server view fits in bits, the server makes at most oracle queries online, is -correct, and is -private against adversaries making at most oracle queries. Then there is an -dual PIR whose success probability satisfies
This is the core reduction of the lower bounds. With it is the statement for public-key and unkeyed DEPIR. Because the view bound is per oracle, it also covers communication-determined schemes, whose view is determined by the oracle and the transcript. Because the adversary budget equals the server's own query count, it also applies to weak PIR.
import Definitions.Def_PIRLB open Filter Topology
namespace PIRLB
theorem compress {n k s : ℕ} (hn : 0 < n) (P : Scheme n k s) (t q : ℕ) (ε δ : ℝ)
(hfree : P.OracleFree) (hview : P.ViewBits t) (hq : P.SrvQueries q)
(hcor : P.Correct ε) (hpriv : P.Private δ q) :
∃ T : DualPIR n k t (3 * s),
ε - 2 * δ - (if s = 0 then (2 : ℝ) ^ (2 - (n : ℤ))
else (2 : ℝ) ^ (1 - (s : ℤ)) + (2 : ℝ) ^ (1 - (n : ℤ))) ≤ T.success := by
sorry
end PIRLBRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For all with , reals and every scheme : if is oracle-free, satisfies ViewBits, SrvQueries, is -correct and -private, then there exists a dual PIR (advice bits, hint bits) with
(integer powers of in ). No relation between and is assumed explicitly; since , batches exist, so correctness forces and privacy forces . For there is a single (empty) batch and every has . When and , or , the error term is and the claim is trivial.