Normalizing a long-code table to an odd table
Lax253009.OddNormalization · concepts/Lax253009/OddNormalization.lean · lax-253009
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
The Fourier analysis assumes . This loses no accepting transcripts: repair every inconsistent pair of complementary coordinates by using evaluation at a fixed word. An accepting CNA transcript only queries consistent pairs, so all its answers are preserved. Acceptance and its side-condition extension are preserved as well.
This justifies the normalization in footnote (4) preceding equation (2), including the strengthened test used for Theorem 4.17. Boolean negation represents sign negation.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax253009.LongCode |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Normalizing a long-code table to an odd table |
| 6 | type: theorem |
| 7 | --- |
| 8 | The Fourier analysis assumes . This loses no accepting |
| 9 | transcripts: repair every inconsistent pair of complementary coordinates |
| 10 | by using evaluation at a fixed word. An accepting CNA transcript only |
| 11 | queries consistent pairs, so all its answers are preserved. Acceptance |
| 12 | and its side-condition extension are preserved as well. |
| 13 | |
| 14 | This justifies the normalization in footnote (4) preceding equation (2), |
| 15 | including the strengthened test used for Theorem 4.17. Boolean negation |
| 16 | represents sign negation. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax253009.OddNormalization |
| 20 | |
| 21 | open LongCode |
| 22 | |
| 23 | def negate {w : ℕ} (g : Coordinate w) : Coordinate w := fun x ↦ !(g x) |
| 24 | |
| 25 | def oddify {w : ℕ} (x₀ : Word w) (A : Table w) : Table w := |
| 26 | fun g ↦ if A (negate g) = !(A g) then A g else g x₀ |
| 27 | |
| 28 | axiom odd {w : ℕ} (x₀ : Word w) (A : Table w) (g : Coordinate w) : |
| 29 | oddify x₀ A (negate g) = !(oddify x₀ A g) |
| 30 | |
| 31 | axiom same_queries {w s : ℕ} (x₀ : Word w) (A : Table w) |
| 32 | (f : Fin s → Coordinate w) (hA : Accepts A f) |
| 33 | (g : Coordinate w) (hg : Queried f g) : oddify x₀ A g = A g |
| 34 | |
| 35 | axiom preserves_acceptance {w s : ℕ} (x₀ : Word w) (A : Table w) |
| 36 | (f : Fin s → Coordinate w) (hA : Accepts A f) : |
| 37 | Accepts (oddify x₀ A) f |
| 38 | |
| 39 | axiom preserves_side_acceptance {w s : ℕ} (x₀ : Word w) (A : Table w) |
| 40 | (f : Fin s → Coordinate w) (h : Coordinate w) (hA : AcceptsWithCondition A f h) : |
| 41 | AcceptsWithCondition (oddify x₀ A) f h |
| 42 | |
| 43 | end Lax253009.OddNormalization |
| 44 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments