Repetition of local proof tests
Lax253009.TestRepetition · concepts/Lax253009/TestRepetition.lean · lax-253009
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Repeat a verifier times against the same global proof and accept only when every run accepts. Accepting local views are unions of compatible base views. The acceptance probability of each fixed proof is raised to the th power, and base accepting views give at most repeated views per random choice. Perfect completeness is preserved.
This is repetition of a one-oracle PCP verifier. It is distinct from the two-prover parallel-repetition theorem, whose strategies may depend on entire question tuples.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax253009.TestSampling |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Repetition of local proof tests |
| 6 | type: theorem |
| 7 | --- |
| 8 | Repeat a verifier times against the same global proof and accept only |
| 9 | when every run accepts. Accepting local views are unions of compatible |
| 10 | base views. The acceptance probability of each fixed proof is raised to |
| 11 | the th power, and base accepting views give at most repeated |
| 12 | views per random choice. Perfect completeness is preserved. |
| 13 | |
| 14 | This is repetition of a one-oracle PCP verifier. It is distinct from the |
| 15 | two-prover parallel-repetition theorem, whose strategies may depend on |
| 16 | entire question tuples. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax253009.TestRepetition |
| 20 | |
| 21 | open LocalTests TestSampling FiniteProbability |
| 22 | |
| 23 | def Coherent {m k : ℕ} (a : Fin k → View m) : Prop := |
| 24 | ∀ i j, Compatible (a i) (a j) |
| 25 | |
| 26 | def merge {m : ℕ} : {k : ℕ} → (Fin k → View m) → View m |
| 27 | | 0, _ => fun _ ↦ none |
| 28 | | k + 1, a => fun i ↦ (a 0 i).or (merge (fun j : Fin k ↦ a j.succ) i) |
| 29 | |
| 30 | noncomputable def seedEquiv (r k : ℕ) : (Fin k → Fin r) ≃ Fin (r ^ k) := |
| 31 | Fintype.equivFinOfCardEq (by simp) |
| 32 | |
| 33 | noncomputable def repeated {r m : ℕ} (C : System r m) (k : ℕ) : System (r ^ k) m := by |
| 34 | classical |
| 35 | exact ⟨fun z ↦ ((Fintype.piFinset (fun i : Fin k ↦ C.accepting ((seedEquiv r k).symm z i))).filter |
| 36 | Coherent).image merge⟩ |
| 37 | |
| 38 | axiom passes_iff {r m : ℕ} (C : System r m) (k : ℕ) (π : Oracle m) (z : Fin (r ^ k)) : |
| 39 | Passes (repeated C k) π z ↔ ∀ i, Passes C π ((seedEquiv r k).symm z i) |
| 40 | |
| 41 | axiom acceptance_probability {r m : ℕ} (C : System r m) (k : ℕ) (π : Oracle m) : |
| 42 | probability (Passes (repeated C k) π) = probability (Passes C π) ^ k |
| 43 | |
| 44 | axiom free_bits {r m : ℕ} (C : System r m) (k A : ℕ) |
| 45 | (hA : ∀ z, (C.accepting z).card ≤ A) : |
| 46 | ∀ z, ((repeated C k).accepting z).card ≤ A ^ k |
| 47 | |
| 48 | axiom perfect_completeness {r m : ℕ} (C : System r m) (k : ℕ) (hC : Complete C) : |
| 49 | Complete (repeated C k) |
| 50 | |
| 51 | axiom soundness {r m : ℕ} (C : System r m) (k : ℕ) (p : ℝ) (hp : 0 ≤ p) |
| 52 | (hC : Sound C p) : Sound (repeated C k) (p ^ k) |
| 53 | |
| 54 | end Lax253009.TestRepetition |
| 55 |
Builds on
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments