Documentation

CslibFrontier.Algorithms.LinearAlgebra.ImpulseCertificate

Kernel-checked energy and decay certificates for LTI impulse responses #

A rational model Cslib.LinearAlgebra.RatLTI n m p lists the rows of A, B, C, D of ẋ = A x + B u, y = C x + D u, and RatLTI.toSystem reads it as a real LTISystem on Fin n → ℝ. An untrusted tool (for example SciPy's Lyapunov solver followed by rational reconstruction and SymPy's LDLdecomposition) proposes a certificate. A Boolean checker, which the kernel evaluates by decide +kernel, recomputes every residual matrix from the model and the certificate and checks it with the LDLᵀ checker of Cslib.LinearAlgebra.LDLCert. Soundness theorems turn acceptance into statements about the impulse response h t = C exp (t A) B of the same model, through the analysis in CslibFrontier.Foundations.Analysis.ODE.ImpulseBounds.

Normalization and units #

‖y‖₂² is y ⬝ᵥ y and ‖M‖_F² is ∑ i, ∑ j, M i j ^ 2. Time is in the model's unit, and h carries the units of output per unit of input impulse (input times time). Impulse bounds are per input direction v or summed over the input basis (Frobenius), and state bounds are normalized by ‖x 0‖₂². Nothing is normalized by the initial output, which may vanish (h 0 = C B = 0 for the repeated-pole client) although the impulse stores energy in the state.

Feedthrough #

Every certificate first checks RatLTI.check: exact shapes, and D = 0 (RatLTI.toSystem_D). A model with direct feedthrough has the impulse response D δ₀ + h, whose energy is infinite, and it receives none of these certificates. The analysis module states bounds on h alone.

Certified, not optimal #

Each accepted certificate gives a valid bound. It need not be the best one: a different W, P, α, γ or β may give a smaller bound, and no optimality is claimed. A rejected certificate proves nothing: rejection is not evidence of instability or of a larger energy.

Numerical times #

Cslib.LinearAlgebra.expLower N x = ∑_{k < N} x ^ k / k! is a rational lower bound for exp x when x ≥ 0 (Cslib.LinearAlgebra.expLower_le_exp, from Real.sum_le_exp_of_nonneg). A settling check γ β vmax² ≤ ε² expLower N (2 α T) therefore certifies γ β vmax² exp (-2 α T) ≤ ε² in exact rational arithmetic. The symbolic bounds hold without it.

Main results #

References #

Rows of the matrices that the certificates check #

The rows of the n × n identity matrix.

Whether every entry of rows is 0.

The rows of Cᵀ * C for C with rows C, read as p × n.

The rows of Bᵀ * P * B for B read as n × m and P as n × n.

Rational LTI models #

structure Cslib.LinearAlgebra.RatLTI (n m p : ℕ) :

A finite-dimensional continuous-time LTI model ẋ = A x + B u, y = C x + D u with rational data, given by rows: A is n × n, B is n × m, C is p × n and D is p × m.

noncomputable def Cslib.LinearAlgebra.RatLTI.toSystem {n m p : ℕ} (G : RatLTI n m p) :
LTISystem (Fin n) (Fin m) (Fin p)

The real system whose matrices are those of G, read over ℝ.

def Cslib.LinearAlgebra.RatLTI.check {n m p : ℕ} (G : RatLTI n m p) :

Whether G is a well-formed model without direct feedthrough: every matrix has exactly the declared shape, and every entry of D is 0. Impulse-response guarantees are reported only for such models, since the impulse response of a model with D ≠ 0 contains the impulse D δ₀.

theorem Cslib.LinearAlgebra.RatLTI.toSystem_D {n m p : ℕ} (G : RatLTI n m p) (h : G.check = true) :

Residual matrices, recomputed from the model and the certificate #

def Cslib.LinearAlgebra.rowsLin (k : ℕ) (a b : ℚ) (M N : List (List ℚ)) :

The rows of a • M - b • N for M, N read as k × k.

Certified lower bounds for the exponential #

The Taylor partial sum ∑_{k < N} x ^ k / k!, which the kernel evaluates exactly. For x ≥ 0 it is a lower bound for exp x (Cslib.LinearAlgebra.expLower_le_exp), so a check a ≤ b * expLower N x certifies a exp (-x) ≤ b without trusting floating-point arithmetic.

theorem Cslib.LinearAlgebra.expLower_le_exp (N : ℕ) {x : ℚ} (hx : 0 ≤ x) :
↑(expLower N x) ≤ Real.exp ↑x

Decay inequalities and their consequences #

The rational constants of a decay certificate.

  • α : ℚ

    The certified rate α > 0: the energy xᵀ P x decays like exp (-2 α t).

  • lo : ℚ

    A lower bound lo > 0 with lo 1 ⪯ P.

  • hi : ℚ

    An upper bound with P ⪯ hi 1.

  • γ : ℚ

    The output gain γ ≥ 0 with Cᵀ C ⪯ γ P.

  • β : ℚ

    The input gain β ≥ 0 with Bᵀ P B ⪯ β 1.

structure Cslib.LinearAlgebra.DecayInequalities {n m p : ℕ} (S : LTISystem (Fin n) (Fin m) (Fin p)) (P : Matrix (Fin n) (Fin n) ℝ) (k : DecayConstants) (τ : ℚ) :

The real facts that a decay certificate establishes for the system S, the real matrix P and the constants k, with τ the exact value of tr (Bᵀ P B): α > 0, 0 < lo ≤ hi, γ ≥ 0, β ≥ 0, Aᵀ P + P A + 2 α P ⪯ 0, lo 1 ⪯ P ⪯ hi 1, Cᵀ C ⪯ γ P and Bᵀ P B ⪯ β 1. Both the dense checker (Cslib.LinearAlgebra.DecayCert.decayInequalities) and the sparse one establish it, and every decay bound is proved from it once.

Whether the constants k certify settling of the impulse response below ε after time T for inputs with ‖v‖₂² ≤ vmax2: T ≥ 0, vmax2 ≥ 0, eps2 = ε² > 0, and γ β vmax2 ≤ ε² expLower N (2 α T). It reads only the constants, so it means something only together with DecayInequalities for the same constants.

Whether the constants k certify settling of the state below ε after time T for initial states with ‖x 0‖₂² ≤ r2: T ≥ 0, r2 ≥ 0, eps2 = ε² > 0, and (hi / lo) r2 ≤ ε² expLower N (2 α T). It reads only the constants, so it means something only together with DecayInequalities for the same constants.

Whether the constants k and the trace τ = tr (Bᵀ P B) certify the numerical energy tail ∫_T^∞ ‖h t‖_F² ≤ tail: T ≥ 0, tail ≥ 0 and γ τ / (2 α) ≤ tail · expLower N (2 α T).

theorem Cslib.LinearAlgebra.DecayInequalities.dotProduct_self_le {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {x : ℝ → Fin n → ℝ} (hx : ∀ t ∈ Set.Ici 0, HasDerivWithinAt x (S.A.mulVec (x t)) (Set.Ici 0) t) {t : ℝ} (ht : 0 ≤ t) :
x t ⬝ᵥ x t ≤ ↑k.hi / ↑k.lo * Real.exp (-(2 * ↑k.α) * t) * x 0 ⬝ᵥ x 0

Certified state decay. Every solution x : ℝ → Fin n → ℝ of x' = A *ᵥ x on [0, ∞) satisfies ‖x t‖₂² ≤ (hi / lo) exp (-2 α t) ‖x 0‖₂² for t ≥ 0, where ‖y‖₂² = y ⬝ᵥ y.

Decay inequalities prove internal stability. ẋ = A x is exponentially stable in the Euclidean norm, with constants √(hi / lo) and α.

theorem Cslib.LinearAlgebra.DecayInequalities.output_dotProduct_le {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {x : ℝ → Fin n → ℝ} (hx : ∀ t ∈ Set.Ici 0, HasDerivWithinAt x (S.A.mulVec (x t)) (Set.Ici 0) t) {t : ℝ} (ht : 0 ≤ t) :
S.C.mulVec (x t) ⬝ᵥ S.C.mulVec (x t) ≤ ↑k.γ * ↑k.hi * Real.exp (-(2 * ↑k.α) * t) * x 0 ⬝ᵥ x 0

Certified output decay from an initial state. Every solution of x' = A *ᵥ x on [0, ∞) has ‖C x t‖₂² ≤ γ hi exp (-2 α t) ‖x 0‖₂² for t ≥ 0. The bound is normalized by the initial state, not by the initial output.

theorem Cslib.LinearAlgebra.DecayInequalities.responseKernel_mulVec_sq_le {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) (v : Fin m → ℝ) {t : ℝ} (ht : 0 ≤ t) :
(S.responseKernel t).mulVec v ⬝ᵥ (S.responseKernel t).mulVec v ≤ ↑k.γ * ↑k.β * Real.exp (-(2 * ↑k.α) * t) * v ⬝ᵥ v

Certified impulse-response envelope. ‖h t v‖₂² ≤ γ β exp (-2 α t) ‖v‖₂² for every input direction v and t ≥ 0.

theorem Cslib.LinearAlgebra.DecayInequalities.responseKernel_mulVec_sq_le_peak {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) (v : Fin m → ℝ) {t : ℝ} (ht : 0 ≤ t) :

Certified peak bound. ‖h t v‖₂² ≤ γ β ‖v‖₂² for all t ≥ 0. This is an upper bound on the peak, not its value.

theorem Cslib.LinearAlgebra.DecayInequalities.responseKernel_mulVec_sq_le_of_impulseSettles {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {vmax2 eps2 T : ℚ} {N : ℕ} (hs : k.impulseSettles vmax2 eps2 T N = true) {v : Fin m → ℝ} (hv : v ⬝ᵥ v ≤ ↑vmax2) {t : ℝ} (ht : ↑T ≤ t) :

Certified impulse-response settling. If k.impulseSettles vmax2 eps2 T N, then every input direction with ‖v‖₂² ≤ vmax2 has ‖h t v‖₂² ≤ eps2 for all t ≥ T: the impulse response stays within ε = √eps2 of 0 from time T on. This concerns the response to an impulse, not to persistent forcing.

theorem Cslib.LinearAlgebra.DecayInequalities.dotProduct_self_le_of_stateSettles {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {r2 eps2 T : ℚ} {N : ℕ} (hs : k.stateSettles r2 eps2 T N = true) {x : ℝ → Fin n → ℝ} (hx : ∀ t ∈ Set.Ici 0, HasDerivWithinAt x (S.A.mulVec (x t)) (Set.Ici 0) t) (hr : x 0 ⬝ᵥ x 0 ≤ ↑r2) {t : ℝ} (ht : ↑T ≤ t) :
x t ⬝ᵥ x t ≤ ↑eps2

Certified state settling from a declared initial-state set. If k.stateSettles r2 eps2 T N, every solution of x' = A *ᵥ x on [0, ∞) with ‖x 0‖₂² ≤ r2 has ‖x t‖₂² ≤ eps2 for all t ≥ T.

theorem Cslib.LinearAlgebra.DecayInequalities.frobeniusSq_le {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {t : ℝ} (ht : 0 ≤ t) :
∑ i : Fin p, ∑ j : Fin m, S.responseKernel t i j ^ 2 ≤ ↑k.γ * ↑τ * Real.exp (-(2 * ↑k.α) * t)

Certified Frobenius envelope. ‖h t‖_F² ≤ γ τ exp (-2 α t) for t ≥ 0, where τ = tr (Bᵀ P B).

theorem Cslib.LinearAlgebra.DecayInequalities.integrableOn_Ioi_and_integral_Ioi_frobeniusSq_le {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {T : ℝ} (hT : 0 ≤ T) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin p, ∑ j : Fin m, S.responseKernel t i j ^ 2) (Set.Ioi T) MeasureTheory.volume ∧ ∫ (t : ℝ) in Set.Ioi T, ∑ i : Fin p, ∑ j : Fin m, S.responseKernel t i j ^ 2 ≤ ↑k.γ * ↑τ * Real.exp (-(2 * ↑k.α) * T) / (2 * ↑k.α)

Certified energy tail. For T ≥ 0 the impulse response energy after T is finite and ∫_T^∞ ‖h t‖_F² ≤ γ τ exp (-2 α T) / (2 α), where τ = tr (Bᵀ P B).

theorem Cslib.LinearAlgebra.DecayInequalities.integral_Ioi_frobeniusSq_le_of_tailBelow {n m p : ℕ} {S : LTISystem (Fin n) (Fin m) (Fin p)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {tail T : ℚ} {N : ℕ} (hs : k.tailBelow τ tail T N = true) :
∫ (t : ℝ) in Set.Ioi ↑T, ∑ i : Fin p, ∑ j : Fin m, S.responseKernel t i j ^ 2 ≤ ↑tail

Certified numerical energy tail. If k.tailBelow τ tail T N, then ∫_T^∞ ‖h t‖_F² dt ≤ tail, the integrand being integrable (DecayInequalities.integrableOn_Ioi_and_integral_Ioi_frobeniusSq_le).

theorem Cslib.LinearAlgebra.DecayInequalities.sq_window_integral_le_of_tailBelow {n : ℕ} {S : LTISystem (Fin n) (Fin 1) (Fin 1)} {P : Matrix (Fin n) (Fin n) ℝ} {k : DecayConstants} {τ : ℚ} (h : DecayInequalities S P k τ) {tail T : ℚ} {N : ℕ} (hs : k.tailBelow τ tail T N = true) {p : ℝ → ℝ} {a W : ℝ} (hp : MeasureTheory.Integrable p MeasureTheory.volume) (hpa : ∀ (s : ℝ), a < s → p s = 0) (hW : 0 ≤ W) :
(∫ (t : ℝ) in a + ↑T..a + ↑T + W, |∫ (s : ℝ), (Set.Ici 0).indicator (fun (t : ℝ) => S.responseKernel t 0 0) (t - s) * p s|) ^ 2 ≤ (∫ (s : ℝ), |p s|) ^ 2 * (W * ↑tail) ∧ (∫ (t : ℝ) in a + ↑T..a + ↑T + W, ∫ (s : ℝ), (Set.Ici 0).indicator (fun (t : ℝ) => S.responseKernel t 0 0) (t - s) * p s) ^ 2 ≤ (∫ (s : ℝ), |p s|) ^ 2 * (W * ↑tail)

Certified inter-pulse contamination bound. For a single-input, single-output system with decay inequalities and a numerical tail k.tailBelow τ tail T N, an integrable input p that vanishes after time a, and the zero-state output y t = ∫ s, h⁺ (t - s) * p s with h⁺ = (Set.Ici 0).indicator h, every window [a + T, a + T + W] with W ≥ 0 satisfies (∫_{a+T}^{a+T+W} |y|)² ≤ ‖p‖₁² W tail and (∫_{a+T}^{a+T+W} y)² ≤ ‖p‖₁² W tail, where ‖p‖₁ = ∫ s, |p s|. With rational ‖p‖₁ and W the right-hand side is rational. This is LTISystem.window_integral_bounds_of_tail with the certified tail; it answers how much a pulse that ended at a can bias a gated or integrating reading taken T later, for a model at rest before the pulse and with no direct feedthrough (which RatLTI.check enforces).

Dense decay certificates #

A certificate for decay of the state and of the impulse response of a RatLTI n m p model: the constants, a matrix P (rows) and LDLᵀ witnesses for the five inequalities Aᵀ P + P A + 2 α P ⪯ 0, lo 1 ⪯ P, P ⪯ hi 1, Cᵀ C ⪯ γ P and Bᵀ P B ⪯ β 1. Each residual is recomputed from the model and P by the checker.

Whether c is a decay certificate for the model G: G is well formed without direct feedthrough, P is n × n, α > 0, 0 < lo ≤ hi, γ ≥ 0, β ≥ 0, and the five residuals, recomputed from G and P, are accepted as positive semidefinite.

Soundness of the dense decay checker. If the kernel accepts c for G, the decay inequalities hold for the real system of G and the real matrix P, with τ = tr (Bᵀ P B) computed exactly on rows. The bounds then follow from DecayInequalities: stability (DecayInequalities.isExponentiallyStable), state, output and impulse-response envelopes, settling and energy tails.

Exact Gramian energy certificates #

def Cslib.LinearAlgebra.gramianResidual {n m p : ℕ} (G : RatLTI n m p) (W : List (List ℚ)) :

The rows of -(Aᵀ W + W A) - Cᵀ C = -(Aᵀ W + W A + Cᵀ C), recomputed from the model.

An exact energy certificate for a RatLTI n m p model: a Lyapunov certificate (P and its witnesses) proving exponential stability, a symmetric-or-not W with Aᵀ W + W A + Cᵀ C = 0 exactly, and the claimed energy tr (Bᵀ W B). W need not be positive definite, so singular Gramians of unobservable models are accepted.

  • P : List (List ℚ)

    The rows of the Lyapunov matrix P that proves stability.

  • stable : LyapunovCert

    The witnesses for P ≻ 0 and -(Aᵀ P + P A) ≻ 0.

  • W : List (List ℚ)

    The rows of the Gramian W.

  • energy : ℚ

    The claimed impulse-response energy tr (Bᵀ W B).

Whether c is an exact energy certificate for G: G is well formed without direct feedthrough, the Lyapunov certificate is accepted, W is n × n, the recomputed residual Aᵀ W + W A + Cᵀ C is exactly 0, and tr (Bᵀ W B) is exactly c.energy.

An accepted exact energy certificate proves exponential stability of ẋ = A x.

theorem Cslib.LinearAlgebra.EnergyCert.integrableOn_Ioi_and_integral_eq {n m p : ℕ} {c : EnergyCert} {G : RatLTI n m p} (h : c.check G = true) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2) (Set.Ioi 0) MeasureTheory.volume ∧ ∫ (t : ℝ) in Set.Ioi 0, ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2 = ↑c.energy

Exact impulse-response energy. If the kernel accepts c for G, the squared Frobenius norm of the impulse response is integrable on (0, ∞) and ∫₀^∞ ‖h t‖_F² dt = c.energy. The model has no direct feedthrough (RatLTI.toSystem_D), so h is its whole impulse response.

Energy upper-bound certificates #

An energy upper-bound certificate for a RatLTI n m p model: a matrix W with LDLᵀ witnesses for W ⪰ 0 and -(Aᵀ W + W A + Cᵀ C) ⪰ 0, and a claimed bound on tr (Bᵀ W B). Inexact rational reconstructions of a Gramian are accepted when the inequality holds.

  • W : List (List ℚ)

    The rows of W.

  • posW : LDLCert

    A witness for W ⪰ 0.

  • dissipationW : LDLCert

    A witness for -(Aᵀ W + W A + Cᵀ C) ⪰ 0.

  • bound : ℚ

    The claimed bound on the impulse-response energy.

Whether c is an energy upper-bound certificate for G: G is well formed without direct feedthrough, W ⪰ 0 and the recomputed -(Aᵀ W + W A + Cᵀ C) ⪰ 0 are accepted, and tr (Bᵀ W B) ≤ c.bound.

theorem Cslib.LinearAlgebra.EnergyBoundCert.integrableOn_Ioi_and_integral_le {n m p : ℕ} {c : EnergyBoundCert} {G : RatLTI n m p} (h : c.check G = true) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2) (Set.Ioi 0) MeasureTheory.volume ∧ ∫ (t : ℝ) in Set.Ioi 0, ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2 ≤ ↑c.bound

Certified impulse-response energy bound. If the kernel accepts c for G, the squared Frobenius norm of the impulse response is integrable on (0, ∞) and ∫₀^∞ ‖h t‖_F² dt ≤ c.bound. This is a certified upper bound, not the optimal one, and it says nothing about internal stability: unobservable modes may be unstable.

Energy lower-bound certificates #

An energy lower-bound certificate for a RatLTI n m p model: a Lyapunov certificate (P and its witnesses) proving exponential stability, a matrix Q with an LDLᵀ witness for Aᵀ Q + Q A + Cᵀ C ⪰ 0, and a claimed lower bound on tr (Bᵀ Q B). Q need not be positive semidefinite.

  • P : List (List ℚ)

    The rows of the Lyapunov matrix P that proves stability.

  • stable : LyapunovCert

    The witnesses for P ≻ 0 and -(Aᵀ P + P A) ≻ 0.

  • Q : List (List ℚ)

    The rows of Q.

  • supplyW : LDLCert

    A witness for Aᵀ Q + Q A + Cᵀ C ⪰ 0.

  • bound : ℚ

    The claimed lower bound on the impulse-response energy.

Whether c is an energy lower-bound certificate for G: G is well formed without direct feedthrough, the Lyapunov certificate is accepted, the recomputed Aᵀ Q + Q A + Cᵀ C ⪰ 0 is accepted, and c.bound ≤ tr (Bᵀ Q B).

theorem Cslib.LinearAlgebra.EnergyLowerCert.integrableOn_Ioi_and_le_integral {n m p : ℕ} {c : EnergyLowerCert} {G : RatLTI n m p} (h : c.check G = true) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2) (Set.Ioi 0) MeasureTheory.volume ∧ ↑c.bound ≤ ∫ (t : ℝ) in Set.Ioi 0, ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2

Certified impulse-response energy lower bound. If the kernel accepts c for G, the squared Frobenius norm of the impulse response is integrable on (0, ∞) and c.bound ≤ ∫₀^∞ ‖h t‖_F² dt. The proof is Q ⪯ W for the observability Gramian W, since W - Q = ∫₀^∞ exp (t Aᵀ) (Aᵀ Q + Q A + Cᵀ C) exp (t A) dt; it uses the stability of A.

theorem Cslib.LinearAlgebra.EnergyLowerCert.integrableOn_Ioi_and_integral_mem_Icc {n m p : ℕ} {c : EnergyLowerCert} {G : RatLTI n m p} (h : c.check G = true) {d : EnergyBoundCert} (hd : d.check G = true) :
MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2) (Set.Ioi 0) MeasureTheory.volume ∧ ∫ (t : ℝ) in Set.Ioi 0, ∑ i : Fin p, ∑ j : Fin m, G.toSystem.responseKernel t i j ^ 2 ∈ Set.Icc ↑c.bound ↑d.bound

Certified energy enclosure. If the kernel accepts a lower-bound certificate c and an upper-bound certificate d for G, the impulse-response energy is finite and lies in the interval [c.bound, d.bound]: c.bound ≤ ∫₀^∞ ‖h t‖_F² dt ≤ d.bound.