Proposition 4: the permutation gauge
ProvedSameStatePairs.permutation_gaugeLet have full column rank, let be a permutation identified with its permutation matrix, and let . Observations depend on and only through :
- for every .
- For every , the transformation leaves unchanged: .
- With free, the decomposition with and has exactly solutions .
- Every solution is for some .
So an absolute permutation is not identifiable from the data.
Formalization Note "Identified with its permutation matrix" uses Mathlib's Equiv.Perm.permMatrix. The informal conclusion "an absolute permutation is not identifiable" is the content of items 2–4.
import Mathlib import Definitions.Def_SameStatePairs_Basic open Matrix
namespace SameStatePairs
theorem permutation_gauge {n d : ℕ} (A : Matrix (Fin n) (Fin d) ℝ) (hA : A.rank = d)
(σ : Equiv.Perm (Fin d)) :
(∀ z : Fin d → ℝ, A *ᵥ (σ.permMatrix ℝ *ᵥ z) = (A * σ.permMatrix ℝ) *ᵥ z) ∧
(∀ σ₀ : Equiv.Perm (Fin d),
(A * σ₀.permMatrix ℝ) * ((σ₀.permMatrix ℝ)⁻¹ * σ.permMatrix ℝ) = A * σ.permMatrix ℝ) ∧
{AP : Matrix (Fin n) (Fin d) ℝ × Equiv.Perm (Fin d) |
AP.1 * AP.2.permMatrix ℝ = A * σ.permMatrix ℝ}.ncard = d.factorial ∧
(∀ AP : Matrix (Fin n) (Fin d) ℝ × Equiv.Perm (Fin d),
AP.1 * AP.2.permMatrix ℝ = A * σ.permMatrix ℝ →
∃ σ₀ : Equiv.Perm (Fin d), AP.1 = A * σ₀.permMatrix ℝ ∧
AP.2.permMatrix ℝ = (σ₀.permMatrix ℝ)⁻¹ * σ.permMatrix ℝ) := by sorry
end SameStatePairsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be arbitrary, and let be a real matrix with rows and columns. The theorem has two further inputs:
- Rank hypothesis. , meaning has full column rank. If this forces , and for the hypothesis cannot be satisfied. If the hypothesis holds automatically for every .
- A permutation. is an arbitrary permutation of the index set .
For any permutation of , denotes its permutation matrix. Its entries are
so that . The symbol denotes the matrix inverse of , which always exists. None of the definitions from the accompanying definitions file appear in this statement.
Conclusion. The theorem asserts that the following four statements all hold.
- Matrix–vector compatibility. For every vector ,
- Cancellation. For every permutation of ,
- Counting. Consider the set of all pairs , where is any real matrix and is any permutation of , such that
The number of elements of this set equals . The cardinality used here is the convention that assigns to infinite sets, so in particular the statement asserts that this set is finite whenever , which is always. When the claimed count is .
- Description of all such pairs. For every pair with and a permutation satisfying , there exists a permutation of such that
Scope of the claims. The statement concerns only permutation matrices; no other invertible or orthogonal transformations are considered. The full-column-rank hypothesis is the only assumption on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.