Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Finite-horizon square-root Kalman filter by rectangular factors and QR

Definition

Fix a finite horizon T≥0, positive state dimensions dk for 0≤k≤T, and positive observation dimensions pk for 1≤k≤T. Inputs are real finite matrices Fk∈Rdk×dk−1, Hk∈Rpk×dk, observation vectors yk∈Rpk, and an initial mean m0∈Rd0. For each covariance supply a rectangular real factor L0∈Rd0×r0,LQ,k∈Rdk×rQ,k,LR,k∈Rpk×rR,k, where each column count is any finite nonnegative integer. The represented covariances are P0=L0L0T, Qk=LQ,kLQ,kT, and Rk=LR,kLR,kT. Thus zero columns and rank-deficient factors are allowed. The admissible statistical inputs are those of Linear-Gaussian state-space models with independent noises for which the canonical innovation Sk=HkPk−HkT+Rk is positive definite at each step. The The Axiom of Choice assumption is inherited only for the interpretation as a posterior; the finite matrix procedure itself uses no probability-space choice.

Choose a unit roundoff u in the no-underflow operationwise model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. During an update, whenever an entry a of a supplied matrix, factor, or vector is read as an arithmetic operand or copied into a QR prearray, first convert it to fl⁡(a) in that format. Return range-failure at that read if conversion fails under the same no-underflow rule. Read operands from left to right; for products and block copies, visit output entries column by column, with increasing row index within each column. Repeat the conversion on each such read; the supplied arrays themselves remain unchanged. The formulas below use these converted entries during execution, while P0,Qk,Rk,Fk,Hk,yk,m0 denote the original exact target data in comparisons with the canonical recursion. In particular, conversion errors must be included in any certified local error bounds. For T=0, return the input pair immediately without reading or converting its entries. Every matrix or vector product below is evaluated as left-to-right dot products. A nonzero nonnormal intermediate, nonfinite result, zero innovation diagonal, or failed factorization returns a status and the first failing step; it is not coerced into a covariance estimate. Each arithmetic and factorization failure has a declared return; there is no iterative convergence loop or unbounded refinement search.

The QR operation used below is the following unpivoted reduced procedure on A∈Rm×n with floating-point entries and m≥n≥1. Initialize a working array R(0)=A and an empty ordered reflector list. For j=1,…,n, take x=Rj:m,j(j−1) and B=Rj:m,j+1:n(j−1), call Scaled Householder reflector formation and application on (x,B), and, on success, replace the active block by its returned C+. If the call fails, return its first status and step. Store the exact orthogonal reflector represented by the returned record, or the identity for its identity branch. After n successful steps, return the computed upper-triangular block R=R1:n,1:n(n) and the ordered reflector list representing the exact product Qfull whose first n columns are the reduced Q factor. Do not materialize a rounded dense Q. The conventions are those of Full, reduced, and column-pivoted computational QR factorisations.

Initialize m0∣0=m0 and L0∣0=L0. At step k, perform the following operations in order.

  1. Compute the rounded mean prediction m^k∣k−1=fl⁡(Fkm^k−1∣k−1). Form the rounded factor product X^k=fl⁡(FkLk−1∣k−1). Concatenate G^k=[X^k  LQ,k] and append zero columns until its column count is qk=max⁡(dk,rk−1∣k−1+rQ,k). Apply the above reduced Householder QR procedure to G^kT∈Rqk×dk. On success let Rkp be its reduced upper factor and set Lk∣k−1=(Rkp)T. No diagonal positivity or full-rank condition is imposed on this prediction factor.

  2. Compute v^k=fl⁡(yk−fl⁡(Hkm^k∣k−1)). Pad LR,k with zero columns to rˉk=max⁡(pk,rR,k) columns. Compute Y^k=fl⁡(HkLk∣k−1) and form the block prearray Z^k=[LR,kpadY^k0Lk∣k−1]. Apply the above reduced Householder QR procedure to Z^kT∈R(rˉk+dk)×(pk+dk). Its row count is at least its column count: the prediction step gives Lk∣k−1∈Rdk×dk, and rˉk≥pk. On success transpose its reduced upper factor and partition the resulting lower factor as L^k=[L^11,k0L^21,kL^22,k], with block sizes pk and dk. If any diagonal entry of L^11,k is zero, return innovation-factorization-failure. Otherwise, for each i=1,…,pk, multiply column i of the whole factor L^k by the sign of its diagonal entry. These exact sign changes make L^11,k have positive diagonal and preserve L^kL^kT and its lower block structure. Use the resulting factor blocks below. No invertibility or positive diagonal is required of L^22,k.

  3. Solve L^11,kz^k=v^k by forward substitution in the order of Forward and backward substitution for triangular linear systems. Set m^k∣k=fl⁡(m^k∣k−1+L^21,kz^k),Lk∣k=L^22,k. Do not form a covariance downdate or an explicit matrix inverse. The factor-defined covariance Lk∣kLk∣kT is positive semidefinite as an exact product of the returned entries; no claim is made that a separately rounded materialization of that product remains positive semidefinite.

  4. If any arithmetic operation or QR call returns a failure status, return the first such failure and its step; if the leading innovation block has a zero diagonal, return innovation-factorization-failure. Otherwise the finite loop returns the predicted and updated mean/factor arrays with success. The success status records arithmetic and factorization completion only.

For T=0 the loop is empty and the output is (m0,L0) with no update status. In exact arithmetic, the result implements the covariance and mean map of Exact linear-Gaussian Kalman filter. The prediction factor identity is supplied by QR prediction preserves the canonical covariance factor, and the measurement block identity by The block QR measurement update gives the canonical Kalman update. Under the inherited AC assumption its statistical interpretation is the one in The finite-horizon linear-Gaussian Kalman filter is exact. The nearby covariance supplied by an unstructured QR backward error may introduce cross-correlations between model blocks. Therefore no backward-stability claim within the original independent-noise state-space model, and no uniform-in-time accuracy or stability claim, is part of this procedure.

Depends on

Used by

Dependency tree · two levels

37 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources