All four whole-space gradient equations from assembled channel changes
Lax342547.GradientAssembly · concepts/Lax342547/GradientAssembly.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Expanding the actual nonlinear contractions identifies their changes with the pure-plus-derivative response. The actual recipe residual cancels the baseline contraction. Opposite-endpoint and reciprocal-role assembly then gives all four gradient equations on the entire profile space.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.ChannelAssembly |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: All four whole-space gradient equations from assembled channel changes |
| 6 | type: lemma |
| 7 | --- |
| 8 | Expanding the actual nonlinear contractions identifies their changes with the pure-plus-derivative response. The actual recipe residual cancels the baseline contraction. Opposite-endpoint and reciprocal-role assembly then gives all four gradient equations on the entire profile space. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax342547.GradientAssembly |
| 12 | |
| 13 | open Lax342547.MomentSpace Lax342547.PairedAnnihilators Lax342547.ChannelChanges |
| 14 | open Lax342547.ResponseMatrices Lax342547.TableSpaces Lax342547.TableContractions |
| 15 | open Lax342547.DerivativeResponses Lax342547.TagGeometry Lax342547.ConcreteGeometry |
| 16 | open Lax342547.ConcreteCut Lax342547.CutProfiles Lax342547.PairedWitnesses |
| 17 | open Lax342547.ExactPins Lax342547.BarredSpaces Lax342547.PairedKeys |
| 18 | open Lax342547.ResidualRealization Lax342547.NonlinearChannels |
| 19 | |
| 20 | axiom contraction_expansion {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 21 | (W : Lists k n b degree r hr) |
| 22 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 23 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 24 | (F G : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 25 | (δ : PlusParameters W P Q U z) (ε : MinusParameters W P Q V z) |
| 26 | (hplus : ∀ e i, fullPlus G e i z = fullPlus F e i z + |
| 27 | restriction (barred W P (U e) (e, true)) (protectedChannel Q z (e, false)) (δ e) i) |
| 28 | (hminus : ∀ e i, fullMinus G e i z = fullMinus F e i z + |
| 29 | restriction (barred W P (V e) (e, false)) (protectedChannel Q z (e, true)) (ε e) i) |
| 30 | (x : Fin 2 → Profile k n b degree) : |
| 31 | (∑ i, fullContraction G (Profile k n b degree) i z (x i)) = |
| 32 | (∑ i, fullContraction F (Profile k n b degree) i z (x i)) + |
| 33 | fullResponse W P Q U V F z (extraFamily W P Q U V z δ ε) δ ε x |
| 34 | |
| 35 | axiom corrected_gradients {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 36 | (W : Lists k n b degree r hr) |
| 37 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 38 | (U V : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 39 | (F G : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) (z : Fin 2) |
| 40 | (δ : PlusParameters W P Q U z) (ε : MinusParameters W P Q V z) |
| 41 | (hplus : ∀ e i, fullPlus G e i z = fullPlus F e i z + |
| 42 | restriction (barred W P (U e) (e, true)) (protectedChannel Q z (e, false)) (δ e) i) |
| 43 | (hminus : ∀ e i, fullMinus G e i z = fullMinus F e i z + |
| 44 | restriction (barred W P (V e) (e, false)) (protectedChannel Q z (e, true)) (ε e) i) |
| 45 | (D : Testers (k := k) (b := b) (degree := degree) hr) {J : ℕ} |
| 46 | (L R : Fin J → Component (Tag k) → Component (Tag k) → Moment k n b degree) |
| 47 | (hsolution : fullResponse W P Q U V F z (extraFamily W P Q U V z δ ε) δ ε = |
| 48 | ∑ i, (Lax342547.RecipeResiduals.residual W D L R F i z).comp (LinearMap.proj i)) : |
| 49 | ∀ i x, fullContraction G (Profile k n b degree) i z x = |
| 50 | (D.role + gradient D L R (leftWitness W i z)) x |
| 51 | |
| 52 | axiom simultaneous_gradients {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 53 | (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 U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 56 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 57 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 58 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) |
| 59 | (D : Testers (k := k) (b := b) (degree := degree) hr) {J : ℕ} |
| 60 | (L R : Fin J → Component (Tag k) → Component (Tag k) → Moment k n b degree) |
| 61 | (hA : ∀ z, fullResponse W P Q U V F z (extraFamily W P Q U V z (δ z) (ε z)) (δ z) (ε z) = |
| 62 | ∑ i, (Lax342547.RecipeResiduals.residual W D L R F i z).comp (LinearMap.proj i)) |
| 63 | (hB : ∀ i, fullResponse (Lax342547.PairedRecipes.flip W) Q P U' V' F.flip i |
| 64 | (extraFamily (Lax342547.PairedRecipes.flip W) Q P U' V' i (δ' i) (ε' i)) (δ' i) (ε' i) = |
| 65 | ∑ z, (Lax342547.RecipeResiduals.residual (Lax342547.PairedRecipes.flip W) D L R F.flip z i).comp (LinearMap.proj z)) : |
| 66 | (∀ i z x, fullContraction (Lax342547.ChannelAssembly.assemble W P Q U V U' V' F δ ε δ' ε') |
| 67 | (Profile k n b degree) i z x = (D.role + gradient D L R (leftWitness W i z)) x) ∧ |
| 68 | (∀ i z x, fullContraction (Lax342547.ChannelAssembly.assemble W P Q U V U' V' F δ ε δ' ε').flip |
| 69 | (Profile k n b degree) z i x = (D.role + gradient D L R (rightWitness W i z)) x) |
| 70 | |
| 71 | end Lax342547.GradientAssembly |
| 72 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments