Introduction
Many tasks in computational science require repeated simulations of the same underlying system. Design optimization, parameter estimation, uncertainty quantification, and real-time prediction may each demand thousands of evaluations across different characterizing parameters, configurations, external inputs, initial or boundary conditions. When each evaluation requires solving a large-scale model, these many-query tasks can be prohibitively expensive. Reduced-order models (ROMs) address this challenge by approximating the dynamics in a low-dimensional latent space, so that repeated predictions can be made at a small fraction of the cost of the full-order model (FOM).
ROMs can be constructed intrusively or non-intrusively. Intrusive methods typically use the governing equations or simulation code to project the FOM dynamics onto a low-dimensional basis. Projection-based methods can often preserve mathematical and physical properties of the original system in the reduced equations. Non-intrusive methods infer the reduced dynamics from data, and therefore remain applicable when the equations or solvers are unavailable, as is common with experimental data or legacy software. This flexibility comes with a challenge: a fit to observed trajectories does not, by itself, ensure that the inferred ROM retains the mathematical and physical properties of the original system, such as conservation laws, energy balance, or stability. These properties can be especially important when a ROM is used beyond the conditions represented in its training data.
Operator inference (OpInf) [1 , 2 ] is a non-intrusive approach that posits a low-dimensional model form and estimates its operators by regression on reduced-state snapshots and their time derivatives. In many applications, however, snapshots are sparse in time, noisy, or both. Estimating derivatives directly from such data can amplify measurement noise, while sparse temporal sampling makes the state evolution harder to resolve. Bayesian OpInf [3 ] places a probabilistic prior on the operators, relating regularized least squares to a Gaussian posterior and providing a natural representation of operator uncertainty. GP-BayesOpInf [4 ] extends this idea by fitting Gaussian processes (GPs) to the reduced coordinates. The GP regression smooths noisy observations and provides analytic derivative estimates together with their uncertainty; these quantities lead to a generalized least-squares fit and a closed-form posterior over the reduced operators. The resulting uncertainty can then be propagated to the ROM predictions, an essential part of assessing reliability when data are limited and predictions extend beyond the observed trajectories.
Stability is a further requirement for a useful ROM: a surrogate whose trajectories grow without bound may not provide reliable long-time or out-of-training predictions. This issue is acute for quadratic models, whose nonlinear terms can cause finite-time blow-up, and for projection-based models, which can lose stability when dissipative modes are truncated [5 ] . It is also structural in a Bayesian formulation. A non-degenerate Gaussian posterior has full support over the operator coefficients, so choosing its hyperparameters alone cannot rule out unstable operators. In current practice, prior hyperparameters may be screened by simulating a small number of posterior draws and rejecting values for which a trajectory exceeds a chosen amplitude over a finite time horizon [4 , 6 ] . Such screening can be practically useful, but a finite set of trajectories on a finite horizon does not certify global boundedness, and stronger prior regularization also reduces posterior uncertainty. Nor does this procedure carry a stability guarantee to new inputs, initial conditions, or subsequent data updates.
This paper studies Bayesian learning of quadratic ROMs with a focus on stability. A key structure is energy preservation: the quadratic part redistributes energy among the reduced coordinates without creating or dissipating net energy. For many convection-type systems, this property follows from the energy balance of the full-order equations and is inherited under Galerkin projection when the discretization and projection are compatible. For data-driven models, energy preservation can be imposed through linear equality constraints on the quadratic-operator coefficients. Deterministic OpInf methods have already exploited this structure. Koike and Qian [7 ] formulate the constrained least-squares problem, give the independent constraint count, and discuss inheritance under projection; Gkimisis et al. [8 ] prove that every energy-preserving quadratic operator has an equivalent representation with skew-symmetric blocks and use it in a sequential least-squares method; Mou [9 ] imposes the same constraints inside a maximum-likelihood fit of a stochastic model, estimating a diffusion amplitude jointly with the quadratic-linear drift and using an upper-triangular parametrization to remove the non-identifiability of the full quadratic tensor.
Energy preservation is not the only structure that can be built into operator inference. When the full-order system is canonically Hamiltonian, Hamiltonian OpInf learns a reduced Hamiltonian in symplectic coordinates, so that the inferred model is Hamiltonian by construction and stays accurate well beyond the training interval [10 ] ; related constructions preserve Lagrangian and multi-symplectic structure [11 ] . Where no such geometric structure is available, stability can be promoted by physics-informed regularization [12 ] or enforced exactly by parametrizing the operators so that only stable models can be represented [13 ] . These approaches share our premise, that structure known from the physics should be imposed on the learned operators rather than hoped for, and differ in which structure is imposed and at what price: a nonlinear parametrization, for instance, secures stability but forfeits the linear-in-the-coefficients form on which a closed-form Gaussian posterior depends.
Stabilization of data-driven ROMs is not specific to operator inference: the same energy-preserving structure is promoted through a trapping-region formulation in sparse identification [14 ] , and stability is imposed as a constraint on the learned operator in system identification [15 , 16 ] . Stability can also be improved after the model is learned, by filtering the reduced solution as it is computed [17 ] . The constraint used here acts earlier: the model class is restricted before any data are seen, so the guarantee is a property of every operator in the class rather than of a particular trajectory.
Building on these developments, we incorporate energy preservation into a Bayesian model and study the resulting stability guarantees and uncertainty quantification.
The contributions of this work are as follows:
We collect and extend the stability theory needed for energy-preserving quadratic ROMs (section 3). In particular, we show that energy preservation is necessary for the Euclidean energy to be a global Lyapunov function, and that it gives global exponential stability when the constant term and input vanish, as well as an explicit input-to-state estimate for bounded inputs, under a single dissipativity condition on the linear operator (theorems 3.7, 3.9 and 3.10). A shifted energy extends the analysis to non-dissipative linear parts (theorem 3.12), while weak energy preservation yields explicit local stability radii (theorem 3.14). Previously known results are attributed in theorems 3.3 and 3.5 and before theorem 3.9.
We develop energy-preserving Bayesian operator inference (section 4). The constrained posterior has equivalent interpretations from three perspectives: a degenerate prior on the energy-preserving subspace, a noise-free pseudo-observation, and a constrained MAP estimate with its reduced Hessian (theorem 4.2). Computationally, it follows from a single Kalman-type update of the GP-BayesOpInf posterior and admits exact samples by a linear correction (theorem 4.6). We also give a soft constraint equivalent to an anisotropic prior with Tikhonov regularization, with hyperparameters selected by closed-form marginal likelihood (theorems 4.8 and 4.10); the proposed method is recovered as a limiting case.
We define posterior probabilities of certifiable stability and provide exact confidence intervals based on inexpensive eigenvalue computations, together with exact sampling from the posterior restricted to certified models (section 5 and theorem 5.1).
For conservative systems, which neither create nor consume energy and for which no decay rate exists to certify, we constrain the linear part as well, asking that sym A ^ = 0 \operatorname{sym}\hat{A}=0 sym A ^ = 0 (section 6). This amounts to adding rows to the constraint matrix, while the closed-form posterior, the Kalman update and the exact sampling remain unchanged. In this case, every draw obeys a deterministic bound: growth at most linear in time, and exact conservation of the reduced energy when the constant term vanishes (theorem 6.1).
We give algorithms that incorporate these steps into GP-BayesOpInf with negligible additional cost, and analyze their complexity (section 7).
The stability analysis builds on the long-term boundedness and shifted trapping regions of Schlegel and Noack [5 ] , later used in the analysis of data-driven quadratic models by Kaptanoglu et al. [14 ] ; stability domains for quadratic-bilinear ROMs are studied by Kramer [18 ] . We do not claim the energy-preservation index conditions, their count, or their inheritance under Galerkin projection as new results; we state them with attribution because the Bayesian construction relies on their precise form. Our contribution is a posterior supported on the energy-preserving subspace, with a closed-form covariance and exact samples that remain compatible with sequential updating, as well as explicit stability estimates for sampled operators and a posterior probability of certified stability with exact confidence bounds. To our knowledge, existing work does not provide this combination of structured operator posteriors and probabilistic stability certification.
Outline. Section 2 reviews proper orthogonal decomposition (POD), OpInf, and GP-BayesOpInf. Section 3 develops the stability theory. Section 4 builds energy preservation into the Bayesian model. Section 5 introduces probabilistic certificates. Section 6 treats conservative systems, where no decay rate exists and the linear part is constrained instead. Section 7 collects the algorithms. Section 8 is reserved for numerical experiments, and section 9 concludes. Proofs of auxiliary results are in Appendix A.
Notation. ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ is the Euclidean norm, or the induced spectral norm for matrices. ∥ ⋅ ∥ F \lVert\cdot\rVert_{F} ∥ ⋅ ∥ F is the Frobenius norm. sym ( X ) = 1 2 ( X + X T ) \operatorname{sym}(X) = \frac{1}{2}(X + X^{\mathsf{T}}) sym ( X ) = 2 1 ( X + X T ) . λ max \lambda_{\max} λ m a x is the largest eigenvalue of a symmetric matrix. ⊗ \otimes ⊗ is the Kronecker product. N ( μ , Σ ) \mathcal{N}(\mu, \Sigma) N ( μ , Σ ) denotes a (possibly degenerate) Gaussian distribution. For a positive semidefinite Σ \Sigma Σ , Σ 1 / 2 \Sigma^{1/2} Σ 1/2 is its symmetric square root.
Background
POD and quadratic reduced-order models
Consider a full-order model (FOM)
q ˙ = f ( q , u ) , q ( t ) ∈ R N , (1) \dot{\mathbf{q}} = \mathbf{f}(\mathbf{q},\mathbf{u}), \qquad\mathbf{q}(t) \in\mathbb{R}^{N}, \tag*{(1)} q ˙ = f ( q , u ) , q ( t ) ∈ R N , (1)
where q ( t ) ∈ R N \mathbf{q}(t) \in\mathbb{R}^{N} q ( t ) ∈ R N is the state, typically a field discretized on a fine spatial grid, so that N N N is large; u ( t ) ∈ R p \mathbf{u}(t) \in\mathbb{R}^{p} u ( t ) ∈ R p collects the inputs, such as forcing terms, boundary data or control signals; and f : R N × R p → R N \mathbf{f} : \mathbb{R}^{N} \times\mathbb{R}^{p} \to\mathbb{R}^{N} f : R N × R p → R N is the vector field of the governing equations, which may be available only as a simulation code, or not at all. Snapshots of q \mathbf{q} q are collected at representative times and operating conditions u \mathbf{u} u . Given a reference state q ‾ \overline{\mathbf{q}} q (e.g. the average of snapshots), proper orthogonal decomposition (POD) applies a singular value decomposition to the centered snapshots and selects the leading left singular vectors. These vectors span a low-dimensional subspace that captures the predominant variation in the data. Let V ∈ R N × r \mathbf{V} \in\mathbb{R}^{N \times r} V ∈ R N × r contain the resulting orthonormal basis, where the size of the reduced basis r ≪ N r \ll N r ≪ N and V T V = I r \mathbf{V}^{\mathsf{T}}\mathbf{V} = \mathbf{I}_{r} V T V = I r . The reduced-order solution is given by an approximation in such a low-dimensional subspace:
q ≈ q ‾ + V q ^ , (2) \mathbf{q} \approx\overline{\mathbf{q}} + \mathbf{V}\widehat{\mathbf{q}}, \tag*{(2)} q ≈ q + V q , (2)
so q ^ ∈ R r \widehat{\mathbf{q}} \in\mathbb{R}^{r} q ∈ R r contains the reduced coordinates. If the FOM is accessible, substituting this approximation into the governing equations and projecting the residual onto the reduced basis gives the intrusive reduced dynamics q ^ ˙ = V T f ( q ‾ + V q ^ , u ) \dot{\widehat{\mathbf{q}}} = \mathbf{V}^{\mathsf{T}}\mathbf{f}(\overline{\mathbf{q}} + \mathbf{V}\widehat{\mathbf{q}}, \mathbf{u}) q ˙ = V T f ( q + V q , u ) . This is the Galerkin-projection ROM. When the vector field is quadratic in the state, or can be expressed in quadratic form after a suitable variable transformation [19 ] , the reduced dynamics take the form
q ^ ˙ = c ^ + A ^ q ^ + H ^ ( q ^ ⊗ q ^ ) + B ^ u ( t ) , q ^ ( 0 ) = q ^ 0 , (3) \dot{\widehat{\mathbf{q}}} = \widehat{\mathbf{c}} + \widehat{\mathbf{A}}\widehat{\mathbf{q}} + \widehat{\mathbf{H}}(\widehat{\mathbf{q}} \otimes\widehat{\mathbf{q}}) + \widehat{\mathbf{B}}\mathbf{u}(t), \qquad\widehat{\mathbf{q}}(0) = \widehat{\mathbf{q}}_{0}, \tag*{(3)} q ˙ = c + A q + H ( q ⊗ q ) + B u ( t ) , q ( 0 ) = q 0 , (3)
where c ^ ∈ R r \widehat{\mathbf{c}} \in\mathbb{R}^{r} c ∈ R r , A ^ ∈ R r × r \widehat{\mathbf{A}} \in\mathbb{R}^{r \times r} A ∈ R r × r , H ^ ∈ R r × r 2 \widehat{\mathbf{H}} \in\mathbb{R}^{r \times r^{2}} H ∈ R r × r 2 , and B ^ ∈ R r × p \widehat{\mathbf{B}} \in\mathbb{R}^{r \times p} B ∈ R r × p . The constant and linear terms include the effects of expanding about the reference state. The same model form (3) can also be learned from data, without constructing its operators by projecting the FOM.
To describe the quadratic term, write H i j k : = H ^ i , ( j − 1 ) r + k H_{ijk}:=\widehat{H}_{i,(j-1)r+k} H ij k := H i , ( j − 1 ) r + k , so that [ H ^ ( q ^ ⊗ q ^ ) ] i = ∑ j , k H i j k q ^ j q ^ k [\widehat{\mathbf{H}}(\widehat{\mathbf{q}}\otimes\widehat{\mathbf{q}})]_i=\sum_{j,k}H_{ijk}\widehat{q}_j\widehat{q}_k [ H ( q ⊗ q ) ] i = ∑ j , k H ij k q j q k . Because the products commute, we may assume without loss of generality that
H i j k = H i k j ∀ i , j , k , (4) H_{ijk}=H_{ikj}\qquad\forall\,i,j,k, \tag*{(4)} H ij k = H ik j ∀ i , j , k , (4)
and define the associated symmetric bilinear map by H ( y , z ) : = H ^ ( y ⊗ z ) \mathcal{H}(\mathbf{y},\mathbf{z}):=\widehat{\mathbf{H}}(\mathbf{y}\otimes\mathbf{z}) H ( y , z ) := H ( y ⊗ z ) . Only the r ( r + 1 ) / 2 r(r+1)/2 r ( r + 1 ) /2 products q ^ j q ^ k \widehat{q}_j\widehat{q}_k q j q k with j ≤ k j\leq k j ≤ k are distinct. We therefore represent the quadratic term using compact coefficients h i , j k h_{i,jk} h i , j k :
[ H ^ ( q ^ ⊗ q ^ ) ] i = ∑ j ≤ k h i , j k q ^ j q ^ k , i = 1 , … , r , (5) [\widehat{\mathbf{H}}(\widehat{\mathbf{q}}\otimes\widehat{\mathbf{q}})]_i=\sum_{j\leq k}h_{i,jk}\widehat{q}_j\widehat{q}_k,\qquad i=1,\ldots,r, \tag*{(5)} [ H ( q ⊗ q ) ] i = j ≤ k ∑ h i , j k q j q k , i = 1 , … , r , (5)
where h i , j k h_{i,jk} h i , j k is the coefficient of q ^ j q ^ k \widehat{q}_j\widehat{q}_k q j q k in equation i i i . Under (4) , h i , j j = H i j j h_{i,jj}=H_{ijj} h i , j j = H ij j and h i , j k = 2 H i j k h_{i,jk}=2H_{ijk} h i , j k = 2 H ij k for j < k j<k j < k , since the two symmetric tensor entries multiply the same product. In the operator matrix below, the quadratic block stores these compact coefficients and therefore has r ( r + 1 ) / 2 r(r+1)/2 r ( r + 1 ) /2 columns.
Operator inference
When the FOM equations or solver are unavailable, OpInf learns the reduced operators from reduced-state data and estimates of their time derivatives. For (3) , collect the constant, linear, compact quadratic, and input coefficients in O ^ = [ c ^ A ^ H ^ B ^ ] ∈ R r × d \widehat{\mathbf{O}}=[\widehat{\mathbf{c}}\ \widehat{\mathbf{A}}\ \widehat{\mathbf{H}}\ \widehat{\mathbf{B}}]\in\mathbb{R}^{r\times d} O = [ c A H B ] ∈ R r × d , where the quadratic block is understood in the compact form just defined. Then the model can be written as a linear function of its unknown operators evaluated at a nonlinear feature vector:
q ^ ˙ = O ^ d ( q ^ , u ) , d ( q ^ , u ) = [ 1 ; q ^ ; q ^ ⊗ ^ q ^ ; u ] ∈ R d , d = 1 + r + r ( r + 1 ) 2 + p , (6) \dot{\widehat{\mathbf{q}}}=\widehat{\mathbf{O}}\mathbf{d}(\widehat{\mathbf{q}},\mathbf{u}),\qquad
\mathbf{d}(\widehat{\mathbf{q}},\mathbf{u})=[1;\widehat{\mathbf{q}};\widehat{\mathbf{q}}\widehat{\otimes}\widehat{\mathbf{q}};\mathbf{u}]\in\mathbb{R}^{d},\qquad
d=1+r+\frac{r(r+1)}{2}+p, \tag*{(6)} q ˙ = O d ( q , u ) , d ( q , u ) = [ 1 ; q ; q ⊗ q ; u ] ∈ R d , d = 1 + r + 2 r ( r + 1 ) + p , (6)
where ⊗ ^ \widehat{\otimes} ⊗ lists only the distinct quadratic products. Given reduced states q ^ \widehat{\mathbf{q}} q and derivative estimates for q ^ \widehat{\mathbf{q}} q at m ′ m' m ′ time instants, form the data matrix D ∈ R m ′ × d \mathbf{D}\in\mathbb{R}^{m'\times d} D ∈ R m ′ × d with the corresponding feature vectors as its rows. For each reduced coordinate, let z i \mathbf{z}_i z i collect its derivative estimates and let o ^ i T \widehat{\mathbf{o}}_i^{\mathsf{T}} o i T denote row i i i of O ^ \widehat{\mathbf{O}} O . Regularized OpInf then solves the independent least-squares problems for all reduced modes:
min o ^ i ∈ R d ∥ D o ^ i − z i ∥ 2 + ∥ Γ i o ^ i ∥ 2 , i = 1 , … , r , (7) \min_{\widehat{\mathbf{o}}_i\in\mathbb{R}^{d}}\ \|\mathbf{D}\widehat{\mathbf{o}}_i-\mathbf{z}_i\|^2+\|\mathbf{\Gamma}_i\widehat{\mathbf{o}}_i\|^2,\qquad i=1,\ldots,r, \tag*{(7)} o i ∈ R d min ∥ D o i − z i ∥ 2 + ∥ Γ i o i ∥ 2 , i = 1 , … , r , (7)
where Γ i \mathbf{\Gamma}_i Γ i contains the regularization weights [1 , 2 ] . The regression is linear in the operators, but its quality depends on the reduced states and derivative estimates. This dependence is problematic when snapshots are sparse or noisy. Finite-difference estimates amplify observation noise, and widely or irregularly spaced snapshots leave the state evolution between them unresolved, so that the estimate is inaccurate even in the absence of noise.
Bayesian operator inference with Gaussian processes
Bayesian OpInf [3 ] gives the regularization a probabilistic interpretation by placing a Gaussian prior on each operator row. GP-BayesOpInf [4 ] also models each reduced coordinate as an independent Gaussian process, q ^ i ∼ G P ( 0 , κ i ) \widehat{q}_i\sim\mathcal{GP}(0,\kappa_i) q i ∼ G P ( 0 , κ i ) , conditioned on noisy observations y i ∈ R m \mathbf{y}_i\in\mathbb{R}^{m} y i ∈ R m at m m m times. The GP posterior smooths these observations and provides state estimates y ~ i \widetilde{\mathbf{y}}_i y i and analytic derivative estimates z ~ i \widetilde{\mathbf{z}}_i z i on an estimation grid. It also quantifies the uncertainty in the derivative estimates. Let W i ∈ R m ′ × m ′ \mathbf{W}_i\in\mathbb{R}^{m'\times m'} W i ∈ R m ′ × m ′ be the inverse of the derivative estimates’ covariance matrix, and form D ~ \widetilde{\mathbf{D}} D from the GP state estimates. With the prior o ^ i ∼ N ( 0 , Γ i − 2 ) \widehat{\mathbf{o}}_i\sim\mathcal{N}(0,\mathbf{\Gamma}_i^{-2}) o i ∼ N ( 0 , Γ i − 2 ) , Γ i = diag ( γ i ) \mathbf{\Gamma}_i=\operatorname{diag}(\gamma_i) Γ i = diag ( γ i ) , the resulting Gaussian posterior of the reduced operator o ^ i \widehat{\mathbf{o}}_i o i is
o ^ i ∣ z ~ i , D ~ , W i ∼ N ( μ i , Σ i ) , Σ i = ( D ~ T W i D ~ + Γ i 2 ) − 1 , μ i = Σ i D ~ T W i z ~ i . (8) \widehat{\mathbf{o}}_i\mid\widetilde{\mathbf{z}}_i,\widetilde{\mathbf{D}},\mathbf{W}_i\sim\mathcal{N}(\boldsymbol{\mu}_i,\mathbf{\Sigma}_i),\qquad
\mathbf{\Sigma}_i=(\widetilde{\mathbf{D}}^{\mathsf{T}}\mathbf{W}_i\widetilde{\mathbf{D}}+\mathbf{\Gamma}_i^2)^{-1},\qquad
\boldsymbol{\mu}_i=\mathbf{\Sigma}_i\widetilde{\mathbf{D}}^{\mathsf{T}}\mathbf{W}_i\widetilde{\mathbf{z}}_i. \tag*{(8)} o i ∣ z i , D , W i ∼ N ( μ i , Σ i ) , Σ i = ( D T W i D + Γ i 2 ) − 1 , μ i = Σ i D T W i z i . (8)
Equivalently, this posterior follows from the working linear-Gaussian model
z ~ i = D ~ o ^ i + e i , e i ∼ N ( 0 , W i − 1 ) , o ^ i ∼ N ( 0 , Γ i − 2 ) . (9) \widetilde{\mathbf{z}}_i=\widetilde{\mathbf{D}}\widehat{\mathbf{o}}_i+\mathbf{e}_i,\qquad
\mathbf{e}_i\sim\mathcal{N}(0,\mathbf{W}_i^{-1}),\qquad
\widehat{\mathbf{o}}_i\sim\mathcal{N}(0,\mathbf{\Gamma}_i^{-2}). \tag*{(9)} z i = D o i + e i , e i ∼ N ( 0 , W i − 1 ) , o i ∼ N ( 0 , Γ i − 2 ) . (9)
For a joint representation, stack the operator rows as θ = [ o ^ 1 ; … ; o ^ r ] ∈ R n \theta= [\hat{o}_1;\ldots;\hat{o}_r] \in\mathbb{R}^n θ = [ o ^ 1 ; … ; o ^ r ] ∈ R n , where n = r d n = rd n = r d . Since the prior and working likelihood factor over the output coordinates, the posterior is
θ ∣ z ~ , D ~ , W ∼ N ( μ , Σ ) , μ = [ μ 1 ; … ; μ r ] , Σ = blkdiag ( Σ 1 , … , Σ r ) , (10) \theta\mid\tilde{z},\widetilde{D},W \sim\mathcal{N}(\mu,\Sigma), \qquad\mu= [\mu_1;\ldots;\mu_r], \qquad\Sigma= \operatorname{blkdiag}(\Sigma_1,\ldots,\Sigma_r), \tag*{(10)} θ ∣ z ~ , D , W ∼ N ( μ , Σ ) , μ = [ μ 1 ; … ; μ r ] , Σ = blkdiag ( Σ 1 , … , Σ r ) , (10)
which is equivalently the posterior under z ~ = Φ θ + e \tilde{z} = \Phi\theta+ e z ~ = Φ θ + e , with z ~ = [ z ~ 1 ; … ; z ~ r ] \tilde{z} = [\tilde{z}_1;\ldots;\tilde{z}_r] z ~ = [ z ~ 1 ; … ; z ~ r ] , Φ = I r ⊗ D ~ \Phi= I_r \otimes\widetilde{D} Φ = I r ⊗ D , e ∼ N ( 0 , W − 1 ) e \sim\mathcal{N}(0,W^{-1}) e ∼ N ( 0 , W − 1 ) , and W = blkdiag ( W i ) W = \operatorname{blkdiag}(W_i) W = blkdiag ( W i ) . The prior is θ ∼ N ( 0 , Σ 0 ) \theta\sim\mathcal{N}(0,\Sigma_0) θ ∼ N ( 0 , Σ 0 ) , where Σ 0 = blkdiag ( Γ i − 2 ) \Sigma_0 = \operatorname{blkdiag}(\Gamma_i^{-2}) Σ 0 = blkdiag ( Γ i − 2 ) . Thus GP-BayesOpInf yields a Gaussian posterior over the reduced operators, which represents operator uncertainty and serves as the starting point for the structured posterior in § 4 .
Simulation-based stability screening
The covariance matrix Σ \Sigma Σ in (10) is positive definite, so the posterior has full support over the operator coefficients. In the GP-BayesOpInf method of [4 ] , extending [6 ] , the prior parameters γ = ( γ 1 , … , γ r ) \gamma= (\gamma_1,\ldots,\gamma_r) γ = ( γ 1 , … , γ r ) , which collect the prior scales of all operator rows and so determine Σ 0 \Sigma_0 Σ 0 , are selected using posterior-sampled ROM trajectories: candidate values are compared by the fit between the GP state estimates and the mean of an ensemble of trajectories, and rejected if any trajectory exceeds a chosen amplitude over the training interval. The reported experiments use 20 posterior samples and set this threshold to five times the largest absolute GP state estimate. This simulation-based screening is a finite-sample diagnostic, not a stability certificate. The present work retains the regression model (8) while changing the posterior support and the way stability is assessed and reported.
Energy preservation and stability of quadratic ROMs
Throughout this section the reduced operators in (3) are fixed. We use the reduced energy
V ( q ^ ) = 1 2 ∥ q ^ ∥ 2 , (11) V(\hat{\mathbf{q}}) = \frac{1}{2}\|\hat{\mathbf{q}}\|^2, \tag*{(11)} V ( q ^ ) = 2 1 ∥ q ^ ∥ 2 , (11)
which, for an orthonormal basis V \mathbf{V} V , equals 1 2 ∥ q − q ˉ ∥ 2 \frac{1}{2}\|\mathbf{q}-\bar{\mathbf{q}}\|^2 2 1 ∥ q − q ˉ ∥ 2 : the energy of the fluctuation about the reference state. Differentiating V ( q ^ ( t ) ) V(\hat{\mathbf{q}}(t)) V ( q ^ ( t )) in time and substituting the right-hand side of (3) for q ^ ˙ \dot{\hat{\mathbf{q}}} q ^ ˙ gives the energy balance
V ˙ = q ^ T c ^ + q ^ T sym ( A ^ ) q ^ + p ( q ^ ) + q ^ T B ^ u , p ( q ^ ) : = q ^ T H ^ ( q ^ ⊗ q ^ ) = ∑ i , j , k H i j k q ^ i q ^ j q ^ k , (12) \dot{V} = \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{c}} + \hat{\mathbf{q}}^{\mathsf{T}}\operatorname{sym}(\hat{\mathbf{A}})\hat{\mathbf{q}} + p(\hat{\mathbf{q}}) + \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{B}}\mathbf{u}, \qquad p(\hat{\mathbf{q}}) := \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}) = \sum_{i,j,k} H_{ijk}\hat{q}_i\hat{q}_j\hat{q}_k, \tag*{(12)} V ˙ = q ^ T c ^ + q ^ T sym ( A ^ ) q ^ + p ( q ^ ) + q ^ T B ^ u , p ( q ^ ) := q ^ T H ^ ( q ^ ⊗ q ^ ) = i , j , k ∑ H ij k q ^ i q ^ j q ^ k , (12)
where we used q ^ T A ^ q ^ = q ^ T sym ( A ^ ) q ^ \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{A}}\hat{\mathbf{q}} = \hat{\mathbf{q}}^{\mathsf{T}}\operatorname{sym}(\hat{\mathbf{A}})\hat{\mathbf{q}} q ^ T A ^ q ^ = q ^ T sym ( A ^ ) q ^ . The four terms scale as ∥ q ^ ∥ \|\hat{\mathbf{q}}\| ∥ q ^ ∥ , ∥ q ^ ∥ 2 \|\hat{\mathbf{q}}\|^2 ∥ q ^ ∥ 2 , ∥ q ^ ∥ 3 \|\hat{\mathbf{q}}\|^3 ∥ q ^ ∥ 3 and ∥ q ^ ∥ \|\hat{\mathbf{q}}\| ∥ q ^ ∥ , respectively. For large states the cubic form p p p dominates.
Energy-preserving quadratic operators
Definition 3.1. The quadratic operator H ^ \hat{\mathbf{H}} H ^ is energy-preserving (EP) if p ( q ^ ) = q ^ T H ^ ( q ^ ⊗ q ^ ) = 0 p(\hat{\mathbf{q}}) = \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}) = 0 p ( q ^ ) = q ^ T H ^ ( q ^ ⊗ q ^ ) = 0 for all q ^ ∈ R r \hat{\mathbf{q}} \in\mathbb{R}^r q ^ ∈ R r . We denote by H E P \mathcal{H}_{\mathrm{EP}} H EP the set of EP operators.
Proposition 3.2 (Index form). Under (4) , H ^ ∈ H E P \hat{\mathbf{H}} \in\mathcal{H}_{\mathrm{EP}} H ^ ∈ H EP if and only if
H i j k + H j i k + H k j i = 0 ∀ i , j , k ∈ { 1 , … , r } . (13) H_{ijk} + H_{jik} + H_{kji} = 0 \qquad\forall\, i,j,k \in\{1,\ldots,r\}. \tag*{(13)} H ij k + H j ik + H k j i = 0 ∀ i , j , k ∈ { 1 , … , r } . (13)
Proof. See Appendix § 15 .§ 1 .
Remark 3.3 (Attribution). Condition (13) is classical. It underlies the boundedness analysis of Galerkin models in [5 ] and the trapping-region approach of [14 ] , and it is stated in exactly this index form, for operator inference, by Koike and Qian [7 eq. (9)] . We restate it here to fix notation and because the proof in Appendix § 15 .§ 1 is what makes the sparsity structure in theorem 3.4 explicit.
Corollary 3.4 (Compact form, rank and dimension). In terms of the compact coefficients h i , j k h_{i,jk} h i , j k of (5) , H ^ ∈ H E P \widehat{\mathbf{H}} \in\mathcal{H}_{\mathrm{EP}} H ∈ H EP if and only if, for all a a a , all c > a c>a c > a and all b ∈ ] a , c [ b\in]a,c[ b ∈ ] a , c [ (indices in { 1 , … , r } \{1,\ldots,r\} { 1 , … , r } ),
h a , a a = 0 , h a , a c + h c , a a = 0 , h a , c c + h c , a c = 0 , h a , b c + h b , a c + h c , a b = 0. (14) h_{a,aa}=0,\qquad h_{a,ac}+h_{c,aa}=0,\qquad h_{a,cc}+h_{c,ac}=0,\qquad h_{a,bc}+h_{b,ac}+h_{c,ab}=0. \tag*{(14)} h a , aa = 0 , h a , a c + h c , aa = 0 , h a , cc + h c , a c = 0 , h a , b c + h b , a c + h c , ab = 0. (14) There is one constraint per cubic monomial, n c = ( r + 2 3 ) n_c=\binom{r+2}{3} n c = ( 3 r + 2 ) constraints in total. Each compact coefficient h i , j k h_{i,jk} h i , j k appears in exactly one of them (the one for the monomial q ^ i q ^ j q ^ k \hat{q}_i\hat{q}_j\hat{q}_k q ^ i q ^ j q ^ k ), so the constraints are linearly independent. Writing them as C H vec ( H ^ ) = 0 \mathbf{C}_{H}\operatorname{vec}(\widehat{\mathbf{H}})=0 C H vec ( H ) = 0 , H E P \mathcal{H}_{\mathrm{EP}} H EP is a linear subspace of dimension
r ( r + 1 2 ) − ( r + 2 3 ) = r 3 − r 3 . r\binom{r+1}{2}-\binom{r+2}{3}=\frac{r^3-r}{3}. r ( 2 r + 1 ) − ( 3 r + 2 ) = 3 r 3 − r .
Proof. Multiplying (5) by q ^ i \hat{q}_i q ^ i and summing gives q ^ T H ^ ( q ^ ⊗ q ^ ) = ∑ i ∑ j ≤ k h i , j k q ^ i q ^ j q ^ k \hat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}})=\sum_i\sum_{j\leq k}h_{i,jk}\hat{q}_i\hat{q}_j\hat{q}_k q ^ T H ( q ^ ⊗ q ^ ) = ∑ i ∑ j ≤ k h i , j k q ^ i q ^ j q ^ k . Now collect the coefficient of each monomial: q ^ a 3 \hat{q}_a^3 q ^ a 3 , q ^ a 2 q ^ c \hat{q}_a^2\hat{q}_c q ^ a 2 q ^ c , q ^ a q ^ c 2 \hat{q}_a\hat{q}_c^2 q ^ a q ^ c 2 and q ^ a q ^ b q ^ c \hat{q}_a\hat{q}_b\hat{q}_c q ^ a q ^ b q ^ c , respectively. Each coefficient h i , j k h_{i,jk} h i , j k multiplies the monomial q ^ i q ^ j q ^ k \hat{q}_i\hat{q}_j\hat{q}_k q ^ i q ^ j q ^ k and no other, so no two constraints involve a common coefficient: every column of C H \mathbf{C}_{H} C H has exactly one nonzero entry. Hence, if a linear combination of the rows vanishes, then for each row ℓ \ell ℓ and any column j j j in which row ℓ \ell ℓ is nonzero, the j j j -th entry of the combination reduces to the single term c ℓ [ C H ] ℓ j c_{\ell}[\mathbf{C}_{H}]_{\ell j} c ℓ [ C H ] ℓ j , giving c ℓ = 0 c_{\ell}=0 c ℓ = 0 ; the rows are therefore linearly independent. The count is r + 2 ( r 2 ) + ( r 3 ) = ( r + 2 3 ) r+2\binom{r}{2}+\binom{r}{3}=\binom{r+2}{3} r + 2 ( 2 r ) + ( 3 r ) = ( 3 r + 2 ) .
Remark 3.5 (Attribution and consistency). The count n c = r ( r + 1 ) ( r + 2 ) / 6 n_c=r(r+1)(r+2)/6 n c = r ( r + 1 ) ( r + 2 ) /6 of independent constraints, and the reduction to the half-vectorized (compact) parametrization of H ^ \widehat{\mathbf{H}} H , are due to Koike and Qian [7 ] ; the same constraint set and count, written in the compact (upper-triangular) coordinates of (14) , are obtained independently by Mou [9 Prop. 3.3] . What we use in addition is the sparsity pattern established in the proof: since each compact coefficient enters exactly one constraint, C H \mathbf{C}_{H} C H has one nonzero per column, its rows are orthogonal, and C H C H T = diag ( ν 1 , … , ν n c ) \mathbf{C}_{H}\mathbf{C}_{H}^{\mathsf{T}}=\operatorname{diag}(\nu_1,\ldots,\nu_{n_c}) C H C H T = diag ( ν 1 , … , ν n c ) with ν ℓ ∈ { 1 , 2 , 3 } \nu_{\ell}\in\{1,2,3\} ν ℓ ∈ { 1 , 2 , 3 } the number of terms in constraint ℓ \ell ℓ . Orthonormalizing the rows, which § 4.2 requires, is therefore a rescaling by ν ℓ − 1 / 2 \nu_{\ell}^{-1/2} ν ℓ − 1/2 rather than a factorization. The dimension ( r 3 − r ) / 3 (r^3-r)/3 ( r 3 − r ) /3 is consistent with the skew-symmetric representation of Gkimisis et al. [8 ] : their representation uses r r r skew blocks, i.e. r 2 ( r − 1 ) / 2 r^2(r-1)/2 r 2 ( r − 1 ) /2 parameters, of which r 3 / 6 − r 2 / 2 + r / 3 r^3/6-r^2/2+r/3 r 3 /6 − r 2 /2 + r /3 are redundant, and r 2 ( r − 1 ) / 2 − ( r 3 / 6 − r 2 / 2 + r / 3 ) = ( r 3 − r ) / 3 r^2(r-1)/2-(r^3/6-r^2/2+r/3)=(r^3-r)/3 r 2 ( r − 1 ) /2 − ( r 3 /6 − r 2 /2 + r /3 ) = ( r 3 − r ) /3 .
The next result explains why EP is natural for projection-based ROMs. It is classical and is stated, in the operator-inference context, in [7 ] ; we include it because § 4 uses the precise form of the mean-flow term.
Proposition 3.6 (Galerkin projection preserves EP). Let the FOM be q ˙ = A F q + H F ( q ⊗ q ) + B F u \dot{\mathbf{q}}=\mathbf{A}_{F}\mathbf{q}+\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q})+\mathbf{B}_{F}\mathbf{u} q ˙ = A F q + H F ( q ⊗ q ) + B F u with q T H F ( q ⊗ q ) = 0 \mathbf{q}^{\mathsf{T}}\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q})=0 q T H F ( q ⊗ q ) = 0 for all q \mathbf{q} q , and let V \mathbf{V} V have orthonormal columns, with H F \mathbf{H}_{F} H F symmetrized as in (4) . Then the Galerkin ROM for q = q ˉ + V q ^ \mathbf{q}=\bar{\mathbf{q}}+\mathbf{V}\hat{\mathbf{q}} q = q ˉ + V q ^ has
H ^ = V T H F ( V ⊗ V ) ∈ H E P , A ^ = V T ( A F + 2 H F ( q ˉ ⊗ I N ) ) V , (15) \widehat{\mathbf{H}}=\mathbf{V}^{\mathsf{T}}\mathbf{H}_{F}(\mathbf{V}\otimes\mathbf{V})\in\mathcal{H}_{\mathrm{EP}},\qquad
\widehat{\mathbf{A}}=\mathbf{V}^{\mathsf{T}}\left(\mathbf{A}_{F}+2\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\mathbf{I}_{N})\right)\mathbf{V}, \tag*{(15)} H = V T H F ( V ⊗ V ) ∈ H EP , A = V T ( A F + 2 H F ( q ˉ ⊗ I N ) ) V , (15) c ^ = V T ( A F q ˉ + H F ( q ˉ ⊗ q ˉ ) ) , B ^ = V T B F . (16) \widehat{\mathbf{c}}=\mathbf{V}^{\mathsf{T}}\left(\mathbf{A}_{F}\bar{\mathbf{q}}+\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\bar{\mathbf{q}})\right),\qquad
\widehat{\mathbf{B}}=\mathbf{V}^{\mathsf{T}}\mathbf{B}_{F}. \tag*{(16)} c = V T ( A F q ˉ + H F ( q ˉ ⊗ q ˉ ) ) , B = V T B F . (16) where H F ( q ˉ ⊗ I N ) ∈ R N × N \mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\mathbf{I}_{N})\in\mathbb{R}^{N\times N} H F ( q ˉ ⊗ I N ) ∈ R N × N denotes the matrix of the linear map z ↦ H F ( q ˉ ⊗ z ) \mathbf{z}\mapsto\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\mathbf{z}) z ↦ H F ( q ˉ ⊗ z ) .
Proof. Since q ˙ = V q ^ ˙ \dot{\mathbf{q}}=\mathbf{V}\dot{\hat{\mathbf{q}}} q ˙ = V q ^ ˙ and V T V = I r \mathbf{V}^{\mathsf{T}}\mathbf{V}=\mathbf{I}_{r} V T V = I r , it holds that q ^ ˙ = V T f ( q ˉ + V q ^ , u ) \dot{\hat{\mathbf{q}}}=\mathbf{V}^{\mathsf{T}}\mathbf{f}(\bar{\mathbf{q}}+\mathbf{V}\hat{\mathbf{q}},\mathbf{u}) q ^ ˙ = V T f ( q ˉ + V q ^ , u ) . Expanding the quadratic term by bilinearity and using the symmetry of H F \mathbf{H}_{F} H F ,
H F ( ( q ˉ + V q ^ ) ⊗ ( q ˉ + V q ^ ) ) = H F ( q ˉ ⊗ q ˉ ) + 2 H F ( q ˉ ⊗ I N ) V q ^ + H F ( V ⊗ V ) ( q ^ ⊗ q ^ ) , \mathbf{H}_{F}\bigl((\bar{\mathbf{q}}+\mathbf{V}\hat{\mathbf{q}})\otimes(\bar{\mathbf{q}}+\mathbf{V}\hat{\mathbf{q}})\bigr)
=\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\bar{\mathbf{q}})+2\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\mathbf{I}_{N})\mathbf{V}\hat{\mathbf{q}}+\mathbf{H}_{F}(\mathbf{V}\otimes\mathbf{V})(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}), H F ( ( q ˉ + V q ^ ) ⊗ ( q ˉ + V q ^ ) ) = H F ( q ˉ ⊗ q ˉ ) + 2 H F ( q ˉ ⊗ I N ) V q ^ + H F ( V ⊗ V ) ( q ^ ⊗ q ^ ) ,
where the last term uses ( V ⊗ V ) ( q ^ ⊗ q ^ ) = ( V q ^ ) ⊗ ( V q ^ ) (\mathbf{V}\otimes\mathbf{V})(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}})=(\mathbf{V}\hat{\mathbf{q}})\otimes(\mathbf{V}\hat{\mathbf{q}}) ( V ⊗ V ) ( q ^ ⊗ q ^ ) = ( V q ^ ) ⊗ ( V q ^ ) . Collecting powers of q ^ \hat{\mathbf{q}} q ^ gives (15) –(16) . Finally, q ^ T H ^ ( q ^ ⊗ q ^ ) = ( V q ^ ) T H F ( ( V q ^ ) ⊗ ( V q ^ ) ) = 0 \hat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}})=(\mathbf{V}\hat{\mathbf{q}})^{\mathsf{T}}\mathbf{H}_{F}((\mathbf{V}\hat{\mathbf{q}})\otimes(\mathbf{V}\hat{\mathbf{q}}))=0 q ^ T H ( q ^ ⊗ q ^ ) = ( V q ^ ) T H F (( V q ^ ) ⊗ ( V q ^ )) = 0 for all q ^ \hat{\mathbf{q}} q ^ as V q ^ ∈ R N \mathbf{V}\hat{\mathbf{q}}\in\mathbb{R}^{N} V q ^ ∈ R N , so H ^ ∈ H E P \widehat{\mathbf{H}}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP .
One consequence is used later: by (15) the mean-flow term 2 H F ( q ˉ ⊗ I N ) 2\mathbf{H}_{F}(\bar{\mathbf{q}}\otimes\mathbf{I}_{N}) 2 H F ( q ˉ ⊗ I N ) enters A ^ \widehat{\mathbf{A}} A , so sym ( A ^ ) \operatorname{sym}(\widehat{\mathbf{A}}) sym ( A ) can be indefinite even when the physics is dissipative. This is why § 3.3 shifts the energy.
The following proposition makes explicit an observation that is implicit in the boundedness analyses of [5 , 14 ] : EP is not merely convenient, it is the only property of a quadratic term compatible with (11) being a global Lyapunov function.
Proposition 3.7 (Necessity of EP). The cubic form p p p is odd, i.e. p ( − q ^ ) = − p ( q ^ ) p(-\hat{\mathbf q})=-p(\hat{\mathbf q}) p ( − q ^ ) = − p ( q ^ ) for every q ^ ∈ R r \hat{\mathbf q}\in\mathbb{R}^r q ^ ∈ R r .
Consequently
(i) p ( q ^ ) ≤ 0 p(\hat{\mathbf q})\le0 p ( q ^ ) ≤ 0 for all q ^ ∈ R r \hat{\mathbf q}\in\mathbb{R}^r q ^ ∈ R r if and only if p ≡ 0 p\equiv0 p ≡ 0 , that is, if and only if H ^ ∈ H E P \widehat{H}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP ;
(ii) if H ^ ∉ H E P \widehat{H}\notin\mathcal{H}_{\mathrm{EP}} H ∈ / H EP , then whatever the values of c ^ \hat{\mathbf c} c ^ , A ^ \widehat{A} A and B ^ \widehat{B} B , and for every bounded input u \mathbf u u , there are states of arbitrarily large norm at which V ˙ > 0 \dot{V}>0 V ˙ > 0 .
In particular, unless H ^ ∈ H E P \widehat{H}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP , the energy (11) cannot certify global boundedness, no matter how the remaining operators are chosen.
Proof. Oddness is immediate from homogeneity of degree three. For (i), if p ≤ 0 p\le0 p ≤ 0 everywhere then p ( q ^ ) ≤ 0 p(\hat{\mathbf q})\le0 p ( q ^ ) ≤ 0 and − p ( q ^ ) = p ( − q ^ ) ≤ 0 -p(\hat{\mathbf q})=p(-\hat{\mathbf q})\le0 − p ( q ^ ) = p ( − q ^ ) ≤ 0 , so p ≡ 0 p\equiv0 p ≡ 0 , the reverse implication is immediate. For (ii), by (i) there is q ^ 0 \hat{\mathbf q}_0 q ^ 0 with p ( q ^ 0 ) > 0 p(\hat{\mathbf q}_0)>0 p ( q ^ 0 ) > 0 . The cubic term of (12) grows with the cube of ∥ q ^ ∥ \lVert\hat{\mathbf q}\rVert ∥ q ^ ∥ , while the remaining terms grow at most quadratically since u \mathbf u u is bounded, so V ˙ > 0 \dot{V}>0 V ˙ > 0 at all sufficiently large multiples of q ^ 0 \hat{\mathbf q}_0 q ^ 0 .
Corollary 3.8. If θ ∼ N ( μ , Σ ) \theta\sim\mathcal{N}(\boldsymbol{\mu},\boldsymbol{\Sigma}) θ ∼ N ( μ , Σ ) with Σ ≻ 0 \boldsymbol{\Sigma}\succ0 Σ ≻ 0 , then H ^ ∉ H E P \widehat{H}\notin\mathcal{H}_{\mathrm{EP}} H ∈ / H EP almost surely. Hence, almost surely, no posterior sample of (10) admits (11) as a global Lyapunov function.
Proof. H E P \mathcal{H}_{\mathrm{EP}} H EP is a proper linear subspace, so it has Lebesgue measure zero, and a non-degenerate Gaussian is absolutely continuous.
Global stability under energy preservation
If H ^ ∈ H E P \widehat{H}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP , the cubic term in (12) vanishes identically:
V ˙ = q ^ T c ^ + q ^ T sym ( A ^ ) q ^ + q ^ T B ^ u . (17) \dot{V}=\hat{\mathbf q}^{\mathsf T}\hat{\mathbf c}+\hat{\mathbf q}^{\mathsf T}\operatorname{sym}(\widehat{A})\hat{\mathbf q}+\hat{\mathbf q}^{\mathsf T}\widehat{B}\mathbf u. \tag*{(17)} V ˙ = q ^ T c ^ + q ^ T sym ( A ) q ^ + q ^ T B u . (17)
The energy balance of the nonlinear ROM is then that of a linear system, and the estimates below specialize the boundedness analysis of [5 ] ; we state them in the input-to-state form of theorem 3.10, which is what section 5 certifies and which does not appear in that reference.
Only two quantities enter: the rate at which the quadratic form in (17) removes energy, and the amount the remaining terms can supply. Define
α : = − λ max ( sym ( A ^ ) ) , K ( u ˉ ) : = ∥ c ^ ∥ + ∥ B ^ ∥ u ˉ , u ˉ : = ∥ u ∥ L ∞ . (18) \alpha:=-\lambda_{\max}(\operatorname{sym}(\widehat{A})),\qquad K(\bar{u}):=\lVert\hat{\mathbf c}\rVert+\lVert\widehat{B}\rVert\bar{u},\qquad\bar{u}:=\lVert\mathbf u\rVert_{L^\infty}. \tag*{(18)} α := − λ m a x ( sym ( A )) , K ( u ˉ ) := ∥ c ^ ∥ + ∥ B ∥ u ˉ , u ˉ := ∥ u ∥ L ∞ . (18)
If α > 0 \alpha>0 α > 0 , then sym ( A ^ ) ≺ 0 \operatorname{sym}(\widehat{A})\prec0 sym ( A ) ≺ 0 and q ^ T sym ( A ^ ) q ^ ≤ − α ∥ q ^ ∥ 2 \hat{\mathbf q}^{\mathsf T}\operatorname{sym}(\widehat{A})\hat{\mathbf q}\le-\alpha\lVert\hat{\mathbf q}\rVert^2 q ^ T sym ( A ) q ^ ≤ − α ∥ q ^ ∥ 2 , so the dissipation grows with ∥ q ^ ∥ 2 \lVert\hat{\mathbf q}\rVert^2 ∥ q ^ ∥ 2 , whereas q ^ T c ^ + q ^ T B ^ u ≤ K ( u ˉ ) ∥ q ^ ∥ \hat{\mathbf q}^{\mathsf T}\hat{\mathbf c}+\hat{\mathbf q}^{\mathsf T}\widehat{B}\mathbf u\le K(\bar{u})\lVert\hat{\mathbf q}\rVert q ^ T c ^ + q ^ T B u ≤ K ( u ˉ ) ∥ q ^ ∥ grows only with ∥ q ^ ∥ \lVert\hat{\mathbf q}\rVert ∥ q ^ ∥ . The two balance at ∥ q ^ ∥ = K ( u ˉ ) / α \lVert\hat{\mathbf q}\rVert=K(\bar{u})/\alpha ∥ q ^ ∥ = K ( u ˉ ) / α , which is the radius that appears in the bounds below.
Theorem 3.9 (Global exponential stability). If H ^ ∈ H E P \widehat{H}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP , c ^ = 0 \hat{\mathbf c}=0 c ^ = 0 , u ≡ 0 \mathbf u\equiv0 u ≡ 0 and α > 0 \alpha>0 α > 0 , then ∥ q ^ ( t ) ∥ ≤ e − α t ∥ q ^ 0 ∥ \lVert\hat{\mathbf q}(t)\rVert\le e^{-\alpha t}\lVert\hat{\mathbf q}_0\rVert ∥ q ^ ( t )∥ ≤ e − α t ∥ q ^ 0 ∥ for all q ^ 0 ∈ R r \hat{\mathbf q}_0\in\mathbb{R}^r q ^ 0 ∈ R r and t ≥ 0 t\ge0 t ≥ 0 .
Proof. By (17) , V ˙ ≤ − α ∥ q ^ ∥ 2 = − 2 α V \dot{V}\le-\alpha\lVert\hat{\mathbf q}\rVert^2=-2\alpha V V ˙ ≤ − α ∥ q ^ ∥ 2 = − 2 α V . Hence V ( t ) ≤ e − 2 α t V ( 0 ) V(t)\le e^{-2\alpha t}V(0) V ( t ) ≤ e − 2 α t V ( 0 ) by the comparison lemma [20 Lemma 3.4] .
Theorem 3.10 (Global ultimate bound and input-to-state stability). Let H ^ ∈ H E P \widehat{H}\in\mathcal{H}_{\mathrm{EP}} H ∈ H EP , α > 0 \alpha>0 α > 0 and u ˉ < ∞ \bar{u}<\infty u ˉ < ∞ , and set R : = K ( u ˉ ) / α R:=K(\bar{u})/\alpha R := K ( u ˉ ) / α . Then for all q ^ 0 \hat{\mathbf q}_0 q ^ 0 and t ≥ 0 t\ge0 t ≥ 0 ,
∥ q ^ ( t ) ∥ 2 ≤ e − α t ∥ q ^ 0 ∥ 2 + R 2 , ∥ q ^ ( t ) ∥ ≤ e − α t / 2 ∥ q ^ 0 ∥ + ∥ c ^ ∥ α + ∥ B ^ ∥ α u ˉ . (19) \lVert\hat{\mathbf q}(t)\rVert^2\le e^{-\alpha t}\lVert\hat{\mathbf q}_0\rVert^2+R^2,\qquad\lVert\hat{\mathbf q}(t)\rVert\le e^{-\alpha t/2}\lVert\hat{\mathbf q}_0\rVert+\frac{\lVert\hat{\mathbf c}\rVert}{\alpha}+\frac{\lVert\widehat{B}\rVert}{\alpha}\bar{u}. \tag*{(19)} ∥ q ^ ( t ) ∥ 2 ≤ e − α t ∥ q ^ 0 ∥ 2 + R 2 , ∥ q ^ ( t )∥ ≤ e − α t /2 ∥ q ^ 0 ∥ + α ∥ c ^ ∥ + α ∥ B ∥ u ˉ . (19) Every closed ball { ∥ q ^ ∥ ≤ ρ } \{\lVert\hat{\mathbf q}\rVert\le\rho\} {∥ q ^ ∥ ≤ ρ } with ρ ≥ R \rho\ge R ρ ≥ R is forward invariant, and lim sup t → ∞ ∥ q ^ ( t ) ∥ ≤ R \limsup_{t\to\infty}\lVert\hat{\mathbf q}(t)\rVert\le R lim sup t → ∞ ∥ q ^ ( t )∥ ≤ R . In particular, (3) is input-to-state stable with respect to u \mathbf u u , with linear gain ∥ B ^ ∥ / α \lVert\widehat{B}\rVert/\alpha ∥ B ∥ / α and offset $\lVert\hat{\mathbf c}\rVert/\alpha.
Proof. From (17) , V ˙ ≤ − α ∥ q ^ ∥ 2 + K ∥ q ^ ∥ \dot{V}\le-\alpha\lVert\hat{\mathbf q}\rVert^2+K\lVert\hat{\mathbf q}\rVert V ˙ ≤ − α ∥ q ^ ∥ 2 + K ∥ q ^ ∥ with K = K ( u ˉ ) K=K(\bar{u}) K = K ( u ˉ ) . Young’s inequality K ∥ q ^ ∥ ≤ α 2 ∥ q ^ ∥ 2 + K 2 2 α K\lVert\hat{\mathbf q}\rVert\le\frac{\alpha}{2}\lVert\hat{\mathbf q}\rVert^2+\frac{K^2}{2\alpha} K ∥ q ^ ∥ ≤ 2 α ∥ q ^ ∥ 2 + 2 α K 2 gives V ˙ ≤ − α V + K 2 / ( 2 α ) \dot{V}\le-\alpha V+K^2/(2\alpha) V ˙ ≤ − α V + K 2 / ( 2 α ) . The comparison lemma yields V ( t ) ≤ e − α t V ( 0 ) + K 2 / ( 2 α 2 ) V(t)\le e^{-\alpha t}V(0)+K^2/(2\alpha^2) V ( t ) ≤ e − α t V ( 0 ) + K 2 / ( 2 α 2 ) , which is the first bound. The second follows from the inequality a + b ≤ a + b \sqrt{a+b}\le\sqrt{a}+\sqrt{b} a + b ≤ a + b for non-negative a , b a,b a , b . For invariance, note that V ˙ ≤ ∥ q ^ ∥ ( K − α ∥ q ^ ∥ ) < 0 \dot{V}\le\lVert\hat{\mathbf q}\rVert(K-\alpha\lVert\hat{\mathbf q}\rVert)<0 V ˙ ≤ ∥ q ^ ∥ ( K − α ∥ q ^ ∥) < 0 whenever ∥ q ^ ∥ > R \lVert\hat{\mathbf q}\rVert>R ∥ q ^ ∥ > R . The limsup follows from the first bound.
:::
Remark 3.11. The terms q ^ T c ^ \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{c}} q ^ T c ^ and q ^ T B ^ u \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{B}}\mathbf{u} q ^ T B ^ u are linear in q ^ \hat{\mathbf{q}} q ^ and hence sign-indefinite. They need not be dissipative: they grow like ∥ q ^ ∥ \lVert\hat{\mathbf{q}}\rVert ∥ q ^ ∥ , whereas the dissipation grows like ∥ q ^ ∥ 2 \lVert\hat{\mathbf{q}}\rVert^2 ∥ q ^ ∥ 2 . The conclusion is therefore boundedness, not convergence to the origin, which in general is not an equilibrium when c ^ ≠ 0 \hat{\mathbf{c}}\ne0 c ^ = 0 . The condition α > 0 \alpha>0 α > 0 is sufficient but not necessary. A Hurwitz but non-normal A ^ \hat{\mathbf{A}} A ^ may have indefinite sym ( A ^ ) \operatorname{sym}(\hat{\mathbf{A}}) sym ( A ^ ) .
Non-dissipative linear parts: the shifted energy
The condition α > 0 \alpha>0 α > 0 asks the energy to decrease about the origin of the reduced coordinates, that is, about the snapshot mean q ˉ \bar{\mathbf{q}} q ˉ . This is more than the physics requires. By (15) the mean-flow term enters A ^ \hat{\mathbf{A}} A ^ , and POD truncation discards modes that carry part of the dissipation, so sym ( A ^ ) \operatorname{sym}(\hat{\mathbf{A}}) sym ( A ^ ) is often indefinite even when the ROM itself is well behaved; in § 8 this is the case for nearly every posterior draw. The remedy is to measure the energy about another center.
Following [5 ] , let m ∈ R r \mathbf{m}\in\mathbb{R}^{r} m ∈ R r and write V m ( q ^ ) = 1 2 ∥ q ^ − m ∥ 2 V_{\mathbf{m}}(\hat{\mathbf{q}})=\frac{1}{2}\lVert\hat{\mathbf{q}}-\mathbf{m}\rVert^2 V m ( q ^ ) = 2 1 ∥ q ^ − m ∥ 2 . For s = q ^ − m \mathbf{s}=\hat{\mathbf{q}}-\mathbf{m} s = q ^ − m , symmetry of H \mathcal{H} H gives
s ˙ = g ( m ) + ( A ^ + L m ) s + H ^ ( s ⊗ s ) + B ^ u , L m : = 2 H ^ ( m ⊗ I r ) , g ( m ) : = c ^ + A ^ m + H ^ ( m ⊗ m ) , (20) \dot{\mathbf{s}}=\mathbf{g}(\mathbf{m})+(\hat{\mathbf{A}}+\mathbf{L}_{\mathbf{m}})\mathbf{s}+\hat{\mathcal{H}}(\mathbf{s}\otimes\mathbf{s})+\hat{\mathbf{B}}\mathbf{u},\qquad\mathbf{L}_{\mathbf{m}}:=2\hat{\mathcal{H}}(\mathbf{m}\otimes I_r),\qquad\mathbf{g}(\mathbf{m}):=\hat{\mathbf{c}}+\hat{\mathbf{A}}\mathbf{m}+\hat{\mathcal{H}}(\mathbf{m}\otimes\mathbf{m}), \tag*{(20)} s ˙ = g ( m ) + ( A ^ + L m ) s + H ^ ( s ⊗ s ) + B ^ u , L m := 2 H ^ ( m ⊗ I r ) , g ( m ) := c ^ + A ^ m + H ^ ( m ⊗ m ) , (20)
i.e., ( L m ) i k = 2 ∑ j H i j k m j (\mathbf{L}_{\mathbf{m}})_{ik}=2\sum_j H_{ijk}m_j ( L m ) ik = 2 ∑ j H ij k m j . If H ^ ∈ H E P \hat{\mathcal{H}}\in\mathcal{H}_{\mathrm{EP}} H ^ ∈ H EP , then s T H ^ ( s ⊗ s ) = 0 \mathbf{s}^{\mathsf{T}}\hat{\mathcal{H}}(\mathbf{s}\otimes\mathbf{s})=0 s T H ^ ( s ⊗ s ) = 0 , so the energy balance of (20) for V m V_{\mathbf{m}} V m has the form (17) .
Theorem 3.12 (Trapping region). Let H ^ ∈ H E P \hat{\mathcal{H}}\in\mathcal{H}_{\mathrm{EP}} H ^ ∈ H EP and suppose that α m : = − λ max ( sym ( A ^ + L m ) ) > 0 \alpha_{\mathbf{m}}:=-\lambda_{\max}(\operatorname{sym}(\hat{\mathbf{A}}+\mathbf{L}_{\mathbf{m}}))>0 α m := − λ m a x ( sym ( A ^ + L m )) > 0 for some m \mathbf{m} m . Then the conclusions of theorem 3.10 hold for q ^ − m \hat{\mathbf{q}}-\mathbf{m} q ^ − m , with α \alpha α replaced by α m \alpha_{\mathbf{m}} α m and ∥ c ^ ∥ \lVert\hat{\mathbf{c}}\rVert ∥ c ^ ∥ by ∥ g ( m ) ∥ \lVert\mathbf{g}(\mathbf{m})\rVert ∥ g ( m )∥ . In particular, the ball centered at m \mathbf{m} m with radius R m = ( ∥ g ( m ) ∥ + ∥ B ^ ∥ u ˉ ) / α m R_{\mathbf{m}}=(\lVert\mathbf{g}(\mathbf{m})\rVert+\lVert\hat{\mathbf{B}}\rVert\bar{u})/\alpha_{\mathbf{m}} R m = (∥ g ( m )∥ + ∥ B ^ ∥ u ˉ ) / α m is forward invariant and globally attracting.
Proof. Apply the proof of theorem 3.10 to V m V_{\mathbf{m}} V m and (20) .
Proposition 3.13 (Optimal shift by semidefinite programming). The map m ↦ λ max ( sym ( A ^ + L m ) ) \mathbf{m}\mapsto\lambda_{\max}(\operatorname{sym}(\hat{\mathbf{A}}+\mathbf{L}_{\mathbf{m}})) m ↦ λ m a x ( sym ( A ^ + L m )) is convex. The largest certified decay rate α ⋆ = max m α m \alpha^\star=\max_{\mathbf{m}}\alpha_{\mathbf{m}} α ⋆ = max m α m is − t ⋆ -t^\star − t ⋆ , where t ⋆ t^\star t ⋆ is the value of the semidefinite program
min t ∈ R , m ∈ R r t s.t. sym ( A ^ ) + sym ( L m ) ⪯ t I r . (21) \min_{t\in\mathbb{R},\,\mathbf{m}\in\mathbb{R}^{r}} \quad t \qquad\text{s.t.}\quad\operatorname{sym}(\hat{\mathbf{A}})+\operatorname{sym}(\mathbf{L}_{\mathbf{m}})\preceq tI_r. \tag*{(21)} t ∈ R , m ∈ R r min t s.t. sym ( A ^ ) + sym ( L m ) ⪯ t I r . (21) A certificate exists if and only if t ⋆ < 0 t^\star<0 t ⋆ < 0 .
Proof. m ↦ sym ( A ^ + L m ) \mathbf{m}\mapsto\operatorname{sym}(\hat{\mathbf{A}}+\mathbf{L}_{\mathbf{m}}) m ↦ sym ( A ^ + L m ) is affine, and λ max \lambda_{\max} λ m a x is convex on symmetric matrices.
A search over the shift m \mathbf{m} m is also used, in a sparse-identification setting and with a different algorithmic treatment, by Kaptanoglu et al. [14 ] .
Schlegel and Noack [5 ] show that, for EP systems satisfying a non-degeneracy condition, the existence of such an m \mathbf{m} m is also necessary for a monotonically attracting trapping region. In practice α m \alpha_{\mathbf{m}} α m is maximized over m \mathbf{m} m , with a certificate when α ⋆ > 0 \alpha^\star>0 α ⋆ > 0 ; the radius R m R_{\mathbf{m}} R m may be reduced afterwards by a secondary minimization over the feasible set.
Weak energy preservation: local certificates
When EP holds only approximately, write H ^ = H ^ E P + H ^ 0 \hat{\mathcal{H}}=\hat{\mathcal{H}}_{\mathrm{EP}}+\hat{\mathcal{H}}_0 H ^ = H ^ EP + H ^ 0 with H ^ E P ∈ H E P \hat{\mathcal{H}}_{\mathrm{EP}}\in\mathcal{H}_{\mathrm{EP}} H ^ EP ∈ H EP . The canonical choice is the Frobenius-orthogonal projection (§ 4.2 ). Then p ( q ^ ) = q ^ T H ^ 0 ( q ^ ⊗ q ^ ) p(\hat{\mathbf{q}})=\hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathcal{H}}_0(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}) p ( q ^ ) = q ^ T H ^ 0 ( q ^ ⊗ q ^ ) and ∣ p ( q ^ ) ∣ ≤ ϵ Q ∥ q ^ ∥ 3 |p(\hat{\mathbf{q}})|\leq\epsilon_Q\lVert\hat{\mathbf{q}}\rVert^3 ∣ p ( q ^ ) ∣ ≤ ϵ Q ∥ q ^ ∥ 3 , with ϵ Q : = ∥ H ^ 0 ∥ 2 \epsilon_Q:=\lVert\hat{\mathcal{H}}_0\rVert_2 ϵ Q := ∥ H ^ 0 ∥ 2 , the spectral norm of the r × r 2 r\times r^2 r × r 2 matrix H ^ 0 \hat{\mathcal{H}}_0 H ^ 0 , since ∥ q ^ ⊗ q ^ ∥ = ∥ q ^ ∥ 2 \lVert\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}\rVert=\lVert\hat{\mathbf{q}}\rVert^2 ∥ q ^ ⊗ q ^ ∥ = ∥ q ^ ∥ 2 .
Theorem 3.14 (Local certificate under weak EP). Let α > 0 \alpha>0 α > 0 , K = K ( u ˉ ) K=K(\bar{u}) K = K ( u ˉ ) , ϵ Q > 0 \epsilon_Q>0 ϵ Q > 0 and α 2 > 4 ϵ Q K \alpha^2>4\epsilon_QK α 2 > 4 ϵ Q K . Define
ρ ± = α ± α 2 − 4 ϵ Q K 2 ϵ Q . (22) \rho_{\pm}=\frac{\alpha\pm\sqrt{\alpha^2-4\epsilon_QK}}{2\epsilon_Q}. \tag*{(22)} ρ ± = 2 ϵ Q α ± α 2 − 4 ϵ Q K . (22)
Then V ˙ < 0 \dot{V}<0 V ˙ < 0 on the shell ρ − < ∥ q ^ ∥ < ρ + \rho_{-}<\|\hat{q}\|<\rho_{+} ρ − < ∥ q ^ ∥ < ρ + . Every ball { ∥ q ^ ∥ ≤ ρ } \{\|\hat{q}\|\leq\rho\} { ∥ q ^ ∥ ≤ ρ } with ρ ∈ [ ρ − , ρ + ) \rho\in[\rho_{-},\rho_{+}) ρ ∈ [ ρ − , ρ + ) is forward invariant, and every solution with ∥ q ^ 0 ∥ < ρ + \|\hat{q}_0\|<\rho_{+} ∥ q ^ 0 ∥ < ρ + satisfies lim sup t → ∞ ∥ q ^ ( t ) ∥ ≤ ρ − \limsup_{t\to\infty}\|\hat{q}(t)\|\leq\rho_{-} lim sup t → ∞ ∥ q ^ ( t ) ∥ ≤ ρ − . As ϵ Q → 0 \epsilon_Q\to0 ϵ Q → 0 , ρ − → K / α \rho_{-}\to K/\alpha ρ − → K / α and ρ + → ∞ \rho_{+}\to\infty ρ + → ∞ , recovering theorem 3.10.
Proof. From (12) , V ˙ ≤ s ( K − α s + ϵ Q s 2 ) \dot{V}\leq s\left(K-\alpha s+\epsilon_Qs^2\right) V ˙ ≤ s ( K − α s + ϵ Q s 2 ) with s = ∥ q ^ ∥ s=\|\hat{q}\| s = ∥ q ^ ∥ . The quadratic in s s s is negative exactly on ( ρ − , ρ + ) (\rho_{-},\rho_{+}) ( ρ − , ρ + ) . Invariance follows as in theorem 3.10. For ∥ q ^ 0 ∥ < ρ + \|\hat{q}_0\|<\rho_{+} ∥ q ^ 0 ∥ < ρ + the norm cannot increase while in the shell. On each compact sub-shell [ ρ − + δ , ∥ q ^ 0 ∥ ] [\rho_{-}+\delta,\|\hat{q}_0\|] [ ρ − + δ , ∥ q ^ 0 ∥ ] , V ˙ \dot{V} V ˙ is bounded away from zero, so the ball of radius ρ − + δ \rho_{-}+\delta ρ − + δ is reached in finite time, for every δ > 0 \delta>0 δ > 0 . The limits follow from a Taylor expansion of (22) .
Remark 3.15 (Shifted version). The proof of theorem 3.14 uses only ∣ s T H ^ ( s ⊗ s ) ∣ ≤ ϵ Q ∥ s ∥ 3 |s^{\mathsf{T}}\hat{H}(s\otimes s)|\leq\epsilon_Q\|s\|^3 ∣ s T H ^ ( s ⊗ s ) ∣ ≤ ϵ Q ∥ s ∥ 3 . Hence it applies verbatim to the shifted energy of § 3.3 , with α \alpha α replaced by α m \alpha_m α m , ∥ c ^ ∥ \|\hat{c}\| ∥ c ^ ∥ by ∥ g ( m ) ∥ \|g(\mathbf{m})\| ∥ g ( m ) ∥ , and balls centered at m \mathbf{m} m .
Remark 3.16 (Weighted energies). All results extend to V = 1 2 q ^ T Ξ q ^ V=\frac{1}{2}\hat{q}^{\mathsf{T}}\Xi\hat{q} V = 2 1 q ^ T Ξ q ^ , Ξ ≻ 0 \Xi\succ0 Ξ ≻ 0 , with EP understood as q ^ T Ξ H ^ ( q ^ ⊗ q ^ ) = 0 \hat{q}^{\mathsf{T}}\Xi\hat{H}(\hat{q}\otimes\hat{q})=0 q ^ T Ξ H ^ ( q ^ ⊗ q ^ ) = 0 and α \alpha α defined through sym ( Ξ A ^ ) \operatorname{sym}(\Xi\hat{A}) sym ( Ξ A ^ ) . This covers non-normal A ^ \hat{A} A ^ . However, for unknown Ξ \Xi Ξ the constraint is bilinear in ( Ξ , H ^ ) (\Xi,\hat{H}) ( Ξ , H ^ ) and no longer linear in H ^ \hat{H} H ^ . We leave this extension to future work.
Energy-preserving Bayesian operator inference
We now build the constraint H ^ ∈ H E P \hat{H}\in\mathcal{H}_{\mathrm{EP}} H ^ ∈ H EP into the posterior (10) . Let C ∈ R n c × n C\in\mathbb{R}^{n_c\times n} C ∈ R n c × n be the matrix acting on the joint parameter θ \theta θ that applies the constraints (14) to the H ^ \hat{H} H ^ -entries of all rows, with zero columns for the entries of c ^ \hat{c} c ^ , A ^ \hat{A} A ^ , B ^ \hat{B} B ^ . Then
H ^ ∈ H E P ⟺ C θ = 0 , rank C = n c . (23) \hat{H}\in\mathcal{H}_{\mathrm{EP}}\Longleftrightarrow C\theta=0,\qquad\operatorname{rank}C=n_c. \tag*{(23)} H ^ ∈ H EP ⟺ C θ = 0 , rank C = n c . (23)
A single constraint involves up to three different rows of O ^ \hat{O} O ^ (e.g. h a , b c + h b , a c + h c , a b = 0 h_{a,bc}+h_{b,ac}+h_{c,ab}=0 h a , b c + h b , a c + h c , ab = 0 ). Imposing it therefore couples the r r r row-wise regressions of (8) . This is the only structural change with respect to GP-BayesOpInf. Appendix § 16 writes out C C C , and the other objects of this section, in the smallest non-trivial case r = 2 r=2 r = 2 , p = 1 p=1 p = 1 . Let T ∈ R n × ( n − n c ) T\in\mathbb{R}^{n\times(n-n_c)} T ∈ R n × ( n − n c ) have columns forming a basis of ker C \ker C ker C . We use repeatedly the following identity, proved in Appendix § 15 .§ 2 .
Lemma 4.1. For Σ ≻ 0 \Sigma\succ0 Σ ≻ 0 and C C C of full row rank,
Σ − Σ C T ( C Σ C T ) − 1 C Σ = T ( T T Σ − 1 T ) − 1 T T . (24) \Sigma-\Sigma C^{\mathsf{T}}(C\Sigma C^{\mathsf{T}})^{-1}C\Sigma=T(T^{\mathsf{T}}\Sigma^{-1}T)^{-1}T^{\mathsf{T}}. \tag*{(24)} Σ − Σ C T ( C Σ C T ) − 1 C Σ = T ( T T Σ − 1 T ) − 1 T T . (24)
Hard constraint: three equivalent constructions
The constraint C θ = 0 C\theta=0 C θ = 0 can be built into the posterior in three ways, each natural from a different standpoint: restrict the prior to ker C \ker C ker C , so that the constraint holds before any data are seen (construction (a)); treat the constraint as a noise-free observation and condition on it (construction (b)); or impose it on the optimization problem that defines the maximum a posteriori estimate and read the covariance from the resulting Hessian (construction (c)). Theorem 4.2 shows that the three give one and the same posterior.
Deterministic counterparts of two of these constructions are known: (c) is the equality-constrained least-squares formulation of Koike and Qian [7 ] , and the reduced parametrization in (a) may use the skew-symmetric representation of the EP subspace given by Gkimisis et al. [8 ] , who exploit it through a sequential least-squares scheme. What is new here is the probabilistic reading: the constraint defines the support of the prior , the three constructions give the same posterior and not only the same point estimate, and the posterior covariance and exact samples are available in closed form.
(a) Degenerate prior on the EP subspace. Parametrize θ = T φ \theta= T\varphi θ = T φ and place a Gaussian prior φ ∼ N ( 0 , Σ φ , 0 ) \varphi\sim\mathcal{N}(0,\Sigma_{\varphi,0}) φ ∼ N ( 0 , Σ φ , 0 ) on the free coordinates. The induced prior θ ∼ N ( 0 , T Σ φ , 0 T T ) \theta\sim\mathcal{N}(0,T\Sigma_{\varphi,0}T^{\mathsf{T}}) θ ∼ N ( 0 , T Σ φ , 0 T T ) is a degenerate Gaussian supported on ker C \ker C ker C , so P [ H ^ ∈ H E P ] = 1 \mathbb{P}[\widehat{H} \in\mathcal{H}_{\mathrm{EP}}] = 1 P [ H ∈ H EP ] = 1 a priori . The model z ~ = ( Φ T ) φ + e \widetilde{z} = (\Phi T)\varphi+ e z = ( Φ T ) φ + e is again linear-Gaussian, with posterior
φ ∣ z ~ ∼ N ( μ φ , Σ φ ) , Σ φ = ( T T Φ T W Φ T + Σ φ , 0 − 1 ) − 1 , μ φ = Σ φ T T Φ T W z ~ . (25) \varphi\mid\widetilde{z} \sim\mathcal{N}(\mu_{\varphi},\Sigma_{\varphi}), \qquad\Sigma_{\varphi} = \left(T^{\mathsf{T}}\Phi^{\mathsf{T}}W\Phi T + \Sigma_{\varphi,0}^{-1}\right)^{-1}, \qquad\mu_{\varphi} = \Sigma_{\varphi}T^{\mathsf{T}}\Phi^{\mathsf{T}}W\widetilde{z}. \tag*{(25)} φ ∣ z ∼ N ( μ φ , Σ φ ) , Σ φ = ( T T Φ T W Φ T + Σ φ , 0 − 1 ) − 1 , μ φ = Σ φ T T Φ T W z . (25)
Here Σ φ , 0 \Sigma_{\varphi,0} Σ φ , 0 and Σ φ \Sigma_{\varphi} Σ φ are the prior and posterior covariances of φ \varphi φ , both of size ( n − n c ) × ( n − n c ) (n-n_c) \times(n-n_c) ( n − n c ) × ( n − n c ) ; the subscript 0 marks the prior, as it does for θ \theta θ ’s prior covariance Σ 0 \Sigma_0 Σ 0 .
(b) Conditioning on a pseudo-observation. In this construction, the constraint is treated as an observation. Introduce the pseudo-observable
y : = C θ + η , η ∼ N ( 0 , ϵ 2 I n c ) , (26) y := C\theta+ \eta, \qquad\eta\sim\mathcal{N}(0,\epsilon^2 I_{n_c}), \tag*{(26)} y := C θ + η , η ∼ N ( 0 , ϵ 2 I n c ) , (26)
with η \eta η independent of θ \theta θ and of the state trajectory: an instrument that reports the energy-preservation residual C θ C\theta C θ with accuracy ϵ \epsilon ϵ . Imposing EP means conditioning on the reading y = 0 y = 0 y = 0 . For every ϵ > 0 \epsilon> 0 ϵ > 0 this is an ordinary linear-Gaussian update of N ( μ , Σ ) \mathcal{N}(\mu,\Sigma) N ( μ , Σ ) , with no conditioning on a null event, and the pair ( θ , y ) (\theta,y) ( θ , y ) is jointly Gaussian. Conditioning gives the Kalman measurement update
K ϵ = Σ C T ( C Σ C T + ϵ 2 I ) − 1 , μ ϵ = μ − K ϵ C μ , Σ ϵ = Σ − K ϵ C Σ , (27) K_{\epsilon} = \Sigma C^{\mathsf{T}}(C\Sigma C^{\mathsf{T}}+\epsilon^2 I)^{-1}, \qquad\mu_{\epsilon} = \mu- K_{\epsilon}C\mu, \qquad\Sigma_{\epsilon} = \Sigma- K_{\epsilon}C\Sigma, \tag*{(27)} K ϵ = Σ C T ( C Σ C T + ϵ 2 I ) − 1 , μ ϵ = μ − K ϵ C μ , Σ ϵ = Σ − K ϵ C Σ , (27)
with innovation 0 − C μ 0-C\mu 0 − C μ , the difference between the observed value of y y y and the value C μ C\mu C μ predicted for it before the update: the correction is driven by the amount by which the unconstrained mean violates EP. The derivation is given in Appendix § 15 .§ 4 . Since C Σ C T ≻ 0 C\Sigma C^{\mathsf{T}} \succ0 C Σ C T ≻ 0 , the limit ϵ → 0 \epsilon\to0 ϵ → 0 exists. We define the EP-conditioned posterior as this limit:
μ c = μ − Σ C T ( C Σ C T ) − 1 C μ , Σ c = Σ − Σ C T ( C Σ C T ) − 1 C Σ . (28) \mu_c = \mu- \Sigma C^{\mathsf{T}}(C\Sigma C^{\mathsf{T}})^{-1}C\mu, \qquad\Sigma_c = \Sigma- \Sigma C^{\mathsf{T}}(C\Sigma C^{\mathsf{T}})^{-1}C\Sigma. \tag*{(28)} μ c = μ − Σ C T ( C Σ C T ) − 1 C μ , Σ c = Σ − Σ C T ( C Σ C T ) − 1 C Σ. (28)
(c) Constrained MAP and reduced Hessian. Consider
min θ J ( θ ) : = ∥ Φ θ − z ~ ∥ W 2 + θ T Σ 0 − 1 θ s.t. C θ = 0. (29) \min_{\theta}\ J(\theta) := \lVert\Phi\theta-\widetilde{z}\rVert_W^2 + \theta^{\mathsf{T}}\Sigma_0^{-1}\theta\qquad\text{s.t.}\qquad C\theta=0. \tag*{(29)} θ min J ( θ ) := ∥ Φ θ − z ∥ W 2 + θ T Σ 0 − 1 θ s.t. C θ = 0. (29)
The Hessian of 1 2 J \frac{1}{2}J 2 1 J is the unconstrained posterior precision Σ − 1 = Φ T W Φ + Σ 0 − 1 \Sigma^{-1}=\Phi^{\mathsf{T}}W\Phi+\Sigma_0^{-1} Σ − 1 = Φ T W Φ + Σ 0 − 1 . Its reduced Hessian is its restriction to the feasible subspace, T T Σ − 1 T T^{\mathsf{T}}\Sigma^{-1}T T T Σ − 1 T , obtained by writing θ = T φ \theta=T\varphi θ = T φ and differentiating twice in φ \varphi φ : it measures the curvature of the objective along the directions that the constraint leaves free, and is invertible even though Σ c \Sigma_c Σ c is singular.
Theorem 4.2 (Equivalence). Let Σ − 1 = Φ T W Φ + Σ 0 − 1 \Sigma^{-1}=\Phi^{\mathsf{T}}W\Phi+\Sigma_0^{-1} Σ − 1 = Φ T W Φ + Σ 0 − 1 be the precision of the unconstrained posterior (10) , and let construction (a) use the induced prior Σ φ , 0 = ( T T Σ 0 − 1 T ) − 1 \Sigma_{\varphi,0}=(T^{\mathsf{T}}\Sigma_0^{-1}T)^{-1} Σ φ , 0 = ( T T Σ 0 − 1 T ) − 1 . Then the three constructions produce one and the same Gaussian N ( μ c , Σ c ) \mathcal{N}(\mu_c,\Sigma_c) N ( μ c , Σ c ) , namely
Σ c = T ( T T Σ − 1 T ) − 1 T T , μ c = Σ c Σ − 1 μ . (30) \Sigma_c = T(T^{\mathsf{T}}\Sigma^{-1}T)^{-1}T^{\mathsf{T}}, \qquad\mu_c = \Sigma_c\Sigma^{-1}\mu. \tag*{(30)} Σ c = T ( T T Σ − 1 T ) − 1 T T , μ c = Σ c Σ − 1 μ . (30) Specifically:
(i) (Commutation.) Conditioning the prior N ( 0 , Σ 0 ) \mathcal{N}(0,\Sigma_0) N ( 0 , Σ 0 ) on (26) as ϵ → 0 \epsilon\to0 ϵ → 0 gives N ( 0 , T Σ φ , 0 T T ) \mathcal{N}(0,T\Sigma_{\varphi,0}T^{\mathsf{T}}) N ( 0 , T Σ φ , 0 T T ) , the induced prior of construction (a), and the data update and the constraint update commute:
N ( 0 , Σ 0 ) → data N ( μ , Σ ) constraint ↓ ↓ constraint N ( 0 , T Σ φ , 0 T T ) → data N ( μ c , Σ c ) \begin{CD}
\mathcal{N}(0,\Sigma_0) @>{\text{data}}>> \mathcal{N}(\mu,\Sigma) \\
@V{\text{constraint}}VV @VV{\text{constraint}}V \\
\mathcal{N}(0,T\Sigma_{\varphi,0}T^{\mathsf{T}}) @>{\text{data}}>> \mathcal{N}(\mu_c,\Sigma_c)
\end{CD} N ( 0 , Σ 0 ) constraint ↓ ⏐ N ( 0 , T Σ φ , 0 T T ) data data N ( μ , Σ ) ↓ ⏐ constraint N ( μ c , Σ c ) (ii) (Degenerate prior.) The posterior precision in (25) is Σ ϕ − 1 = T T Σ − 1 T \Sigma_{\phi}^{-1} = \mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mathbf{T} Σ ϕ − 1 = T T Σ − 1 T , and the law of T ϕ \mathbf{T}\phi T ϕ is N ( μ c , Σ c ) \mathcal{N}(\mu_c,\Sigma_c) N ( μ c , Σ c ) ; equivalently Σ c = T Σ ϕ T T \Sigma_c = \mathbf{T}\Sigma_\phi\mathbf{T}^{\mathsf{T}} Σ c = T Σ ϕ T T and μ c = T μ ϕ \mu_c = \mathbf{T}\mu_\phi μ c = T μ ϕ . On R n \mathbb{R}^n R n both the prior N ( 0 , T Σ ϕ , 0 T T ) \mathcal{N}(0,\mathbf{T}\Sigma_{\phi,0}\mathbf{T}^{\mathsf{T}}) N ( 0 , T Σ ϕ , 0 T T ) and the posterior N ( μ c , Σ c ) \mathcal{N}(\mu_c,\Sigma_c) N ( μ c , Σ c ) are degenerate, of rank n − n c n-n_c n − n c and supported on ker C \operatorname{ker} C ker C ; in the free coordinates ϕ \phi ϕ both are non-degenerate.
(iii) (Optimization.) The unique solution of (29) is μ c \mu_c μ c , and the inverse reduced Hessian equals Σ c \Sigma_c Σ c :
T ( T T ∇ 2 ( 1 2 J ) T ) − 1 T T = Σ c . \mathbf{T}\left(\mathbf{T}^{\mathsf{T}}\nabla^2\left(\tfrac{1}{2}J\right)\mathbf{T}\right)^{-1}\mathbf{T}^{\mathsf{T}} = \Sigma_c. T ( T T ∇ 2 ( 2 1 J ) T ) − 1 T T = Σ c . (iv) (Support.) C μ c = 0 \mathbf{C}\mu_c = 0 C μ c = 0 and C Σ c = 0 \mathbf{C}\Sigma_c = 0 C Σ c = 0 . Hence C θ = 0 \mathbf{C}\theta= 0 C θ = 0 almost surely: every sample of N ( μ c , Σ c ) \mathcal{N}(\mu_c,\Sigma_c) N ( μ c , Σ c ) is energy-preserving.
Proof. See Appendix A.3.
Part (iii) identifies μ c \mu_c μ c with the solution of the equality-constrained least-squares problem of [7 ] , computed there without reference to a posterior. Parts (i), (ii) and (iv) are the statements needed for uncertainty quantification.
Since the three agree, we are free to choose the most convenient, and we use construction (b): the EP-constrained posterior is then reached by two successive linear-Gaussian updates of the prior N ( 0 , Σ 0 ) \mathcal{N}(0,\Sigma_0) N ( 0 , Σ 0 ) ,
N ( 0 , Σ 0 ) → update 1: the data N ( μ , Σ ) → update 2: the constraint N ( μ c , Σ c ) (31) \mathcal{N}(0,\Sigma_0)
\xrightarrow{\text{update 1: the data}}
\mathcal{N}(\mu,\Sigma)
\xrightarrow{\text{update 2: the constraint}}
\mathcal{N}(\mu_c,\Sigma_c) \tag*{(31)} N ( 0 , Σ 0 ) update 1: the data N ( μ , Σ ) update 2: the constraint N ( μ c , Σ c ) (31)
where the first update is z ~ = Φ θ + e \widetilde{\mathbf{z}}=\Phi\theta+\mathbf{e} z = Φ θ + e and the second is y = C θ + η = 0 \mathbf{y}=\mathbf{C}\theta+\eta=0 y = C θ + η = 0 .
Update 1 is the GP-BayesOpInf regression (10) and is the only place where the data ( Φ , W , z ~ ) (\Phi,\mathbf{W},\widetilde{\mathbf{z}}) ( Φ , W , z ) enter; update 2 is the pseudo-observation update (27) , which sees the data solely through the pair ( μ , Σ ) (\mu,\Sigma) ( μ , Σ ) produced by update 1. The constraint is therefore applied as a post-processing step, leaving the regression of § 2 untouched.
Remark 4.3 (Where the data enter). Written out, (30) reads
Σ c = T ( T T ( Φ T W Φ ⏟ data + Σ 0 − 1 ⏟ prior ) T ) − 1 ⏟ T T , \Sigma_c = \mathbf{T}\underbrace{\left(\mathbf{T}^{\mathsf{T}}\left(\underbrace{\Phi^{\mathsf{T}}\mathbf{W}\Phi}_{\text{data}}+\underbrace{\Sigma_0^{-1}}_{\text{prior}}\right)\mathbf{T}\right)^{-1}}{}\mathbf{T}^{\mathsf{T}}, Σ c = T T T data Φ T W Φ + prior Σ 0 − 1 T − 1 T T ,
whereas the conditioned prior of part (i) has the same expression with the data term removed, T Σ ϕ , 0 T T = T ( T T Σ 0 − 1 T ) − 1 T T \mathbf{T}\Sigma_{\phi,0}\mathbf{T}^{\mathsf{T}} = \mathbf{T}(\mathbf{T}^{\mathsf{T}}\Sigma_0^{-1}\mathbf{T})^{-1}\mathbf{T}^{\mathsf{T}} T Σ ϕ , 0 T T = T ( T T Σ 0 − 1 T ) − 1 T T . The two are distinct objects: Σ ϕ , 0 \Sigma_{\phi,0} Σ ϕ , 0 carries no information from Φ \Phi Φ , while Σ ϕ \Sigma_\phi Σ ϕ does, and Σ c = T Σ ϕ T T \Sigma_c = \mathbf{T}\Sigma_\phi\mathbf{T}^{\mathsf{T}} Σ c = T Σ ϕ T T is the rank-( n − n c ) (n-n_c) ( n − n c ) image in R n \mathbb{R}^n R n of the non-degenerate Σ ϕ \Sigma_\phi Σ ϕ .
Remark 4.4 (On conditioning on a null event). { C θ = 0 } \{\mathbf{C}\theta= 0\} { C θ = 0 } has probability zero under N ( μ , Σ ) \mathcal{N}(\mu,\Sigma) N ( μ , Σ ) , and conditional distributions given null events are not unique in general, often referred to as the Borel–Kolmogorov paradox. Theorem 4.2 fixes the construction as the ϵ → 0 \epsilon\to0 ϵ → 0 limit of (26) . This limit coincides with the Gaussian conditional of the jointly Gaussian pair ( θ , C θ ) (\theta,\mathbf{C}\theta) ( θ , C θ ) , with the degenerate prior (a), and with the constrained MAP (c).
Remark 4.5 (Interpretation). In the practically relevant form (b), enforcing EP amounts to one Kalman measurement update of the GP-BayesOpInf posterior, with measurement matrix C \mathbf{C} C , measurement 0 0 0 and noise covariance ϵ 2 I \epsilon^2\mathbf{I} ϵ 2 I . The GP regression, the weights W i \mathbf{W}_i W i and the row posteriors (8) are unchanged. The correction applied to μ \mu μ is Σ C T \Sigma\mathbf{C}^{\mathsf{T}} Σ C T times a vector, so the posterior covariance redistributes it from the H ^ \widehat{\mathbf{H}} H -entries named by the constraint to every entry correlated with them. Within each row the H ^ \widehat{\mathbf{H}} H - and A ^ \widehat{\mathbf{A}} A -entries are correlated, because the linear and quadratic features are correlated along a trajectory. The update therefore also moves and sharpens A ^ \widehat{\mathbf{A}} A , and with it the decay rate α \alpha α of theorem 3.10, even though the constraint involves only H ^ \widehat{\mathbf{H}} H .
Exact sampling. Posterior samples are obtained without factorizing Σ c \Sigma_{\mathrm{c}} Σ c .
Proposition 4.6 (Sample correction). Let θ ∼ N ( μ , Σ ) \theta\sim\mathcal{N}(\mu,\boldsymbol{\Sigma}) θ ∼ N ( μ , Σ ) and η ∼ N ( 0 , ϵ 2 I ) \eta\sim\mathcal{N}(0,\epsilon^{2}\mathbf{I}) η ∼ N ( 0 , ϵ 2 I ) be independent. Then
θ ϵ : = θ − K ϵ ( C θ + η ) ∼ N ( μ ϵ , Σ ϵ ) , (32) \theta_{\epsilon} := \theta-\mathbf{K}_{\epsilon}(\mathbf{C}\theta+\eta)\sim\mathcal{N}(\mu_{\epsilon},\boldsymbol{\Sigma}_{\epsilon}), \tag*{(32)} θ ϵ := θ − K ϵ ( C θ + η ) ∼ N ( μ ϵ , Σ ϵ ) , (32) and for ϵ = 0 \epsilon=0 ϵ = 0 , with K 0 = Σ C T ( C Σ C T ) − 1 \mathbf{K}_{0}=\boldsymbol{\Sigma}\mathbf{C}^{\mathsf{T}}(\mathbf{C}\boldsymbol{\Sigma}\mathbf{C}^{\mathsf{T}})^{-1} K 0 = Σ C T ( C Σ C T ) − 1 the limit of K ϵ \mathbf{K}_{\epsilon} K ϵ in (27) , θ c = θ − K 0 C θ ∼ N ( μ c , Σ c ) \theta_{\mathrm{c}}=\theta-\mathbf{K}_{0}\mathbf{C}\theta\sim\mathcal{N}(\mu_{\mathrm{c}},\boldsymbol{\Sigma}_{\mathrm{c}}) θ c = θ − K 0 C θ ∼ N ( μ c , Σ c ) .
Proof. The mean is μ − K ϵ C μ \mu-\mathbf{K}_{\epsilon}\mathbf{C}\mu μ − K ϵ C μ . The covariance is ( I − K ϵ C ) Σ ( I − K ϵ C ) T + ϵ 2 K ϵ K ϵ T = Σ − 2 K ϵ C Σ + K ϵ ( C Σ C T + ϵ 2 I ) K ϵ T = Σ ϵ (\mathbf{I}-\mathbf{K}_{\epsilon}\mathbf{C})\boldsymbol{\Sigma}(\mathbf{I}-\mathbf{K}_{\epsilon}\mathbf{C})^{\mathsf{T}}+\epsilon^{2}\mathbf{K}_{\epsilon}\mathbf{K}_{\epsilon}^{\mathsf{T}}=\boldsymbol{\Sigma}-2\mathbf{K}_{\epsilon}\mathbf{C}\boldsymbol{\Sigma}+\mathbf{K}_{\epsilon}(\mathbf{C}\boldsymbol{\Sigma}\mathbf{C}^{\mathsf{T}}+\epsilon^{2}\mathbf{I})\mathbf{K}_{\epsilon}^{\mathsf{T}}=\boldsymbol{\Sigma}_{\epsilon} ( I − K ϵ C ) Σ ( I − K ϵ C ) T + ϵ 2 K ϵ K ϵ T = Σ − 2 K ϵ C Σ + K ϵ ( C Σ C T + ϵ 2 I ) K ϵ T = Σ ϵ , using K ϵ ( C Σ C T + ϵ 2 I ) = Σ C T \mathbf{K}_{\epsilon}(\mathbf{C}\boldsymbol{\Sigma}\mathbf{C}^{\mathsf{T}}+\epsilon^{2}\mathbf{I})=\boldsymbol{\Sigma}\mathbf{C}^{\mathsf{T}} K ϵ ( C Σ C T + ϵ 2 I ) = Σ C T .
Since Σ \boldsymbol{\Sigma} Σ is block diagonal, θ ∼ N ( μ , Σ ) \theta\sim\mathcal{N}(\mu,\boldsymbol{\Sigma}) θ ∼ N ( μ , Σ ) is drawn row by row exactly as in GP-BayesOpInf; the correction (32) is a fixed linear map (“Matheron’s rule” [21 ] ; for ϵ > 0 \epsilon>0 ϵ > 0 it is the perturbed-observation update of ensemble Kalman filtering [22 ] ). The Euclidean projection θ ↦ ( I − C T ( C C T ) − 1 C ) θ \theta\mapsto(\mathbf{I}-\mathbf{C}^{\mathsf{T}}(\mathbf{C}\mathbf{C}^{\mathsf{T}})^{-1}\mathbf{C})\theta θ ↦ ( I − C T ( C C T ) − 1 C ) θ also yields EP samples, but with the wrong law. It is correct only if Σ \boldsymbol{\Sigma} Σ is a multiple of the identity.
Closure under sequential updating. Digital-twin applications update the operator posterior online as new data arrive. The EP structure is preserved by any such linear-Gaussian update.
Proposition 4.7. Let θ ∼ N ( μ ′ , Σ ′ ) \theta\sim\mathcal{N}(\mu',\boldsymbol{\Sigma}') θ ∼ N ( μ ′ , Σ ′ ) with C μ ′ = 0 \mathbf{C}\mu'=0 C μ ′ = 0 and C Σ ′ = 0 \mathbf{C}\boldsymbol{\Sigma}'=0 C Σ ′ = 0 , and let y = G θ + e \mathbf{y}=\mathbf{G}\theta+\mathbf{e} y = G θ + e , e ∼ N ( 0 , R ) \mathbf{e}\sim\mathcal{N}(0,\mathbf{R}) e ∼ N ( 0 , R ) , R ≻ 0 \mathbf{R}\succ0 R ≻ 0 . Then the posterior N ( μ ′ ′ , Σ ′ ′ ) \mathcal{N}(\mu'',\boldsymbol{\Sigma}'') N ( μ ′′ , Σ ′′ ) given y \mathbf{y} y satisfies C μ ′ ′ = 0 \mathbf{C}\mu''=0 C μ ′′ = 0 and C Σ ′ ′ = 0 \mathbf{C}\boldsymbol{\Sigma}''=0 C Σ ′′ = 0 .
Proof. μ ′ ′ = μ ′ + Σ ′ G T S − 1 ( y − G μ ′ ) \mu''=\mu'+\boldsymbol{\Sigma}'\mathbf{G}^{\mathsf{T}}\mathbf{S}^{-1}(\mathbf{y}-\mathbf{G}\mu') μ ′′ = μ ′ + Σ ′ G T S − 1 ( y − G μ ′ ) and Σ ′ ′ = Σ ′ − Σ ′ G T S − 1 G Σ ′ \boldsymbol{\Sigma}''=\boldsymbol{\Sigma}'-\boldsymbol{\Sigma}'\mathbf{G}^{\mathsf{T}}\mathbf{S}^{-1}\mathbf{G}\boldsymbol{\Sigma}' Σ ′′ = Σ ′ − Σ ′ G T S − 1 G Σ ′ , with S = G Σ ′ G T + R \mathbf{S}=\mathbf{G}\boldsymbol{\Sigma}'\mathbf{G}^{\mathsf{T}}+\mathbf{R} S = G Σ ′ G T + R . Multiply on the left by C \mathbf{C} C and use C Σ ′ = 0 \mathbf{C}\boldsymbol{\Sigma}'=0 C Σ ′ = 0 .
Soft constraint
When EP is only approximately valid, take ϵ > 0 \epsilon>0 ϵ > 0 in (26) . To interpret ϵ \epsilon ϵ , fix the coordinates of vec ( H ^ ) \operatorname{vec}(\widehat{\mathbf{H}}) vec ( H ) in which the baseline prior is isotropic, N ( 0 , γ E P − 2 I ) \mathcal{N}(0,\gamma_{\mathrm{EP}}^{-2}\mathbf{I}) N ( 0 , γ EP − 2 I ) . Orthonormalize the rows of the H ^ \widehat{\mathbf{H}} H -block of C \mathbf{C} C in these coordinates (a QR factorization, which leaves ker C \ker\mathbf{C} ker C unchanged). Let P ⊥ : = C H ^ T C H ^ \mathbf{P}_{\perp}:=\mathbf{C}_{\widehat{\mathbf{H}}}^{\mathsf{T}}\mathbf{C}_{\widehat{\mathbf{H}}} P ⊥ := C H T C H and P E P : = I − P ⊥ \mathbf{P}_{\mathrm{EP}}:=\mathbf{I}-\mathbf{P}_{\perp} P EP := I − P ⊥ be the orthogonal projectors onto H E P ⊥ \mathcal{H}_{\mathrm{EP}}^{\perp} H EP ⊥ and H E P \mathcal{H}_{\mathrm{EP}} H EP . We write h 0 : = P ⊥ vec ( H ^ ) \mathbf{h}_{0}:=\mathbf{P}_{\perp}\operatorname{vec}(\widehat{\mathbf{H}}) h 0 := P ⊥ vec ( H ) for the vector of compact coefficients of the non-EP part H ^ 0 \widehat{\mathbf{H}}_{0} H 0 of section 3.4; H ^ 0 \widehat{\mathbf{H}}_{0} H 0 is an r × r 2 r\times r^{2} r × r 2 matrix and h 0 \mathbf{h}_{0} h 0 a vector, and we keep the two norms distinct.
Proposition 4.8 (Three readings of the soft constraint). The following define the same posterior:
(i) the pseudo-observation (26) with variance ϵ 2 \epsilon^{2} ϵ 2 ;
(ii) the anisotropic prior on vec ( H ^ ) \operatorname{vec}(\widehat{\mathbf{H}}) vec ( H ) with precision γ E P 2 P E P + γ 0 2 P ⊥ \gamma_{\mathrm{EP}}^{2}\mathbf{P}_{\mathrm{EP}}+\gamma_{0}^{2}\mathbf{P}_{\perp} γ EP 2 P EP + γ 0 2 P ⊥ , where γ 0 2 = γ E P 2 + ϵ − 2 \gamma_{0}^{2}=\gamma_{\mathrm{EP}}^{2}+\epsilon^{-2} γ 0 2 = γ EP 2 + ϵ − 2 ;
(iii) the penalized MAP problem (29) with the constraint replaced by the penalty ϵ − 2 ∥ C θ ∥ 2 \epsilon^{-2}\lVert\mathbf{C}\theta\rVert^{2} ϵ − 2 ∥ C θ ∥ 2 , together with its Hessian.
For ϵ → ∞ \epsilon\to\infty ϵ → ∞ one recovers GP-BayesOpInf. For ϵ → 0 \epsilon\to0 ϵ → 0 one recovers (28) .
Proof. All three negative log-posteriors equal 1 2 ∥ Φ θ − z ~ ∥ W 2 + 1 2 θ T ( Σ 0 − 1 + ϵ − 2 C T C ) θ \frac{1}{2}\lVert\mathbf{\Phi}\theta-\widetilde{\mathbf{z}}\rVert_{\mathbf{W}}^{2}+\frac{1}{2}\theta^{\mathsf{T}}(\boldsymbol{\Sigma}_{0}^{-1}+\epsilon^{-2}\mathbf{C}^{\mathsf{T}}\mathbf{C})\theta 2 1 ∥ Φ θ − z ∥ W 2 + 2 1 θ T ( Σ 0 − 1 + ϵ − 2 C T C ) θ up to constants, and γ E P 2 I + ϵ − 2 P ⊥ = γ E P 2 P E P + ( γ E P 2 + ϵ − 2 ) P ⊥ \gamma_{\mathrm{EP}}^{2}\mathbf{I}+\epsilon^{-2}\mathbf{P}_{\perp}=\gamma_{\mathrm{EP}}^{2}\mathbf{P}_{\mathrm{EP}}+(\gamma_{\mathrm{EP}}^{2}+\epsilon^{-2})\mathbf{P}_{\perp} γ EP 2 I + ϵ − 2 P ⊥ = γ EP 2 P EP + ( γ EP 2 + ϵ − 2 ) P ⊥ . The limits follow from (27) .
Remark 4.9 (Link to the local certificate). The soft posterior bounds the constant ϵ Q \epsilon_{Q} ϵ Q of theorem 3.14. Under N ( μ ϵ , Σ ϵ ) \mathcal{N}(\mu_{\epsilon},\boldsymbol{\Sigma}_{\epsilon}) N ( μ ϵ , Σ ϵ ) the non-EP component h 0 \mathbf{h}_{0} h 0 is Gaussian, and ϵ Q \epsilon_{Q} ϵ Q is bounded by its Euclidean norm, a 1-Lipschitz function. Gaussian concentration [23 Thm. 5.6] therefore gives an explicit upper bound on ϵ Q \epsilon_{Q} ϵ Q , in terms of the mean and covariance of h 0 \mathbf{h}_{0} h 0 alone, that holds with any prescribed posterior probability. Evaluating (22) at that bound certifies the local stability region at the same confidence, since ρ − \rho_{-} ρ − increases and ρ + \rho_{+} ρ + decreases with ϵ Q \epsilon_{Q} ϵ Q . The bound scales as 1 / γ 0 1/\gamma_{0} 1/ γ 0 , so the hyperparameter γ 0 \gamma_{0} γ 0 can be set from a physical estimate of the departure from EP.
Hyperparameter selection by marginal likelihood
We replace simulation-based screening by maximization of the marginal likelihood of the linear-Gaussian model (9) . The hyperparameters are the prior scales γ \gamma γ defining Σ 0 \boldsymbol{\Sigma}_0 Σ 0 — in practice one per operator block — together with γ 0 \gamma_0 γ 0 for the soft constraint. The GP hyperparameters are fitted beforehand and held fixed.
Proposition 4.10 (Closed-form evidence). For z ~ = Φ θ + e \widetilde{\mathbf{z}} = \boldsymbol{\Phi}\boldsymbol{\theta} + \mathbf{e} z = Φ θ + e , e ∼ N ( 0 , W − 1 ) \mathbf{e} \sim\mathcal{N}(\mathbf{0},\mathbf{W}^{-1}) e ∼ N ( 0 , W − 1 ) , θ ∼ N ( 0 , P 0 − 1 ) \boldsymbol{\theta} \sim\mathcal{N}(\mathbf{0},\mathbf{P}_0^{-1}) θ ∼ N ( 0 , P 0 − 1 ) with P 0 ≻ 0 \mathbf{P}_0 \succ0 P 0 ≻ 0 , and N = dim z ~ N = \dim\widetilde{\mathbf{z}} N = dim z ,
log p ( z ~ ) = − N 2 log 2 π + 1 2 log ∣ W ∣ + 1 2 log ∣ P 0 ∣ − 1 2 log ∣ P ∣ − 1 2 ( z ~ T W z ~ − μ T P μ ) . (33) \log p(\widetilde{\mathbf{z}}) = -\frac{N}{2}\log2\pi+ \frac{1}{2}\log\lvert\mathbf{W}\rvert+ \frac{1}{2}\log\lvert\mathbf{P}_0\rvert- \frac{1}{2}\log\lvert\mathbf{P}\rvert- \frac{1}{2}\left(\widetilde{\mathbf{z}}^{\mathsf{T}}\mathbf{W}\widetilde{\mathbf{z}}-\boldsymbol{\mu}^{\mathsf{T}}\mathbf{P}\boldsymbol{\mu}\right). \tag*{(33)} log p ( z ) = − 2 N log 2 π + 2 1 log ∣ W ∣ + 2 1 log ∣ P 0 ∣ − 2 1 log ∣ P ∣ − 2 1 ( z T W z − μ T P μ ) . (33) where P = Φ T W Φ + P 0 \mathbf{P} = \boldsymbol{\Phi}^{\mathsf{T}}\mathbf{W}\boldsymbol{\Phi} + \mathbf{P}_0 P = Φ T W Φ + P 0 and μ = P − 1 Φ T W z ~ \boldsymbol{\mu} = \mathbf{P}^{-1}\boldsymbol{\Phi}^{\mathsf{T}}\mathbf{W}\widetilde{\mathbf{z}} μ = P − 1 Φ T W z .
Proof. See Appendix § 15 .§ 5 .
For the soft constraint, apply (33) with the anisotropic precision of theorem 4.8(ii). For the hard constraint, apply it in the reduced coordinates of construction (a), with Φ → Φ T \boldsymbol{\Phi} \to\boldsymbol{\Phi}\mathbf{T} Φ → Φ T and P 0 = T T Σ 0 − 1 T \mathbf{P}_0 = \mathbf{T}^{\mathsf{T}}\boldsymbol{\Sigma}_0^{-1}\mathbf{T} P 0 = T T Σ 0 − 1 T . All quantities in (33) are already computed by the posterior update, and the gradient with respect to the prior scales follows from standard matrix identities. The objective is smooth and deterministic, so quasi-Newton methods apply. It replaces the random, discontinuous objective of simulation-based screening. Note that the hyperparameters should be selected under the constrained model . Selecting them for the unconstrained model and then conditioning is not equivalent in general.
Probabilistic stability certificates
Energy preservation removes the cubic obstruction almost surely. Global boundedness still requires the inequality α = − λ max ( sym ( A ^ ) ) > 0 \alpha= -\lambda_{\max}(\operatorname{sym}(\widehat{\mathbf{A}})) > 0 α = − λ m a x ( sym ( A )) > 0 (or the shifted condition of theorem 3.12). This inequality defines an open cone, not a subspace, so conditioning on it does not preserve Gaussianity. We therefore quantify it rather than impose it.
Certified sets and the probability of stability
For a margin δ ≥ 0 \delta\ge0 δ ≥ 0 , define the certified sets
S δ : = { θ : C θ = 0 , λ max ( sym A ^ ) < − δ } , (34) \mathcal{S}_{\delta} := \left\{\boldsymbol{\theta} : \mathbf{C}\boldsymbol{\theta} = 0,\ \lambda_{\max}\left(\operatorname{sym}\widehat{\mathbf{A}}\right) < -\delta\right\}, \tag*{(34)} S δ := { θ : C θ = 0 , λ m a x ( sym A ) < − δ } , (34)
S δ s h : = { θ : C θ = 0 , ∃ m ∈ R r : λ max ( sym ( A ^ + L m ) ) < − δ } ⊇ S δ , (35) \mathcal{S}_{\delta}^{\mathrm{sh}} := \left\{\boldsymbol{\theta} : \mathbf{C}\boldsymbol{\theta} = 0,\ \exists\mathbf{m} \in\mathbb{R}^{r} : \lambda_{\max}\left(\operatorname{sym}\left(\widehat{\mathbf{A}}+\mathbf{L}_{\mathbf{m}}\right)\right) < -\delta\right\} \supseteq\mathcal{S}_{\delta}, \tag*{(35)} S δ sh := { θ : C θ = 0 , ∃ m ∈ R r : λ m a x ( sym ( A + L m ) ) < − δ } ⊇ S δ , (35)
where A ^ , L m \widehat{\mathbf{A}},\mathbf{L}_{\mathbf{m}} A , L m are the operators encoded by θ \boldsymbol{\theta} θ . By theorems 3.10 and 3.12, every θ ∈ S δ s h \boldsymbol{\theta} \in\mathcal{S}_{\delta}^{\mathrm{sh}} θ ∈ S δ sh yields a ROM that is globally ultimately bounded and input-to-state stable, with decay rate at least δ \delta δ . We call
p δ : = P θ ∼ N ( μ c , Σ c ) [ θ ∈ S δ ] (resp. p δ s h ) (36) p_{\delta} := \mathbb{P}_{\boldsymbol{\theta}\sim\mathcal{N}(\boldsymbol{\mu}_{c},\boldsymbol{\Sigma}_{c})}\left[\boldsymbol{\theta} \in\mathcal{S}_{\delta}\right] \qquad\text{(resp. }p_{\delta}^{\mathrm{sh}}\text{)} \tag*{(36)} p δ := P θ ∼ N ( μ c , Σ c ) [ θ ∈ S δ ] (resp. p δ sh ) (36)
the posterior probability of certified stability . Unlike a finite-horizon simulation test, p δ p_{\delta} p δ is a property of the posterior. It holds for all initial conditions and all bounded inputs, and every factor in it has a precise meaning. For the soft posterior N ( μ ϵ , Σ ϵ ) \mathcal{N}(\boldsymbol{\mu}_{\epsilon},\boldsymbol{\Sigma}_{\epsilon}) N ( μ ϵ , Σ ϵ ) , the set is replaced by the local certificate of theorem 3.14, evaluated at a prescribed operating radius.
Monte Carlo estimation with exact confidence bounds
Draw θ 1 , … , θ N s \theta_1,\ldots,\theta_{N_s} θ 1 , … , θ N s with theorem 4.6, evaluate α k = − λ max ( sym A ^ k ) \alpha_k=-\lambda_{\max}(\operatorname{sym}\widehat{A}_k) α k = − λ m a x ( sym A k ) (an r × r r\times r r × r symmetric eigenproblem), k = 1 , … , N s k=1,\ldots,N_s k = 1 , … , N s , and, if α k ≤ δ \alpha_k\le\delta α k ≤ δ , optionally solve (21) . Let X X X be the number of certified samples, and p ^ = X / N s \widehat{p}=X/N_s p = X / N s . The Clopper–Pearson interval [24 ]
[ B − 1 ( β 2 ; X , N s − X + 1 ) , B − 1 ( 1 − β 2 ; X + 1 , N s − X ) ] (37) \left[B^{-1}\left(\frac{\beta}{2};X,N_s-X+1\right),B^{-1}\left(1-\frac{\beta}{2};X+1,N_s-X\right)\right] \tag*{(37)} [ B − 1 ( 2 β ; X , N s − X + 1 ) , B − 1 ( 1 − 2 β ; X + 1 , N s − X ) ] (37)
with B − 1 ( ⋅ ; a , b ) B^{-1}(\cdot;a,b) B − 1 ( ⋅ ; a , b ) the Beta quantile function, has coverage at least 1 − β 1-\beta 1 − β . Since X ∼ Bin ( N s , p δ ) X\sim\operatorname{Bin}(N_s,p_\delta) X ∼ Bin ( N s , p δ ) , the interval (37) is random through X X X , and it contains the true p δ p_\delta p δ with probability at least 1 − β 1-\beta 1 − β . This holds for every N s N_s N s , with no normal approximation. In particular, if all samples are certified, then p δ ≥ 1 − ε p_\delta\ge1-\varepsilon p δ ≥ 1 − ε holds with confidence 1 − β 1-\beta 1 − β provided N s ≥ ln ( 1 / β ) / ε N_s\ge\ln(1/\beta)/\varepsilon N s ≥ ln ( 1/ β ) / ε (since ( 1 − ε ) N s ≤ e − ε N s (1-\varepsilon)^{N_s}\le e^{-\varepsilon N_s} ( 1 − ε ) N s ≤ e − ε N s ). For ε = 10 − 3 \varepsilon=10^{-3} ε = 1 0 − 3 and β = 0.05 \beta=0.05 β = 0.05 this gives N s ≈ 3000 N_s\approx3000 N s ≈ 3000 eigenvalue problems of size r r r .
The certified posterior
The probability p δ p_\delta p δ says how much of the posterior is certified, but prediction requires the certified models themselves. We therefore restrict the posterior to them.
Let Π c \Pi_c Π c denote the probability measure N ( μ c , Σ c ) \mathcal{N}(\mu_c,\Sigma_c) N ( μ c , Σ c ) and let p δ = Π c ( S δ ) > 0 p_\delta=\Pi_c(S_\delta)>0 p δ = Π c ( S δ ) > 0 . The certified posterior is the conditional law
Π c ( ⋅ ∣ S δ ) = Π c ( ⋅ ∩ S δ ) p δ , (38) \Pi_c(\cdot\mid S_\delta)=\frac{\Pi_c(\cdot\cap S_\delta)}{p_\delta}, \tag*{(38)} Π c ( ⋅ ∣ S δ ) = p δ Π c ( ⋅ ∩ S δ ) , (38)
that is, Π c \Pi_c Π c restricted to S δ S_\delta S δ and renormalized. Unlike { C θ = 0 } \{C\theta=0\} { C θ = 0 } , which has probability zero and required the limiting construction of § 4.1 , the set S δ S_\delta S δ has positive probability, so conditioning on it is elementary and is achieved by rejection: one simply discards the samples that fail the test.
Proposition 5.1 (Exact sampling of the certified posterior). Samples of Π c \Pi_c Π c accepted if and only if they lie in S δ S_\delta S δ are exact samples of (5.5). The acceptance rate is p δ p_\delta p δ .
Proof. For any set A A A , P [ θ ∈ A ∣ θ ∈ S δ ] = Π c ( A ∩ S δ ) / p δ \mathbb{P}[\theta\in A\mid\theta\in S_\delta]=\Pi_c(A\cap S_\delta)/p_\delta P [ θ ∈ A ∣ θ ∈ S δ ] = Π c ( A ∩ S δ ) / p δ , which is (38) .
No extra computation is involved: the draws of § 5.2 are already tested one by one, and the accepted ones are the sample. The normalizing constant p δ p_\delta p δ is never needed, and is obtained as the acceptance rate. A small p δ p_\delta p δ makes the procedure wasteful, which is the honest cost of the method.
Restricting the posterior is not only a matter of presentation; without it the probabilistic moments of the predicted state need not be finite. Energy preservation already rules out blow-up in finite time, since (17) bounds V ˙ \dot{V} V ˙ by a quadratic in ∥ q ^ ∥ \lVert\widehat{q}\rVert ∥ q ∥ , but samples with α ≤ 0 \alpha\le0 α ≤ 0 still grow exponentially, and their contribution to E ∥ q ^ ( t ) ∥ \mathbb{E}\lVert\widehat{q}(t)\rVert E ∥ q ( t )∥ grows without bound as t t t increases. The restriction removes exactly those samples.
Proposition 5.2 (Moments of certified predictions). Let δ > 0 \delta>0 δ > 0 , u ‾ < ∞ \overline{u}<\infty u < ∞ and θ ∼ Π c ( ⋅ ∣ S δ ) \theta\sim\Pi_c(\cdot\mid S_\delta) θ ∼ Π c ( ⋅ ∣ S δ ) . Then sup t ≥ 0 E ∥ q ^ ( t ) ∥ ℓ < ∞ \sup_{t\ge0}\mathbb{E}\lVert\widehat{q}(t)\rVert^\ell<\infty sup t ≥ 0 E ∥ q ( t ) ∥ ℓ < ∞ for every ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 .
Proof. By theorem 3.10 and α > δ \alpha>\delta α > δ , ∥ q ^ ( t ) ∥ ≤ ∥ q ^ 0 ∥ + ( ∥ c ^ ∥ + ∥ B ^ ∥ u ‾ ) / δ \lVert\widehat{q}(t)\rVert\le\lVert\widehat{q}_0\rVert+(\lVert\widehat{c}\rVert+\lVert\widehat{B}\rVert\overline{u})/\delta ∥ q ( t )∥ ≤ ∥ q 0 ∥ + (∥ c ∥ + ∥ B ∥ u ) / δ for all t t t . The right-hand side does not depend on t t t and is an affine function of norms of Gaussian vectors, so it has finite moments of every order under Π c \Pi_c Π c . Conditioning on an event of probability p δ > 0 p_\delta>0 p δ > 0 multiplies them by at most 1 / p δ 1/p_\delta 1/ p δ .
Uniformity in t t t is what makes the supremum finite, and it requires δ > 0 \delta>0 δ > 0 strictly: the ultimate bound is proportional to 1 / δ 1/\delta 1/ δ , and models with arbitrarily slow decay would not have integrable bounds. Theorem 5.2 is what justifies reporting posterior predictive means and variances over the whole time horizon.
Remark 5.3 (Comparison with simulation-based screening). Simulation-based screening rejects hyperparameters on the basis of trajectory amplitudes over a finite horizon, for one initial condition, using O ( 10 ) O(10) O ( 10 ) ODE solves. Theorem 5.1 rejects samples on the basis of a global certificate, using O ( 10 3 – 10 4 ) O(10^{3}\text{--}10^{4}) O ( 1 0 3 – 1 0 4 ) eigenvalue problems of size r r r . It returns a well-defined distribution together with its normalizing probability p δ p_{\delta} p δ , which is reported rather than hidden.
Conservative systems: constraining the linear part
The certificates of section 5 ask for a decay rate, and a large class of problems has none to offer. A semidiscrete system is called conservative when its right-hand side neither creates nor destroys the energy E = 1 2 ∥ q ∥ 2 E = \frac{1}{2}\lVert\mathbf{q}\rVert^{2} E = 2 1 ∥ q ∥ 2 : with u = 0 \mathbf{u} = 0 u = 0 this means
q T H F ( q ⊗ q ) = 0 for all q , sym ( A F ) = 0 , (39) \mathbf{q}^{\mathsf{T}}\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q}) = 0 \quad\text{for all }\mathbf{q}, \qquad\operatorname{sym}(\mathbf{A}_{F}) = 0, \tag*{(39)} q T H F ( q ⊗ q ) = 0 for all q , sym ( A F ) = 0 , (39)
so that d E / d t = 0 \mathrm{d}E/\mathrm{d}t = 0 d E / d t = 0 along every trajectory. Centered discretizations of transport and dispersion are of this kind, as are the spatial discretizations of the Korteweg–de Vries, Euler and shallow-water equations away from forcing and dissipation; section 8.2 uses one. These systems make the structure imposed here especially valuable and the certificates of section 5 especially uninformative: nothing damps an error once it is made, and theorems 3.10 and 3.12 certify an attracting ball that the equation does not possess. The purpose of this section is to say what replaces the certificate there.
Skew-symmetric linear part
The first condition in (39) is energy preservation of the quadratic term and is inherited by Galerkin projection (theorem 3.6). The second is inherited in the same way: if sym ( A F ) = 0 \operatorname{sym}(\mathbf{A}_{F}) = 0 sym ( A F ) = 0 , then V T A F V \mathbf{V}^{\mathsf{T}}\mathbf{A}_{F}\mathbf{V} V T A F V is skew-symmetric for every V \mathbf{V} V with orthonormal columns. It is therefore natural to ask of the inferred linear operator what the projected one satisfies. Write
A s k : = { A ^ ∈ R r × r : sym ( A ^ ) = 0 } . (40) \mathcal{A}_{\mathrm{sk}} := \left\{\widehat{\mathbf{A}} \in\mathbb{R}^{r \times r} : \operatorname{sym}(\widehat{\mathbf{A}}) = 0\right\}. \tag*{(40)} A sk := { A ∈ R r × r : sym ( A ) = 0 } . (40)
Since sym ( A ^ ) = 1 2 ( A ^ + A ^ T ) \operatorname{sym}(\widehat{\mathbf{A}}) = \frac{1}{2}(\widehat{\mathbf{A}} + \widehat{\mathbf{A}}^{\mathsf{T}}) sym ( A ) = 2 1 ( A + A T ) , the condition is exactly A ^ T = − A ^ \widehat{\mathbf{A}}^{\mathsf{T}} = -\widehat{\mathbf{A}} A T = − A : the members of A s k \mathcal{A}_{\mathrm{sk}} A sk are the skew-symmetric matrices, whose strictly upper triangle is free and determines the rest. Hence A s k \mathcal{A}_{\mathrm{sk}} A sk is a linear subspace of dimension r ( r − 1 ) / 2 r(r-1)/2 r ( r − 1 ) /2 , defined by the r ( r + 1 ) / 2 r(r+1)/2 r ( r + 1 ) /2 independent equalities
A ^ i i = 0 ( 1 ≤ i ≤ r ) , A ^ i j + A ^ j i = 0 ( i < j ) , (41) \widehat{A}_{ii} = 0 \quad(1 \le i \le r), \qquad\widehat{A}_{ij} + \widehat{A}_{ji} = 0 \quad(i < j), \tag*{(41)} A ii = 0 ( 1 ≤ i ≤ r ) , A ij + A j i = 0 ( i < j ) , (41)
one for each entry on or above the diagonal of the symmetric matrix sym ( A ^ ) \operatorname{sym}(\widehat{\mathbf{A}}) sym ( A ) . Asking for both structures at once gives a bound that holds for every operator in the family, with no inequality to check.
Theorem 6.1 (Linear growth). Let H ^ ∈ H E P \widehat{\mathbf{H}} \in\mathcal{H}_{\mathrm{EP}} H ∈ H EP and A ^ ∈ A s k \widehat{\mathbf{A}} \in\mathcal{A}_{\mathrm{sk}} A ∈ A sk . Then, with K ( u ˉ ) K(\bar{\mathbf{u}}) K ( u ˉ ) as in (18) ,
∥ q ^ ( t ) ∥ ≤ ∥ q ^ 0 ∥ + K ( u ˉ ) t for all t ≥ 0 , (42) \lVert\widehat{\mathbf{q}}(t)\rVert\le\lVert\widehat{\mathbf{q}}_{0}\rVert+ K(\bar{\mathbf{u}})t \qquad\text{for all } t \ge0, \tag*{(42)} ∥ q ( t )∥ ≤ ∥ q 0 ∥ + K ( u ˉ ) t for all t ≥ 0 , (42) whatever c ^ \widehat{\mathbf{c}} c , B ^ \widehat{\mathbf{B}} B , q ^ 0 \widehat{\mathbf{q}}_{0} q 0 and whatever the spectrum of A ^ \widehat{\mathbf{A}} A . If in addition c ^ = 0 \widehat{\mathbf{c}} = 0 c = 0 and u ≡ 0 \mathbf{u} \equiv0 u ≡ 0 , then the reduced energy is conserved exactly: ∥ q ^ ( t ) ∥ = ∥ q ^ 0 ∥ \lVert\widehat{\mathbf{q}}(t)\rVert= \lVert\widehat{\mathbf{q}}_{0}\rVert ∥ q ( t )∥ = ∥ q 0 ∥ for all t t t .
Proof. Both quadratic forms in (12) vanish identically: q ^ T H ^ ( q ^ ⊗ q ^ ) = 0 \widehat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{H}}(\widehat{\mathbf{q}}\otimes\widehat{\mathbf{q}}) = 0 q T H ( q ⊗ q ) = 0 since H ^ ∈ H E P \widehat{\mathbf{H}} \in\mathcal{H}_{\mathrm{EP}} H ∈ H EP , and q ^ T A ^ q ^ = q ^ T sym ( A ^ ) q ^ = 0 \widehat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{A}}\widehat{\mathbf{q}} = \widehat{\mathbf{q}}^{\mathsf{T}}\operatorname{sym}(\widehat{\mathbf{A}})\widehat{\mathbf{q}} = 0 q T A q = q T sym ( A ) q = 0 since A ^ ∈ A s k \widehat{\mathbf{A}} \in\mathcal{A}_{\mathrm{sk}} A ∈ A sk . Hence
V ˙ = q ^ T c ^ + q ^ T B ^ u ≤ K ( u ˉ ) ∥ q ^ ∥ , (43) \dot{V} = \widehat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{c}} + \widehat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{B}}\mathbf{u} \le K(\bar{\mathbf{u}})\lVert\widehat{\mathbf{q}}\rVert, \tag*{(43)} V ˙ = q T c + q T B u ≤ K ( u ˉ ) ∥ q ∥ , (43)
which is 0 when c ^ = 0 \hat{c}=0 c ^ = 0 and u ≡ 0 \mathbf{u}\equiv0 u ≡ 0 , giving the second claim. For the first, ∥ q ^ ∥ = 2 V \|\hat{q}\|=\sqrt{2V} ∥ q ^ ∥ = 2 V is not differentiable where q ^ = 0 \hat{q}=0 q ^ = 0 , so fix ε > 0 \varepsilon>0 ε > 0 and use the smoothed norm W ε : = 2 V + ε 2 = ∥ q ^ ∥ 2 + ε 2 W_{\varepsilon}:=\sqrt{2V+\varepsilon^{2}}=\sqrt{\|\hat{q}\|^{2}+\varepsilon^{2}} W ε := 2 V + ε 2 = ∥ q ^ ∥ 2 + ε 2 , whose radicand never vanishes. It is differentiable in t t t , and by (43) ,
d W ε d t = V ˙ ∥ q ^ ∥ 2 + ε 2 ≤ K ( u ˉ ) ∥ q ^ ∥ ∥ q ^ ∥ 2 + ε 2 ≤ K ( u ˉ ) , (44) \frac{\mathrm{d}W_{\varepsilon}}{\mathrm{d}t}=\frac{\dot{V}}{\sqrt{\|\hat{q}\|^{2}+\varepsilon^{2}}}\leq K(\bar{u})\frac{\|\hat{q}\|}{\sqrt{\|\hat{q}\|^{2}+\varepsilon^{2}}}\leq K(\bar{u}), \tag*{(44)} d t d W ε = ∥ q ^ ∥ 2 + ε 2 V ˙ ≤ K ( u ˉ ) ∥ q ^ ∥ 2 + ε 2 ∥ q ^ ∥ ≤ K ( u ˉ ) , (44)
where the last step is because ∥ q ^ ∥ ≤ ∥ q ^ ∥ 2 + ε 2 \|\hat{q}\|\leq\sqrt{\|\hat{q}\|^{2}+\varepsilon^{2}} ∥ q ^ ∥ ≤ ∥ q ^ ∥ 2 + ε 2 . Integrating (44) from 0 to t t t gives
∥ q ^ ( t ) ∥ ≤ W ε ( t ) = W ε ( 0 ) + ∫ 0 t d W ε d s ( s ) d s ≤ ∥ q ^ 0 ∥ 2 + ε 2 + K ( u ˉ ) t , \|\hat{q}(t)\|\leq W_{\varepsilon}(t)=W_{\varepsilon}(0)+\int_{0}^{t}\frac{\mathrm{d}W_{\varepsilon}}{\mathrm{d}s}(s)\,\mathrm{d}s\leq\sqrt{\|\hat{q}_{0}\|^{2}+\varepsilon^{2}}+K(\bar{u})t, ∥ q ^ ( t ) ∥ ≤ W ε ( t ) = W ε ( 0 ) + ∫ 0 t d s d W ε ( s ) d s ≤ ∥ q ^ 0 ∥ 2 + ε 2 + K ( u ˉ ) t ,
and letting ε → 0 \varepsilon\to0 ε → 0 gives (42) .
Theorem 6.1 is weaker than theorems 3.9 and 3.10: it gives no attracting set and no decay, only that nothing blows up in finite time and that the energy moves no faster than the constant term allows. For a conservative problem that is the right conclusion: the equation conserves energy, so it neither grows nor decays, and a reduced model that decayed would misrepresent the physics. Since it asks for no condition on the operators, the bound holds for every draw of the posterior below rather than for a certified subset, so no probability has to be estimated and § 5 is not used.
Remark 6.2 (Why the certificates say nothing here). Under A s k \mathcal{A}_{\mathrm{sk}} A sk the certified sets (34) are empty by construction: λ max ( sym A ^ ) = 0 \lambda_{\max}(\operatorname{sym}\hat{A})=0 λ m a x ( sym A ^ ) = 0 exactly, so the strict inequality λ max ( sym A ^ ) < − δ \lambda_{\max}(\operatorname{sym}\hat{A})<-\delta λ m a x ( sym A ^ ) < − δ fails for every δ ≥ 0 \delta\geq0 δ ≥ 0 and p δ = 0 p_{\delta}=0 p δ = 0 . This is a property of the model class, not an outcome of the inference, and it is the reason why the certificates are reported in § 8.2.1 for the energy-preserving posterior alone.
The posterior
Imposing (41) requires no new machinery: it adds rows to the constraint matrix of § 4 . Let C A ∈ R n a × n C_{A}\in\mathbb{R}^{n_{a}\times n} C A ∈ R n a × n , with n a = r ( r + 1 ) / 2 n_{a}=r(r+1)/2 n a = r ( r + 1 ) /2 , apply (41) to the A ^ \hat{A} A ^ -entries of all rows of O ^ \hat{O} O ^ , with zero columns elsewhere, so that, in the notation of (23) ,
A ^ ∈ A s k ⟺ C A θ = 0 , C H A : = [ C C A ] , H ^ ∈ H E P and A ^ ∈ A s k ⟺ C H A θ = 0. (45) \hat{A}\in\mathcal{A}_{\mathrm{sk}}\Longleftrightarrow C_{A}\theta=0,\qquad C_{HA}:=\begin{bmatrix}C\\C_{A}\end{bmatrix},\qquad\hat{H}\in\mathcal{H}_{\mathrm{EP}}\ \text{and}\ \hat{A}\in\mathcal{A}_{\mathrm{sk}}\Longleftrightarrow C_{HA}\theta=0. \tag*{(45)} A ^ ∈ A sk ⟺ C A θ = 0 , C H A := [ C C A ] , H ^ ∈ H EP and A ^ ∈ A sk ⟺ C H A θ = 0. (45)
The two blocks act on disjoint coordinates of θ \theta θ , so C A C_{A} C A has full row rank n a n_{a} n a , rank C H A = n c + n a \operatorname{rank}C_{HA}=n_{c}+n_{a} rank C H A = n c + n a , and the constrained subspace has dimension n − n c − n a n-n_{c}-n_{a} n − n c − n a .
Everything in § 4 is stated for a matrix of full row rank and for its kernel, and therefore holds verbatim with C C C replaced by C H A C_{HA} C H A . The posterior is again the Kalman update (28) of the GP-BayesOpInf posterior, now with innovation 0 − C H A μ 0-C_{HA}\mu 0 − C H A μ ; it is again degenerate with support ker C H A \ker C_{HA} ker C H A , so both structures hold almost surely rather than approximately; its three readings in theorem 4.2 are unchanged; and exact samples are again produced by the single linear correction of theorem 4.6,
θ c = θ − K H A C H A θ , K H A = Σ C H A T ( C H A Σ C H A T ) − 1 . (46) \theta_{c}=\theta-K_{HA}C_{HA}\theta,\qquad K_{HA}=\Sigma C_{HA}^{\mathsf{T}}\left(C_{HA}\Sigma C_{HA}^{\mathsf{T}}\right)^{-1}. \tag*{(46)} θ c = θ − K H A C H A θ , K H A = Σ C H A T ( C H A Σ C H A T ) − 1 . (46)
The soft version of § 4.2 and the evidence of theorem 4.10 carry over in the same way, the latter with T \mathsf{T} T replaced by a basis of ker C H A \ker C_{HA} ker C H A . The algorithms of § 7 are unchanged except for the row count of C C C .
Remark 6.3 (The sparsity pattern survives). The structure used in theorem 3.5 and § 4.2 is preserved. Each row of C A C_{A} C A has one or two nonzero entries, each entry of A ^ \hat{A} A ^ appears in exactly one of them, and no coordinate of θ \theta θ is touched by both blocks. Hence C H A C_{HA} C H A still has one nonzero per column, its rows are still mutually orthogonal, and C H A C H A T = diag ( ν 1 , … , ν n c + n a ) C_{H_A}C_{H_A}^{\mathsf{T}} = \operatorname{diag}(\nu_1,\ldots,\nu_{n_c+n_a}) C H A C H A T = diag ( ν 1 , … , ν n c + n a ) with ν ℓ ∈ { 1 , 2 , 3 } \nu_\ell\in\{1,2,3\} ν ℓ ∈ { 1 , 2 , 3 } , so orthonormalizing the rows remains a rescaling by ν ℓ − 1 / 2 \nu_\ell^{-1/2} ν ℓ − 1/2 rather than a factorization. The cost of the second structure is one block of extra rows and nothing else.
Algorithms and computational cost
Everything up to the row posteriors (8) is GP-BayesOpInf [4 ] : the POD compression, the Gaussian process fits that return the state estimates, the time-derivative estimates and their weight matrices, the data matrix D ~ \widetilde{\mathbf{D}} D , and the row-wise Gaussian posteriors themselves. We take all of it unchanged and do not restate it here.
What this work adds enters at three points: i) Energy preservation is linear in the operator coefficients, so conditioning the posterior on it is a single Kalman update; ii) The prior scales are chosen by maximizing the marginal likelihood instead of by the simulation search of [4 ] ; And iii) stability is reported by the certificate of § 5 , evaluated draw by draw, rather than by integrating a few samples over a finite window. Figure 1 places all three against the inherited pipeline, and the algorithms below give only what is new.
Figure 1. The method in one picture. The pipeline is GP-BayesOpInf [4 ] ; the shaded items are this work. Energy preservation enters the Gaussian posterior as a single Kalman update, the prior scales come from the marginal likelihood rather than from a search over simulated trajectories, and the certificate replaces the simulation test. None of the three leaves closed form.
The constraint matrix. Algorithm 1 writes the n c = ( r + 2 3 ) n_c = \binom{r+2}{3} n c = ( 3 r + 2 ) rows of C \mathbf{C} C directly, one per cubic monomial, with at most three nonzeros each. It is built once, from r r r alone, and never from data. We write idx ( i , ⋅ ) \operatorname{idx}(i,\cdot) idx ( i , ⋅ ) for the position in θ \boldsymbol{\theta} θ of a coefficient of row i i i , in the compact ordering of H ^ \widehat{\mathbf{H}} H .
The update. Algorithm 2 is the whole of theorem 4.2 in five lines: a gain K \mathbf{K} K , a corrected mean, and, if the covariance is wanted, a corrected covariance. Setting ϵ > 0 \epsilon> 0 ϵ > 0 gives the soft variant of § 4.2 ; ϵ = 0 \epsilon= 0 ϵ = 0 is the hard constraint. Nothing here is iterative.
Algorithm 1 Assemble the energy-preservation constraint matrix C \mathbf{C} C
Input: reduced dimension r r r , index map idx \operatorname{idx} idx
Output: sparse C ∈ R n c × n \mathbf{C} \in\mathbb{R}^{n_c \times n} C ∈ R n c × n , n c = ( r + 2 3 ) n_c = \binom{r+2}{3} n c = ( 3 r + 2 )
ℓ ← 0 \ell\gets0 ℓ ← 0
for a = 1 , … , r a = 1,\ldots,r a = 1 , … , r do ▷ monomial q ^ a 3 \hat{q}_a^3 q ^ a 3
ℓ ← ℓ + 1 \ell\gets\ell+ 1 ℓ ← ℓ + 1 ; C ℓ , idx ( a , a a ) ← 1 C_{\ell,\operatorname{idx}(a,aa)} \gets1 C ℓ , idx ( a , aa ) ← 1
end for
for $1 \leq a < c \leq r$ do
ℓ ← ℓ + 1 \ell\gets\ell+ 1 ℓ ← ℓ + 1 ; C ℓ , idx ( a , a c ) ← 1 C_{\ell,\operatorname{idx}(a,ac)} \gets1 C ℓ , idx ( a , a c ) ← 1 ; C ℓ , idx ( c , a a ) ← 1 C_{\ell,\operatorname{idx}(c,aa)} \gets1 C ℓ , idx ( c , aa ) ← 1 ▷ q ^ a 2 q ^ c \hat{q}_a^2\hat{q}_c q ^ a 2 q ^ c
ℓ ← ℓ + 1 \ell\gets\ell+ 1 ℓ ← ℓ + 1 ; C ℓ , idx ( a , c c ) ← 1 C_{\ell,\operatorname{idx}(a,cc)} \gets1 C ℓ , idx ( a , cc ) ← 1 ; C ℓ , idx ( c , a c ) ← 1 C_{\ell,\operatorname{idx}(c,ac)} \gets1 C ℓ , idx ( c , a c ) ← 1 ▷ q ^ a q ^ c 2 \hat{q}_a\hat{q}_c^2 q ^ a q ^ c 2
end for
for $1 \leq a < b < c \leq r$ do ▷ q ^ a q ^ b q ^ c \hat{q}_a\hat{q}_b\hat{q}_c q ^ a q ^ b q ^ c
ℓ ← ℓ + 1 \ell\gets\ell+ 1 ℓ ← ℓ + 1 ; C ℓ , idx ( a , b c ) ← 1 C_{\ell,\operatorname{idx}(a,bc)} \gets1 C ℓ , idx ( a , b c ) ← 1 ; C ℓ , idx ( b , a c ) ← 1 C_{\ell,\operatorname{idx}(b,ac)} \gets1 C ℓ , idx ( b , a c ) ← 1 ; C ℓ , idx ( c , a b ) ← 1 C_{\ell,\operatorname{idx}(c,ab)} \gets1 C ℓ , idx ( c , ab ) ← 1
end for
Algorithm 2 Energy-preserving posterior (hard: ϵ = 0 \epsilon= 0 ϵ = 0 ; soft: ϵ > 0 \epsilon> 0 ϵ > 0 )
Input: row posteriors ( μ i , Σ i ) i = 1 r (\mu_i,\Sigma_i)_{i=1}^{r} ( μ i , Σ i ) i = 1 r ; C \mathbf{C} C ; ϵ ≥ 0 \epsilon\geq0 ϵ ≥ 0
Output: gain K \mathbf{K} K , mean μ c \mu_c μ c and, if needed, covariance Σ c \Sigma_c Σ c (written μ ϵ , Σ ϵ \mu_\epsilon,\Sigma_\epsilon μ ϵ , Σ ϵ when ϵ > 0 \epsilon> 0 ϵ > 0 , as in § 4.2 )
μ ← [ μ 1 ; … ; μ r ] \mu\gets[\mu_1;\ldots;\mu_r] μ ← [ μ 1 ; … ; μ r ] ; Σ ← blkdiag ( Σ 1 , … , Σ r ) \Sigma\gets\operatorname{blkdiag}(\Sigma_1,\ldots,\Sigma_r) Σ ← blkdiag ( Σ 1 , … , Σ r ) ▷ never formed densely
G ← Σ C T \mathbf{G} \gets\Sigma\mathbf{C}^{\mathsf T} G ← Σ C T ▷ block-wise; C \mathbf{C} C has ≤ 3 \leq3 ≤ 3 nonzeros per row
S ← C G + ϵ 2 I n c \mathbf{S} \gets\mathbf{C}\mathbf{G} + \epsilon^2\mathbf{I}_{n_c} S ← CG + ϵ 2 I n c ; Cholesky S = L S L S T \mathbf{S} = \mathbf{L}_S\mathbf{L}_S^{\mathsf T} S = L S L S T
K ← G S − 1 \mathbf{K} \gets\mathbf{G}\mathbf{S}^{-1} K ← G S − 1 ▷ two triangular solves
μ c ← μ − K ( C μ ) \mu_c \gets\mu- \mathbf{K}(\mathbf{C}\mu) μ c ← μ − K ( C μ ) ▷ corrected mean
Σ c ← Σ − K G T \Sigma_c \gets\Sigma- \mathbf{K}\mathbf{G}^{\mathsf T} Σ c ← Σ − K G T ▷ only if the covariance itself is needed
Drawing and certifying. Algorithm 3 draws from the unconstrained posterior and corrects each draw by the same gain, which is exact by theorem 4.6, so no constrained factorization is ever formed. Each draw is then certified, or not, by an eigenvalue problem of size r r r and, when the plain test fails, one small semidefinite program.
Prior scales. GP-BayesOpInf searches over candidate scales and keeps the candidate that reproduces the training data best among those whose sampled ROMs stay bounded over a finite window, so every candidate costs a set of trajectory solves. We maximize the marginal likelihood (33) instead, which costs little: it is evaluated in the reduced coordinates Φ T \Phi^{\mathsf T} Φ T with prior P 0 = T T Σ 0 ( γ ) − 1 T \mathbf{P}_0 = \mathbf{T}^{\mathsf T}\Sigma_0(\gamma)^{-1}\mathbf{T} P 0 = T T Σ 0 ( γ ) − 1 T under the hard constraint, and with the anisotropic prior of theorem 4.8(ii) under the soft one, and maximized in log γ \log\gamma log γ by L-BFGS on a smooth, deterministic objective. The GP kernel hyperparameters are fitted upstream by their own marginal likelihood, as in [4 ] , and held fixed throughout.
Cost. Let d = 1 + r + r ( r + 1 ) / 2 + p d = 1 + r + r(r + 1)/2 + p d = 1 + r + r ( r + 1 ) /2 + p , n = r d n = rd n = r d and n c = ( r + 2 3 ) n_c = \binom{r+2}{3} n c = ( 3 r + 2 ) . Steps 1–2 of algorithm 2 cost O ( n c d ) O(n_cd) O ( n c d ) , because each column of C T \mathbf{C}^{\mathsf T} C T touches at most three blocks of size d d d , and two constraints interact only if they share a row index. The Cholesky factorization of S \mathbf{S} S dominates at 1 3 n c 3 \frac{1}{3}n_c^3 3 1 n c 3 flops: about 1.2 × 10 9 1.2 \times10^9 1.2 × 1 0 9 for r = 20 r = 20 r = 20 and 5 × 10 11 5 \times10^{11} 5 × 1 0 11 for r = 40 r = 40 r = 40 , that is, well under a minute on a workstation, and it is paid once. Each draw in algorithm 3 costs O ( r d 2 ) O(rd^2) O ( r d 2 ) for the row draws, O ( n c 2 ) O(n_c^2) O ( n c 2 ) for the correction and O ( r 3 ) O(r^3) O ( r 3 ) for the eigenvalue problem; the semidefinite program has r + 1 r + 1 r + 1 scalar variables and one r × r r \times r r × r inequality. For substantially larger r r r , the reduced parametrization of theorem 4.2(i), of dimension n − n c n - n_c n − n c , can be combined with solvers that exploit the Kronecker structure Φ = I r ⊗ D ˉ \Phi= \mathbf{I}_r \otimes\bar{\mathbf{D}} Φ = I r ⊗ D ˉ .
Algorithm 3 Sampling, certification and reporting
Input: ( μ i , Σ i ) (\mu_i,\Sigma_i) ( μ i , Σ i ) with Cholesky factors L i L_i L i ; C \mathbf{C} C , K \mathbf{K} K , ϵ \epsilon ϵ ; margin δ ≥ 0 \delta\ge0 δ ≥ 0 ; input bound u ˉ \bar{u} u ˉ ; N s N_s N s ; confidence 1 − β 1-\beta 1 − β
Output: p ^ δ \hat{p}_\delta p ^ δ and interval (37) ; certified draws A \mathcal{A} A ; radii { R k } \{R_k\} { R k }
X ← 0 X \leftarrow0 X ← 0 ; A ← ∅ \mathcal{A} \leftarrow\varnothing A ← ∅
for k = 1 , … , N s k=1,\ldots,N_s k = 1 , … , N s do
draw o ^ i ← μ i + L i ξ i \hat{o}_i \leftarrow\mu_i+L_i\xi_i o ^ i ← μ i + L i ξ i , ξ i ∼ N ( 0 , I d ) \xi_i\sim\mathcal{N}(0,I_d) ξ i ∼ N ( 0 , I d ) , and set θ ← [ o ^ 1 ; … ; o ^ r ] \theta\leftarrow[\hat{o}_1;\ldots;\hat{o}_r] θ ← [ o ^ 1 ; … ; o ^ r ]
θ k ← θ − K ( C θ + η ) \theta_k \leftarrow\theta-\mathbf{K}(\mathbf{C}\theta+\eta) θ k ← θ − K ( C θ + η ) , η ∼ N ( 0 , ϵ 2 I ) \eta\sim\mathcal{N}(0,\epsilon^2I) η ∼ N ( 0 , ϵ 2 I ) ▷ theorem 4.6
extract c ^ k \hat{c}_k c ^ k , A ^ k \hat{A}_k A ^ k , H ^ k \hat{H}_k H ^ k , B ^ k \hat{B}_k B ^ k ; α k ← − λ max ( sym A ^ k ) \alpha_k\leftarrow-\lambda_{\max}(\operatorname{sym}\hat{A}_k) α k ← − λ m a x ( sym A ^ k ) ; g k ← c ^ k g_k\leftarrow\hat{c}_k g k ← c ^ k
if α k ≤ δ \alpha_k\le\delta α k ≤ δ then
solve (21) for ( m k , t k ) (m_k,t_k) ( m k , t k ) ; α k ← − t k \alpha_k\leftarrow-t_k α k ← − t k ; g k ← c ^ k + A ^ k m k + H ^ k ( m k ⊗ m k ) g_k\leftarrow\hat{c}_k+\hat{A}_km_k+\hat{H}_k(m_k\otimes m_k) g k ← c ^ k + A ^ k m k + H ^ k ( m k ⊗ m k )
end if
certified iff α k > δ \alpha_k>\delta α k > δ , and, if ϵ > 0 \epsilon>0 ϵ > 0 , also α k 2 > 4 ϵ Q , k ( ∥ g k ∥ + ∥ B ^ k ∥ u ˉ ) \alpha_k^2>4\epsilon_{Q,k}(\lVert g_k\rVert+\lVert\hat{B}_k\rVert\bar{u}) α k 2 > 4 ϵ Q , k (∥ g k ∥ + ∥ B ^ k ∥ u ˉ ) with ϵ Q , k = ∥ P ⊥ vec ( H ^ k ) ∥ \epsilon_{Q,k}=\lVert P_\perp\operatorname{vec}(\hat{H}_k)\rVert ϵ Q , k = ∥ P ⊥ vec ( H ^ k )∥
if certified then
X ← X + 1 X\leftarrow X+1 X ← X + 1 ; A ← A ∪ { θ k } \mathcal{A}\leftarrow\mathcal{A}\cup\{\theta_k\} A ← A ∪ { θ k } ; R k ← ( ∥ g k ∥ + ∥ B ^ k ∥ u ˉ ) / α k R_k\leftarrow(\lVert g_k\rVert+\lVert\hat{B}_k\rVert\bar{u})/\alpha_k R k ← (∥ g k ∥ + ∥ B ^ k ∥ u ˉ ) / α k ▷ or ρ − \rho_- ρ − of (22)
end if
end for
p ^ δ ← X / N s \hat{p}_\delta\leftarrow X/N_s p ^ δ ← X / N s and its interval (37) ; integrate the ROM for θ ∈ A \theta\in\mathcal{A} θ ∈ A and report quantiles and moments (theorem 5.2)
Numerical experiments
We study a forced viscous Burgers’ equation and an unforced Korteweg–de Vries equation, both in one spatial dimension on a periodic domain, and a two-dimensional Burgers’ equation. Energy preservation is not implied by convection alone: it must hold for the spatially discrete quadratic operator. We therefore use energy-preserving semidiscretizations; by theorem 3.6, their intrusive Galerkin ROMs inherit this property when projected in the corresponding discrete L 2 L^2 L 2 inner product. The unconstrained GP-BayesOpInf posterior of [4 ] serves as a baseline for assessing the effect of imposing this structure on the operator posterior.
The first problem is developed in full: the energy identity, the choice of discretization and the reading of every reported quantity are given there once. The second and third share the convective term, its discretization and the observation protocol, so only what differs is stated.
Observation model and reported quantities. The observation model follows [4 ] . For each of L = 5 L=5 L = 5 parameter values we integrate the full-order model, observe m m m snapshots at random times in the training window, and add relative Gaussian noise of level ξ \xi ξ ; a single POD basis of dimension r r r is built from all noisy snapshots, centered on their mean q ˉ \bar{q} q ˉ , and a Gaussian process is fitted to each of the L r Lr L r reduced coordinate series. Data are withheld in two ways, and both are used only to measure prediction error: no snapshot is taken from the second half of the time domain, and one further parameter value ( a ⋆ , b ⋆ ) (a^\star,b^\star) ( a ⋆ , b ⋆ ) , not among the L L L used for training, is reserved entirely. Nominal values are r = 8 r=8 r = 8 , m = 30 m=30 m = 30 , ξ = 3 % \xi=3\% ξ = 3% for problem 1, r = 10 r=10 r = 10 , m = 120 m=120 m = 120 , ξ = 3 % \xi=3\% ξ = 3% for problem 2, and r = 6 r=6 r = 6 , m = 30 m=30 m = 30 , ξ = 3 % \xi=3\% ξ = 3% for problem 3. Each reported configuration uses one fixed random seed, stated with the code. Prior scales are selected by maximizing the evidence of theorem 4.10; no trajectory is integrated to choose a hyperparameter. They are selected separately for each posterior: under the constrained model for ours and under the unconstrained model for the baseline, since reusing the constrained scales would handicap the latter.
Three quantities are reported, in each case for the constrained and the unconstrained posterior.
(i) Constraint violation max k ∥ C θ k ∥ \max_k\lVert\mathbf{C}\theta_k\rVert max k ∥ C θ k ∥ over posterior draws, which theorem 4.2(iv) predicts to be at machine precision under the constraint, together with the relative energy-preservation defect of the posterior mean.
(ii) Accuracy: relative state error against the full-order solution on the training and prediction windows, for the training trajectories and for ( a ⋆ , b ⋆ ) (a^\star,b^\star) ( a ⋆ , b ⋆ ) , with the projection error of the full-order solution as the attainable floor.
(iii) Stability: the certified probability p ^ δ \hat{p}_{\delta} p ^ δ with its Clopper–Pearson interval (37) from N s = 3000 N_s = 3000 N s = 3000 draws, and the posterior distributions of α \alpha α and R R R from (18) .
Problem 1: forced viscous Burgers
On the periodic domain x ∈ [ 0 , 1 [ x \in[0,1[ x ∈ [ 0 , 1 [ ,
∂ w ∂ t + w ∂ w ∂ x = ν ∂ 2 w ∂ x 2 + ϕ 1 ( x ) u 1 ( t ) + ϕ 2 ( x ) u 2 ( t ) , w ( x , 0 ) = 1 5 sin 2 π x . (47) \frac{\partial w}{\partial t} + w\frac{\partial w}{\partial x} = \nu\frac{\partial^2 w}{\partial x^2} + \phi_1(x)u_1(t) + \phi_2(x)u_2(t), \qquad w(x,0) = \frac{1}{5}\sin2\pi x. \tag*{(47)} ∂ t ∂ w + w ∂ x ∂ w = ν ∂ x 2 ∂ 2 w + ϕ 1 ( x ) u 1 ( t ) + ϕ 2 ( x ) u 2 ( t ) , w ( x , 0 ) = 5 1 sin 2 π x . (47)
with actuator profiles and input
ϕ 1 ( x ) = sin 3 ( 2 π x ) , ϕ 2 ( x ) = cos 3 ( 2 π x ) , u ( t ; a , b ) = ( a sin 2 π t b sin 4 π t ) . (48) \phi_1(x) = \sin^3(2\pi x), \qquad\phi_2(x) = \cos^3(2\pi x), \qquad\mathbf{u}(t;a,b) = \begin{pmatrix} a\sin2\pi t \\ b\sin4\pi t \end{pmatrix}. \tag*{(48)} ϕ 1 ( x ) = sin 3 ( 2 π x ) , ϕ 2 ( x ) = cos 3 ( 2 π x ) , u ( t ; a , b ) = ( a sin 2 π t b sin 4 π t ) . (48)
The profiles are smooth, zero-mean, and one-periodic. They are quarter-period shifts of one another and are orthogonal in space, ∫ 0 1 ϕ 1 ϕ 2 d x = 0 \int_0^1 \phi_1\phi_2\,\mathrm{d}x = 0 ∫ 0 1 ϕ 1 ϕ 2 d x = 0 . The cubic profiles contain both the first and third spatial harmonics, unlike single-mode sinusoidal actuators. Since the forcing has zero spatial mean and the periodic convection and diffusion terms also have zero mean, the zero mean of the initial condition is preserved. The amplitude of the initial condition is of the same order as the response the actuators sustain, so that the training window is not dominated by a decaying transient. The initial condition is the same for every trajectory; only ( a , b ) (a,b) ( a , b ) varies.
Energy preservation and full-order discretization. Let E ( t ) = 1 2 ∫ 0 1 w 2 d x E(t) = \frac{1}{2}\int_0^1 w^2\,\mathrm{d}x E ( t ) = 2 1 ∫ 0 1 w 2 d x denote the energy, the continuous counterpart of the reduced Lyapunov function (11) . With f = ϕ 1 u 1 + ϕ 2 u 2 f = \phi_1u_1 + \phi_2u_2 f = ϕ 1 u 1 + ϕ 2 u 2 , differentiation and integration by parts give
d E d t = − ∫ 0 1 w 2 w x d x + ν ∫ 0 1 w w x x d x + ∫ 0 1 w f d x = − ν ∫ 0 1 w x 2 d x + ∫ 0 1 w f d x . (49) \frac{\mathrm{d}E}{\mathrm{d}t} = -\int_0^1 w^2w_x\,\mathrm{d}x + \nu\int_0^1 ww_{xx}\,\mathrm{d}x + \int_0^1 wf\,\mathrm{d}x = -\nu\int_0^1 w_x^2\,\mathrm{d}x + \int_0^1 wf\,\mathrm{d}x. \tag*{(49)} d t d E = − ∫ 0 1 w 2 w x d x + ν ∫ 0 1 w w xx d x + ∫ 0 1 w f d x = − ν ∫ 0 1 w x 2 d x + ∫ 0 1 w f d x . (49)
The convective contribution vanishes because ∫ 0 1 w 2 w x d x = [ w 3 / 3 ] 0 1 = 0 \int_0^1 w^2w_x\,\mathrm{d}x = [w^3/3]_0^1 = 0 ∫ 0 1 w 2 w x d x = [ w 3 /3 ] 0 1 = 0 under periodic boundary conditions, as the two limits are the same point; likewise, periodicity removes the boundary term when the viscous term is integrated by parts. Thus convection preserves energy, viscosity dissipates it, and forcing can inject or remove it. Energy preservation here refers to the quadratic convective term, as in theorem 3.1, not to the full forced, viscous equation.
The data of this experiment come from a simulation rather than from measurement, so the discretization is part of the experimental setup and is reported here for reproducibility. Trajectories collected from the physical system would satisfy (49) by construction; in a simulation the property has to be built into the discrete operator, because a continuum energy identity does not automatically survive spatial discretization. Let x i = i Δ x x_i = i\Delta x x i = i Δ x , i = 0 , … , N − 1 i = 0,\ldots,N-1 i = 0 , … , N − 1 , with indices interpreted periodically, and write w i ( t ) = w ( x i , t ) w_i(t) = w(x_i,t) w i ( t ) = w ( x i , t ) and q = ( w 0 , … , w N − 1 ) T \mathbf{q} = (w_0,\ldots,w_{N-1})^\mathsf{T} q = ( w 0 , … , w N − 1 ) T . Centered differences applied to w w x ww_x w w x are not energy preserving in general. Since ∂ x ( w 2 ) = 2 w w x \partial_x(w^2) = 2ww_x ∂ x ( w 2 ) = 2 w w x , the convective term can be split as a λ 1 2 ∂ x ( w 2 ) + ( 1 − λ ) w w x \lambda\frac{1}{2}\partial_x(w^2) + (1-\lambda)ww_x λ 2 1 ∂ x ( w 2 ) + ( 1 − λ ) w w x for any λ \lambda λ , and discretizing the two parts by centered differences gives a one-parameter family of second-order approximations. All members agree in the continuum, but only λ = 2 3 \lambda= \frac{2}{3} λ = 3 2 preserves the discrete energy (Appendix A.6), and it gives
[ H F ( q ⊗ q ) ] i = − 1 3 w i + 1 2 − w i − 1 2 2 Δ x − 1 3 w i w i + 1 − w i − 1 2 Δ x . (50) \left[\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q})\right]_i = -\frac{1}{3}\frac{w_{i+1}^2-w_{i-1}^2}{2\Delta x} - \frac{1}{3}w_i\frac{w_{i+1}-w_{i-1}}{2\Delta x}. \tag*{(50)} [ H F ( q ⊗ q ) ] i = − 3 1 2Δ x w i + 1 2 − w i − 1 2 − 3 1 w i 2Δ x w i + 1 − w i − 1 . (50)
We verify that q T H F ( q ⊗ q ) \mathbf{q}^{\mathsf{T}}\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q}) q T H F ( q ⊗ q ) vanishes to machine precision on random states before any inference is performed; otherwise every subsequent statement about energy preservation would be a statement about the discretization rather than about the method. The viscous term makes sym ( A F ) ≠ 0 \operatorname{sym}(A_F) \ne0 sym ( A F ) = 0 , so the constraint of § 6 does not apply here, since imposing it would delete the viscosity.
We take ν = 10 − 2 \nu= 10^{-2} ν = 1 0 − 2 , a Reynolds number of 10 2 10^2 1 0 2 . The equation is discretized on a uniform periodic grid with spacing Δ x = 2 − 10 \Delta x = 2^{-10} Δ x = 2 − 10 , giving a full-order state dimension of N = 1024 N = 1024 N = 1024 , and integrated over t ∈ [ 0 , 2 ] t \in[0,2] t ∈ [ 0 , 2 ] with an adaptive explicit Runge–Kutta scheme; the training window is [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Results for problem 1
Figure 2 shows the data. The reduced dimension is r = 8 r = 8 r = 8 , which retains 0.99635 of the centered snapshot energy, so d = 47 d = 47 d = 47 , n = r d = 376 n = rd = 376 n = r d = 376 and n c = ( 10 3 ) = 120 n_c = \binom{10}{3} = 120 n c = ( 3 10 ) = 120 . The constraint matrix has full rank 120, ker C \ker C ker C has dimension 256, and ∥ C T ∥ = 3.3 × 10 − 16 \lVert C^{\mathsf T}\rVert= 3.3 \times10^{-16} ∥ C T ∥ = 3.3 × 1 0 − 16 .
Figure 2. What the method is given for problem 1. Left: the m = 30 m = 30 m = 30 observation times of each training trajectory, drawn independently and uniformly in [ 0 , 1 ] [0,1] [ 0 , 1 ] with the endpoints included. Right: one observed snapshot against the solution it was taken from, at relative noise level ξ = 3 % \xi= 3\% ξ = 3% . The reference solution of the right panel, the second half of the time domain and the held-out ( a ⋆ , b ⋆ ) (a^\star,b^\star) ( a ⋆ , b ⋆ ) are never seen by the inference.
Exactness. As theorem 4.2(iv) predicts, every draw of the constrained posterior satisfies (13) to machine precision: ∥ C θ k ∥ ≤ 3.7 × 10 − 14 \lVert C\theta_k\rVert\le3.7 \times10^{-14} ∥ C θ k ∥ ≤ 3.7 × 1 0 − 14 over 200 draws, and ∥ C μ ∥ = 3.0 × 10 − 14 \lVert C\mu\rVert= 3.0 \times10^{-14} ∥ C μ ∥ = 3.0 × 1 0 − 14 at the mean. The unconstrained posterior violates it by ∥ C μ ∥ = 25.8 \lVert C\mu\rVert= 25.8 ∥ C μ ∥ = 25.8 , with a median of 28.8 over draws, so the gap is structural rather than numerical. Constructions (a) and (b) of theorem 4.2 agree elementwise to 5.7 × 10 − 11 5.7 \times10^{-11} 5.7 × 1 0 − 11 .
Prior scales. Maximizing (33) under each model gives scales of the same order, the largest difference being on H ^ \widehat H H , which the constrained model shrinks nearly twice as hard. The unconstrained evidence is the larger of the two, log p ( z ~ ) = 5790.6 \log p(\widetilde z) = 5790.6 log p ( z ) = 5790.6 against 5226.7, as it must be, since removing the constraint can only improve the fit to the observed derivatives; the accuracy reported below shows that this does not translate into predictive skill.
Stability. At the constrained posterior mean the linear part is not dissipative, α = − 0.771 \alpha= -0.771 α = − 0.771 , and (18) certifies only two of the 3000 draws. The shifted certificate (21) succeeds: at the posterior mean α ⋆ = + 0.364 \alpha^\star= +0.364 α ⋆ = + 0.364 with ∥ m ⋆ ∥ = 3.90 \lVert m^\star\rVert= 3.90 ∥ m ⋆ ∥ = 3.90 , and over the draws
p ^ δ = 0.9533 , Clopper–Pearson 95% : [ 0.9452 , 0.9606 ] , \widehat p_{\delta} = 0.9533,\qquad\text{Clopper--Pearson 95\%}: \ [0.9452, 0.9606], p δ = 0.9533 , Clopper–Pearson 95% : [ 0.9452 , 0.9606 ] ,
with α ⋆ \alpha^\star α ⋆ ranging over [ − 0.676 , 0.578 ] [-0.676, 0.578] [ − 0.676 , 0.578 ] and median 0.309; Figure 3 shows both distributions. The certified radius has median R = 126 R = 126 R = 126 and ninetieth percentile 266, against a realized max t ∥ q ^ − m ⋆ ∥ = 7.27 \max_t \|\hat{q} - m^\star\| = 7.27 max t ∥ q ^ − m ⋆ ∥ = 7.27 along the reference trajectories: the guarantee is finite and explicit but, as expected of a bound that holds for all inputs in the box and for all time, roughly seventeen times larger than the excursion actually taken.
Figure 3. Problem 1: the two certificates over N s = 3000 N_s = 3000 N s = 3000 draws of the constrained posterior. The plain certificate of (18) is negative on all but two draws; the shifted certificate (21) is positive on 95.33% of them. The vertical line marks the threshold δ = 0 \delta= 0 δ = 0 .
Why the plain certificate fails. That α < 0 \alpha< 0 α < 0 does not contradict the continuum energy identity (49) , nor is it an artefact of where the coordinates sit. The basis is centered, so q ^ = 0 \hat{q} = 0 q ^ = 0 corresponds to q = q ˉ q = \bar{q} q = q ˉ , the reference state the ROM expands about, and the snapshot trajectory does orbit around q ^ = 0 \hat{q} = 0 q ^ = 0 : over the training window the time average of q ^ \hat{q} q ^ has norm 0.14 against a root-mean-square ∥ q ^ ∥ \|\hat{q}\| ∥ q ^ ∥ of 2.82, the residual being the sampling gap between the m m m random observation times and the fine grid. The intrusive reduced model about the same q ˉ \bar{q} q ˉ is dissipative, α = + 1.446 \alpha= +1.446 α = + 1.446 . The inferred A ^ \hat{A} A ^ is simply not an estimate of that operator: the two differ by 99.8% in norm, because the dissipation of A F A_F A F sits in stiff modes the data never excite — the intrusive sym A ^ \operatorname{sym}\hat{A} sym A ^ has eigenvalues from − 4.3 × 10 3 -4.3 \times10^3 − 4.3 × 1 0 3 to − 1.45 -1.45 − 1.45 , the inferred one from − 10.9 -10.9 − 10.9 to + 0.77 +0.77 + 0.77 — and along the observed trajectory A ^ q ^ \hat{A}\hat{q} A ^ q ^ and H ^ ( q ^ ⊗ q ^ ) \hat{H}(\hat{q} \otimes\hat{q}) H ^ ( q ^ ⊗ q ^ ) are identifiable only in combination. What the data determine is the behavior near the states they visit, not the linear part in isolation.
The shift recovers exactly that combination. By (20) the change of variables s = q ^ − m s = \hat{q} - m s = q ^ − m leaves H ^ \hat{H} H ^ untouched and replaces A ^ \hat{A} A ^ by A ^ + L m \hat{A} + L_m A ^ + L m , so α ⋆ \alpha^\star α ⋆ certifies the operator the data actually constrain. Write α m = − λ max ( sym ( A ^ + L m ) ) \alpha_m = -\lambda_{\max}(\operatorname{sym}(\hat{A} + L_m)) α m = − λ m a x ( sym ( A ^ + L m )) for the decay rate certified at a center m m m . Since the basis is centered, q ^ = 0 \hat{q} = 0 q ^ = 0 corresponds to q = q ˉ q = \bar{q} q = q ˉ , so the plain certificate is already the one taken at the center the data suggest. At that center the intrusive model is dissipative, α 0 = + 1.446 \alpha_0 = +1.446 α 0 = + 1.446 , and the inferred one is not, α 0 = − 0.771 \alpha_0 = -0.771 α 0 = − 0.771 . The semidefinite program finds a center at which it is, returning α ⋆ = + 0.364 \alpha^\star= +0.364 α ⋆ = + 0.364 at ∥ m ⋆ ∥ = 3.90 \|m^\star\| = 3.90 ∥ m ⋆ ∥ = 3.90 .
No certificate of section 5 applies to the unconstrained posterior, since its cubic term does not vanish and cannot be dropped from V ˙ \dot{V} V ˙ ; reporting α \alpha α for it would report a quantity that certifies nothing. The empirical counterpart is that 23% of its draws produce a reduced model that diverges before t = 2 t = 2 t = 2 , against none of the certified draws.
Accuracy. Table 1 reports the relative state error of the posterior-mean prediction over 200 draws, on the training window [ 0 , 1 ] [0,1] [ 0 , 1 ] and on the prediction window [ 1 , 2 ] [1,2] [ 1 , 2 ] from which no data were taken, together with the projection error of the full-order solution as the attainable floor.
Table 1. Problem 1, r = 8 r=8 r = 8 : relative state error of the ensemble mean over 200 posterior draws. “diverged” counts the draws, out of 200, whose reduced model failed to integrate to t = 2 t=2 t = 2 ; those draws are excluded from the unconstrained ensemble mean, which therefore flatters it.
On the training window both posteriors sit at the projection floor, as they should: the data constrain the dynamics there and the constraint costs nothing. The two separate on the prediction
window, where the constrained posterior stays within a factor of three of the floor while the unconstrained one is a further factor of 1.7 to 2.9 worse — and that comparison is generous to the baseline, since its diverged draws are simply absent from its ensemble mean. The held-out parameter value behaves like the training values for both, so the gap is not an extrapolation-in-( a , b ) (a,b) ( a , b ) effect but an extrapolation-in-time one, which is what Figure 4 shows: the two posteriors are indistinguishable while data are available and separate once the model has to carry itself.
Figure 4. Problem 1 at the held-out parameter value ( a ⋆ , b ⋆ ) = ( 1.15 , 0.85 ) (a^\star,b^\star)=(1.15,0.85) ( a ⋆ , b ⋆ ) = ( 1.15 , 0.85 ) : the three leading reduced coordinates, posterior mean and 95% band over 200 draws, against the projected full-order solution. The shaded strip is the training window; no data were taken from t > 1 t>1 t > 1 . The axes are scaled to the truth and the constrained band, and the unconstrained band leaves them as t t t approaches 2, where some of its surviving draws spike; a further 32 of its 200 draws diverged outright and are absent from the ensemble.
Problem 2: Korteweg–de Vries
The equation and its parameters are those of [11 , 8 ] . On the periodic domain x ∈ [ 0 , P [ x \in[0,P[ x ∈ [ 0 , P [ with P = 2 P=2 P = 2 , and with no forcing,
∂ w ∂ t + η w ∂ w ∂ x + γ 2 ∂ 3 w ∂ x 3 = 0 , w ( x , 0 ; a , b ) = a sech ( b ( x − P / 2 ) ) , (51) \frac{\partial w}{\partial t}+\eta w\frac{\partial w}{\partial x}+\gamma^{2}\frac{\partial^{3}w}{\partial x^{3}}=0,\qquad w(x,0;a,b)=a\,\operatorname{sech}\bigl(b(x-P/2)\bigr), \tag*{(51)} ∂ t ∂ w + η w ∂ x ∂ w + γ 2 ∂ x 3 ∂ 3 w = 0 , w ( x , 0 ; a , b ) = a sech ( b ( x − P /2 ) ) , (51)
with γ = 0.022 \gamma=0.022 γ = 0.022 and η = 1 \eta=1 η = 1 . The amplitude and width of the initial pulse are the parameters: ( a , b ) (a,b) ( a , b ) ranges over [ 0.3 , 0.5 ] × [ 0.8 , 1.2 ] [0.3,0.5]\times[0.8,1.2] [ 0.3 , 0.5 ] × [ 0.8 , 1.2 ] , with the four corners and the center used for training and ( a ⋆ , b ⋆ ) = ( 0.45 , 0.9 ) (a^\star,b^\star)=(0.45,0.9) ( a ⋆ , b ⋆ ) = ( 0.45 , 0.9 ) held out. Observations are taken on t ∈ [ 0 , 15 ] t\in[0,15] t ∈ [ 0 , 15 ] , predictions carried to t = 30 t=30 t = 30 , and r = 10 r=10 r = 10 , as in the reference. Only the equation is shared with those references: they infer from a dense noise-free trajectory, whereas the data here are the m = 120 m=120 m = 120 noisy snapshots per trajectory of the observation model above, so the results are not comparable and no comparison is attempted.
Energy preservation and full-order discretization. Three things distinguish this problem from the first, and they are the reason for including it. There is no input, so B \mathbf{B} B is absent, the feature vector has length d = 1 + r + r ( r + 1 ) / 2 d=1+r+r(r+1)/2 d = 1 + r + r ( r + 1 ) /2 , and the certified radius of theorem 3.12 reduces to R m = ∥ g ( m ) ∥ / α m R_m=\lVert\mathbf{g}^{(m)}\rVert/\alpha_m R m = ∥ g ( m ) ∥ / α m .
There is also no dissipation. The convective contribution to E ( t ) = 1 2 ∫ 0 P w 2 d x E(t)=\frac{1}{2}\int_{0}^{P}w^2\,\mathrm{d}x E ( t ) = 2 1 ∫ 0 P w 2 d x vanishes by the argument of (49) , which is unchanged here, and the dispersive one vanishes too: integrating by parts twice on the circle,
γ 2 ∫ 0 P w w x x x d x = − γ 2 ∫ 0 P w x w x x d x = − γ 2 2 [ w x 2 ] 0 P = 0. (52) \gamma^2\int_{0}^{P}ww_{xxx}\,\mathrm{d}x=-\gamma^2\int_{0}^{P}w_xw_{xx}\,\mathrm{d}x=-\frac{\gamma^2}{2}\left[w_x^2\right]_{0}^{P}=0. \tag*{(52)} γ 2 ∫ 0 P w w xxx d x = − γ 2 ∫ 0 P w x w xx d x = − 2 γ 2 [ w x 2 ] 0 P = 0. (52)
So d E / d t = 0 \mathrm{d}E/\mathrm{d}t=0 d E / d t = 0 : (51) conserves energy exactly, where (47) merely dissipated it.
The convective term is discretized as in (50) , with the same λ = 2 3 \lambda=\frac{2}{3} λ = 3 2 of Appendix § 15 .§ 6 ; the third derivative is discretized by the centered difference
[ A F q ] i = − γ 2 w i + 2 − 2 w i + 1 + 2 w i − 1 − w i − 2 2 Δ x 3 , (53) \left[\mathbf{A}_{F}\mathbf{q}\right]_i=-\gamma^2\frac{w_{i+2}-2w_{i+1}+2w_{i-1}-w_{i-2}}{2\Delta x^3}, \tag*{(53)} [ A F q ] i = − γ 2 2Δ x 3 w i + 2 − 2 w i + 1 + 2 w i − 1 − w i − 2 , (53)
on a grid of N = 500 N=500 N = 500 points, Δ x = 0.004 \Delta x=0.004 Δ x = 0.004 , advanced by the implicit midpoint rule at Δ t = 5 × 10 − 3 \Delta t=5\times10^{-3} Δ t = 5 × 1 0 − 3 : the rule conserves every quadratic first integral exactly, so the reference solution cannot leak the energy the reduced models are judged on. What remains is rounding, which accumulates over the K = 6 × 10 3 K=6\times10^3 K = 6 × 1 0 3 steps and grows like K ϵ m a c h \sqrt{K}\,\epsilon_{\mathrm{mach}} K ϵ mach ; measured, ∣ Δ E / E ∣ < 10 − 13 |\Delta E/E|<10^{-13} ∣Δ E / E ∣ < 1 0 − 13 over [ 0 , 30 ] [0,30] [ 0 , 30 ] for every trajectory. On a uniform periodic grid the stencil is skew-symmetric, so sym A F = 0 \operatorname{sym}\mathbf{A}_F=0 sym A F = 0 , and skewness survives projection: an uncentered basis would give sym A ^ = 0 \operatorname{sym}\widehat{\mathbf{A}}=0 sym A = 0 and α = 0 \alpha=0 α = 0 exactly. Centering on q ˉ \bar{\mathbf{q}} q ˉ adds the mean-flow term 2 H F ( q ˉ ⊗ I N ) 2\mathbf{H}_F(\bar{\mathbf{q}}\otimes\mathbf{I}_N) 2 H F ( q ˉ ⊗ I N ) to A \mathbf{A} A , which is not skew. For the intrusive operators at r = 10 r=10 r = 10 this gives α = − λ max ( sym ( A ^ ) ) = − 8.2 × 10 − 3 \alpha=-\lambda_{\max}(\operatorname{sym}(\widehat{\mathbf{A}}))=-8.2\times10^{-3} α = − λ m a x ( sym ( A )) = − 8.2 × 1 0 − 3 ; minimizing λ max ( sym ( A ^ + L m ) ) \lambda_{\max}(\operatorname{sym}(\widehat{\mathbf{A}}+\mathbf{L}_m)) λ m a x ( sym ( A + L m )) over m m m as in theorem 3.12 improves it only to α m ⋆ = − 1.6 × 10 − 3 \alpha_{m^\star}=-1.6\times10^{-3} α m ⋆ = − 1.6 × 1 0 − 3 , so no radius is returned for the reference model.
Little should be read into that, in either direction. A trap is a set the flow is drawn into and (51) has none, being bounded by its initial energy rather than by an attractor, so a radius obtained here would be a property of the inferred model and not of the equation. Nor is certifying a coin toss that a draw wins half the time: it asks all r r r eigenvalues of sym A ^ \operatorname{sym}\widehat{\mathbf{A}} sym A to be non-positive together, and the reference model already has five of its ten positive, spread as widely as the five negative ones. We report p ^ δ \hat{p}_{\delta} p ^ δ and the certified radii for completeness and expect them to be uninformative. What problem 2 is for is accuracy, in the format of Table 1 , and the comparison is cleaner here than in problem 1: under the constraint a draw can gain energy only through A ^ \widehat{\mathbf{A}} A , since q ^ T H ^ ( q ^ ⊗ q ^ ) \hat{\mathbf{q}}^{\mathsf{T}}\widehat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}}) q ^ T H ( q ^ ⊗ q ^ ) vanishes identically, whereas the unconstrained posterior has the second route as well, an H ^ \widehat{\mathbf{H}} H that feeds energy in. In problem 1 viscosity absorbs whatever H ^ \widehat{\mathbf{H}} H produces and hides the difference; here nothing does, so the drift of E E E along the predicted trajectories measures it directly.
Results for problem 2
Three posteriors. Problem 2 is where the linear part can be constrained as well, so three posteriors are compared on the same data, the same basis and the same seeds: the GP-BayesOpInf baseline, the energy-preserving posterior of § 4 , and the posterior supported on H E P ∩ A s k \mathcal{H}_{\mathrm{EP}}\cap\mathcal{A}_{\mathrm{sk}} H EP ∩ A sk of § 6.2 . They differ only in C \mathbf{C} C , which has n c = 220 n_c=220 n c = 220 rows, then n c + n a = 275 n_c+n_a=275 n c + n a = 275 . The prior scales are selected separately for each by theorem 4.10. In the constrained posteriors the structure is exact draw by draw: ∥ C θ ∥ \lVert\mathbf{C}\boldsymbol{\theta}\rVert ∥ C θ ∥ is at most 2 × 10 − 15 2\times10^{-15} 2 × 1 0 − 15 over 200 draws, the relative energy residual of H ^ \widehat{\mathbf{H}} H is 4 × 10 − 17 4\times10^{-17} 4 × 1 0 − 17 against 9 × 10 − 2 9\times10^{-2} 9 × 1 0 − 2 for the baseline, and ∥ sym A ^ ∥ F \lVert\operatorname{sym}\widehat{\mathbf{A}}\rVert_{\mathrm{F}} ∥ sym A ∥ F is 5 × 10 − 16 5\times10^{-16} 5 × 1 0 − 16 under A s k \mathcal{A}_{\mathrm{sk}} A sk against 0.49 0.49 0.49 without it.
Certificates. As anticipated, nothing. For the energy-preserving posterior, over 3000 draws not one is certified by either test: p ^ 0 = 0 \hat{p}_0=0 p ^ 0 = 0 , with Clopper–Pearson interval [ 0 , 1.2 × 10 − 3 ] [0,1.2\times10^{-3}] [ 0 , 1.2 × 1 0 − 3 ] . The plain rate has median − 0.38 -0.38 − 0.38 and never exceeds − 0.35 -0.35 − 0.35 ; the shifted rate improves this to a median of − 0.14 -0.14 − 0.14 but never reaches zero either.
The reason is visible in the spectrum rather than in p ^ 0 \hat{p}_0 p ^ 0 . Four of the r = 10 r=10 r = 10 eigenvalues of sym A ^ \operatorname{sym}\widehat{\mathbf{A}} sym A are positive in 99.8 % 99.8\% 99.8% of the draws and five in the rest, a mean of 4.0 4.0 4.0 : about half, which is what one expects of an operator that is nearly skew-symmetric. A certificate needs all ten to be non-positive at the same time, and no draw does that. The half-positive spectrum and the zero probability are the same fact.
For the third posterior the certificates are not reported, because theorem 6.2 makes them empty before any data are seen: with sym A ^ = 0 \operatorname{sym}\widehat{\mathbf{A}}=0 sym A = 0 the rate α \alpha α is zero by construction, which the draws confirm to solver accuracy. What replaces them is theorem 6.1. Here ∥ c ^ ∥ = 0.062 \lVert\hat{\mathbf{c}}\rVert=0.062 ∥ c ^ ∥ = 0.062 , so every draw must satisfy ∥ q ^ ( t ) ∥ ≤ ∥ q ^ 0 ∥ + 0.062 t \lVert\hat{\mathbf{q}}(t)\rVert\leq\lVert\hat{\mathbf{q}}_0\rVert+0.062t ∥ q ^ ( t )∥ ≤ ∥ q ^ 0 ∥ + 0.062 t , and all 60 do at all six parameter values—a guarantee that needed no sampling to establish and admits no exceptions.
Accuracy. Table 2 reports the relative state error of the posterior-mean prediction over 60 draws, split into the training window [ 0 , 15 ] [0,15] [ 0 , 15 ] and the prediction window [ 15 , 30 ] [15,30] [ 15 , 30 ] , with the projection error as the attainable floor.
Table 2. Problem 2, r = 10 r=10 r = 10 : relative state error of the ensemble mean over 60 posterior draws. Every draw of both constrained posteriors integrates to t = 30 t=30 t = 30 at every parameter value. The baseline does not: how many of its draws survive is listed beneath the table, its error is computed over those only, and a dash marks a parameter value at which it has no trajectory left to report. Surviving baseline draws, of 60: 60, 0, 0, 13, 15, 14.
The first thing the table settles is whether the model runs at all. Every draw of both constrained posteriors reaches t = 30 t=30 t = 30 at every parameter value. The baseline loses all 60 at two of them and all but about a quarter at three more, and the trajectories that do survive are the worse ones: on the prediction window its error is up to five times the constrained one wherever it can be measured. In problem 1 the same comparison cost the baseline 23% of its draws and viscosity absorbed the rest; here, with no dissipation to absorb anything, an H ^ \widehat{\mathbf{H}} H that is not energy preserving injects energy that nothing removes, and the state grows without bound.
The second thing it settles is what the linear constraint adds. On the observation window the two constrained posteriors are indistinguishable, as they should be: both fit the same derivative data, and A s k \mathcal{A}_{\mathrm{sk}} A sk removes directions the data barely inform. On the prediction window the skew-constrained posterior is better at every parameter value, by a factor of 1.2 to 2.5, and its mean error is 6.2% against 11.5%. The uncertainty tightens with it: averaged over [ 15 , 30 ] [15,30] [ 15 , 30 ] the width of the 95 % band on the first six coordinates of the held-out trajectory falls from 0.006–0.121 to 0.002–0.048.
Both are to be read against the floor. The projection error at r = 10 r=10 r = 10 is 0.7–3.4 %, so the constrained models are within a factor of three of the basis on the observed window and roughly a factor of three to seven beyond it; the remaining error is the inference, not the basis.
Figure 5 shows the same comparison on the held-out trajectory. The three posteriors are indistinguishable while the data last, and separate immediately afterwards: the baseline leaves the scale of the problem, the energy-preserving posterior keeps the oscillation but loses amplitude and drifts in the leading coordinate, and the doubly constrained one stays on the reference with a band that barely widens.
Figure 5. Problem 2 at the held-out ( a ⋆ , b ⋆ ) = ( 0.45 , 0.9 ) (a^\star,b^\star)=(0.45,0.9) ( a ⋆ , b ⋆ ) = ( 0.45 , 0.9 ) : the first six reduced coordinates of the three posteriors, each as its ensemble mean over 60 draws with a 95 % band, against the projected reference solution (black). The shaded strip is the training window [ 0 , 15 ] [0,15] [ 0 , 15 ] ; everything to its right is prediction. The vertical range of each panel is set from the reference solution and the two constrained posteriors, so the baseline (orange) leaves the frame where it diverges. Constraining H ^ \hat{H} H ^ alone (blue) keeps every draw bounded but drifts in q ^ 1 \hat{q}_1 q ^ 1 and widens; constraining A ^ \hat{A} A ^ as well (green) tracks the reference through the prediction window with a band about twice as narrow.
Energy. The reduced energy V = 1 2 ∥ q ^ ∥ 2 V=\frac{1}{2}\lVert\hat{\mathbf q}\rVert^2 V = 2 1 ∥ q ^ ∥ 2 is computed along each predicted trajectory separately and summarized over the 60 draws at each parameter value. Three numbers are reported, in each case for the energy-preserving posterior first and for the doubly constrained one second. The median draw changes V V V over [ 0 , 30 ] [0,30] [ 0 , 30 ] by between 7 % and a factor of 2.6, depending on the parameter value, against between 1 % and 7 %. The worst single draw changes it by a factor of 5.0, against 7 %. The largest ∥ q ^ ∥ \lVert\hat{\mathbf q}\rVert ∥ q ^ ∥ reached along a trajectory is 2.5 times the initial value, against 1.02 times. For comparison, the reference solution is constant to round-off. The baseline cannot be summarized in the same way, because at two of the six parameter values none of its draws survive to t = 30 t=30 t = 30 ; at the four where some do, its energy changes by between 0.6 % and 19 %. This is theorem 6.1 in numbers: once q ^ T H ^ ( q ^ ⊗ q ^ ) \hat{\mathbf q}^{\mathsf T}\hat{\mathbf H}(\hat{\mathbf q}\otimes\hat{\mathbf q}) q ^ T H ^ ( q ^ ⊗ q ^ ) and q ^ T A ^ q ^ \hat{\mathbf q}^{\mathsf T}\hat{\mathbf A}\hat{\mathbf q} q ^ T A ^ q ^ both vanish identically, the only term left in the energy balance is q ^ T c ^ \hat{\mathbf q}^{\mathsf T}\hat{\mathbf c} q ^ T c ^ , and here ∥ c ^ ∥ = 0.062 \lVert\hat{\mathbf c}\rVert=0.062 ∥ c ^ ∥ = 0.062 .
Structure can be imposed on the linear part in other ways. A physics-informed regularizer penalizes departures from the desired structure without ruling them out [12 ] ; a dissipative parametrization rules them out exactly, by writing A ^ \hat{\mathbf A} A ^ in a form that admits only dissipative operators [13 , 11 ] . The constraint used here is exact, like the second, but is linear in the operator coefficients, like the first. That combination is what matters for a Bayesian method: the posterior stays Gaussian and the closed forms of § 4 apply unchanged, which a nonlinear parametrization of A ^ \hat{\mathbf A} A ^ would not allow. What it costs is the certificate, which theorem 6.2 makes empty. For (51) that is the right trade, since the equation has no attracting set to certify in the first place.
Problem 3: two-dimensional Burgers
The third problem is two-dimensional, and it is viscous, so the certificates of § 5 have something to certify again after problem 2. The equation and its coefficients are those of [8 ] . On the periodic unit square ( x , y ) ∈ [ 0 , 1 [ 2 (x,y) \in[0,1[^2 ( x , y ) ∈ [ 0 , 1 [ 2 ,
∂ w ∂ t = κ w ( ∂ w ∂ x + ∂ w ∂ y ) + ν ( ∂ 2 w ∂ x 2 + ∂ 2 w ∂ y 2 ) , (54) \frac{\partial w}{\partial t}=\kappa w\left(\frac{\partial w}{\partial x}+\frac{\partial w}{\partial y}\right)+\nu\left(\frac{\partial^2w}{\partial x^2}+\frac{\partial^2w}{\partial y^2}\right), \tag*{(54)} ∂ t ∂ w = κ w ( ∂ x ∂ w + ∂ y ∂ w ) + ν ( ∂ x 2 ∂ 2 w + ∂ y 2 ∂ 2 w ) , (54)
with κ = 0.2 \kappa=0.2 κ = 0.2 and ν = 2 × 10 − 3 \nu=2\times10^{-3} ν = 2 × 1 0 − 3 , the convective coefficient being written κ \kappa κ so that c c c remains free for the constant term of the ROM. The state is a scalar field, as in problems 1 and 2; what is new is that it is transported in two directions at once. The initial condition is
w ( x , y , 0 ; a , b ) = a ( cos 2 π x cos 2 π y + b cos 4 π x cos 4 π y ) , (55) w(x,y,0;a,b)=a\left(\cos2\pi x\cos2\pi y+b\cos4\pi x\cos4\pi y\right), \tag*{(55)} w ( x , y , 0 ; a , b ) = a ( cos 2 π x cos 2 π y + b cos 4 π x cos 4 π y ) , (55)
whose amplitude a a a and second-harmonic weight b b b are the parameters; the reference takes a = 1 a=1 a = 1 and b = 0 b=0 b = 0 . As in problem 2, the parameters enter through the initial state. The two harmonics interact as the profile steepens, so b b b changes the dynamics rather than merely rescaling it.
Energy preservation and full-order discretization. With E ( t ) = 1 2 ∫ 0 1 ∫ 0 1 w 2 d x d y E(t)=\frac{1}{2}\int_0^1\int_0^1w^2\,dx\,dy E ( t ) = 2 1 ∫ 0 1 ∫ 0 1 w 2 d x d y ,
d E d t = κ ∬ w 2 ( ∂ w ∂ x + ∂ w ∂ y ) d x d y + ν ∬ w Δ w d x d y = − ν ∬ ∥ ∇ w ∥ 2 d x d y . (56) \frac{dE}{dt}=\kappa\iint w^2\left(\frac{\partial w}{\partial x}+\frac{\partial w}{\partial y}\right)\,dx\,dy+\nu\iint w\Delta w\,dx\,dy=-\nu\iint\lVert\nabla w\rVert^2\,dx\,dy. \tag*{(56)} d t d E = κ ∬ w 2 ( ∂ x ∂ w + ∂ y ∂ w ) d x d y + ν ∬ w Δ w d x d y = − ν ∬ ∥ ∇ w ∥ 2 d x d y . (56)
The convective contribution vanishes one direction at a time: integrating in x x x first, ∫ 0 1 w 2 w x d x = [ w 3 / 3 ] 0 1 = 0 \int_0^1w^2w_x\,dx=[w^3/3]_0^1=0 ∫ 0 1 w 2 w x d x = [ w 3 /3 ] 0 1 = 0 by periodicity, and the same argument in y y y disposes of the second term. It is the identity of (49) applied twice, and it needs nothing of w w w beyond periodicity. Viscosity dissipates, and with no forcing these are the only two contributions, so E E E decreases monotonically at a rate set by ν \nu ν .
On a uniform N × N N\times N N × N grid with Δ x = Δ y = 1 / N \Delta x=\Delta y=1/N Δ x = Δ y = 1/ N and periodic indices, the Laplacian is the five-point stencil and each convective derivative is the λ = 2 3 \lambda=\frac{2}{3} λ = 3 2 stencil (50) of problem 1 (Appendix § 15 .§ 6 ), applied in its own direction. The argument of § 8.1 carries over term by term, so q T H F ( q ⊗ q ) = 0 q^{\mathsf{T}}H_{\mathrm{F}}(q\otimes q)=0 q T H F ( q ⊗ q ) = 0 for every q q q ; we again verify it on random states, which matters more here, since on a symmetric field such as (8.9) the violation of a non-conservative stencil cancels and goes unnoticed. The viscous part gives A F = ν L A_{\mathrm{F}}=\nu L A F = ν L with L L L the five-point Laplacian, so sym ( A F ) ⪯ 0 \operatorname{sym}(A_{\mathrm{F}})\preceq0 sym ( A F ) ⪯ 0 .
Two consequences shape the experiment: theorem 3.6 applies exactly, so the hard constraint of § 4 is the appropriate one; and sym ( A F ) ≠ 0 \operatorname{sym}(A_{\mathrm{F}})\ne0 sym ( A F ) = 0 , so the constraint of § 6 does not apply, since imposing it would delete the viscosity.
Setup. Nominal values are those of the reference: Δ x = Δ y = 0.02 \Delta x=\Delta y=0.02 Δ x = Δ y = 0.02 , so N = 50 N=50 N = 50 and N d o f = 2500 N_{\mathrm{dof}}=2500 N dof = 2500 , and a final time T = 4 T=4 T = 4 . The parameters ( a , b ) (a,b) ( a , b ) range over [ 0.4 , 0.6 ] × [ 0 , 0.4 ] [0.4,0.6]\times[0,0.4] [ 0.4 , 0.6 ] × [ 0 , 0.4 ] , with the four corners and the center used for training and ( a ⋆ , b ⋆ ) = ( 0.55 , 0.1 ) (a^\star,b^\star)=(0.55,0.1) ( a ⋆ , b ⋆ ) = ( 0.55 , 0.1 ) held out. Observations are taken on t ∈ [ 0 , 2 ] t\in[0,2] t ∈ [ 0 , 2 ] and predictions carried to t = 4 t=4 t = 4 , with m = 30 m=30 m = 30 snapshots per trajectory at ξ = 3 % \xi=3\% ξ = 3% noise, and r = 6 r=6 r = 6 . Time integration is again by the implicit midpoint rule, here for accuracy over the prediction window rather than for exact conservation, since the viscous term makes the reference energy decay.
Results for problem 3
Exactness. The same picture as in problem 1: n c = 56 n_c=56 n c = 56 rows of full rank, dim ker C = 112 \dim\ker C=112 dim ker C = 112 , ∥ C θ ∥ ≤ 2.5 × 10 − 14 \lVert C_{\theta}\rVert\leq2.5\times10^{-14} ∥ C θ ∥ ≤ 2.5 × 1 0 − 14 over 200 draws and ∥ C μ ∥ = 2.3 × 10 − 14 \lVert C_{\mu}\rVert=2.3\times10^{-14} ∥ C μ ∥ = 2.3 × 1 0 − 14 at the mean against 1.48 without the constraint, and a relative energy residual of H ^ \widehat{H} H of 1.0 × 10 − 15 1.0\times10^{-15} 1.0 × 1 0 − 15 against 0.109 for the baseline. The prior scales of theorem 4.10 are ( γ C , γ A , γ H ) = ( 0.749 , 2.098 , 7.312 ) (\gamma_C,\gamma_A,\gamma_H)=(0.749,2.098,7.312) ( γ C , γ A , γ H ) = ( 0.749 , 2.098 , 7.312 ) with the constraint and ( 0.533 , 1.319 , 6.046 ) (0.533,1.319,6.046) ( 0.533 , 1.319 , 6.046 ) without it, with log evidences 4325.7 and 5141.4.
Certificates. In problem 2 the certificates were empty. Here they work, but only in their shifted form. The plain test (18) fails on all 3000 draws: α \alpha α has median − 0.684 -0.684 − 0.684 and never exceeds − 0.472 -0.472 − 0.472 , because two of the six eigenvalues of sym A B \operatorname{sym}\mathbf{A}B sym A B are positive in every draw. The shifted test (21) succeeds on all of them,
p ^ δ = 1.0000 , Clopper–Pearson 95% : [ 0.9988 , 1 ] , \hat{p}_{\delta}=1.0000,\qquad\text{Clopper--Pearson 95\%}: [0.9988,\,1], p ^ δ = 1.0000 , Clopper–Pearson 95% : [ 0.9988 , 1 ] ,
with α ⋆ \alpha^{\star} α ⋆ between 0.189 and 0.261, median 0.215, and a certified radius of median R = 15.4 R=15.4 R = 15.4 , ranging from 6.3 to 56.4. At the posterior mean α = − 0.677 \alpha=-0.677 α = − 0.677 and α ⋆ = + 0.216 \alpha^{\star}=+0.216 α ⋆ = + 0.216 at ∥ m ⋆ ∥ = 14.1 \lVert m^{\star}\rVert=14.1 ∥ m ⋆ ∥ = 14.1 , so R = 20.1 R=20.1 R = 20.1 .
Accuracy. Table 3 reports the relative state error of the posterior-mean prediction over 200 draws, on the training window [ 0 , 2 ] [0,2] [ 0 , 2 ] and the prediction window ] 2 , 4 ] ]2,4] ] 2 , 4 ] , with the projection error as the attainable floor.
Table 3. Problem 3, r = 6 r=6 r = 6 : relative state error of the ensemble mean over 200 posterior draws. Every constrained draw integrates to t = 4 t=4 t = 4 at every parameter value; the baseline loses 377 of its 1200, its error is computed over the survivors only, and how many survive is listed beneath the table. Surviving baseline draws, of 200: 200, 76, 200, 133, 178, 36.
The constrained posterior is better than the baseline at every parameter value and on both windows. On the training window it sits on the projection floor to the third decimal — 0.0144 against 0.0144, 0.0229 against 0.0228 — so the inference costs nothing the basis has not already spent. On the prediction window it stays within 10 % of the floor at four of the six parameter values and within a quarter of it at the other two, while the baseline is a factor of 1.3 to 3.5 worse wherever its draws survive; at the held-out value only 36 of its 200 draws survive at all, and those average an error above 10. Figure 6 shows what that means as a field: at t = 2 t=2 t = 2 the error is invisible on the scale of the solution, and by t = 4 t=4 t = 4 it is concentrated where the profile has steepened.
Figure 6. Problem 3 at the held-out ( a ⋆ , b ⋆ ) = ( 0.55 , 0.1 ) (a^\star, b^\star) = (0.55, 0.1) ( a ⋆ , b ⋆ ) = ( 0.55 , 0.1 ) : the field at the end of the training window and at the two later times the model reaches on its own. Columns: the full-order solution, the posterior mean over 200 draws lifted back to the 2500 nodes, the error, and the pointwise standard deviation. The first two columns share a color scale. The relative field error is 0.013 at t = 2 t = 2 t = 2 , 0.116 at t = 3 t = 3 t = 3 and 0.249 at t = 4 t = 4 t = 4 , where the projection floor alone is 0.19.
The bands are narrow: the median width of the 95 % interval over the reduced coordinates is 0.006 – 0.020 on [ 0 , 2 ] [0,2] [ 0 , 2 ] and 0.025 – 0.116 on ] 2 , 4 ] ]2,4] ] 2 , 4 ] . The posterior describes its uncertainty about the operator, and at r = 6 r=6 r = 6 that uncertainty is small next to the closure error of the basis, which it does not model; the projection floor in table 3 is where most of the remaining error sits.
Energy. The full-order energy decreases monotonically, and so does the constrained posterior: all 1200 of its lifted trajectories lose energy at every step, at every parameter value, their largest one-step change being − 1.6 -1.6 − 1.6 to − 2.0 × 10 − 3 -2.0\times10^{-3} − 2.0 × 1 0 − 3 relative, against − 1.4 × 10 − 3 -1.4\times10^{-3} − 1.4 × 1 0 − 3 for the reference solutions. The baseline gains energy instead. Between 31 and 86 % of its surviving draws gain some at one time or another, depending on the parameter value: 102 of 200 at ( 0.40 , 0 ) (0.40,0) ( 0.40 , 0 ) , and 31 of 36 at the
held-out value. The largest gain is 2.7 × 10 6 2.7 \times10^{6} 2.7 × 1 0 6 times the initial energy. The reason is the one the constraint was imposed for. Under it q ^ T H ^ ( q ^ ⊗ q ^ ) = 0 \hat{\mathbf{q}}^{\mathsf{T}}\hat{\mathbf{H}}(\hat{\mathbf{q}} \otimes\hat{\mathbf{q}}) = 0 q ^ T H ^ ( q ^ ⊗ q ^ ) = 0 , so the quadratic term moves no energy and only the linear part can change it; the certificate above says that part decays, about the center m ⋆ \mathbf{m}^{\star} m ⋆ . Without the constraint the quadratic term moves energy too, and nothing bounds how much it adds.
Conclusions and outlook
The property that makes the reduced energy a global Lyapunov function for a quadratic ROM, i.e., energy preservation of the quadratic operator, is a set of linear equality constraints on the operator coefficients. A linear constraint is exactly what a Gaussian posterior can absorb, so the structure can be imposed without approximation and without violating closed form. The constrained posterior is one Kalman-type update of the unconstrained one, and exact samples follow by a linear correction, while the constraint survives later linear-Gaussian updates. The same object has three equivalent descriptions: a degenerate prior on the energy-preserving subspace, conditioning on a noise-free pseudo-observation, and constrained maximum a posteriori estimation with its reduced Hessian. A soft variant for imposing the constraints is an anisotropic penalty whose scale is selected by closed-form evidence maximization and controls a certified local stability region.
What the structure buys for the dynamics is that global boundedness and input-to-state stability reduce to one linear matrix condition on sym A ^ \operatorname{sym}\hat{\mathbf{A}} sym A ^ , potentially with a convex shift of the energy covering linear parts that are not dissipative. This makes stability assessment a number: the posterior probability of certified global boundedness, estimated with exact confidence bounds and used to sample the certified posterior exactly, which replaces the empirical finite-horizon simulation test in OpInf practice. When the full-order system conserves energy instead of dissipating it, constraining the linear part to be skew is an additional constraint of the same kind. In this case sym A ^ \operatorname{sym}\hat{\mathbf{A}} sym A ^ vanishes, and the certificate is empty by construction, with a deterministic linear growth bound available for every draw without sampling.
The experiments bear this out. Every constrained draw integrates stably to the final time at every parameter value, in all three problems, where the unconstrained baseline loses up to all of its draws, and beyond the observation window the constrained posterior is the more accurate of the two everywhere. Where the equation admits a decay rate the shifted certificate is informative, holding for 95% of the draws in problem 1 and for all of them in problem 3; where it does not, the skew constraint takes its place and nearly halves the prediction error on Korteweg–de Vries.
A few limitations are worth stating plainly. a) The certificate is sufficient, yet not necessary, and what it certifies may not be the physical energy. In problem 1, for example, the continuum energy already decays by (49) , yet the inferred sym A ^ \operatorname{sym}\hat{\mathbf{A}} sym A ^ is not negative definite, and the test succeeds only after the energy is recentered at an m ⋆ \mathbf{m}^{\star} m ⋆ far from the snapshot mean, for which we have no physical reading. A linear part that is stable but far from normal — eigenvalues in the left half-plane, yet sym A ^ \operatorname{sym}\hat{\mathbf{A}} sym A ^ indefinite, so that ∥ q ^ ∥ \lVert\hat{\mathbf{q}}\rVert ∥ q ^ ∥ grows before it decays — may need a weighted V = 1 2 q ^ T Ξ q ^ V = \frac{1}{2}\hat{\mathbf{q}}^{\mathsf{T}}\boldsymbol{\Xi}\hat{\mathbf{q}} V = 2 1 q ^ T Ξ q ^ instead. b) The constraint belongs to systems that preserve energy; on a system that does not, it is the wrong model. c) Imposing the stability constraints also couples the row-wise regressions, so the cost grows faster in r r r . d) The posterior describes the operators, not the basis: at t = 4 t = 4 t = 4 in problem 3 the projection error is 0.19 and the total error 0.25.
Future work can learn the energy metric itself, replacing V = 1 2 ∥ q ^ ∥ 2 V = \frac{1}{2}\lVert\hat{\mathbf{q}}\rVert^{2} V = 2 1 ∥ q ^ ∥ 2 by V = 1 2 q ^ T Ξ q ^ V = \frac{1}{2}\hat{\mathbf{q}}^{\mathsf{T}}\boldsymbol{\Xi}\hat{\mathbf{q}} V = 2 1 q ^ T Ξ q ^ with Ξ ≻ 0 \boldsymbol{\Xi} \succ0 Ξ ≻ 0 symmetric, so that energy is measured in a weighted inner product rather than the Euclidean one. Energy preservation then reads q ^ T Ξ H ^ ( q ^ ⊗ q ^ ) = 0 \hat{\mathbf{q}}^{\mathsf{T}}\boldsymbol{\Xi}\hat{\mathbf{H}}(\hat{\mathbf{q}} \otimes\hat{\mathbf{q}}) = 0 q ^ T Ξ H ^ ( q ^ ⊗ q ^ ) = 0 , which is bilinear in ( Ξ , H ^ ) (\boldsymbol{\Xi}, \hat{\mathbf{H}}) ( Ξ , H ^ ) rather than linear in H ^ \hat{\mathbf{H}} H ^ . The linear part may likewise be constrained to a structured form. It is also meaningful to move to online settings, where theorem 4.7 keeps energy preservation exact under sequential updating.
CRediT authorship contribution statement
João Victor Galvão da Mata: Conceptualization, Investigation, Methodology, Software, Visualization, Validation, Writing – original draft, Writing – review and editing. Mengwu Guo: Conceptualization, Funding acquisition, Investigation, Methodology, Supervision, Writing – review and editing.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Acknowledgments
The authors acknowledge financial support from the Swedish Research Council (VR) under No. 2025-04911 and from The Crafoord Foundation under No. 20250657.
Data availability
The code and data in this work are publicly available at https://github.com/Jvictormata/EP_Gp_Bayes_Opinf .
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
During the preparation of this work, the authors used ChatGPT, Claude, and Grammarly for grammar check and language polishing, especially to improve textual clarity. After using these tools, the authors reviewed and edited the content as needed and take full responsibility for the content of this article.
Proofs and derivations
Proof of Theorem 3.2
p p p is a homogeneous cubic polynomial, so it vanishes identically if and only if all its monomial coefficients vanish. The coefficient of q ^ a q ^ b q ^ c \hat{q}_a\hat{q}_b\hat{q}_c q ^ a q ^ b q ^ c is the sum of H i j k H_{ijk} H ij k over the distinct rearrangements ( i , j , k ) (i,j,k) ( i , j , k ) of ( a , b , c ) (a,b,c) ( a , b , c ) . Summing instead over all six orderings and using (4) gives
H a b c + H a c b + H b a c + H b c a + H c a b + H c b a = 2 ( H a b c + H b a c + H c a b ) . H_{abc}+H_{acb}+H_{bac}+H_{bca}+H_{cab}+H_{cba}=2\left(H_{abc}+H_{bac}+H_{cab}\right). H ab c + H a c b + H ba c + H b c a + H c ab + H c ba = 2 ( H ab c + H ba c + H c ab ) .
If a , b , c a,b,c a , b , c are distinct, the true coefficient is this sum. If exactly two indices coincide, it is half the sum. If all coincide, it is one sixth of it. In every case the coefficient is a positive multiple of H a b c + H b a c + H c a b H_{abc}+H_{bac}+H_{cab} H ab c + H ba c + H c ab , which proves (13) .
Proof of Theorem 4.1
Let S = Σ 1 / 2 S=\Sigma^{1/2} S = Σ 1/2 . The left-hand side of (24) is S ( I − P 1 ) S S(I-P_1)S S ( I − P 1 ) S , where P 1 P_1 P 1 is the orthogonal projector onto range ( S C T ) \operatorname{range}(SC^{\mathsf{T}}) range ( S C T ) . Thus I − P 1 I-P_1 I − P 1 is the orthogonal projector onto range ( S C T ) ⊥ = ker ( C S ) = S − 1 ker C = range ( S − 1 T ) \operatorname{range}(SC^{\mathsf{T}})^\perp=\ker(CS)=S^{-1}\ker C=\operatorname{range}(S^{-1}\mathsf{T}) range ( S C T ) ⊥ = ker ( C S ) = S − 1 ker C = range ( S − 1 T ) . The right-hand side equals S P 2 S SP_2S S P 2 S with P 2 = S − 1 T ( T T S − 2 T ) − 1 T T S − 1 P_2=S^{-1}\mathsf{T}(\mathsf{T}^{\mathsf{T}}S^{-2}\mathsf{T})^{-1}\mathsf{T}^{\mathsf{T}}S^{-1} P 2 = S − 1 T ( T T S − 2 T ) − 1 T T S − 1 , the orthogonal projector onto range ( S − 1 T ) \operatorname{range}(S^{-1}\mathsf{T}) range ( S − 1 T ) . Hence P 2 = I − P 1 P_2=I-P_1 P 2 = I − P 1 .
Proof of Theorem 4.2
(i) Apply (27) and its limit with Σ 0 \Sigma_0 Σ 0 in place of Σ \Sigma Σ and prior mean 0 0 0 . The innovation vanishes, since both the prior mean and the observed value of (26) are zero, so the conditioned mean is 0 0 0 . The conditioned covariance is Σ 0 − Σ 0 C T ( C Σ 0 C T ) − 1 C Σ 0 = T Σ φ , 0 T T \Sigma_0-\Sigma_0\mathbf{C}^{\mathsf{T}}(\mathbf{C}\Sigma_0\mathbf{C}^{\mathsf{T}})^{-1}\mathbf{C}\Sigma_0=\mathbf{T}\Sigma_{\varphi,0}\mathbf{T}^{\mathsf{T}} Σ 0 − Σ 0 C T ( C Σ 0 C T ) − 1 C Σ 0 = T Σ φ , 0 T T by (24) , which is the first claim. For the commutation, fix ϵ > 0 \epsilon>0 ϵ > 0 . Since η \eta η is independent of the data, the two likelihoods factorize, p ( z ~ , 0 ∣ θ ) = p ( z ~ ∣ θ ) p ( 0 ∣ θ ) p(\widetilde{z},0\mid\theta)=p(\widetilde{z}\mid\theta)p(0\mid\theta) p ( z , 0 ∣ θ ) = p ( z ∣ θ ) p ( 0 ∣ θ ) , so the posterior density is proportional to p ( z ~ ∣ θ ) p ( 0 ∣ θ ) p 0 ( θ ) p(\widetilde{z}\mid\theta)p(0\mid\theta)p_0(\theta) p ( z ∣ θ ) p ( 0 ∣ θ ) p 0 ( θ ) whatever the order in which the factors are absorbed; the two routes therefore agree for every ϵ > 0 \epsilon>0 ϵ > 0 . Both are Gaussian computations whose means and covariances are continuous in ϵ \epsilon ϵ at 0 0 0 , so they agree in the limit. Along the lower route the data update must be written in covariance form, since the conditioned prior is singular; it remains continuous because Φ Σ ′ Φ T + W − 1 ⪰ W − 1 ≻ 0 \mathbf{\Phi}\Sigma'\mathbf{\Phi}^{\mathsf{T}}+\mathbf{W}^{-1}\succeq\mathbf{W}^{-1}\succ0 Φ Σ ′ Φ T + W − 1 ⪰ W − 1 ≻ 0 for every Σ ′ ⪰ 0 \Sigma'\succeq0 Σ ′ ⪰ 0 . (ii) By the choice of Σ φ , 0 \Sigma_{\varphi,0} Σ φ , 0 , the two terms in (25) carry the same sandwich and merge:
Σ φ − 1 = T T Φ T W Φ T + T T Σ 0 − 1 T = T T ( Φ T W Φ + Σ 0 − 1 ) T = T T Σ − 1 T . \Sigma_{\varphi}^{-1}=\mathbf{T}^{\mathsf{T}}\mathbf{\Phi}^{\mathsf{T}}\mathbf{W}\mathbf{\Phi}\mathbf{T}+\mathbf{T}^{\mathsf{T}}\Sigma_0^{-1}\mathbf{T}=\mathbf{T}^{\mathsf{T}}\left(\mathbf{\Phi}^{\mathsf{T}}\mathbf{W}\mathbf{\Phi}+\Sigma_0^{-1}\right)\mathbf{T}=\mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mathbf{T}. Σ φ − 1 = T T Φ T WΦT + T T Σ 0 − 1 T = T T ( Φ T WΦ + Σ 0 − 1 ) T = T T Σ − 1 T .
Hence T Σ φ T T = T ( T T Σ − 1 T ) − 1 T T = Σ c \mathbf{T}\Sigma_{\varphi}\mathbf{T}^{\mathsf{T}}=\mathbf{T}(\mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mathbf{T})^{-1}\mathbf{T}^{\mathsf{T}}=\Sigma_c T Σ φ T T = T ( T T Σ − 1 T ) − 1 T T = Σ c by (24) , which is (30) . Its mean is T μ φ = T ( T T Σ − 1 T ) − 1 T T Σ − 1 μ \mathbf{T}\mu_{\varphi}=\mathbf{T}(\mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mathbf{T})^{-1}\mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mu T μ φ = T ( T T Σ − 1 T ) − 1 T T Σ − 1 μ , using Φ T W z ~ = Σ − 1 μ \mathbf{\Phi}^{\mathsf{T}}\mathbf{W}\widetilde{z}=\Sigma^{-1}\mu Φ T W z = Σ − 1 μ . This equals μ c \mu_c μ c , because both are the Σ − 1 \Sigma^{-1} Σ − 1 -orthogonal projection of μ \mu μ onto ker C \ker\mathbf{C} ker C . (iii) Completing the square, J ( θ ) = ( θ − μ ) T Σ − 1 ( θ − μ ) + c o n s t J(\theta)=(\theta-\mu)^{\mathsf{T}}\Sigma^{-1}(\theta-\mu)+\mathrm{const} J ( θ ) = ( θ − μ ) T Σ − 1 ( θ − μ ) + const , so ∇ 2 ( 1 2 J ) = Σ − 1 \nabla^2(\frac{1}{2}J)=\Sigma^{-1} ∇ 2 ( 2 1 J ) = Σ − 1 and J J J is strictly convex; with linear constraints the KKT conditions Σ − 1 ( θ − μ ) + C T λ = 0 \Sigma^{-1}(\theta-\mu)+\mathbf{C}^{\mathsf{T}}\lambda=0 Σ − 1 ( θ − μ ) + C T λ = 0 , C θ = 0 \mathbf{C}\theta=0 C θ = 0 are necessary and sufficient, and give λ = ( C Σ C T ) − 1 C μ \lambda=(\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}})^{-1}\mathbf{C}\mu λ = ( C Σ C T ) − 1 C μ and θ = μ c \theta=\mu_c θ = μ c . The reduced Hessian is T T Σ − 1 T \mathbf{T}^{\mathsf{T}}\Sigma^{-1}\mathbf{T} T T Σ − 1 T ; apply (24) . (iv) By direct computation from (28) , using C K 0 = I n c \mathbf{C}\mathbf{K}_0=\mathbf{I}_{n_c} C K 0 = I n c ; see Appendix § 15 .§ 4 . Then C θ \mathbf{C}\theta C θ has mean 0 0 0 and covariance C Σ c C T = 0 \mathbf{C}\Sigma_c\mathbf{C}^{\mathsf{T}}=0 C Σ c C T = 0 , hence vanishes almost surely.
Derivation of the pseudo-observation update
We derive (27) from (26) , verify that it is the conditional law of θ \theta θ given y = 0 \mathbf{y}=0 y = 0 , and justify the limit (28) . Throughout θ ∼ N ( μ , Σ ) \theta\sim\mathcal{N}(\mu,\Sigma) θ ∼ N ( μ , Σ ) with Σ ≻ 0 \Sigma\succ0 Σ ≻ 0 , η ∼ N ( 0 , ϵ 2 I n c ) \eta\sim\mathcal{N}(0,\epsilon^2\mathbf{I}_{n_c}) η ∼ N ( 0 , ϵ 2 I n c ) is independent of θ \theta θ , and y = C θ + η \mathbf{y}=\mathbf{C}\theta+\eta y = C θ + η .
The pair ( θ , y ) (\theta,\mathbf{y}) ( θ , y ) is jointly Gaussian, since
[ θ y ] = [ I n 0 C I n c ] [ θ η ] \begin{bmatrix}\theta\\\mathbf{y}\end{bmatrix}=
\begin{bmatrix}\mathbf{I}_n&0\\\mathbf{C}&\mathbf{I}_{n_c}\end{bmatrix}
\begin{bmatrix}\theta\\\eta\end{bmatrix} [ θ y ] = [ I n C 0 I n c ] [ θ η ]
is an affine map of the Gaussian vector ( θ , η ) (\theta,\eta) ( θ , η ) . Its moments are E [ y ] = C μ \mathbb{E}[\mathbf{y}]=\mathbf{C}\mu E [ y ] = C μ ,
Cov ( θ , y ) = E [ ( θ − μ ) ( C ( θ − μ ) + η ) T ] = Σ C T , Cov ( y ) = C Σ C T + ϵ 2 I = : S ϵ , \operatorname{Cov}(\theta,\mathbf{y})=\mathbb{E}\left[(\theta-\mu)(\mathbf{C}(\theta-\mu)+\eta)^{\mathsf{T}}\right]=\Sigma\mathbf{C}^{\mathsf{T}},\qquad\operatorname{Cov}(\mathbf{y})=\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}}+\epsilon^2\mathbf{I}=:\mathbf{S}_{\epsilon}, Cov ( θ , y ) = E [ ( θ − μ ) ( C ( θ − μ ) + η ) T ] = Σ C T , Cov ( y ) = C Σ C T + ϵ 2 I =: S ϵ ,
the cross term vanishing by independence of θ \theta θ and η \eta η . Hence
\begin{bmatrix}\theta\\\mathbf{y}\end{bmatrix}\sim\mathcal{N}\left(\begin{bmatrix}\mu\\\mathbf{C}\mu\end{bmatrix},\begin{bmatrix}\Sigma&\Sigma\mathbf{C}^{\mathsf{T}}\\\mathbf{C}\Sigma&\mathbf{S}_{\epsilon}\end{bmatrix}\right) \tag*{(57)}\end{bmatrix}
The matrix S ϵ \mathbf{S}_{\epsilon} S ϵ , the innovation covariance , is positive definite: C \mathbf{C} C has full row rank and Σ ≻ 0 \Sigma\succ0 Σ ≻ 0 , so λ T C Σ C T λ > 0 \lambda^{\mathsf{T}}\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}}\lambda>0 λ T C Σ C T λ > 0 for λ ≠ 0 \lambda\ne0 λ = 0 .
Since S ϵ \mathbf{S}_{\epsilon} S ϵ is invertible, the standard conditioning formula for a jointly Gaussian pair applied to (A.1) gives
θ ∣ y ∼ N ( μ + K ϵ ( y − C μ ) , Σ − K ϵ C Σ ) , K ϵ : = Σ C T S ϵ − 1 . (58) \theta\mid\mathbf{y}\sim\mathcal{N}\left(\mu+\mathbf{K}_{\epsilon}(\mathbf{y}-\mathbf{C}\mu),\ \Sigma-\mathbf{K}_{\epsilon}\mathbf{C}\Sigma\right),\qquad\mathbf{K}_{\epsilon}:=\Sigma\mathbf{C}^{\mathsf{T}}\mathbf{S}_{\epsilon}^{-1}. \tag*{(58)} θ ∣ y ∼ N ( μ + K ϵ ( y − C μ ) , Σ − K ϵ C Σ ) , K ϵ := Σ C T S ϵ − 1 . (58)
Substituting the observed value y = 0 \mathbf{y}=0 y = 0 , the innovation is 0 − C μ = − C μ 0-\mathbf{C}\mu=-\mathbf{C}\mu 0 − C μ = − C μ and we obtain (27) . Equivalently, from Bayes’ rule,
− log p ( θ ∣ y = 0 ) = 1 2 ( θ − μ ) T Σ − 1 ( θ − μ ) + 1 2 ϵ 2 ∥ C θ ∥ 2 + c o n s t , -\log p(\theta\mid\mathbf{y}=0)=\frac{1}{2}(\theta-\mu)^{\mathsf{T}}\Sigma^{-1}(\theta-\mu)+\frac{1}{2\epsilon^2}\lVert\mathbf{C}\theta\rVert^2+\mathrm{const}, − log p ( θ ∣ y = 0 ) = 2 1 ( θ − μ ) T Σ − 1 ( θ − μ ) + 2 ϵ 2 1 ∥ C θ ∥ 2 + const ,
so that, completing the square, Σ ϵ = ( Σ − 1 + ϵ − 2 C T C ) − 1 \Sigma_\epsilon= (\Sigma^{-1} + \epsilon^{-2}\mathbf{C}^{\mathsf{T}}\mathbf{C})^{-1} Σ ϵ = ( Σ − 1 + ϵ − 2 C T C ) − 1 and μ ϵ = Σ ϵ Σ − 1 μ \mu_\epsilon= \Sigma_\epsilon\Sigma^{-1}\mu μ ϵ = Σ ϵ Σ − 1 μ . This agrees with (27) by the Sherman–Morrison–Woodbury identity ( Σ − 1 + ϵ − 2 C T C ) − 1 = Σ − Σ C T ( C Σ C T + ϵ 2 I ) − 1 C Σ (\Sigma^{-1} + \epsilon^{-2}\mathbf{C}^{\mathsf{T}}\mathbf{C})^{-1} = \Sigma- \Sigma\mathbf{C}^{\mathsf{T}}(\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}} + \epsilon^2\mathbf{I})^{-1}\mathbf{C}\Sigma ( Σ − 1 + ϵ − 2 C T C ) − 1 = Σ − Σ C T ( C Σ C T + ϵ 2 I ) − 1 C Σ , and, for the mean, by Σ ϵ Σ − 1 μ = ( Σ − K ϵ C Σ ) Σ − 1 μ = μ − K ϵ C μ \Sigma_\epsilon\Sigma^{-1}\mu= (\Sigma- K_\epsilon\mathbf{C}\Sigma)\Sigma^{-1}\mu= \mu- K_\epsilon\mathbf{C}\mu Σ ϵ Σ − 1 μ = ( Σ − K ϵ C Σ ) Σ − 1 μ = μ − K ϵ C μ . This is the form used in theorem 4.8: the pseudo-observation is the penalty ϵ − 2 ∥ C θ ∥ 2 \epsilon^{-2}\lVert\mathbf{C}\theta\rVert^2 ϵ − 2 ∥ C θ ∥ 2 . Note that the covariance form (27) admits the limit below, whereas the precision Σ − 1 + ϵ − 2 C T C \Sigma^{-1} + \epsilon^{-2}\mathbf{C}^{\mathsf{T}}\mathbf{C} Σ − 1 + ϵ − 2 C T C diverges.
The limit ϵ → 0 \epsilon\to0 ϵ → 0 exists because S 0 = C Σ C T S_0 = \mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}} S 0 = C Σ C T is invertible, as shown above. Then S ϵ S_\epsilon S ϵ is invertible on a neighborhood of ϵ = 0 \epsilon= 0 ϵ = 0 and ϵ ↦ S ϵ − 1 \epsilon\mapsto S_\epsilon^{-1} ϵ ↦ S ϵ − 1 is continuous there, matrix inversion being continuous on the open set of invertible matrices. Hence K ϵ → K 0 = Σ C T ( C Σ C T ) − 1 K_\epsilon\to K_0 = \Sigma\mathbf{C}^{\mathsf{T}}(\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}})^{-1} K ϵ → K 0 = Σ C T ( C Σ C T ) − 1 and (27) converges to (28) .
At ϵ = 0 \epsilon= 0 ϵ = 0 we have C K 0 = ( C Σ C T ) ( C Σ C T ) − 1 = I n c \mathbf{C}K_0 = (\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}})(\mathbf{C}\Sigma\mathbf{C}^{\mathsf{T}})^{-1} = I_{n_c} C K 0 = ( C Σ C T ) ( C Σ C T ) − 1 = I n c , from which theorem 4.2(iv) is immediate:
C μ c = C μ − ( C K 0 ) C μ = 0 , C Σ c = C Σ − ( C K 0 ) C Σ = 0. \mathbf{C}\mu_c = \mathbf{C}\mu- (\mathbf{C}K_0)\mathbf{C}\mu= 0,\qquad\mathbf{C}\Sigma_c = \mathbf{C}\Sigma- (\mathbf{C}K_0)\mathbf{C}\Sigma= 0. C μ c = C μ − ( C K 0 ) C μ = 0 , C Σ c = C Σ − ( C K 0 ) C Σ = 0.
The same identity shows that Π : = I − K 0 C \Pi:= I - K_0\mathbf{C} Π := I − K 0 C is idempotent, Π 2 = I − 2 K 0 C + K 0 ( C K 0 ) C = Π \Pi^2 = I - 2K_0\mathbf{C} + K_0(\mathbf{C}K_0)\mathbf{C} = \Pi Π 2 = I − 2 K 0 C + K 0 ( C K 0 ) C = Π , with C Π = 0 \mathbf{C}\Pi= 0 C Π = 0 and rank Π = n − n c \operatorname{rank}\Pi= n - n_c rank Π = n − n c , so Π \Pi Π is the projection onto ker C \ker\mathbf{C} ker C along range ( Σ C T ) \operatorname{range}(\Sigma\mathbf{C}^{\mathsf{T}}) range ( Σ C T ) , and μ c = Π μ \mu_c = \Pi\mu μ c = Π μ , Σ c = Π Σ = Π Σ Π T \Sigma_c = \Pi\Sigma= \Pi\Sigma\Pi^{\mathsf{T}} Σ c = ΠΣ = ΠΣ Π T . The last expression is the preferred one numerically and shows Σ c ⪰ 0 \Sigma_c \succeq0 Σ c ⪰ 0 explicitly. Finally, for any v ∈ R n \mathbf{v} \in\mathbb{R}^n v ∈ R n ,
v T ( Σ − Σ ϵ ) v = ( C Σ v ) T S ϵ − 1 ( C Σ v ) ≥ 0 , (59) \mathbf{v}^{\mathsf{T}}(\Sigma- \Sigma_\epsilon)\mathbf{v} = (\mathbf{C}\Sigma\mathbf{v})^{\mathsf{T}}S_\epsilon^{-1}(\mathbf{C}\Sigma\mathbf{v}) \ge0, \tag*{(59)} v T ( Σ − Σ ϵ ) v = ( C Σ v ) T S ϵ − 1 ( C Σ v ) ≥ 0 , (59)
with equality if and only if C Σ v = 0 \mathbf{C}\Sigma\mathbf{v} = 0 C Σ v = 0 : the update reduces the posterior variance in direction v \mathbf{v} v exactly when v \mathbf{v} v is correlated with the constrained directions. This is the quantitative form of the observation in theorem 4.5 that the EP update also sharpens, and moves, the entries of A ^ \hat{\mathbf{A}} A ^ .
Proof of Proposition 4.10
With n = dim θ n = \dim\theta n = dim θ , p ( z ~ ) = ∫ N ( z ~ ; Φ θ , W − 1 ) N ( θ ; 0 , P 0 − 1 ) d θ p(\tilde{\mathbf{z}}) = \int\mathcal{N}(\tilde{\mathbf{z}};\Phi\theta,\mathbf{W}^{-1})\mathcal{N}(\theta;0,\mathbf{P}_0^{-1})\,\mathrm{d}\theta p ( z ~ ) = ∫ N ( z ~ ; Φ θ , W − 1 ) N ( θ ; 0 , P 0 − 1 ) d θ . Expanding the exponent,
( z ~ − Φ θ ) T W ( z ~ − Φ θ ) + θ T P 0 θ = ( θ − μ ) T P ( θ − μ ) − μ T P μ + z ~ T W z ~ . (\tilde{\mathbf{z}} - \Phi\theta)^{\mathsf{T}}\mathbf{W}(\tilde{\mathbf{z}} - \Phi\theta) + \theta^{\mathsf{T}}\mathbf{P}_0\theta= (\theta- \mu)^{\mathsf{T}}\mathbf{P}(\theta- \mu) - \mu^{\mathsf{T}}\mathbf{P}\mu+ \tilde{\mathbf{z}}^{\mathsf{T}}\mathbf{W}\tilde{\mathbf{z}}. ( z ~ − Φ θ ) T W ( z ~ − Φ θ ) + θ T P 0 θ = ( θ − μ ) T P ( θ − μ ) − μ T P μ + z ~ T W z ~ .
The normalizing constants contribute ( 2 π ) − ( N + n ) / 2 ∣ W ∣ 1 / 2 ∣ P 0 ∣ 1 / 2 (2\pi)^{-(N+n)/2}|\mathbf{W}|^{1/2}|\mathbf{P}_0|^{1/2} ( 2 π ) − ( N + n ) /2 ∣ W ∣ 1/2 ∣ P 0 ∣ 1/2 , and the Gaussian integral over θ \theta θ gives ( 2 π ) n / 2 ∣ P ∣ − 1 / 2 (2\pi)^{n/2}|\mathbf{P}|^{-1/2} ( 2 π ) n /2 ∣ P ∣ − 1/2 . Taking logarithms yields (33) .
The energy-preserving choice λ = 2 3 \lambda= \frac{2}{3} λ = 3 2
In the notation of § 8.1 , since ∂ x ( w 2 ) = 2 w w x \partial_x(w^2) = 2ww_x ∂ x ( w 2 ) = 2 w w x the continuum identity
w w x = λ ( 1 2 ∂ x ( w 2 ) ) + ( 1 − λ ) w w x for every λ (60) ww_x = \lambda\left(\frac{1}{2}\partial_x(w^2)\right) + (1-\lambda)ww_x \quad\text{for every }\lambda \tag*{(60)} w w x = λ ( 2 1 ∂ x ( w 2 ) ) + ( 1 − λ ) w w x for every λ (60)
holds, which allows a split discretization. Applying centered differences to the two terms on the right gives the one-parameter family
[ H F ( λ ) ( q ⊗ q ) ] i = − λ w i + 1 2 − w i − 1 2 4 Δ x − ( 1 − λ ) w i w i + 1 − w i − 1 2 Δ x , (61) [\mathsf{H}^{(\lambda)}_{\mathrm{F}}(\mathbf{q}\otimes\mathbf{q})]_i = -\lambda\frac{w_{i+1}^2-w_{i-1}^2}{4\Delta x}-(1-\lambda)w_i\frac{w_{i+1}-w_{i-1}}{2\Delta x}, \tag*{(61)} [ H F ( λ ) ( q ⊗ q ) ] i = − λ 4Δ x w i + 1 2 − w i − 1 2 − ( 1 − λ ) w i 2Δ x w i + 1 − w i − 1 , (61)
every member of which is second-order accurate and consistent with − w w x -ww_x − w w x : (A.4) is an identity, so it selects nothing in the continuum. The discrete energy does.
Periodicity permits shifts of the summation index. Define T = ∑ i w i w i + 1 ( w i + 1 − w i ) T = \sum_i w_iw_{i+1}(w_{i+1}-w_i) T = ∑ i w i w i + 1 ( w i + 1 − w i ) . Then
∑ i w i ( w i + 1 2 − w i − 1 2 ) = ∑ i w i w i + 1 2 − ∑ i w i w i − 1 2 = ∑ i w i w i + 1 ( w i + 1 − w i ) = : T , = ∑ i w i + 1 w i 2 , \begin{aligned}
\sum_i w_i(w_{i+1}^2-w_{i-1}^2) = \sum_i w_iw_{i+1}^2 - \sum_i w_iw_{i-1}^2 = \sum_i w_iw_{i+1}(w_{i+1}-w_i) =: T, \\
&= \sum_i w_{i+1}w_i^2,
\end{aligned} i ∑ w i ( w i + 1 2 − w i − 1 2 ) = i ∑ w i w i + 1 2 − i ∑ w i w i − 1 2 = i ∑ w i w i + 1 ( w i + 1 − w i ) =: T , = i ∑ w i + 1 w i 2 ,
∑ i w i 2 ( w i + 1 − w i − 1 ) = ∑ i w i 2 w i + 1 − ∑ i w i 2 w i − 1 = − ∑ i w i w i + 1 ( w i + 1 − w i ) = − T , = ∑ i w i + 1 2 w i . (62) \begin{aligned}
\sum_i w_i^2(w_{i+1}-w_{i-1}) = \sum_i w_i^2w_{i+1} - \sum_i w_i^2w_{i-1} = -\sum_i w_iw_{i+1}(w_{i+1}-w_i) = -T, \\
&= \sum_i w_{i+1}^2w_i. \tag*{(62)}
\end{aligned} i ∑ w i 2 ( w i + 1 − w i − 1 ) = i ∑ w i 2 w i + 1 − i ∑ w i 2 w i − 1 = − i ∑ w i w i + 1 ( w i + 1 − w i ) = − T , = i ∑ w i + 1 2 w i . (62)
Substitution into (A.5) gives the nonlinear contribution to the discrete energy balance
q T H F ( λ ) ( q ⊗ q ) = − ( 3 λ − 2 ) T 4 Δ x . (63) \mathbf{q}^{\mathsf{T}}\mathbf{H}_{F}^{(\lambda)}(\mathbf{q}\otimes\mathbf{q})=-\frac{(3\lambda-2)T}{4\Delta x}. \tag*{(63)} q T H F ( λ ) ( q ⊗ q ) = − 4Δ x ( 3 λ − 2 ) T . (63)
The quantity T T T is not identically zero; for example, the mean-zero state ( w 0 , w 1 , w 2 ) = ( 1 , 2 , − 3 ) (w_0,w_1,w_2)=(1,2,-3) ( w 0 , w 1 , w 2 ) = ( 1 , 2 , − 3 ) with all other entries zero has T ≠ 0 T\ne0 T = 0 . The defect therefore vanishes for every state if and only if 3 λ − 2 = 0 3\lambda-2=0 3 λ − 2 = 0 , so λ = 2 3 \lambda=\frac{2}{3} λ = 3 2 is the unique energy-preserving member of the family, and (A.5) becomes the stencil (50) used in sections 8.1 to 8.3.
The stencil is classical. Equivalently
[ H F ( q ⊗ q ) ] i = − ( w i + 1 + w i + w i − 1 ) ( w i + 1 − w i − 1 ) 6 Δ x , \left[\mathbf{H}_{F}(\mathbf{q}\otimes\mathbf{q})\right]_i=-\frac{(w_{i+1}+w_i+w_{i-1})(w_{i+1}-w_{i-1})}{6\Delta x}, [ H F ( q ⊗ q ) ] i = − 6Δ x ( w i + 1 + w i + w i − 1 ) ( w i + 1 − w i − 1 ) ,
and the energy argument that selects it is that of Aref and Daripa [25 ] . The same three-point average is the nonlinear term of the Korteweg–de Vries scheme of Zabusky and Kruskal [26 ] , which section 8.2 uses.
A worked example
We illustrate the objects of section 3 and section 4 on the smallest non-trivial case r = 2 r=2 r = 2 , p = 1 p=1 p = 1 . By theorem 3.4 the quadratic part of an EP model has ( r 3 − r ) / 3 = 2 (r^3-r)/3=2 ( r 3 − r ) /3 = 2 free parameters; the general EP quadratic term in two dimensions is
H ^ ( q ^ ⊗ q ^ ) = ( a q ^ 1 + b q ^ 2 ) [ q ^ 2 − q ^ 1 ] , a , b ∈ R , (64) \widehat{\mathbf{H}}(\hat{\mathbf{q}}\otimes\hat{\mathbf{q}})=(a\hat{q}_1+b\hat{q}_2)\begin{bmatrix}\hat{q}_2\\-\hat{q}_1\end{bmatrix},\qquad a,b\in\mathbb{R}, \tag*{(64)} H ( q ^ ⊗ q ^ ) = ( a q ^ 1 + b q ^ 2 ) [ q ^ 2 − q ^ 1 ] , a , b ∈ R , (64)
a rotation whose rate depends linearly on the state. Take a = 1 a=1 a = 1 , b = 1 2 b=\frac{1}{2} b = 2 1 and
c ^ = [ 0.2 − 0.1 ] , A ^ = [ − 1 2 0 − 3 ] , B ^ = [ 1 0 ] , H ^ = [ 0 1 1 2 − 1 − 1 2 0 ] , (65) \hat{\mathbf{c}}=\begin{bmatrix}0.2\\-0.1\end{bmatrix},\qquad
\widehat{\mathbf{A}}=\begin{bmatrix}-1&2\\0&-3\end{bmatrix},\qquad
\widehat{\mathbf{B}}=\begin{bmatrix}1\\0\end{bmatrix},\qquad
\widehat{\mathbf{H}}=\begin{bmatrix}0&1&\frac{1}{2}\\-1&-\frac{1}{2}&0\end{bmatrix}, \tag*{(65)} c ^ = [ 0.2 − 0.1 ] , A = [ − 1 0 2 − 3 ] , B = [ 1 0 ] , H = [ 0 − 1 1 − 2 1 2 1 0 ] , (65)
where the columns of H ^ \widehat{\mathbf{H}} H hold the compact coefficients ( h i , 11 , h i , 12 , h i , 22 ) (h_{i,11},h_{i,12},h_{i,22}) ( h i , 11 , h i , 12 , h i , 22 ) of (5) .
Operator matrix and parameter vector. With d ( q ^ , u ) = [ 1 ; q ^ 1 ; q ^ 2 ; q ^ 1 2 ; q ^ 1 q ^ 2 ; q ^ 2 2 ; u ] \mathbf{d}(\hat{\mathbf{q}},u)=[1;\ \hat{q}_1;\ \hat{q}_2;\ \hat{q}_1^2;\ \hat{q}_1\hat{q}_2;\ \hat{q}_2^2;\ u] d ( q ^ , u ) = [ 1 ; q ^ 1 ; q ^ 2 ; q ^ 1 2 ; q ^ 1 q ^ 2 ; q ^ 2 2 ; u ] we have d ˉ = 1 + r + r ( r + 1 ) / 2 + p = 7 \bar{d}=1+r+r(r+1)/2+p=7 d ˉ = 1 + r + r ( r + 1 ) /2 + p = 7 and
O ^ = [ c ^ A ^ H ^ B ^ ] = [ 0.2 − 1 2 0 1 0.5 1 − 0.1 0 − 3 − 1 − 0.5 0 0 ] ∈ R 2 × 7 , (66) \widehat{\mathbf{O}}=[\hat{\mathbf{c}}\ \widehat{\mathbf{A}}\ \widehat{\mathbf{H}}\ \widehat{\mathbf{B}}]=\begin{bmatrix}0.2&-1&2&0&1&0.5&1\\-0.1&0&-3&-1&-0.5&0&0\end{bmatrix}\in\mathbb{R}^{2\times7}, \tag*{(66)} O = [ c ^ A H B ] = [ 0.2 − 0.1 − 1 0 2 − 3 0 − 1 1 − 0.5 0.5 0 1 0 ] ∈ R 2 × 7 , (66)
and, stacking its rows, θ ∈ R n \boldsymbol{\theta}\in\mathbb{R}^n θ ∈ R n with n = r d = 14 n=rd=14 n = r d = 14 ,
θ = ( 0.2 , − 1 , 2 , 0 , 1 , 0.5 , 1 , − 0.1 , 0 , − 3 , − 1 , − 0.5 , 0 , 0 ) . (67) \boldsymbol{\theta}=(0.2,-1,2,0,1,0.5,1,-0.1,0,-3,-1,-0.5,0,0). \tag*{(67)} θ = ( 0.2 , − 1 , 2 , 0 , 1 , 0.5 , 1 , − 0.1 , 0 , − 3 , − 1 , − 0.5 , 0 , 0 ) . (67)
The quadratic entries sit in positions 4, 5, 6 (row 1) and 11, 12, 13 (row 2).
Constraint matrix. There are n c = ( r + 2 3 ) = 4 n_c=\binom{r+2}{3}=4 n c = ( 3 r + 2 ) = 4 constraints, one per cubic monomial:
Table 4.
so that, writing only the nonzero entries,
C = [ 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 ] ∈ R 4 × 14 . (68) C = \begin{bmatrix} 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \end{bmatrix} \in\mathbb{R}^{4 \times14}. \tag*{(68)} C = 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 ∈ R 4 × 14 . (68)
The eight zero columns correspond to the entries of c ^ \hat{c} c ^ , A ^ \hat{A} A ^ , B ^ \hat{B} B ^ , which the constraint does not touch. Each column has at most one nonzero, so C C T = diag ( 1 , 2 , 2 , 1 ) CC^{\mathsf{T}} = \operatorname{diag}(1, 2, 2, 1) C C T = diag ( 1 , 2 , 2 , 1 ) and rank C = 4 = n c \operatorname{rank} C = 4 = n_c rank C = 4 = n c , as in theorem 3.4 and theorem 3.5; the value ν ℓ = 3 \nu_\ell= 3 ν ℓ = 3 does not occur because the monomial q ^ a q ^ b q ^ c \hat{q}_a\hat{q}_b\hat{q}_c q ^ a q ^ b q ^ c with distinct indices requires r ≥ 3 r \ge3 r ≥ 3 . One checks C θ = 0 C\theta= 0 C θ = 0 , and dim ker C = 14 − 4 = 10 \dim\ker C = 14 - 4 = 10 dim ker C = 14 − 4 = 10 : the eight unconstrained entries of c ^ \hat{c} c ^ , A ^ \hat{A} A ^ , B ^ \hat{B} B ^ together with the two parameters a , b a, b a , b of (B.1).
Certificate. Here sym ( A ^ ) = [ − 1 1 1 − 3 ] \operatorname{sym}(\hat{A}) = \begin{bmatrix} -1 & 1 \\ 1 & -3 \end{bmatrix} sym ( A ^ ) = [ − 1 1 1 − 3 ] has eigenvalues − 2 ± 2 -2 \pm\sqrt{2} − 2 ± 2 , so α = 2 − 2 ≈ 0.586 > 0 \alpha= 2 - \sqrt{2} \approx0.586 > 0 α = 2 − 2 ≈ 0.586 > 0 and theorem 3.10 applies. With u ˉ = 1 \bar{u} = 1 u ˉ = 1 ,
K = ∥ c ^ ∥ + ∥ B ^ ∥ u ˉ ≈ 1.224 , R = K / α ≈ 2.089 , (69) K = \|\hat{c}\| + \|\hat{B}\|\bar{u} \approx1.224,\qquad R = K/\alpha\approx2.089, \tag*{(69)} K = ∥ c ^ ∥ + ∥ B ^ ∥ u ˉ ≈ 1.224 , R = K / α ≈ 2.089 , (69)
so every trajectory, from every initial condition and for every input with ∥ u ∥ L ∞ ≤ 1 \|u\|_{L^\infty} \le1 ∥ u ∥ L ∞ ≤ 1 , enters and remains in the ball of radius 2.089. For illustration, integrating with u ( t ) = sin ( 3 t ) u(t) = \sin(3t) u ( t ) = sin ( 3 t ) from q ^ 0 = [ 0 0 ] T \hat{q}_0 = \begin{bmatrix} 0 & 0 \end{bmatrix}^{\mathsf{T}} q ^ 0 = [ 0 0 ] T , [ 5 − 4 ] T \begin{bmatrix} 5 & -4 \end{bmatrix}^{\mathsf{T}} [ 5 − 4 ] T and [ 50 50 ] T \begin{bmatrix} 50 & 50 \end{bmatrix}^{\mathsf{T}} [ 50 50 ] T gives ∥ q ^ ( 60 ) ∥ ≈ 0.19 \|\hat{q}(60)\| \approx0.19 ∥ q ^ ( 60 ) ∥ ≈ 0.19 in all three cases, with suprema 0.50, 6.40 and 70.71 along the way: the bound is global, and, as expected from the Cauchy–Schwarz and Young steps, conservative.