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 Householder QR solve for a Padé denominator with explicit statuses

Definition

Input exact complex matrices M∈Cn×n, C∈Cn×r, n,r≥1, and a nonnegative integer candidate-operation budget K. Retain their exact real/imaginary values for the final audit. Rational complex inputs M,C∈Q(i) are included.

The verification/controller model is an exact real-RAM: its scalar field operations +,−,×,/, zero/order comparisons, finite indices and copies act on the exact input/stored real values. Complex controller operations mean their real-component field formulas. The final audit uses the fixed row-major loops for MX^−C, with inner products summed in increasing index order, and tests all real/imaginary components for zero. These are prescribed finite expression trees/loops, not an unprovided certification oracle. No implementation or bit-cost claim for arbitrary real encodings is made. In a rational adapter, exact rational inputs and a supplied finite format codebook give every stored real code its exact rational value; decoding is finite table lookup. When all required codes/values are supplied, the same audit is finite exact rational arithmetic (binary formats give dyadic values). Missing/invalid adapter data return representation-inconclusive; they are not silently assumed. The default exact real-RAM route requires no rational/dyadic decoder.

Candidate operations use Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. Charge one budget unit BEFORE each rounded real primitive, including each component conversion and every primitive inside a called norm, reflector, complex product, subtraction or division. On exhaustion return budget-exhausted with any available partial candidate. Successful exact controller operations, index loops, comparisons, conjugations and copies are separate from this rounded-operation budget; their loops are finite and no total cubic or bit-cost assertion is made here. Each excluded rounded intermediate returns range-failure with its index and partial values. Required stored scalar constants must be admissible, or the candidate route returns candidate-failure.

Instrumented kernel execution. The calls in steps2–3 are macros, not opaque subroutine calls: expand the actual finite loops and scalar expressions of the two named Householder definitions, including the scaled real-component norm, phase-modulus norm, stored-vector squared norm, all sequential real dot operations, real-scalar component multiplication, six-real-operation complex products, additions/subtractions, divisions and square roots. Replace each requested rounded real primitive or component conversion by the following dispatcher. With counter b initially zero, first test b=K; if equal, return budget-exhausted immediately without evaluating that primitive. Otherwise increase b by one and execute exactly that one primitive in the source arithmetic model; propagate its first failure. No macro, norm or reflector is executed before its primitives are dispatched, and no budget count is guessed after a completed call. Keep all source loop indices, zero branches, target overwrites, success/failure labels and operation order; a zero-column marker represents the identity and skips reflector denominators and RHS arithmetic. Exact control comparisons/copies remain separate. This is a budgeted execution of the same kernels, not a replacement numerical method. A fully funded execution is identical to the source operation trace. A partial candidate includes an explicit completed-entry mask and is never presented as a complete solution matrix. The exact audit in step4 is reached only after every one of the nr solution entries is successfully computed.

  1. Convert M completely before C, visiting columns increasingly, rows increasingly within each column, and each real component before its imaginary component, to form stored candidates R,D. A failed conversion returns range-failure (or budget-exhausted before an unaffordable conversion).
  2. For k=1,…,n, call Scaled complex Householder reflector step with explicit range status with target Rk:n,k and trailing block Rk:n,k+1:n. Retain its target overwrite and trailing update, and store v,τ^ and the represented factor. Propagate breakdown, range-failure and budget exhaustion. A zero-column identity branch copies the blocks. Replay this SAME stored reflector on the active RHS panel Dk:n,: in formation order, without any target overwrite, using the separate-block kernel of Scaled real and complex Householder and Givens update arithmetic: for each RHS column j compute dj=fl⁡ ⁣(∑i=knv‾iDij),pi=fl⁡(τ^vi),zij=fl⁡(pidj),Dij←fl⁡(Dij−zij). Use the source's increasing indices, first-term-copy sequential dots, componentwise real-coefficient multiplication and declared complex products. Finish all dj, then recompute all pi from the stored v,τ^, then all zij, then all subtractions, in the source's column-major order. No product from a previous block call is reused. Identity reflectors copy D. Do not feed nonstored normalized reflector entries to floating operations. After the column step, if Rkk=0, return zero-pivot.
  3. For each RHS j in increasing order and each row i=n,…,1, start s=Dij and for ℓ=i+1,…,n set s←fl⁡(s−fl⁡(RiℓX^ℓj)). This is the rounded backward recurrence of Forward and backward substitution for triangular linear systems. To divide s=a+ib by the nonzero stored pivot Rii=c+id, use ONLY the following rounded real primitives in the displayed order: t=fl⁡(fl⁡(cc)+fl⁡(dd)),p=fl⁡(fl⁡(ac)+fl⁡(bd)),q=fl⁡(fl⁡(bc)−fl⁡(ad)), X^ij=fl⁡(p/t)+ifl⁡(q/t). Reject t≤0 as range-failure; every other nonzero excluded intermediate also fails under the scalar model. This deliberately conservative routine can fail on range even for a nonzero pivot; it is not a new complex-division primitive. Other invalid candidate data return candidate-failure.
  4. Compute MX^−C in the declared exact controller on the original inputs and exact stored values. If it is exactly zero, return verified-solution with X^; otherwise return candidate-unverified with X^ and the exact nonzero residual. Use the rational adapter only when its actual encoded-data preconditions hold.

Every candidate loop has finite dimensions and budget; every exact audit loop has a fixed finite index set. No accuracy, stability or uniqueness is inferred from the candidate generation. A verified solution need not be unique unless the caller separately knows M invertible. All original rational-input/decoded-format instances remain available through the explicit adapter.

Depends on

Used by

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