Simultaneous assembly of opposite endpoints and reciprocal unit roles
Lax342547.ChannelAssembly · concepts/Lax342547/ChannelAssembly.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The two cross forms assemble all four families of barred channel changes. Each updated primal-to-channel map receives precisely its own correction; opposite endpoint channels and reciprocal-role changes contribute zero. The exact formulas cover both cross orientations and their flips.
Concept map
Evidence
This concept declares 5 statements. Each proof establishes one of them relative to its assumptions.
1 assembled_minus proven
2 assembled_plus proven
3 channel_change_coordinate proven
4 reciprocal_minus proven
5 reciprocal_plus proven
Lean source view on GitHub
| 1 | import Lax342547.RecipeChannels |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Simultaneous assembly of opposite endpoints and reciprocal unit roles |
| 6 | type: lemma |
| 7 | --- |
| 8 | The two cross forms assemble all four families of barred channel changes. Each updated primal-to-channel map receives precisely its own correction; opposite endpoint channels and reciprocal-role changes contribute zero. The exact formulas cover both cross orientations and their flips. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax342547.ChannelAssembly |
| 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 | |
| 19 | noncomputable def assemble {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 20 | (W : Lists k n b degree r hr) |
| 21 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 22 | (U V U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 23 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 24 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 25 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) : |
| 26 | CrossForms (Component (Tag k)) (Coordinate k n b degree) H := |
| 27 | { forward := fun e => F.forward e + |
| 28 | (∑ z, channelChange (barred W P (U e) (e, true)) |
| 29 | (protectedChannel Q z (e, false)) (δ z e) z) + |
| 30 | ∑ i, (channelChange (barred (Lax342547.PairedRecipes.flip W) Q (V' e) (e, false)) |
| 31 | (protectedChannel P i (e, true)) (ε' i e) i).flip |
| 32 | reverse := fun e => F.reverse e + |
| 33 | (∑ i, channelChange (barred (Lax342547.PairedRecipes.flip W) Q (U' e) (e, true)) |
| 34 | (protectedChannel P i (e, false)) (δ' i e) i) + |
| 35 | ∑ z, (channelChange (barred W P (V e) (e, false)) |
| 36 | (protectedChannel Q z (e, true)) (ε z e) z).flip } |
| 37 | |
| 38 | axiom channel_change_coordinate {B H : Type} [Fintype H] |
| 39 | (D : Submodule Binary (Nominal B H)) (S : Submodule Binary (H → Binary)) |
| 40 | (δ : (Nominal B H ⧸ D) →ₗ[Binary] perpendicular S) (z j : Fin 2) |
| 41 | (v : Nominal B H) (h : H) : by |
| 42 | classical |
| 43 | exact channelChange D S δ z v (channelEmbedding j (Pi.single h 1)) = |
| 44 | if z = j then (δ (D.mkQ v)).val h else 0 |
| 45 | |
| 46 | axiom assembled_plus {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 47 | (W : Lists k n b degree r hr) |
| 48 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 49 | (U V U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 50 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 51 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 52 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) |
| 53 | (e : Component (Tag k)) (i z : Fin 2) : |
| 54 | fullPlus (assemble W P Q U V U' V' F δ ε δ' ε') e i z = fullPlus F e i z + |
| 55 | restriction (barred W P (U e) (e, true)) (protectedChannel Q z (e, false)) (δ z e) i |
| 56 | |
| 57 | axiom assembled_minus {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 58 | (W : Lists k n b degree r hr) |
| 59 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 60 | (U V U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 61 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 62 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 63 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) |
| 64 | (e : Component (Tag k)) (i z : Fin 2) : |
| 65 | fullMinus (assemble W P Q U V U' V' F δ ε δ' ε') e i z = fullMinus F e i z + |
| 66 | restriction (barred W P (V e) (e, false)) (protectedChannel Q z (e, true)) (ε z e) i |
| 67 | |
| 68 | axiom reciprocal_plus {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 69 | (W : Lists k n b degree r hr) |
| 70 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 71 | (U V U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 72 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 73 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 74 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) |
| 75 | (e : Component (Tag k)) (i z : Fin 2) : |
| 76 | fullPlus (assemble W P Q U V U' V' F δ ε δ' ε').flip e z i = fullPlus F.flip e z i + |
| 77 | restriction (barred (Lax342547.PairedRecipes.flip W) Q (U' e) (e, true)) (protectedChannel P i (e, false)) (δ' i e) z |
| 78 | |
| 79 | axiom reciprocal_minus {k n b degree r : ℕ} {hr : 2 * r ≤ n} {H N : Type} [Fintype H] |
| 80 | (W : Lists k n b degree r hr) |
| 81 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 82 | (U V U' V' : Component (Tag k) → Fin 2 → Submodule Binary (H → Binary)) |
| 83 | (F : CrossForms (Component (Tag k)) (Coordinate k n b degree) H) |
| 84 | (δ : ∀ z, PlusParameters W P Q U z) (ε : ∀ z, MinusParameters W P Q V z) |
| 85 | (δ' : ∀ i, PlusParameters (Lax342547.PairedRecipes.flip W) Q P U' i) (ε' : ∀ i, MinusParameters (Lax342547.PairedRecipes.flip W) Q P V' i) |
| 86 | (e : Component (Tag k)) (i z : Fin 2) : |
| 87 | fullMinus (assemble W P Q U V U' V' F δ ε δ' ε').flip e z i = fullMinus F.flip e z i + |
| 88 | restriction (barred (Lax342547.PairedRecipes.flip W) Q (V' e) (e, false)) (protectedChannel P i (e, true)) (ε' i e) z |
| 89 | |
| 90 | end Lax342547.ChannelAssembly |
| 91 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments