Sparse residual contractions belong to the actual primal pins
Lax342547.PrimalContractions · concepts/Lax342547/PrimalContractions.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Pure nominal quotient responses put a tested individual contraction in the barred space. Unselected sparse labels eliminate its key and private terms, so the contraction lies in the actual primal pin intersection. pairs this membership with the actual derivative tests and table injection flags in both reciprocal modes.
Concept map
Evidence
This concept declares 4 statements. Each proof establishes one of them relative to its assumptions.
1 endpoint_vector proven
2 sparse_contraction proven
3 unselected_pin_contraction proven
4 unselected_pin_contraction_mode proven
Lean source view on GitHub
| 1 | import Lax342547.BarredElimination |
| 2 | import Lax342547.TensorBlocks |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Sparse residual contractions belong to the actual primal pins |
| 7 | type: lemma |
| 8 | --- |
| 9 | Pure nominal quotient responses put a tested individual contraction in |
| 10 | the barred space. Unselected sparse labels eliminate its key and private |
| 11 | terms, so the contraction lies in the actual primal pin intersection. |
| 12 | `DerivativeResponses` pairs this membership with the actual derivative |
| 13 | tests and table injection flags in both reciprocal modes. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax342547.PrimalContractions |
| 17 | |
| 18 | open Lax342547.MomentSpace Lax342547.TableSpaces Lax342547.PairedAnnihilators |
| 19 | open Lax342547.TensorAnnihilators Lax342547.ConcreteGeometry Lax342547.ProjectedPins |
| 20 | open Lax342547.TagGeometry Lax342547.ConcreteCut Lax342547.CutProfiles |
| 21 | open Lax342547.PairedWitnesses Lax342547.ExactPins Lax342547.SparsePins |
| 22 | open Lax342547.PinLabelExclusions Lax342547.BarredSpaces Lax342547.ResidualLabels |
| 23 | |
| 24 | noncomputable def coordinates {B : Type} (ψ : Module.Dual Binary (B → Binary)) : B → Binary := by |
| 25 | classical |
| 26 | exact dualCoordinates ψ |
| 27 | |
| 28 | axiom endpoint_vector {B H : Type} [Fintype B] |
| 29 | (M : Fin 2 → Matrix B B Binary) (D E : Submodule Binary (Nominal B H)) |
| 30 | (h : PairedAnnihilates M D E) (i : Fin 2) |
| 31 | (T : Submodule Binary (B → Binary)) (hE : E.map (primalProjection i) ≤ T) |
| 32 | (ψ : Module.Dual Binary (B → Binary)) (hψ : T ≤ LinearMap.ker ψ) : |
| 33 | primalEmbedding i ((M i).mulVecLin (coordinates ψ)) ∈ D |
| 34 | |
| 35 | axiom sparse_contraction {Label Coord Base : Type} [Fintype Coord] [Fintype Base] |
| 36 | (p : Label → Coord → Binary) (L : Finset Label) |
| 37 | (Z : Label → Matrix Base Base Binary) |
| 38 | (v : Coord × Base → Binary) : |
| 39 | (∑ s ∈ L, Lax342547.TensorBlocks.block p s (Z s)).mulVecLin v = |
| 40 | ∑ s ∈ L, Lax342547.SparsePins.labelTensor p s |
| 41 | (fun a => ∑ c, p s c.1 * Z s a c.2 * v c) |
| 42 | |
| 43 | axiom unselected_pin_contraction {k n b degree r R : ℕ} {hr : 2 * r ≤ n} |
| 44 | {H N : Type} [Fintype H] (W : Lists k n b degree r hr) |
| 45 | (P : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 46 | (A : Fin 2 → Finset (Fin b → Binary)) (hA : Covers P A R) |
| 47 | (hfresh : ∀ i z t, (W.left i z t).label ∉ A i) |
| 48 | (U V : Fin 2 → Submodule Binary (H → Binary)) (e : Component (Tag k)) |
| 49 | (hU : ∀ j, IsCompl (protectedChannel P j (e, true)) (U j)) |
| 50 | (M : Fin 2 → Moment k n b degree) |
| 51 | (h : PairedAnnihilates M (barred W P U (e, true)) (barred W P V (e, false))) |
| 52 | (i : Fin 2) (L : Finset (Fin b → Binary)) (hL : L.card ≤ R) |
| 53 | (hdisjoint : Disjoint L (chosenLabels W i)) |
| 54 | (Z : (Fin b → Binary) → Matrix (Option (Base k n)) (Option (Base k n)) Binary) |
| 55 | (hM : M i = ∑ s ∈ L, Lax342547.TensorBlocks.block selectorEval s (Z s)) |
| 56 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 57 | (hψ : projected P i (e, false) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) : |
| 58 | (M i).mulVecLin (coordinates ψ) ∈ pinnedPrimal P i (e, true) |
| 59 | |
| 60 | axiom unselected_pin_contraction_mode {k n b degree r R : ℕ} {hr : 2 * r ≤ n} |
| 61 | {H N : Type} [Fintype H] (W : Lists k n b degree r hr) |
| 62 | (P : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 63 | (A : Fin 2 → Finset (Fin b → Binary)) (hA : Covers P A R) |
| 64 | (hfresh : ∀ i z t, (W.left i z t).label ∉ A i) |
| 65 | (p : Bool) (U V : Fin 2 → Submodule Binary (H → Binary)) (e : Component (Tag k)) |
| 66 | (hU : ∀ j, IsCompl (protectedChannel P j (e, p)) (U j)) |
| 67 | (M : Fin 2 → Moment k n b degree) |
| 68 | (h : PairedAnnihilates M (barred W P U (e, p)) (barred W P V (e, !p))) |
| 69 | (i : Fin 2) (L : Finset (Fin b → Binary)) (hL : L.card ≤ R) |
| 70 | (hdisjoint : Disjoint L (chosenLabels W i)) |
| 71 | (Z : (Fin b → Binary) → Matrix (Option (Base k n)) (Option (Base k n)) Binary) |
| 72 | (hM : M i = ∑ s ∈ L, Lax342547.TensorBlocks.block selectorEval s (Z s)) |
| 73 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 74 | (hψ : projected P i (e, !p) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) : |
| 75 | (M i).mulVecLin (coordinates ψ) ∈ pinnedPrimal P i (e, p) |
| 76 | |
| 77 | end Lax342547.PrimalContractions |
| 78 |
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments