The full linearized response on pairs of actual cut profiles
Lax342547.DerivativeResponses · concepts/Lax342547/DerivativeResponses.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The two allowed derivative families factor through the actual barred nominal quotients and take values perpendicular to the opposite pin's protected channels. Their contractions with the fixed baseline maps are added to the independent pure bilinear response.
Concept map
Evidence
This concept declares 11 statements. Each proof establishes one of them relative to its assumptions.
1 atom_annihilates proven
2 component_annihilation proven
3 derivative_annihilation proven
4 left_test proven
5 minus_contraction_zero proven
6 plus_contraction_zero proven
7 pure_annihilation proven
8 right_test proven
9 selected_part_annihilates proven
10 subtract_annihilates proven
11 unselected_obstruction proven
Lean source view on GitHub
| 1 | import Lax342547.ChannelChanges |
| 2 | import Lax342547.SelectedRemoval |
| 3 | import Lax342547.ResidualLabels |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: The full linearized response on pairs of actual cut profiles |
| 8 | type: lemma |
| 9 | --- |
| 10 | The two allowed derivative families factor through the actual barred |
| 11 | nominal quotients and take values perpendicular to the opposite pin's |
| 12 | protected channels. Their contractions with the fixed baseline maps |
| 13 | are added to the independent pure bilinear response. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax342547.DerivativeResponses |
| 17 | |
| 18 | open Lax342547.MomentSpace Lax342547.TagGeometry Lax342547.ConcreteGeometry |
| 19 | open Lax342547.ConcreteCut Lax342547.CutProfiles Lax342547.PairedWitnesses |
| 20 | open Lax342547.ExactPins Lax342547.TableSpaces Lax342547.PairedAnnihilators |
| 21 | open Lax342547.BarredSpaces Lax342547.ChannelChanges Lax342547.TableContractions |
| 22 | open Lax342547.SelectedRemoval |
| 23 | |
| 24 | variable {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 25 | |
| 26 | abbrev PlusParameters (W : Lists k n b degree r hr) |
| 27 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 28 | (U : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) (z : Fin 2) := |
| 29 | ∀ e, (Nominal (Coordinate k n b degree) H ⧸ barred W P (U e) (e, true)) →ₗ[Binary] |
| 30 | perpendicular (protectedChannel Q z (e, false)) |
| 31 | |
| 32 | abbrev MinusParameters (W : Lists k n b degree r hr) |
| 33 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 34 | (V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) (z : Fin 2) := |
| 35 | ∀ e, (Nominal (Coordinate k n b degree) H ⧸ barred W P (V e) (e, false)) →ₗ[Binary] |
| 36 | perpendicular (protectedChannel Q z (e, true)) |
| 37 | |
| 38 | def restriction {B : Type} (D : Submodule Binary (Nominal B H)) |
| 39 | (S : Submodule Binary (H → Binary)) |
| 40 | (δ : (Nominal B H ⧸ D) →ₗ[Binary] perpendicular S) (i : Fin 2) : |
| 41 | (B → Binary) →ₗ[Binary] (H → Binary) := |
| 42 | (((perpendicular S).subtype.comp δ).comp D.mkQ).comp (primalEmbedding i) |
| 43 | |
| 44 | noncomputable def componentResponse {Comp B : Type} [Fintype B] |
| 45 | (F : CrossForms Comp B H) (e : Comp) (z : Fin 2) |
| 46 | (D E : Submodule Binary (Nominal B H)) (S T : Submodule Binary (H → Binary)) |
| 47 | (δF : (Nominal B H ⧸ D) →ₗ[Binary] perpendicular S) |
| 48 | (δG : (Nominal B H ⧸ E) →ₗ[Binary] perpendicular T) : |
| 49 | (Fin 2 → Matrix B B Binary) →ₗ[Binary] Binary := |
| 50 | ∑ i, (TensorContractions.ambient (fullPlus F e i z) (restriction E T δG i) + |
| 51 | TensorContractions.ambient (restriction D S δF i) (fullMinus F e i z)).comp (LinearMap.proj i) |
| 52 | |
| 53 | noncomputable def response (W : Lists k n b degree r hr) |
| 54 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 55 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 56 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 57 | (δF : PlusParameters W P Q U z) (δG : MinusParameters W P Q V z) : |
| 58 | (Fin 2 → Profile k n b degree) →ₗ[Binary] Binary := |
| 59 | ∑ e, (componentResponse F e z (barred W P (U e) (e, true)) |
| 60 | (barred W P (V e) (e, false)) (protectedChannel Q z (e, false)) |
| 61 | (protectedChannel Q z (e, true)) (δF e) (δG e)).comp (PureObstructions.endpointComponent e) |
| 62 | |
| 63 | noncomputable def fullResponse (W : Lists k n b degree r hr) |
| 64 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 65 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 66 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 67 | (β : PureObstructions.Parameters W P U V) |
| 68 | (δF : PlusParameters W P Q U z) (δG : MinusParameters W P Q V z) : |
| 69 | (Fin 2 → Profile k n b degree) →ₗ[Binary] Binary := |
| 70 | PureObstructions.response W P U V β + response W P Q U V F z δF δG |
| 71 | |
| 72 | def Annihilates (W : Lists k n b degree r hr) |
| 73 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 74 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 75 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 76 | (x : Fin 2 → Profile k n b degree) : Prop := |
| 77 | ∀ β δF δG, fullResponse W P Q U V F z β δF δG x = 0 |
| 78 | |
| 79 | axiom pure_annihilation (W : Lists k n b degree r hr) |
| 80 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 81 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 82 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 83 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) : |
| 84 | Lax342547.PureObstructions.Annihilates W P U V x |
| 85 | |
| 86 | axiom derivative_annihilation (W : Lists k n b degree r hr) |
| 87 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 88 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 89 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 90 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 91 | (δF : PlusParameters W P Q U z) (δG : MinusParameters W P Q V z) : |
| 92 | response W P Q U V F z δF δG x = 0 |
| 93 | |
| 94 | axiom atom_annihilates (W : Lists k n b degree r hr) |
| 95 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 96 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 97 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 98 | (i : Fin 2) (u : Σ z, Fin (W.length i z)) : |
| 99 | Annihilates W P Q U V F z (Pi.single i (W.left i u.1 u.2).profile) |
| 100 | |
| 101 | axiom selected_part_annihilates (W : Lists k n b degree r hr) |
| 102 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 103 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 104 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 105 | (c : ∀ i : Fin 2, (Σ z, Fin (W.length i z)) → Binary) : |
| 106 | Annihilates W P Q U V F z (selectedPart W c) |
| 107 | |
| 108 | axiom subtract_annihilates (W : Lists k n b degree r hr) |
| 109 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 110 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 111 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 112 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 113 | (c : ∀ i : Fin 2, (Σ z, Fin (W.length i z)) → Binary) : |
| 114 | Annihilates W P Q U V F z (x - selectedPart W c) |
| 115 | |
| 116 | axiom component_annihilation (W : Lists k n b degree r hr) |
| 117 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 118 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 119 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 120 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 121 | (e : Component (Tag k)) |
| 122 | (δF : (Nominal (Coordinate k n b degree) H ⧸ barred W P (U e) (e, true)) →ₗ[Binary] |
| 123 | perpendicular (protectedChannel Q z (e, false))) |
| 124 | (δG : (Nominal (Coordinate k n b degree) H ⧸ barred W P (V e) (e, false)) →ₗ[Binary] |
| 125 | perpendicular (protectedChannel Q z (e, true))) : |
| 126 | componentResponse F e z (barred W P (U e) (e, true)) |
| 127 | (barred W P (V e) (e, false)) (protectedChannel Q z (e, false)) |
| 128 | (protectedChannel Q z (e, true)) δF δG (Lax342547.PureObstructions.endpointComponent e x) = 0 |
| 129 | |
| 130 | axiom unselected_obstruction {K : ℕ} (hk : 0 < k) |
| 131 | (W : Lists k n b degree r hr) |
| 132 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 133 | (hK : P.rank ≤ K) (A : Fin 2 → Finset (Fin b → Binary)) |
| 134 | (hA : Lax342547.PinLabelExclusions.Covers P A (2 * K + 28)) |
| 135 | (hfresh : ∀ i z t, (W.left i z t).label ∉ A i) |
| 136 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 137 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 138 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 139 | (hdegree : 6 * (2 * K + 28) + 4 ≤ degree) : |
| 140 | ∃ c : ∀ i : Fin 2, (Σ z, Fin (W.length i z)) → Binary, |
| 141 | ∃ L : Fin 2 → Component (Tag k) → Finset (Fin b → Binary), |
| 142 | ∃ Z : Fin 2 → Component (Tag k) → (Fin b → Binary) → |
| 143 | Matrix (Option (Base k n)) (Option (Base k n)) Binary, |
| 144 | Annihilates W P Q U V F z (x - selectedPart W c) ∧ |
| 145 | ∀ i e, (L i e).card ≤ 2 * K + 28 ∧ |
| 146 | (∀ s ∈ L i e, s ∉ Lax342547.ResidualLabels.chosenLabels W i ∧ |
| 147 | Lax342547.BaseMoments.IsBaseMoment (Z i e s)) ∧ |
| 148 | (∑ s ∈ L i e, (Z i e s).rank) ≤ 2 * K + 28 ∧ |
| 149 | ((x - selectedPart W c) i).val e = |
| 150 | ∑ s ∈ L i e, Lax342547.TensorBlocks.block selectorEval s (Z i e s) |
| 151 | |
| 152 | axiom right_test (W : Lists k n b degree r hr) |
| 153 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 154 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 155 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 156 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 157 | (e : Component (Tag k)) (i : Fin 2) |
| 158 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 159 | (hψ : Lax342547.ProjectedPins.projected P i (e, false) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) |
| 160 | (c : H → Binary) (hc : c ∈ perpendicular (protectedChannel Q z (e, true))) : |
| 161 | dotProduct (fullPlus F e i z |
| 162 | (((x i).val e).mulVecLin (Lax342547.PrimalContractions.coordinates ψ))) c = 0 |
| 163 | |
| 164 | axiom plus_contraction_zero {R : ℕ} (W : Lists k n b degree r hr) |
| 165 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 166 | (A : Fin 2 → Finset (Fin b → Binary)) |
| 167 | (hA : Lax342547.PinLabelExclusions.Covers P A R) |
| 168 | (hfresh : ∀ i z t, (W.left i z t).label ∉ A i) |
| 169 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 170 | (T : Lax342547.SmallTables.Table P Q) (hT : Lax342547.SmallTables.Injecting T) |
| 171 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (hF : Extends F T) (z : Fin 2) |
| 172 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 173 | (e : Component (Tag k)) (i : Fin 2) |
| 174 | (hU : ∀ j, IsCompl (protectedChannel P j (e, true)) (U e j)) |
| 175 | (L : Finset (Fin b → Binary)) (hL : L.card ≤ R) |
| 176 | (hdisjoint : Disjoint L (Lax342547.ResidualLabels.chosenLabels W i)) |
| 177 | (Z : (Fin b → Binary) → Matrix (Option (Base k n)) (Option (Base k n)) Binary) |
| 178 | (hM : (x i).val e = ∑ s ∈ L, Lax342547.TensorBlocks.block selectorEval s (Z s)) |
| 179 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 180 | (hψ : Lax342547.ProjectedPins.projected P i (e, false) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) : |
| 181 | ((x i).val e).mulVecLin (Lax342547.PrimalContractions.coordinates ψ) = 0 |
| 182 | |
| 183 | axiom left_test (W : Lists k n b degree r hr) |
| 184 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 185 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 186 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 187 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 188 | (e : Component (Tag k)) (i : Fin 2) |
| 189 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 190 | (hψ : Lax342547.ProjectedPins.projected P i (e, true) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) |
| 191 | (c : H → Binary) (hc : c ∈ perpendicular (protectedChannel Q z (e, false))) : |
| 192 | dotProduct (fullMinus F e i z |
| 193 | (((x i).val e).transpose.mulVecLin (Lax342547.PrimalContractions.coordinates ψ))) c = 0 |
| 194 | |
| 195 | axiom minus_contraction_zero {R : ℕ} (W : Lists k n b degree r hr) |
| 196 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 197 | (A : Fin 2 → Finset (Fin b → Binary)) |
| 198 | (hA : Lax342547.PinLabelExclusions.Covers P A R) |
| 199 | (hfresh : ∀ i z t, (W.left i z t).label ∉ A i) |
| 200 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 201 | (T : Lax342547.SmallTables.Table P Q) (hT : Lax342547.SmallTables.Injecting T) |
| 202 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (hF : Extends F T) (z : Fin 2) |
| 203 | (x : Fin 2 → Profile k n b degree) (h : Annihilates W P Q U V F z x) |
| 204 | (e : Component (Tag k)) (i : Fin 2) |
| 205 | (hV : ∀ j, IsCompl (protectedChannel P j (e, false)) (V e j)) |
| 206 | (L : Finset (Fin b → Binary)) (hL : L.card ≤ R) |
| 207 | (hdisjoint : Disjoint L (Lax342547.ResidualLabels.chosenLabels W i)) |
| 208 | (Z : (Fin b → Binary) → Matrix (Option (Base k n)) (Option (Base k n)) Binary) |
| 209 | (hM : (x i).val e = ∑ s ∈ L, Lax342547.TensorBlocks.block selectorEval s (Z s)) |
| 210 | (ψ : Module.Dual Binary (Vector k n b degree)) |
| 211 | (hψ : Lax342547.ProjectedPins.projected P i (e, true) ⊔ individualKeys W i e ≤ LinearMap.ker ψ) : |
| 212 | ((x i).val e).transpose.mulVecLin (Lax342547.PrimalContractions.coordinates ψ) = 0 |
| 213 | |
| 214 | end Lax342547.DerivativeResponses |
| 215 |
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments