The fifteen-rank witness tester target
Lax342547.TargetTesters · concepts/Lax342547/TargetTesters.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Odd witness lists turn the ordinary target coefficients into the shared moment at each witness tag. Their at most seven atoms route at most fourteen ordered ordinary testers to any component. All shared stars consolidate into one ordered shared tester. The resulting rank at most 15r represents the exact tester target on the entire profile space.
Concept map
Evidence
This concept declares 9 statements. Each proof establishes one of them relative to its assumptions.
1 left_shared_sum proven
2 left_witness_cut proven
3 ordinary_star_representation proven
4 shared_matrix_rank proven
5 shared_matrix_representation proven
6 tester_coefficient proven
7 tester_target_formula proven
8 witness_tester_rank proven
9 witness_tester_representation proven
Lean source view on GitHub
| 1 | import Lax342547.StarRouting |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The fifteen-rank witness tester target |
| 6 | type: lemma |
| 7 | --- |
| 8 | Odd witness lists turn the ordinary target coefficients into the shared moment at each witness tag. Their at most seven atoms route at most fourteen ordered ordinary testers to any component. All shared stars consolidate into one ordered shared tester. The resulting rank at most 15r represents the exact tester target on the entire profile space. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax342547.TargetTesters |
| 12 | |
| 13 | open Lax342547.MomentSpace Lax342547.TagGeometry Lax342547.ConcreteGeometry |
| 14 | open Lax342547.ConcreteCut Lax342547.CutProfiles Lax342547.Atoms |
| 15 | open Lax342547.PairedWitnesses Lax342547.WitnessAtoms Lax342547.StarRouting |
| 16 | |
| 17 | axiom ordinary_star_representation {k n b degree r : ℕ} (hr : 2 * r ≤ n) |
| 18 | (D : Testers (k := k) (b := b) (degree := degree) hr) (t : Tag k) |
| 19 | (x : Profile k n b degree) : |
| 20 | (∑ e, matrixPair (starMatrix hr (fun d => ordinary d t) (fun _ => 1) e) (x.val e)) = D.aTag t x |
| 21 | |
| 22 | noncomputable def sharedMatrix {k n b degree r : ℕ} (hr : 2 * r ≤ n) |
| 23 | (coeff : Tag k → Binary) (e : Component (Tag k)) : Moment k n b degree := |
| 24 | (∑ t ∈ e.val, coeff t) • orderedTesterMatrix hr shared |
| 25 | |
| 26 | axiom shared_matrix_rank {k n b degree r : ℕ} (hr : 2 * r ≤ n) |
| 27 | (coeff : Tag k → Binary) (e : Component (Tag k)) : |
| 28 | (sharedMatrix (b := b) (degree := degree) hr coeff e).rank ≤ r |
| 29 | |
| 30 | axiom shared_matrix_representation {k n b degree r : ℕ} (hr : 2 * r ≤ n) |
| 31 | (D : Testers (k := k) (b := b) (degree := degree) hr) (coeff : Tag k → Binary) |
| 32 | (x : Profile k n b degree) : |
| 33 | (∑ e, matrixPair (sharedMatrix (b := b) (degree := degree) hr coeff e) (x.val e)) = |
| 34 | ∑ t, coeff t * D.bTag t x |
| 35 | |
| 36 | axiom tester_coefficient {k n b degree r : ℕ} (hr : 2 * r ≤ n) |
| 37 | (D : Testers (k := k) (b := b) (degree := degree) hr) |
| 38 | (v : Representation k n b degree) (hv : chiStar hr v = 1) (t : Tag k) : |
| 39 | 1 + D.role ((representationCut k n b degree).rangeRestrict v) + |
| 40 | D.bTag t ((representationCut k n b degree).rangeRestrict v) = |
| 41 | blockTester hr shared (v.val t) |
| 42 | |
| 43 | noncomputable def testerTarget {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 44 | (D : Testers (k := k) (b := b) (degree := degree) hr) (v : Profile k n b degree) : |
| 45 | Module.Dual Binary (Profile k n b degree) := |
| 46 | D.role + (Lax342547.GradientForm.form D.role D.aTag D.bTag 0) v |
| 47 | |
| 48 | axiom tester_target_formula {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 49 | (D : Testers (k := k) (b := b) (degree := degree) hr) |
| 50 | (v : Representation k n b degree) (hv : chiStar hr v = 1) (x : Profile k n b degree) : |
| 51 | testerTarget D ((representationCut k n b degree).rangeRestrict v) x = |
| 52 | (∑ t, blockTester hr shared (v.val t) * D.aTag t x) + |
| 53 | ∑ t, D.aTag t ((representationCut k n b degree).rangeRestrict v) * D.bTag t x |
| 54 | |
| 55 | axiom left_witness_cut {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 56 | (W : Lists k n b degree r hr) (i z : Fin 2) : |
| 57 | (representationCut k n b degree).rangeRestrict (leftRepresentation W i z) = leftWitness W i z |
| 58 | |
| 59 | axiom left_shared_sum {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 60 | (W : Lists k n b degree r hr) (i z : Fin 2) (f : Tag k → Binary) : |
| 61 | (∑ t, blockTester hr shared ((leftRepresentation W i z).val t) * f t) = |
| 62 | ∑ j, ((W.left i z j).numerical hr).summary none * f (W.left i z j).tag |
| 63 | |
| 64 | noncomputable def witnessTesterMatrix {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 65 | (W : Lists k n b degree r hr) |
| 66 | (D : Testers (k := k) (b := b) (degree := degree) hr) (i z : Fin 2) |
| 67 | (e : Component (Tag k)) : Moment k n b degree := |
| 68 | (∑ j, ((W.left i z j).numerical hr).summary none • |
| 69 | starMatrix hr (fun d => ordinary d (W.left i z j).tag) (fun _ => 1) e) + |
| 70 | sharedMatrix hr (fun t => D.aTag t (leftWitness W i z)) e |
| 71 | |
| 72 | axiom witness_tester_rank {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 73 | (W : Lists k n b degree r hr) |
| 74 | (D : Testers (k := k) (b := b) (degree := degree) hr) (i z : Fin 2) |
| 75 | (e : Component (Tag k)) : (witnessTesterMatrix W D i z e).rank ≤ 15 * r |
| 76 | |
| 77 | axiom witness_tester_representation {k n b degree r : ℕ} {hr : 2 * r ≤ n} |
| 78 | (W : Lists k n b degree r hr) |
| 79 | (D : Testers (k := k) (b := b) (degree := degree) hr) (i z : Fin 2) |
| 80 | (hodd : (∑ j, diagonalBit hr (W.left i z j)) = 1) (x : Profile k n b degree) : |
| 81 | (∑ e, matrixPair (witnessTesterMatrix W D i z e) (x.val e)) = |
| 82 | testerTarget D (leftWitness W i z) x |
| 83 | |
| 84 | end Lax342547.TargetTesters |
| 85 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments