Lyapunov Equations, Energy Functionals, and Model Order Reduction of Bilinear and Stochastic Systems 2: An Explicit Bilinear System Whose Field x ↦ P̃(x)⁻¹x Is Not a Gradient, So (3.8) FailsResearch Paper
Motivation
Balanced truncation reduces a large control system to a small one by discarding the states that are both hard to reach and hard to observe. For linear systems "hard to reach" is measured exactly by the controllability Gramian : the minimal input energy needed to steer the system from to is . For bilinear systems, in which the input also multiplies the state, no such exact formula is known, and several papers have tried to describe the nonlinear controllability energy functional through state-dependent Gramians.
Gray and Mesko ([25] in the paper, 1998) and Condon and Ivanov ([11], 2005) stated that, for with sufficiently small, the gradient of is given by a state-dependent Gramian of the linearization, , and derived from this comparison inequalities between and the algebraic Gramian. Benner and Damm (SIAM J. Control Optim. 49(2), 2011, doi:10.1137/09075041X) observed that this formula needs an integrability condition that is not automatic, and gave an explicit two-dimensional system for which it fails (Example 3.3, pp. 697–698). This mission formalizes that counterexample.
Setting
A bilinear control system with state and input is
with real matrices and ; write for the -th column of . The system is locally controllable if the pair is controllable, that is, the Kalman matrix has rank .
Linearizing the system at a state and the input gives a linear system whose input matrix has columns . Its controllability Gramian is the solution of the Lyapunov equation
When is stable, (3.9) has exactly one solution for every , and it is symmetric. The claim under test is
A vector field on an open set is integrable (a gradient field) if for some real function .
Example 3.3 is the single-input system (, ) with
and a real parameter . In Lean these are exA, exN ν and exb (with exB the matrix ), equation (3.9) is IsLinGramian, and controllability is IsControllable.
Formalization targets
Goal: Example 3.3
For every , with solving (3.9) for every : the pair is controllable, and for every there is no with
The goal refutes every potential , not only , so it does not depend on how is defined; it is exactly the statement that the field is not integrable on any punctured neighbourhood of the origin, which is how (3.8) is claimed.
Milestones, in the order the example uses them
- Local controllability: is controllable.
- The derivative of (general , ): where is invertible,
- The explicit Gramian at , :
- The non-symmetric Jacobian at , , :
Significance
The result. The example shows that the state-dependent Gramian of the linearization does not, in general, describe the controllability energy of a bilinear system through (3.8), even for a locally controllable system and arbitrarily close to the origin. As a consequence, the inequalities and derived in [25, 11] from (3.8) lose their justification, and the comparison of with the algebraic Gramian requires the different argument the paper develops in its later sections. The example is a minimal one: two states, one input, one coupling parameter.
Formalizing it. The counterexample is proved in the paper by a hand computation through Kronecker products, and that computation contains a sign slip (see below); a machine-checked version settles the claim independently of it. The result is proved in the paper and, to our knowledge, has not been formalized anywhere. The general derivative formula (milestone 2) is reusable for any parametric Lyapunov equation.
Difficulty
The obvious route is to compute the Jacobian of at one point and observe that it is not symmetric. Two steps of this route need care. First, is defined only implicitly, through (3.9) at every point, so its differentiability in , and that of its inverse, must be derived from the invertibility of the Lyapunov operator and of near the point. Second, passing from "the Jacobian of is not symmetric" to " is not a gradient" requires the symmetry of second derivatives of a function that is only assumed differentiable with gradient on a punctured ball; the regularity of is inherited from that of , not assumed. The goal is also not a statement about a single point: it must hold for every radius , so the asymmetry must be exhibited at points arbitrarily close to the origin, where it is of order .
Formalization scope
- Scalars are real; states are
Fin n → ℝ, matricesMatrix (Fin n) (Fin n) ℝ, the paper's indices areFin m. In the goal the plane isEuclideanSpace ℝ (Fin 2)and the potential is required to satisfyHasGradientAtat each point of the punctured ball , with no further regularity. - enters as an arbitrary function satisfying (3.9) at every point. For the example data (3.9) has exactly one solution at every , so this is the paper's "defined by (3.9)", and the hypothesis is satisfiable.
- Added hypothesis . The paper says is "irrelevant for the computation", but its asymmetry term is proportional to ; at the Gramian is constant and the field is a gradient.
- Repaired sign. The equation for on p. 697 is printed without parentheses after the minus sign, and the Kronecker formula for drops the minus sign of (3.9). Milestone 2 places the minus sign on both terms. The matrix of the paper is, with the sign restored, the matrix of ; milestone 4 therefore states plus this matrix. The non-symmetry conclusion is unchanged.
- Matrix inverses are Mathlib's
Matrix.inv, which returns at singular matrices; is invertible near the origin, and milestones 2–4 assume invertibility (or ) where they use it. - The observability half of (3.8), , which the paper says "can be argued similarly" without a proof, is not part of the mission.
- A trivializing formalization is ruled out: is pinned by (3.9) at every point (a free would make the claim meaningless), and non-integrability is stated as the non-existence of a potential, not as the non-symmetry of some matrix.
Contributions welcome: proofs of the four milestones, in particular the smooth dependence of the solution of a Lyapunov equation on its right-hand side (milestone 2), which is general and reusable.
Selected references
- P. Benner, T. Damm, Lyapunov Equations, Energy Functionals, and Model Order Reduction of Bilinear and Stochastic Systems, SIAM J. Control Optim. 49(2), 686–711, 2011. https://doi.org/10.1137/09075041X
- W. S. Gray, J. Mesko, Energy functions and algebraic Gramians for bilinear systems, Proc. 4th IFAC Nonlinear Control Systems Design Symposium, Enschede, 1998, pp. 103–108.
- M. Condon, R. Ivanov, Nonlinear systems — algebraic Gramians and model reduction, COMPEL 24, 202–219, 2005.
- E. I. Verriest, Time variant balancing and nonlinear balanced realizations, in Model Order Reduction: Theory, Research Aspects and Applications, Mathematics in Industry 13, Springer, 2008, pp. 203–222.