Direct random-pair verification requires exponential resources
ProvedQAlgorithms.Papers.Independent.Intakenext100.P87.direct_sampling_costLet and . Among pairs, exactly one fixed pair is a nonsinglet and all others are singlets. Test a uniformly chosen -element subset. Write for the probability the nonsinglet remains untested. Then
For , the requirement therefore entails and . This is a resource lower bound for this direct-testing scheme.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P87
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakenext100.P87
open scoped Matrix ComplexConjugate
open QAlgorithms.Measurements
/-- PDF p.7: the direct scheme needs exponentially many pairs to make its
one-defective-pair cheating probability at most exp(-k); m=N is excluded. -/
theorem direct_sampling_cost (N m : ℕ) (hm : m < N) (bad : Fin N) :
directMissProbability N m bad = (N - m : ℕ) / (N : ℝ) ∧
1 / (N : ℝ) ≤ directMissProbability N m bad ∧
∀ k : ℝ, 0 ≤ k → directMissProbability N m bad ≤ Real.exp (-k) →
Real.exp k ≤ (N : ℝ) ∧
(1 - Real.exp (-k)) * (N : ℝ) ≤ (m : ℝ) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P87
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every pair of natural numbers with , and every , let be the number of -element subsets of omitting , divided by the total number of -element subsets. Then all of the following hold:
The numerator in the first equality is natural-number subtraction, which agrees with ordinary subtraction under . These hypotheses ensure ; they permit , in which case .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.