Appendix C.2, eqs. (16)-(18): the linear system for the augmented at a target
ProvedLinearIdentifiability.g_tilde_linear_systemLet be a data distribution, let and be models of the form (1) with on the data, and fix a target . Suppose there are tuples , , with , such that the matrices and with columns and are invertible (the diversity condition of Appendix C.1 at ). Then
- for every (eq. 16);
- (eq. 17);
- with (eq. 18), and is invertible.
Formalization Note Only eqs. (14)-(18) are stated. The paper's subsequent step from to an matrix with (eqs. 19-23) is not included because it is false; see the mission description.
import Mathlib import Definitions.Def_LinearIdentifiability_Basic open Matrix
namespace LinearIdentifiability
theorem g_tilde_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)
(y : Y) (xs : Fin (M + 1) → X) (Ss : Fin (M + 1) → Finset Y)
(hpos : ∀ i, pD (xs i, y, Ss i) ≠ 0)
(hM' : IsUnit (augFMatrix f' g' xs Ss).det) (hMstar : IsUnit (augFMatrix fstar gstar xs Ss).det) :
(∀ i, augF f' g' (xs i) (Ss i) ⬝ᵥ augG g' y = augF fstar gstar (xs i) (Ss i) ⬝ᵥ augG gstar y) ∧
(augFMatrix f' g' xs Ss)ᵀ *ᵥ augG g' y = (augFMatrix fstar gstar xs Ss)ᵀ *ᵥ augG gstar y ∧
augG g' y = (augFMatrix fstar gstar xs Ss * (augFMatrix f' g' xs Ss)⁻¹)ᵀ *ᵥ augG gstar y ∧
IsUnit (augFMatrix fstar gstar xs Ss * (augFMatrix f' g' xs Ss)⁻¹)ᵀ.det := 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 a natural number. The case is allowed. Let be a probability mass function on triples , where , and is a finite subset of .
Assumption on . has finite support. Call a pair supported if for some . For every supported pair and every :
The two models. Let and be arbitrary functions. For any such pair define the model probability
Assume the two models agree on the data: for every supported pair and every ,
Augmented vectors and matrix. For , define the log-normaliser with the natural logarithm:
If the sum is , and the value is the convention . Define two vectors in , each with first coordinate followed by the coordinates of the second entry:
The fixed data. Fix a single target . Fix inputs and finite sets . Assume
By the assumption on , this makes each supported and gives , so each is nonempty.
For , let be the real matrix whose -th column is . Assume both and have nonzero determinant. For this means and .
Conclusion. Under these hypotheses, all four of the following hold simultaneously:
- For every :
Spelled out, this says:
- In matrix form:
- With the genuine inverse, which exists by the determinant hypothesis:
- The matrix has nonzero determinant.
Scope. All conclusions concern only the one fixed target and the chosen indexed family . The matrix depends on that family and on both models, but not on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.