Lemma 2: the flow of is multiplicative
ProvedInvariantEKF.error_flow_multiplicativeLet be a matrix Lie group and let satisfy for all inputs and . Assume that is locally Lipschitz in , uniformly for in compact windows, so that has a well-defined flow . Then for all and ,
Formalization Note The flow is written through solutions. If are solutions on with values in and is a solution with , then for all . The Lipschitz condition is the standing assumption under which "the flow" exists.
import Mathlib import Definitions.Def_InvariantEKF_Basic open MeasureTheory Matrix Filter Topology
namespace InvariantEKF
theorem error_flow_multiplicative {N : ℕ} {U : Type*} (G : Set (Matrix (Fin N) (Fin N) ℝ))
(hG : IsMatrixLieGroup G) (g : U → Matrix (Fin N) (Fin N) ℝ → Matrix (Fin N) (Fin N) ℝ)
(hg : ∀ v, ∀ a ∈ G, ∀ b ∈ G, g v (a * b) = a * g v b + g v a * b)
(u : ℝ → U) (hreg : IsLocLipschitzField (fun t => g (u t)))
(η η' ζ : ℝ → Matrix (Fin N) (Fin N) ℝ)
(hη : IsSolution (fun t => g (u t)) (Set.Ici 0) η) (hηG : ∀ t, 0 ≤ t → η t ∈ G)
(hη' : IsSolution (fun t => g (u t)) (Set.Ici 0) η') (hη'G : ∀ t, 0 ≤ t → η' t ∈ G)
(hζ : IsSolution (fun t => g (u t)) (Set.Ici 0) ζ) (h0 : ζ 0 = η 0 * η' 0) :
∀ t, 0 ≤ t → ζ t = η t * η' t := by sorry
end InvariantEKFRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For a natural number and an arbitrary type of input values, let denote the space of real matrices. Distances on are measured with the Frobenius norm
The set . Let be a set satisfying the following conditions:
- the identity matrix lies in ;
- every has nonzero determinant, and ;
- is closed under products, so for all ;
- whenever a sequence of elements of converges to an invertible matrix , then .
The vector fields . Let assign to each input a map , with no continuity or linearity assumed, satisfying the Leibniz-type rule
Taking forces . This is a consequence of the rule, not a separate assumption.
The input and the regularity assumption. Let be an input signal; its existence forces to be nonempty. Write . Assume the following local Lipschitz condition:
- for every real and every there exist and a real such that
for all and all with and .
For the interval is empty and the condition is vacuous. No continuity, boundedness or measurability in is assumed.
The three curves. Let be three matrix-valued functions of time.
- Each of them solves the differential equation
at every . Derivatives are taken entrywise and within the half-line , so at the derivative is one-sided from the right. Nothing is assumed for .
- and for all .
- No membership in is assumed for .
- At time the curves are linked by
Conclusion. Under these hypotheses, the theorem asserts that
Nothing is claimed for .
Degenerate case. When , consists of a single (empty) matrix, and the statement holds trivially.
Satisfiability. The hypotheses are satisfiable, for example with and constant curves.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.