Appendix B: linear similarity is an equivalence relation
ProvedLinearIdentifiability.linsim_equivalenceLet be a parameter space and a parameterisation of representations and context maps . Define if there are invertible matrices with
Then is an equivalence relation on : it is reflexive, symmetric and transitive.
This justifies speaking of identifiability up to (linear identifiability).
Formalization Note Appendix B writes the argument for only; the statement covers the relation of Definition 1, which constrains both and .
import Mathlib import Definitions.Def_LinearIdentifiability_Basic open Matrix
namespace LinearIdentifiability
theorem linsim_equivalence {Θ X Y : Type*} {M : ℕ}
(f : Θ → X → Fin M → ℝ) (g : Θ → Y → Fin M → ℝ) :
Equivalence (LinSim f g) := by sorry
end LinearIdentifiabilityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For arbitrary types (parameters), (inputs) and (targets), any natural number , and any parameterisation that assigns to each a representation and a context map , the theorem states that the relation on is an equivalence relation.
The relation. For , holds if and only if there exist real matrices and satisfying all of the following:
- and ;
- for every ,
- for every ,
The two matrices and are independent of each other. No relation between them is required, and they need not be related to any data distribution.
What is asserted. All three of the following hold:
- Reflexivity: for every .
- Symmetry: implies .
- Transitivity: and together imply .
Edge cases.
- : both matrices are with determinant , and has a single point. So holds for every pair, and the relation is the total relation on .
- Empty types: , or may be empty. If or is empty, the corresponding equation holds vacuously.
- Non-injective parameterisation: distinct parameters may yield identical .
No hypotheses beyond these are imposed. In particular, no data distribution, likelihood agreement or diversity condition appears in the statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.