Theorem 1 (as proved): linear identifiability of and affine identifiability of the context map
ProvedLinearIdentifiability.linear_identifiabilityLet be an empirical data distribution as in Section 2.1, and let and be two models of the form (1), , , with on the data. Assume:
- (diversity for ) there are tuples such that for every input in the data and every , and lie in some candidate set with , and the matrices , with columns and are invertible;
- (diversity for ) there are pairs occurring in the data such that every target in the data lies in every , and the matrices , with columns and are invertible.
Then:
- there is an invertible matrix with for every input in the data;
- there is an invertible matrix with for every target in the data, where ;
- there are an invertible matrix and a vector with for every target in the data.
Thus the representation is identifiable up to an invertible linear map, and the context map up to an invertible affine map.
Formalization Note This is Theorem 1 as its proof establishes it, not as printed. (a) The printed conclusion is false: , gives for every constant vector , and the paper's own diversity conditions can hold in that example; the proof's step from to drops the first column of the row-reduction matrix. The proof does establish , which is stated as conclusion 2. Conclusion 2 alone does not give an invertible block, so conclusion 3 is stated separately: it follows from eq. (7) at the inputs together with conclusion 1, since the vectors span when is invertible. The shift cannot be removed. (b) The printed diversity conditions choose the tuples separately for each (resp. each ), and then the matrix depends on ; with such tuples no single need exist. The proof treats (resp. ) as fixed matrices, so the tuples are taken uniform over the data, as stated. (c) The equalities are asserted on the inputs and targets that occur in the data, since on the data says nothing about elsewhere.
import Mathlib import Definitions.Def_LinearIdentifiability_Basic open Matrix
namespace LinearIdentifiability
theorem linear_identifiability {X Y : Type*} {M : ℕ}
(pD : PMF (X × Y × Finset Y)) (hD : IsDataDistribution pD)
(f' fstar : X → Fin M → ℝ) (g' gstar : Y → Fin M → ℝ)
(hp : ModelsAgreeOnData pD f' g' fstar gstar)
(a b : Fin M → Y)
(hab : ∀ x ∈ inputSupport pD, ∀ i, ∃ S, IsSupported pD x S ∧ a i ∈ S ∧ b i ∈ S)
(hL' : IsUnit (diffMatrix g' a b).det) (hLstar : IsUnit (diffMatrix gstar a b).det)
(xs : Fin (M + 1) → X) (Ss : Fin (M + 1) → Finset Y)
(hxs : ∀ i, IsSupported pD (xs i) (Ss i)) (hcov : ∀ y ∈ targetSupport pD, ∀ i, y ∈ Ss i)
(hM' : IsUnit (augFMatrix f' g' xs Ss).det) (hMstar : IsUnit (augFMatrix fstar gstar xs Ss).det) :
(∃ A : Matrix (Fin M) (Fin M) ℝ, IsUnit A.det ∧
∀ x ∈ inputSupport pD, f' x = A *ᵥ fstar x) ∧
(∃ C : Matrix (Fin (M + 1)) (Fin (M + 1)) ℝ, IsUnit C.det ∧
∀ y ∈ targetSupport pD, augG g' y = C *ᵥ augG gstar y) ∧
(∃ (B : Matrix (Fin M) (Fin M) ℝ) (c : Fin M → ℝ), IsUnit B.det ∧
∀ y ∈ targetSupport pD, g' y = B *ᵥ gstar y + c) := by sorry
end LinearIdentifiabilityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be arbitrary types (inputs and targets), and let be arbitrary, including . Vectors in are indexed by . Let be any probability mass function on triples , where , and is a finite subset of . The theorem uses the following auxiliary notions.
- Supported pair. A pair is supported if for some .
- Input support. This is the set
- Target support. This is the set
- Model probability. For maps and ,
- Log-normaliser. This is
- Augmented vectors. These are and . In each case the new coordinate is placed first.
The hypotheses are as follows.
- is a data distribution. The support of is finite. Moreover, for every supported pair and every ,
In particular, every supported is nonempty.
-
Model maps. There are four maps and .
-
The models agree on the data. For every supported pair and every ,
-
Target tuples. There are -tuples and of elements of . For every and every index , there is some such that is supported and both and . The set may depend on both and .
-
Difference matrices. Let be the real matrix whose -th column is . Then both and . When these are empty matrices with determinant , so the condition holds automatically.
-
Input tuples. There are -tuples and finite sets .
- Each pair is supported.
- Every belongs to every .
- Combined with hypothesis 1, which gives , this forces for every . In particular must be finite.
-
Augmented matrices. Let be the real matrix whose -th column is . Then both and .
- Each matrix is built with its own pair , both inside and in the remaining coordinates.
- When , each is the matrix with entry . Its determinant is nonzero exactly when .
The conclusion is the conjunction of three statements. Nothing relates , , and to one another.
- There is an invertible real matrix such that
- There is an invertible real matrix such that
- There are an invertible real matrix and a vector such that
All three statements are asserted only on the supports and , not on all of or . The relation for in the third statement is affine, with a possibly nonzero shift , rather than purely linear.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.