Coefficient phases as dot products of rank-factor images
Lax342547.CoefficientPhase · concepts/Lax342547/CoefficientPhase.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
A binary coefficient tensor contracted with a cross Gram matrix is the dot product of its two rank-factor image tuples, flattened over rank positions and ambient coordinates.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.TargetMatrices |
| 2 | import Lax342547.GramTests |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Coefficient phases as dot products of rank-factor images |
| 7 | type: lemma |
| 8 | --- |
| 9 | A binary coefficient tensor contracted with a cross Gram matrix is the dot product of its two rank-factor image tuples, flattened over rank positions and ambient coordinates. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax342547.CoefficientPhase |
| 13 | |
| 14 | open Lax342547.MomentSpace Lax342547.Walsh |
| 15 | |
| 16 | noncomputable def coefficientPair {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 17 | (C : Matrix I J Binary) (X : Matrix N I Binary) (Y : Matrix N J Binary) : Binary := |
| 18 | ∑ i, ∑ j, C i j * (X.transpose * Y) i j |
| 19 | |
| 20 | noncomputable def factorImage {I R N : Type} [Fintype I] |
| 21 | (A : Matrix I R Binary) (X : Matrix N I Binary) : R × N → Binary := |
| 22 | fun rn => (X * A) rn.2 rn.1 |
| 23 | |
| 24 | axiom coefficient_trace {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 25 | (C : Matrix I J Binary) (X : Matrix N I Binary) (Y : Matrix N J Binary) : |
| 26 | coefficientPair C X Y = Matrix.trace (C.transpose * (X.transpose * Y)) |
| 27 | |
| 28 | axiom independent_factor_phase {I J R N : Type} |
| 29 | [Fintype I] [Fintype J] [Fintype R] [Fintype N] |
| 30 | (A : Matrix I R Binary) (B : Matrix J R Binary) (X : Matrix N I Binary) (Y : Matrix N J Binary) : |
| 31 | coefficientPair (A * B.transpose) X Y = dotProduct (factorImage A X) (factorImage B Y) |
| 32 | |
| 33 | end Lax342547.CoefficientPhase |
| 34 |
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments