Tutorial
Lean 4 Proof Assistant Introduced for System Identification Verification
This paper introduces Lean 4, an interactive theorem prover, to the system identification and control community, demonstrating its use through elementary examples and a classic lemma from Ljung's prediction-error identification. Formalizing the lemma in Lean reveals that its original claim holds almost surely but not for every realization, with a counterexample provided. The work offers guidelines for applying machine-checked proofs in system identification research.
Lean 4formal methodssystem identification