Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: 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-budget Bartels-Stewart solve for a Sylvester equation

Definition

Let F∈{R,C}, m,n≥1, A∈Fm×m, B∈Fn×n and C∈Fm×n. Inputs also include a pivot threshold τ≥0, Schur controls for each matrix, a fixed constant c0>0, and nonnegative integer sweep budgets NA,NB satisfying NA≤c0m, NB≤c0n. The local transforms, certificate checks and block substitution use exact scalar arithmetic and comparisons. The delegated Schur calls retain their specified rounded arithmetic, admissible input representations, range conditions and statuses; their returned factors remain candidates until the exact checks below succeed.

The default real-block sign controller is the fixed exact real-arithmetic expression tree s=(a−d)2+4bc, followed by its sign comparisons, for Exact sign predicate for a real 2x2 characteristic discriminant. This uses five exact arithmetic operations and at most two sign comparisons in the declared exact local arithmetic model. For rational/dyadic encoded stored values, Rational or dyadic stored real blocks have a finite exact discriminant-sign evaluator gives the finite exact integer realization; a fixed-format decoder, when used, is included in the control cost. These exact controller operations are separate from the rounded Schur matrix updates. No bit-complexity bound for integer/rational arithmetic is claimed.

Choose either bounded-controller mode, the default, or arbitrary-terminating-controller mode. In bounded mode supply a nonnegative integer per-call budget K. Custom sign or decoding routines are finite instruction programs over exact scalar real/integer arithmetic, comparisons, register operations and branches; no opaque callback is a unit instruction. The interpreter charges one unit per executed instruction, including decoding, the built-in tree and any custom-result verification within the same per-call K budget; it checks instruction/operation validity when encountered and returns undecided on exhaustion or invalid execution. An undecided sign is propagated as the Schur type-undecided status and then outer schur-failure. The fixed built-in sign tree or integer recipe has a fixed finite instruction count independent of matrix dimension. Any custom reported sign must agree with the built-in exact discriminant tree before acceptance. In arbitrary-terminating mode custom programs must terminate on every supplied input; record their total executed controller work as Caux. This richer mode retains finite termination but has the additional work in its cost bound. In the cubic-cost branch K and representation-control instruction costs are fixed independently of matrix dimension. Programs are executed by instruction lookup without an up-front scan of unused code.

  1. Run Finite-budget computed Francis Schur reduction with explicit statuses on A and B with their supplied controls and budgets. If either call does not return Schur-computed, return schur-failure with the underlying status.

  2. Treat the returned factors as candidates and verify the exact certificates. In the complex branch check U∗U=I, A=UTU∗, and upper triangularity of T; in the real branch check UTU=I, A=UTUT, and the real block upper-triangular form of Real and complex Schur forms. Perform the corresponding checks for B=VSV∗. If any check fails, return schur-certificate-failure.

  3. Set D=U∗CV. Use the column-vectorization and Kronecker convention of Column vectorization is an isometry and represents the Sylvester map by a Kronecker sum. Partition T into diagonal blocks Tii and S into diagonal blocks Sjj as in the exact real or complex Schur form. Traverse j from left to right and, for each j, traverse i from bottom to top. Form

Fij=Dij−∑k>iTikYkj−∑ℓ<jYiℓSℓj.

The terms on the right have already been computed in this traversal order. Define Φij(Z)=TiiZ+ZSjj and its matrix representation Mij=Isj⊗Tii+SjjT⊗Iri on column-vectorized blocks, where ri,sj∈{1,2} are the block sizes. Let q=risj≤4 and compute δ(Mij) from A determinant and Frobenius norm give a certified lower bound for small-block separation. If det⁡(Mij)=0, return singular-pivot; if det⁡(Mij)≠0 and δ(Mij)≤τ, return pivot-separation-failure because the requested pivot bound is not certified. Otherwise use the cofactor adjugate formula of The adjugate gives an explicit inverse formula over a field to set vec⁡(Yij)=adj⁡(Mij)vec⁡(Fij)/det⁡(Mij) and store Yij. The local dimension is at most four in the real block case and one in the complex triangular case.

  1. After all blocks are solved, return success and X=UYV∗, together with the exact residual C−(AX+XB). No computed Schur candidate is accepted as an exact factorization unless step 2 verifies its defining equalities.

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