Finite quantitative soundness of the CNA test with side conditions
Lax323828.CNAQuantitativeSoundness · concepts/Lax323828/CNAQuantitativeSoundness.lean · lax-323828
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Combine soundness at each evaluation point with concentration of random label fibers. Every accepted run agrees with an entire fiber. Unless a fiber is unusually small, averaging over the possible evaluation points costs only a factor twice the number of labels, independently of the number of words. Projection makes the decoding set independent of the side condition.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax323828.CNAPointSoundness |
| 2 | import Lax323828.CNASoundness |
| 3 | import Lax323828.RandomFibers |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Finite quantitative soundness of the CNA test with side conditions |
| 8 | type: theorem |
| 9 | --- |
| 10 | Combine soundness at each evaluation point with concentration of random |
| 11 | label fibers. Every accepted run agrees with an entire fiber. Unless a |
| 12 | fiber is unusually small, averaging over the possible evaluation points |
| 13 | costs only a factor twice the number of labels, independently of the |
| 14 | number of words. Projection makes the decoding set independent of the |
| 15 | side condition. |
| 16 | -/ |
| 17 | |
| 18 | namespace Lax323828.CNAQuantitativeSoundness |
| 19 | |
| 20 | open LongCode BooleanFourier CNAPointSoundness CNASoundness FiniteProbability |
| 21 | |
| 22 | noncomputable def totalBound (l m r s w : ℕ) (τ q : ℝ) : ℝ := |
| 23 | (2 : ℝ) ^ s * Real.exp (-((2 : ℝ) ^ w) / (8 * ((2 : ℝ) ^ s) ^ 2)) + |
| 24 | 2 * (2 : ℝ) ^ s * pointBound l m r (2 ^ s) τ q |
| 25 | |
| 26 | axiom quantitative_soundness (w s l m r : ℕ) (hs : 0 < s) |
| 27 | (hl : 0 < l) (hlN : l < 2 ^ s) |
| 28 | (τ q : ℝ) (hτ : 0 < τ) (hq : 0 ≤ q) (hq1 : q ≤ 1) |
| 29 | (hr : 2 * r ≤ m) (hm : Even m) |
| 30 | (hlarge : (l : ℝ) / ((2 : ℝ) ^ s - l) / τ ≤ 1 / 3) |
| 31 | (A : Table w) (h : Coordinate w) : |
| 32 | probability (BadWithCondition (s := s) A (decoding (fun g ↦ sign (A g)) l τ) h) ≤ |
| 33 | totalBound l m r s w τ q |
| 34 | |
| 35 | end Lax323828.CNAQuantitativeSoundness |
| 36 |
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments