Perfect completeness and local decoding of the long-code test
Lax323828.LongCodeCorrectness · concepts/Lax323828/LongCodeCorrectness.lean · lax-323828
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every genuine long code passes the complete nonadaptive test. Conversely, whenever the test accepts, all its answers agree with evaluation at one word. This is Lemma 4.1 of Håstad's paper; it concerns a fixed run and does not assert global closeness of the table to a long code.
A genuine code also passes the extended test whenever its encoded word satisfies the side condition. Any accepting extended run has a compatible evaluation point satisfying the condition. The latter is a local statement, distinct from the probabilistic bound and the fixed small decoding set in Theorem 4.17.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax323828.LongCode |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Perfect completeness and local decoding of the long-code test |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every genuine long code passes the complete nonadaptive test. Conversely, |
| 9 | whenever the test accepts, all its answers agree with evaluation at one |
| 10 | word. This is Lemma 4.1 of Håstad's paper; it concerns a fixed run and does |
| 11 | not assert global closeness of the table to a long code. |
| 12 | |
| 13 | A genuine code also passes the extended test whenever its encoded word |
| 14 | satisfies the side condition. Any accepting extended run has a compatible |
| 15 | evaluation point satisfying the condition. The latter is a local statement, |
| 16 | distinct from the probabilistic bound and the fixed small decoding set in |
| 17 | Theorem 4.17. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax323828.LongCodeCorrectness |
| 21 | |
| 22 | open LongCode |
| 23 | |
| 24 | axiom perfect_completeness {w s : ℕ} (x : Word w) (f : Fin s → Coordinate w) : |
| 25 | Accepts (evaluation x) f |
| 26 | |
| 27 | axiom local_decoding {w s : ℕ} (A : Table w) (f : Fin s → Coordinate w) |
| 28 | (h : Accepts A f) : |
| 29 | ∃ x : Word w, LooksLike A f x |
| 30 | |
| 31 | axiom side_condition_completeness {w s : ℕ} (x : Word w) (f : Fin s → Coordinate w) |
| 32 | (h : Coordinate w) (hx : h x = true) : |
| 33 | AcceptsWithCondition (evaluation x) f h |
| 34 | |
| 35 | axiom side_condition_decoding {w s : ℕ} (A : Table w) (f : Fin s → Coordinate w) |
| 36 | (h : Coordinate w) (haccept : AcceptsWithCondition A f h) : |
| 37 | ∃ x : Word w, h x = true ∧ LooksLike A f x |
| 38 | |
| 39 | end Lax323828.LongCodeCorrectness |
| 40 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments