Theorem 2: log-linear property of the invariant error
ProvedInvariantEKF.log_linear_propertyLet be a matrix Lie group with Lie algebra coordinates and exponential . Let the system be group affine (eq. 12). Assume it is locally Lipschitz in the state, uniformly on compact time windows, and forward complete on . Let ( or ) be the invariant error between two trajectories on . Let be defined by . Take with , and let solve the linear equation
continuously at . Then, for arbitrarily large errors,
Formalization Note Local Lipschitz continuity and forward completeness are standing assumptions behind "the flow" used in the paper's proof (Appendix B). They are kept as in the paper; forward completeness is not needed for the truth of the statement. The is stated with explicit constants for each .
import Mathlib import Definitions.Def_InvariantEKF_Basic open MeasureTheory Matrix Filter Topology
namespace InvariantEKF
theorem log_linear_property {N d : ℕ} {U : Type*} (left : Bool)
(G : Set (Matrix (Fin N) (Fin N) ℝ)) (hG : IsMatrixLieGroup G)
(L : (Fin d → ℝ) →ₗ[ℝ] Matrix (Fin N) (Fin N) ℝ) (hL : IsLieAlgebraCoords G L)
(f : U → Matrix (Fin N) (Fin N) ℝ → Matrix (Fin N) (Fin N) ℝ) (hf : IsGroupAffine G f)
(u : ℝ → U) (hreg : IsLocLipschitzField (fun t => f (u t)))
(hcomplete : ∀ a ∈ G, ∃ χ, IsTrajectory G f u (Set.Ici 0) χ ∧ χ 0 = a)
(A : U → Matrix (Fin d) (Fin d) ℝ)
(hA : ∀ t, 0 ≤ t → IsLinearization L (errField left f (u t)) (A (u t)))
(χ χbar : ℝ → Matrix (Fin N) (Fin N) ℝ)
(hχ : IsTrajectory G f u (Set.Ici 0) χ) (hχbar : IsTrajectory G f u (Set.Ici 0) χbar)
(ξ : ℝ → Fin d → ℝ) (hξ0 : expG L (ξ 0) = invError left (χ 0) (χbar 0))
(hξc : ContinuousWithinAt ξ (Set.Ici 0) 0)
(hξ : ∀ t, 0 < t → HasDerivAt ξ (A (u t) *ᵥ ξ t) t) :
∀ t, 0 ≤ t → invError left (χ t) (χbar t) = expG L (ξ t) := by sorry
end InvariantEKFRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix natural numbers and , a type of inputs, and a flag . The flag selects the left-invariant or the right-invariant version of every object below. Throughout, denotes the matrix exponential (the power series), and for the norm is the sup norm .
The data and hypotheses.
-
The group. is a set of real matrices assumed to be a "matrix Lie group" in the following sense:
- the identity lies in ;
- every has nonzero determinant, and ;
- is closed under products;
- whenever a sequence in converges entrywise to an invertible matrix , then .
-
Lie-algebra coordinates. is a real-linear map that is injective, and whose range is exactly the set of matrices with for all real . Write
- Group-affine dynamics. assigns to each input a map , defined on all matrices. It is assumed that for every and all :
-
Input signal. is an arbitrary input signal.
-
Regularity. Set . For every real and every matrix (not only those in ), there exist and a constant such that for all and all matrices with and :
where is the Frobenius norm. For the interval is empty, so the condition is vacuous there.
-
Trajectories. A "trajectory on " is a map satisfying both:
- for all ;
- for every , has derivative at within , entrywise. At this is a one-sided (right) derivative.
Values for are unconstrained.
-
Completeness. For every there exists a trajectory on with .
-
Linearizations. assigns a matrix to each input. Define the error field
It is assumed that for every there exist constants and such that for all with and every entry :
The constants and may depend on . The matrix depends on only through the input value .
- The two trajectories. and are two trajectories on . Their invariant error is
For the inverse is a genuine inverse, since .
- The logarithmic error. is a curve satisfying:
- ;
- is right-continuous at , i.e. continuous at within ;
- for every , is (two-sidedly) differentiable at with
Nothing is required of at beyond the initial condition and right-continuity, and nothing is required for .
Conclusion. For every :
That is, in the left case, and in the right case.
Remarks on scope.
- The conclusion is exact: it is an equality, not an approximation.
- It holds for all with no smallness assumption on or on the error.
- The degenerate cases and are not excluded. When , is the zero map, and its range must equal the set of with for all .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.