Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck pass
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.

A specified realified dense residual check bounds the exact residual

Statement

Let s≥1, A∈Rs×s, x,b∈Rs, and let each row dot product be evaluated left to right: round each product, then accumulate the rounded products from the first term onward. After computing p^=fl⁡(Ax), compute r^=fl⁡(b−p^) componentwise. Assume the standard relative model with unit roundoff u, all products, intermediate sums and subtractions are zero or in the normal range, and (s+1)u<1. Put γq:=qu/(1−qu).

For the exact residual r=b−Ax, the specified operation DAG satisfies ∣r−r^∣≤γs+1(∣b∣+∣A∣∣x∣) componentwise, and therefore ∥r∥∞≤∥r^∥∞+γs+1(∥b∥∞+∥A∥∞∥x∥∞), where ∥A∥∞:=max⁡i∑j∣Aij∣ and ∥x∥∞:=max⁡i∣xi∣. If d:=∥A∥∞∥x∥∞+∥b∥∞>0, the normwise backward-error ratio η∞:=∥r∥∞/d is at most γs+1+∥r^∥∞/d; if d=0, then r=0.

For n≥1, complex A∈Cn×n and x,b∈Cn, define Rnz:=(Re⁡z,Im⁡z)T∈R2n and R(A)=(Re⁡A−Im⁡AIm⁡ARe⁡A); put x~=Rnx and b~=Rnb. The following square expresses the realification identity proved by direct multiplication in step 1.1.

CnCnR2nR2nARnRnR(A)

Applying the same real DAG to R(A),x~,b~ gives the same componentwise bound with s=2n and the realified residual. This is a certificate for that explicit realified residual check; it is not a bound for an unspecified native complex-operation DAG or a solver-stability theorem.

Facts & Assumptions

Given: The realified matrix A, realified vectors x,b, the left-to-right dot-product and subtraction DAG in the Statement, and a unit roundoff u with (s+1)u<1.

[F1]

A left-to-right real dot product with s rounded products and rounded additions, under the stated normal-range hypotheses and su<1, has componentwise coefficients 1+δj with ∣δj∣≤γs=su/(1−su). The computed floating-point dot product obeys componentwise and normwise error bounds

[F2]

Each product, addition, or subtraction obeys fl⁡(z)=z(1+δ) with ∣δ∣≤u when its exact result is zero or normal; exact zero is preserved. The standard relative floating-point model and unit roundoff

[F3]

Real and imaginary coordinates and complex conjugation have the meanings in the standard complex representation. Real and imaginary parts, complex conjugation, and modulus

Proof

1.1givenF3algebra

In the real case set A~=A, x~=x, and b~=b, retaining the given dimension s. In the complex case write A=AR+iAI, x=xR+ixI, b=bR+ibI and set A~=(AR−AIAIAR), x~=(xR,xI)T, b~=(bR,bI)T, and s=2n. Direct multiplication gives A~x~=(Re⁡(Ax),Im⁡(Ax))T, so the realified residual is exactly the stacked residual for the original real or complex system.

1.2givenF1F2algebra

Fix a row i of A~ and put qi=∑j<s∣A~ijx~j∣. To include zeros in [F1], apply [F2] to every product and addition, taking its relative error to be zero whenever its exact result is zero. Unrolling the accumulation as in the proof of [F1], each exact term acquires at most s factors 1+ε with ∣ε∣≤u. For m≤s such factors, expansion and the triangle inequality give ∣∏ℓ=1m(1+εℓ)−1∣≤(1+u)m−1≤mu/(1−mu)≤γs; the middle bound follows by induction from (1+u)m≤(1−mu)−1. Thus ∣p^i−(A~x~)i∣≤γsqi and ∣p^i∣≤(1+γs)qi.

2.1givenF2step 1.2algebra

By [F2], the rounded subtraction error is at most u∣b~i−p^i∣≤u(∣b~i∣+∣p^i∣). Combining with step 1.2 gives ∣(b~i−(A~x~)i)−r^i∣≤[γs+u(1+γs)]qi+u∣b~i∣.

3.1givenstep 2.1algebra

The coefficient satisfies γs+u(1+γs)=(s+1)u/(1−su)≤(s+1)u/(1−(s+1)u)=γs+1, since (s+1)u<1; also u≤γs+1. Thus step 2.1 is at most γs+1(qi+∣b~i∣). Doing this for every row proves the componentwise bound.

4.1step 3.1algebra

By the triangle inequality, ∥r~∥∞≤∥r^∥∞+γs+1∥∣b~∣+∣A~∣∣x~∣∥∞. For each row, ∑j∣A~ij∣∣x~j∣≤(∑j∣A~ij∣)∥x~∥∞; taking maxima gives the normwise bound.

5.1step 4.1algebra∎

If d>0, divide the normwise bound by d to obtain η∞≤γs+1+∥r^∥∞/d. If d=0, then b~=0 and either A~=0 or x~=0, so b~−A~x~=0.

Remarks

The complex branch uses the explicit 2n-dimensional realification DAG, so its parameter is γ2n+1. It does not treat one complex multiply-add as one real operation. A different residual evaluator needs its own operation-DAG analysis.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

14 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