Documentation

LeanForControl.LinearSystems.Solutions.CtsLTI

Continuous-time LTI solutions: the matrix exponential #

The LTV solution theory (CtsLTV.lean) specialized to a constant state matrix A: the state transition operator is the matrix exponential Φ(t,t₀) = e^{A(t-t₀)} (6.2), so every LTV property (existence, uniqueness, semigroup, variation of constants) holds for LTI by specialization. The collapse of the Peano-Baker series itself, stateTransitionMatrix_const, is proved in any Banach algebra in PeanoBaker.lean.

Reference: Hespanha, Linear Systems Theory (2nd ed.), Chapter 6.

P6.3 and P6.5 are proved elsewhere #

MatrixAlgebra/Exponential.lean carries the semigroup property e^{At} e^{Aτ} = e^{A(t+τ)} (P6.3) and the finite-polynomial form e^{At} = Σ αᵢ(t) Aⁱ (P6.5, via Cayley-Hamilton (6.6)). Both are statements about exp and A alone, so neither needs the solution theory.

theorem LinearSystems.ContinuousLTI.stateTransition_toLTV {X : Type u_1} {U : Type u_2} {Y : Type u_3} [Fintype X] [Fintype U] [Fintype Y] [DecidableEq X] [DecidableEq U] (sys : ContinuousLTI X U Y ℝ) (t t₀ : ℝ) :

For an LTI system the state transition operator is the matrix exponential: Φ(t, t₀) = e^{A (t - t₀)}, acting on Euclidean states (Hespanha, (6.2)).

theorem LinearSystems.ContinuousLTI.eq_exp_of_isTrajectoryOn {X : Type u_1} {U : Type u_2} {Y : Type u_3} [Fintype X] [Fintype U] [Fintype Y] [DecidableEq X] [DecidableEq U] (sys : ContinuousLTI X U Y ℝ) {x : ℝ → EuclideanSpace ℝ X} {t₀ t₁ : ℝ} (hx : sys.IsTrajectoryOn 0 x (Set.Icc t₀ t₁)) {t : ℝ} (ht : t ∈ Set.Icc t₀ t₁) :
x t = NormedSpace.exp ((t - t₀) • sys.A) • x t₀

LTI uniqueness (Hespanha, P6.1): every trajectory of the unforced LTI system is e^{A(t-t₀)} x(t₀).

theorem LinearSystems.ContinuousLTI.forcedResponse_toLTV {X : Type u_1} {U : Type u_2} {Y : Type u_3} [Fintype X] [Fintype U] [Fintype Y] [DecidableEq X] [DecidableEq U] (sys : ContinuousLTI X U Y ℝ) (u : ℝ → EuclideanSpace ℝ U) (t₀ : ℝ) (x₀ : EuclideanSpace ℝ X) (t : ℝ) :
sys.toLTV.forcedResponse u t₀ x₀ t = NormedSpace.exp ((t - t₀) • sys.A) • x₀ + ∫ (τ : ℝ) in t₀..t, NormedSpace.exp ((t - τ) • sys.A) • (Matrix.toEuclideanLin sys.B) (u τ)

Variation of constants, time-invariant case. For an LTI system the forced response is the closed form x(t) = e^{A(t-t₀)} x₀ + ∫ τ in t₀..t, e^{A(t-τ)} B u(τ) dτ.

Reference: Hespanha, Linear Systems Theory (2nd ed.), Chapter 6.

theorem LinearSystems.ContinuousLTI.isTrajectory {X : Type u_1} {U : Type u_2} {Y : Type u_3} [Fintype X] [Fintype U] [Fintype Y] [DecidableEq X] [DecidableEq U] (sys : ContinuousLTI X U Y ℝ) {u : ℝ → EuclideanSpace ℝ U} (hu : Continuous u) (t₀ : ℝ) (x₀ : EuclideanSpace ℝ X) :
sys.IsTrajectory u fun (t : ℝ) => NormedSpace.exp ((t - t₀) • sys.A) • x₀ + ∫ (τ : ℝ) in t₀..t, NormedSpace.exp ((t - τ) • sys.A) • (Matrix.toEuclideanLin sys.B) (u τ)

The closed-form response of an LTI system is a trajectory of that system.