Theorem 1, eq. (8): the linear system for at an input
ProvedLinearIdentifiability.f_linear_systemLet be a data distribution, let and be models of the form (1) with on the data, and fix an input . Suppose there are tuples , , such that for each both and lie in some candidate set with , and such that the matrices and with columns and are invertible (the diversity condition at ). Then
and is invertible.
Formalization Note The paper says the tuples are distinct; this follows from the invertibility of and is not stated separately. The text after eq. (8) writes while eq. (8) has the transpose; the statement follows eq. (8).
import Mathlib import Definitions.Def_LinearIdentifiability_Basic open Matrix
namespace LinearIdentifiability
theorem f_linear_system {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)
(x : X) (a b : Fin M → Y)
(hab : ∀ 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) :
(diffMatrix g' a b)ᵀ *ᵥ f' x = (diffMatrix gstar a b)ᵀ *ᵥ fstar x ∧
f' x = (diffMatrix gstar a b * (diffMatrix g' a b)⁻¹)ᵀ *ᵥ fstar x ∧
IsUnit (diffMatrix gstar a b * (diffMatrix g' a b)⁻¹)ᵀ.det := by sorry
end LinearIdentifiabilityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let (inputs) and (targets) be arbitrary types, and let be a natural number. is allowed.
Data distribution. Let be a probability mass function on triples , where , and is a finite subset of . Call a pair supported if for some . The theorem assumes is a data distribution, meaning:
- has finite support; and
- for every supported pair and every , .
In particular, every supported is nonempty.
Two models. Let and be arbitrary functions. For a pair , the model probability is
The theorem assumes the two models agree on the data: for every supported pair and every ,
The fixed input and the target tuples. Fix a single input . This is not separately assumed to occur in the data. Fix two -tuples of targets and in . Assume that for each index there is some finite set such that:
- is supported; and
- .
The set may differ from index to index. When this hypothesis is vacuous.
The difference matrices. For a map , let be the real matrix whose -th column is . Write and . Assume both and . For , this forces for every . For , both matrices are empty with determinant .
Conclusion. Under these hypotheses, all three of the following hold.
- The two linear systems agree:
Equivalently, for every ,
- The representation at is recovered linearly:
where is the genuine inverse of .
- The transfer matrix is invertible:
Scope of the conclusion.
- All of this is asserted only at the single chosen input .
- The matrix depends only on , , and .
- Nothing is claimed about other inputs or about versus .
- When , all three statements hold trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.