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.
Matrix Functions and Scaling Squaring
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Analyticity of Holomorphic Functions; Liouville and Morera
- Arc Length and Rectifiable Curves
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Bounded Variation and the Riemann–Stieltjes Integral
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Coordinate and Path Transport
- Complex Differentiability and the Cauchy–Riemann Equations
- Complex Norms and Realification
- Complex Power Series and Analytic Functions
- Complexification, Realification and Real Structures
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Computed Schur decompositions and nonnormal spectra
- Computed singular values and rank revealing factorizations
- Conformal Mapping, Branches, and the Schwarz Lemma
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Connectedness
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Contour Integration
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Direct Matrix Factorisations: LU, Cholesky and QR
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalue Iterations and the QR Algorithm
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Fundamental Trigonometric Identities
- Goursat's Theorem and Cauchy's Theorem in a Convex Domain
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Line Integrals and the Gradient Theorem
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Matrix Differentiation and First-order Spectral Perturbation
- Matrix Norms, Condition Numbers and Numerical Stability
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Outward rounded interval and ball arithmetic
- Partitions of Unity and Paracompactness
- pi: the Equivalent Characterizations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Strongly Continuous Semigroups and Hille Yosida
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Sylvester and lyapunov matrix equations
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Fundamental Theorems of Calculus
- The Galois Correspondence
- The Identity Theorem, the Maximum Principle and the Open Mapping Theorem
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The Winding Number and the Global Cauchy Theorem
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Verified linear systems and spectral enclosures
2 · Summary
An analytic matrix function can be defined by applying one scalar holomorphic branch and its derivatives to the Jordan blocks. Finite Hermite interpolation produces a polynomial representing those same jets, which proves independence of the chosen Jordan form, similarity invariance, the contour formula, and the normal spectral formula. The page also records the principal logarithm and square root on the slit plane and the Fréchet derivative of the exponential.
For the exponential, the diagonal Padé approximant is fixed at a finite order. Its scalar remainder and the recurrence for squaring defects are proved directly. A rational contour estimate transfers scalar error to a matrix only when a uniform resolvent bound is available; this condition matters for nonnormal matrices. The scaling-and-squaring bound is conditional on exact denominator and squaring audits, a validated contour resolvent bound, and caller-supplied contour topology. The validator does not establish the contour index or count enclosed eigenvalues. Candidate-only runs carry no error claim.
The Schur–Parlett procedure verifies exact Schur and Sylvester identities and returns an inconclusive status when those checks or required block data fail. Its recurrence has a separate exact correctness proof; no floating-point stability claim is made. Newton polar and matrix-sign algorithms likewise separate finite rounded iterations from convergence theorems about their exact sequences.
The candidate denominator solve reuses stored reflector kernels on both the factorization and right-hand side, defines complex pivot division through rounded real components, and enforces its candidate-operation budget. Exact residual and error-controller formulas use finite exact real-RAM loops; the fully encoded rational adapter retains a finite exact rational implementation. No decoder or bit-computability is presumed for arbitrary stored reals.
A separate result proves termination for the seven finite procedures and the instrumented candidate-operation budgets. Every rounded kernel primitive is dispatched before spending its budget; partial candidates are not squared or audited as complete. Contour bounds use coefficient-weighted chain length, while exact analytic/Newton convergence and certification hypotheses remain separate.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Diagonal Padé approximant to the exponential
Definition
For an integer , put The diagonal Padé rational function of order for the scalar exponential The complex exponential by its power series is at every for which . The pair is normalized by . This definition does not assign a value at a zero of the denominator.
Finite Hermite data at distinct eigenvalues have a unique polynomial representative
Statement
Let , let be distinct, let be positive integers, and put . Let , with the empty span . For arbitrary data with and , there is exactly one polynomial satisfying
Facts & Assumptions
Given: A finite list of distinct nodes (possibly empty), positive multiplicities when nodes are present, and the derivative data .
The space and the coordinate space both have dimension ; the monomial basis is , empty when .
The map that sends a polynomial to the finite list of its derivatives at the fixed nodes is linear.
Proof
Let be given by . By [F2], is linear, and by [F1] its domain and codomain both have dimension .
If , then , so is injective. If and , the exact Taylor expansion of the polynomial at shows divides for every . The factors for distinct are pairwise coprime, so their product of degree divides . Since has degree less than , this forces . Thus is injective in either case.
An injective linear map between finite-dimensional spaces of the same dimension is surjective, so the prescribed vector has a preimage under and that preimage is unique.
Error propagation through exact and perturbed squaring steps
Statement
Let be a submultiplicative norm on square matrices. Suppose and for matrices of the same size. If , then The term records the entire defect in the computed squaring.
Facts & Assumptions
Given: The matrices and recurrence above, and a matrix norm satisfying for every compatible product.
The chosen matrix norm is submultiplicative, as stated in the hypotheses.
Proof
Put . The noncommutative identity follows by expanding the right side and cancelling .
By [A1] and the triangle inequality, ; also . Hence .
The identity and step 2.1 give the claimed bound by the triangle inequality.
Analytic primary matrix functions by Jordan blocks
Definition
Let with , let be open with , where is the eigenvalue set from Eigenvalues, eigenvectors, eigenspaces , and the spectrum of an endomorphism, and let be holomorphic in the sense of Complex differentiability at a point, the complex derivative, holomorphic functions, and entire functions. Choose a Jordan representation in the convention of Jordan bases and Jordan canonical forms over the base field, which exists by Jordan form over the base field exists exactly when the characteristic polynomial splits and Fundamental theorem of algebra: every nonconstant complex polynomial has a complex root: where and has ones on its first superdiagonal and is nilpotent of order at most . Define the Jordan expression The analytic primary matrix function is this expression, with the same single scalar branch and its derivatives used in every block at a repeated eigenvalue. Its independence of the chosen Jordan representation is discharged by Jordan, contour, similarity, and normal-functional-calculus formulas agree ↗.
A finite scalar remainder bound for the diagonal Padé exponential
Statement
For and , put with the empty sum equal to zero and as in Diagonal Padé approximant to the exponential. If , then has no zero in and, for every such , This is a finite-order bound; it makes no adaptive choice of or scaling.
Facts & Assumptions
Given: An integer , a radius with , and a complex number with .
The Padé numerator and denominator coefficients are and (Diagonal Padé approximant to the exponential).
The scalar exponential is its everywhere absolutely convergent series (The complex exponential by its power series); the bounded-operator exponential lemma includes absolute convergence of the same series when the operator is multiplication by a scalar (The exponential series of a bounded operator).
Proof
Set . For real and fixed , the power series in [F2] gives . For , the inner sum is bounded by , so the summable majorant makes the tails uniform in ; termwise limits of finite partial sums then give . For , integration by parts times, using , gives For , both endpoint derivatives vanish. For with , expansion of at the endpoints gives and . After multiplication by , the coefficient of is , and the coefficient of without is . These are exactly the coefficients of , so collecting the powers gives Both sides are continuous at , so the identity holds there as well.
By the triangle inequality, . Thus has no zero in the disk. Also as follows by integrating by parts times and then integrating . Hence .
Divide the identity in step 1.1 by the nonzero from step 2.1 and use . This gives the stated remainder bound.
Primary matrix sign for spectra off the imaginary axis
Definition
Let , , have , where is the spectrum from Eigenvalues, eigenvectors, eigenspaces , and the spectrum of an endomorphism. The scalar function for and for is locally constant and holomorphic on . Define the primary matrix sign by using Analytic primary matrix functions by Jordan blocks. This definition fixes the same half-plane branch on every Jordan block belonging to an eigenvalue.
Jordan, contour, similarity, and normal-functional-calculus formulas agree
Statement
Let , , and let be holomorphic on an open set containing . The Jordan expression in Analytic primary matrix functions by Jordan blocks is independent of the chosen Jordan representation and satisfies for every invertible . It equals for the unique Hermite polynomial matching the derivatives of at the Jordan eigenvalue data; in particular, it commutes with . For holomorphic on , it also satisfies . If is normal, it equals the spectral functional calculus The spectral functional calculus f(T) for a normal endomorphism.
If is block upper triangular with diagonal blocks and is holomorphic on a neighborhood of , then is block upper triangular and its diagonal blocks are .
For the contour formula, let be a finite complex cycle with trace in , null-homologous in , disjoint from , and with index for every . Then, with the matrix line integral taken entry by entry,
Facts & Assumptions
Given: The matrix , the open set , the holomorphic function , and, when the contour clause is used, a cycle satisfying the stated trace, null-homology, disjointness, and index hypotheses.
The Jordan expression uses the block and is the proposed definition of (Analytic primary matrix functions by Jordan blocks).
Arbitrary finite derivative data at distinct nodes have a unique polynomial representative of degree less than the sum of the multiplicities (Finite Hermite data at distinct eigenvalues have a unique polynomial representative).
Every complex finite-dimensional matrix has a Jordan form, and its Jordan block multiset is invariant under similarity (Jordan form over the base field exists exactly when the characteristic polynomial splits, Fundamental theorem of algebra: every nonconstant complex polynomial has a complex root, Split matrices are similar exactly when their Jordan block multisets agree).
For a null-homologous cycle, the higher Cauchy formula is (The higher-derivative form of the global Cauchy formula); the chain integral is the finite sum of its contour integrals (Integration over a complex chain and the index of a chain).
A normal endomorphism has a spectral resolution by orthogonal eigenspace projections (A normal endomorphism is a sum of its eigenvalues times pairwise orthogonal projections, and each spectral projection is a polynomial in the endomorphism); its spectral functional calculus is (The spectral functional calculus f(T) for a normal endomorphism).
Linearity, product, reciprocal, and quotient rules for complex derivatives gives the complex product rule and finite-sum linearity.
Proof
Let be any finite complex square matrix whose eigenvalues lie in , let be its distinct eigenvalues, and let be the largest Jordan-block size at . By [F2], there is a unique polynomial of degree less than with for .
On a block , the finite geometric identity holds whenever , since multiplication by cancels adjacent terms and .
For every integer , the higher product rule is : the case is the product itself; differentiate the finite sum using [F6] and combine adjacent terms by to obtain the successor case. Thus on each Jordan block, multiplying the finite Taylor jets has degree- coefficient . Since , terms of degree at least vanish, and the resulting block is exactly the jet of . Conjugating block by block proves .
For each Jordan block , the exact finite Taylor expansion of at gives because . Since , these derivatives equal those of ; hence equals the Jordan expression in [F1].
Apply [F4] to each eigenvalue with index one. Integrating the finite sum in step 1.2 term by term therefore gives The integral is a finite sum of scalar integrals, so entrywise linearity justifies the operation.
By [F3], any other Jordan representation has the same block multiset, so the same nodes and maximal sizes determine the same unique polynomial . Thus its Jordan expression is again . For invertible , for every , so . This proves independence and similarity invariance for every .
Let be block upper triangular and let be the Hermite polynomial obtained from steps 1.1–2.1 with . By [F3], if is the largest Jordan-block size of at , then annihilates . Every power of is block upper triangular with th diagonal block , so for each . Any eigenvalue of therefore satisfies , hence . If is a Jordan block of , then forces : the factor multiplying is invertible, so that nilpotent power must vanish. Thus the Hermite conditions defining give . Every power of also shows that is block upper triangular with these diagonal blocks; by step 2.1, . This proves the claimed block structure and diagonal blocks.
Conjugating the blockwise identity in step 2.2 by the Jordan basis matrix and using the definition in [F1] proves the contour formula. If is normal, [F5] supplies an orthonormal eigenbasis and all Jordan blocks have size one; the same formula is , which is the stated spectral functional calculus.
Finite analytic evaluation from a supplied exact Jordan decomposition
Definition
Input a complex matrix , , an open containing and a holomorphic function specified by exact derivative data of that same on the spectrum, and an exact supplied Jordan certificate with .
- Verify the dimensions, exact equality , invertibility of , and the stated Jordan block pattern. If any check fails, return invalid-Jordan-certificate.
- For each block, form the finite sum using the supplied exact derivatives. If a required value is absent, return missing-jet.
- Return with status exact.
All loops and matrix products have finite size. This is an exact-data evaluator; it makes no floating-point stability or complexity claim.
A verified Jordan evaluation returns the primary matrix function
Statement
If Finite analytic evaluation from a supplied exact Jordan decomposition returns status exact for the supplied , , and Jordan certificate, then its output is as defined by Analytic primary matrix functions by Jordan blocks.
Facts & Assumptions
Given: A successful exact-Jordan output for and a holomorphic .
On success the algorithm verifies and returns with (Finite analytic evaluation from a supplied exact Jordan decomposition).
The analytic primary matrix function is the same Jordan block expression (Analytic primary matrix functions by Jordan blocks), independent of the chosen representation by Jordan, contour, similarity, and normal-functional-calculus formulas agree.
Proof
By [F1], the returned matrix is the block expression formed from the verified Jordan representation and the exact derivatives of .
This is exactly the defining expression in [F2]; independence of the certificate choice is supplied by [F2]. Therefore the output equals .
The principal matrix logarithm and square root exist off the closed negative-real axis
Statement
Let , and let , , satisfy . The analytic primary matrices and exist and satisfy Moreover, lies in the strip , and lies in the open right half-plane. These are the unique matrices and satisfying respectively and with the stated spectral restrictions; this specifies what “logarithm” and “square root” mean in the uniqueness clause.
Facts & Assumptions
Given: A finite complex matrix with spectrum in the slit plane .
On , the principal logarithm is holomorphic and satisfies ; its values have imaginary part in (The principal logarithm is the normalised holomorphic branch on the slit plane, Complex logarithms, the principal logarithm, and principal and multivalued complex powers).
The principal branch power is and is holomorphic on (Complex powers defined from a holomorphic logarithm branch).
The primary matrix function is given by finite Taylor jets on each Jordan block and is similarity invariant (Analytic primary matrix functions by Jordan blocks, Jordan, contour, similarity, and normal-functional-calculus formulas agree).
The Sylvester map is uniquely solvable for every right-hand side when (A Sylvester equation is uniquely solvable exactly when the spectra are disjoint).
On a finite-dimensional complex normed space the bounded-operator exponential is the absolutely convergent power series (Every finite-dimensional normed space is Banach, The exponential series of a bounded operator).
Proof
On a Jordan block of size , the primary value of a holomorphic is . Products of such truncated Taylor polynomials agree modulo with the truncated Taylor polynomial of the scalar product, by the finite Leibniz rule. For composition , assume is holomorphic near and near . Write , where and . Every Jordan block of therefore has eigenvalue and size at most , so [F3] gives . Substituting the finite jet for yields precisely the Taylor jet of at modulo , since every discarded term has degree at least . Thus analytic identities on a neighborhood of remain valid on this Jordan block. In particular, the matrix exponential series agrees with the primary value of the scalar exponential: the binomial theorem and absolute convergence in [F5] give Only finitely many nilpotent powers occur, so rearranging the absolutely convergent sum is legitimate.
Applying step 1.1 to and gives and block by block and then by similarity. The eigenvalues of these primary matrices are their scalar values at the eigenvalues of , so [F1] and [F2] give the stated strip and right-half-plane restrictions.
Suppose is another logarithm of with spectrum in the open strip. On a Jordan block at , lies in and on a neighborhood of . Step 1.1 therefore gives . Applying this on every block of and using similarity invariance yields .
Suppose and lies in the open right half-plane. Put . Then . The spectra of and lie in the right half-plane, so . By [F4], the homogeneous Sylvester equation has only the zero solution; hence and .
The exponential Fréchet derivative has an integral and block-matrix formula
Statement
Let be open, holomorphic, , , with , and . The map is real Fréchet differentiable at , and for any admissible Cauchy cycle from Jordan, contour, similarity, and normal-functional-calculus formulas agree. Consequently For , the same derivative also has the formula
Facts & Assumptions
Given: The domain, holomorphic function, matrices, and an admissible Cauchy cycle enclosing .
The real Fréchet derivative on a complex matrix space is the real-linear first-order approximation in the Frobenius norm (The real Frechet derivative on real and complex matrix spaces with the Frobenius norm).
The primary matrix function has the contour formula on every admissible cycle (Jordan, contour, similarity, and normal-functional-calculus formulas agree).
The exponential power series converges absolutely in operator norm for bounded operators; finite-dimensional matrix spaces are Banach (Every finite-dimensional normed space is Banach, The exponential series of a bounded operator).
The index of a cycle is locally constant away from its trace (The index of a cycle is locally constant off its trace and vanishes far from it).
Proof
For compatible matrices , Cauchy–Schwarz applied to each entry gives . Summing over proves . Use this submultiplicative Frobenius norm below.
The cycle trace is compact and disjoint from , so is continuous and bounded on it. By [F4], each eigenvalue of has an open neighborhood contained in and disjoint from the trace on which the cycle index remains one (intersect the index neighborhood with , which is open and contains that eigenvalue); the finite union of these neighborhoods is an open index-one region . Every sufficiently small has : otherwise choose and . Normalize corresponding eigenvectors to Euclidean norm one; Cauchy–Schwarz gives , so a subsequence converges to some . Continuity of the determinant, a polynomial in the entries, gives , so . Since is open, is eventually in , a contradiction.
Put . If , then uniformly. The Neumann expansion gives and its final sum is bounded uniformly by .
Apply [F2] to and , whose spectra lie in by step 1.2. Subtract the contour formulas and use the uniform expansion in step 2.1. The integral of its remainder is because has finite length. Therefore which is the real Fréchet derivative in [F1] and gives the stated derivative formula.
For , direct block multiplication gives The determinant of a block upper-triangular matrix is the product of the determinants of its diagonal blocks, so and the cycle has index one on this spectrum. Applying [F2] to and reading its four blocks therefore gives the asserted block-function identity, with the upper-right block equal to the derivative integral from step 3.1.
The terms linear in in the absolutely convergent series for are ; terms containing at least two factors are by the binomial bound, submultiplicativity from step 1.1, and absolute convergence [F3]. Indeed their norm sum is at most . Thus this is also . Expanding into its two uniformly absolutely convergent series and integrating termwise, the coefficient of is where the integral identity follows by repeated integration by parts. Hence the time integral equals the same derivative series.
A resolvent contour bound transfers scalar rational error to matrices
Statement
Let with , let be holomorphic on an open containing , and let be rational with no pole on . Let be an admissible Cauchy cycle for contained in . Write its finite chain representation as with integer coefficients and define its coefficient-weighted length by . The integral and this length use the same signed-chain representation. Suppose Then The resolvent hypothesis may be supplied by the diskwise certificate of Diskwise Neumann certificates bound a complex matrix resolvent. A scalar disk error alone does not give this matrix bound for a nonnormal matrix.
Facts & Assumptions
Given: as in the statement.
Analytic primary matrix functions have the Cauchy-cycle representation (Jordan, contour, similarity, and normal-functional-calculus formulas agree).
The complex infinity matrix norm is the maximum absolute row sum (The complex induced infinity matrix norm) and is submultiplicative (The complex infinity matrix norm is compatible and submultiplicative).
The resolvent certificate gives the stated uniform bound on the supplied contour when its disk inequalities hold (Diskwise Neumann certificates bound a complex matrix resolvent).
Proof
Since and are holomorphic on , [F1] applied to each gives The cycle is disjoint from , so every resolvent in the integrand exists.
Write the finite chain integral as . Parametrize each rectifiable contour piece by arc length. Multiplying its estimate by and applying the triangle inequality to the finite chain sum gives the coefficient-weighted total , including zero or negative coefficients. For every row, the absolute value of the integral is at most the integral of the absolute value; summing the row bounds and using [F2] gives For , the hypotheses give , with the resolvent bound certified by [F3].
Taking norms in step 1.1, applying step 1.2, and using proves the claimed estimate.
Finite Householder QR solve for a Padé denominator with explicit statuses
Definition
Input exact complex matrices , , , and a nonnegative integer candidate-operation budget . Retain their exact real/imaginary values for the final audit. Rational complex inputs 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 , 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 initially zero, first test ; if equal, return budget-exhausted immediately without evaluating that primitive. Otherwise increase 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 solution entries is successfully computed.
- Convert completely before , visiting columns increasingly, rows increasingly within each column, and each real component before its imaginary component, to form stored candidates . A failed conversion returns
range-failure(orbudget-exhaustedbefore an unaffordable conversion). - For , call
Scaled complex Householder reflector step with explicit range status with target and trailing block . Retain its target overwrite and trailing update, and store and the represented factor. Propagate
breakdown,range-failureand budget exhaustion. A zero-column identity branch copies the blocks. Replay this SAME stored reflector on the active RHS panel 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 compute Use the source's increasing indices, first-term-copy sequential dots, componentwise real-coefficient multiplication and declared complex products. Finish all , then recompute all from the stored , then all , then all subtractions, in the source's column-major order. No product from a previous block call is reused. Identity reflectors copy . Do not feed nonstored normalized reflector entries to floating operations. After the column step, if , returnzero-pivot. - For each RHS in increasing order and each row , start and for set . This is the rounded backward recurrence of
Forward and backward substitution for triangular linear systems. To divide by the nonzero stored pivot , use ONLY the following rounded real primitives in the displayed order:
Reject 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 returncandidate-failure. - Compute in the declared exact controller on the original inputs and exact stored values. If it is exactly zero, return
verified-solutionwith ; otherwise returncandidate-unverifiedwith 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 invertible. All original rational-input/decoded-format instances remain available through the explicit adapter.
An exact residual check certifies the Padé denominator solve
Statement
If Finite Householder QR solve for a Padé denominator with explicit statuses returns verified-solution with output for exact complex matrices in its declared exact-controller model, then exactly. If is invertible, this solution is unique; in particular, when used with an invertible Padé denominator, it is the exact denominator solve. This includes the original rational-input instance and its finite exact rational audit whenever the adapter encodings are supplied.
Facts & Assumptions
Given: Exact complex matrices and a verified-solution output .
The algorithm returns verified-solution only after exact controller evaluation of gives the zero matrix (Finite Householder QR solve for a Padé denominator with explicit statuses).
The Padé numerator and denominator are and , and where the denominator is nonzero (Diagonal Padé approximant to the exponential).
Proof
By [F1], the exact residual is zero, so the returned matrix satisfies .
If is invertible, left multiplication by gives , which is the unique solution. In the Padé use, take and by [F2]; the conclusion applies whenever this denominator matrix is invertible.
Finite-order Padé scaling-and-squaring exponential
Definition
Input a finite complex matrix , , whose stored entries are representable in the operationwise model, a Padé order , an integer scaling count , finite nonnegative integer Householder-candidate and squaring-operation budgets, finite scalar-series budgets, and an error policy that is either candidate-only or certify. The procedure never selects adaptive Higham parameters. Certification data, including contour vertices and the radius, have exact dyadic or rational encodings.
- Interpret the stored entries of as their exact real/imaginary values and form exactly. Evaluate and by exact controller matrix arithmetic: increasing-index sums/products and finite polynomial powers with their rational coefficients. Use the exact real-RAM controller declared in Finite Householder QR solve for a Padé denominator with explicit statuses; the optional rational adapter is used only when all required actual encodings are supplied. No dyadic representation is assumed for the abstract floating model.
- Call Finite Householder QR solve for a Padé denominator with explicit statuses on , explicitly passing the supplied finite Householder-candidate operation budget . Continue only if the returned record contains a complete finite stored matrix, with all entries marked complete, and status
verified-solutionorcandidate-unverified. A partial candidate or any budget, range, representation or other failure is propagated with its original status and available partial record; do not square it. Retain a complete unverified candidate only in candidate-only mode; certification mode returns denominator-unverified. A complete matrix accompanying a failure status does not authorize continuation. - For , compute the next matrix square in the operationwise model. A range failure returns range-failure with the last candidate. Retain their exact stored real values and form by the exact controller's finite matrix loops. Set ; this exact nonnegative real number bounds .
- In candidate-only mode, return the final candidate with status unevaluated-error-bound. Certification mode has these caller preconditions, which the procedure does not itself verify: (a) a supplied polygonal Cauchy cycle with dyadic vertices, trace in a disk for dyadic , , disjointness from , index one on , and null-homology in that disk; (b) ; (c) a supplied finite dyadic resolvent-cover input for the singleton family ; and (d) a finite term budget . The contour-validator call Finite complex contour resolvent validator with cover and inconclusive statuses must return certified-resolvent-cover with bound , or the procedure returns inconclusive-resolvent. The validator checks resolvent inequalities and segment coverage only; it does not validate the caller's topological preconditions or count enclosed eigenvalues. Here denotes the eigenvalue set of from Eigenvalues, eigenvectors, eigenspaces , and the spectrum of an endomorphism.
- For and for , compute an upper bound for as follows. If , set . Otherwise, if , return inconclusive-scalar-tail. If , put , . The scalar-tail inequality used by the error theorem is proved separately there; this step defines the finite expression, rather than treating a Definition sentence as its proof.
- Write the supplied finite polygonal chain as , with integer coefficients. Let ; then is an exact rational upper bound for the coefficient-weighted contour length (the supplied vertices have rational/dyadic encodings). Put . Since , the finite identity on gives , hence . Set .
- For each squaring use . If every computed certification check succeeded, the denominator solve returned verified-solution, and the caller preconditions hold, return the final candidate with status conditional-error-bound and bound . Otherwise retain the candidate and return the corresponding inconclusive status.
The exact controller uses only prescribed finite field-expression trees and
loops over dimensions, and the finite scalar-series term budget ;
absolute values/maxima use exact comparisons. It performs no additional
unprovided certification call. Count every rounded real primitive of a square
in row-major/increasing inner-index order against an explicitly supplied
finite squaring-operation budget, and propagate budget-exhausted before an
unaffordable operation. The solve uses its separately supplied finite
candidate-operation budget. Exact controller work is separate: its values
need not be rational, and no bit-computability or total bit-cost bound for
arbitrary real encodings is claimed. For the optional rational adapter with
all values encoded, these same finite formulas use exact rational arithmetic.
All loops are finite. The conditional-error-bound status is sound
only under the caller preconditions in step 4 and does not mean that the
procedure checked contour topology or eigenvalue count. No floating-point
stability is asserted for the candidate alone.
Condition estimates and certified matrix-function error bounds
Remark
A scalar Padé remainder or a condition estimate does not by itself certify for a nonnormal matrix. The transfer bound in A resolvent contour bound transfers scalar rational error to matrices contains the contour length and a uniform resolvent bound; the latter can be much larger than a scalar disk estimate suggests. Schur–Parlett block separation supports unique Sylvester solves, but is not a floating-point stability theorem. Without a validated resolvent bound or a justified block solve, these ingredients furnish no certified contour error bound or exact Schur–Parlett value, respectively.
Finite-budget Newton iteration for the nonsingular polar factor
Definition
Input a stored square complex matrix , , which is assumed nonsingular, a finite iteration budget , and finite Householder-QR controls including a nonnegative integer candidate-operation budget . Set the candidate . For :
- Call Finite Householder QR solve for a Padé denominator with explicit statuses on , passing to its instrumented kernel dispatcher. If it does not return verified-solution, return its failure status with the last candidate.
- Compute componentwise in the operationwise model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. A range failure returns range-failure with the last candidate.
After completed steps, return with status budget-exhausted and the number of completed steps. The exact Newton sequence is analyzed separately; this procedure makes no forward-error or floating-point convergence claim.
Finite-budget Newton iteration for the matrix sign
Definition
Input a stored complex square matrix , , with the admissibility hypothesis , a finite iteration budget , and finite Householder-QR controls including a nonnegative integer candidate-operation budget . The procedure does not itself certify the spectral hypothesis. Set . For :
- Call Finite Householder QR solve for a Padé denominator with explicit statuses on , passing to its instrumented kernel dispatcher. If it does not return verified-solution, return its failure status with the last candidate.
- Compute componentwise in the operationwise model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. A range failure returns range-failure with the last candidate.
After completed steps, return with status budget-exhausted and the number of completed steps. The exact Newton sequence is analyzed separately; the procedure makes no forward-error or floating-point convergence claim.
Padé error and squaring defects give a conditional exponential error bound
Statement
Suppose Finite-order Padé scaling-and-squaring exponential returns status conditional-error-bound for a stored finite matrix , Padé order , and scaling count , with computed candidate and exact nonnegative upper bound (rational in the fully encoded rational adapter). Also suppose the caller-supplied certification hypotheses hold: with , the cycle is polygonal with trace in for exact dyadic , , is disjoint from and null-homologous in the disk, and its index is one at every point of . Then The assertion is conditional on the exact denominator residual, scalar disk remainder, caller-supplied contour topology, validated contour resolvent bound, and every recorded squaring-defect bound. The validator does not establish the contour hypotheses or count enclosed eigenvalues. A finite budget need not produce a bound.
Facts & Assumptions
Given: A conditional-error-bound return with exact stored matrix , Padé order , scale , disk radius , , coefficient-weighted contour length upper , validator bound , scalar exponential upper bounds and , local squaring bounds , and recurrence values .
The algorithm forms , computes the rational-coefficient polynomial matrices and exactly, and accepts its initial candidate only after an exact solve check (Finite-order Padé scaling-and-squaring exponential).
A verified denominator solve satisfies exactly (An exact residual check certifies the Padé denominator solve).
The scalar exponential is the everywhere-defined power series (The complex exponential by its power series). If , then has no zero in the disk and for (A finite scalar remainder bound for the diagonal Padé exponential).
A scalar rational error and uniform contour resolvent bound imply (A resolvent contour bound transfers scalar rational error to matrices).
The validator's successful return supplies the stated uniform resolvent bound on every supplied contour segment (The finite disk cover validator returns a uniform resolvent bound on success).
If and , then (Error propagation through exact and perturbed squaring steps).
The complex infinity norm is the maximum absolute row sum (The complex induced infinity matrix norm) and is submultiplicative (The complex infinity matrix norm is compatible and submultiplicative).
The bounded-operator exponential series is absolutely convergent and satisfies (Every finite-dimensional normed space is Banach, The exponential series of a bounded operator).
Analytic primary matrix functions respect products (Jordan, contour, similarity, and normal-functional-calculus formulas agree).
The Padé functions are , , and where the denominator is nonzero (Diagonal Padé approximant to the exponential).
The algorithm defines and, for , (Finite-order Padé scaling-and-squaring exponential). Its upper-bound property is proved in step 1.1 below.
, and on the finite identity holds.
Proof
For the series gives . For , put and . For every , . Induction yields . Finite geometric sums and passage to the convergent series give . Adding the first terms proves for both actual scalar inputs. This uses the explicit exponential series in [F3], not an unproved algorithm property.
Integrating [L1] gives a positive remainder and the partial sum . Since , we have , hence and . Therefore whenever .
Let . Since , [F3] makes nonzero throughout , which contains by the caller's topological hypothesis. In a Jordan basis of , polynomial evaluation makes each block of upper triangular with diagonal , so is invertible. The polynomial has finitely many zeros and none in the closed disk by [F3]; hence some makes nonzero on the open disk , which contains both and . Thus is holomorphic there. By the product rule [F9] applied to , , hence . Applying [F9] again to from [F10] gives . The polynomial matrices and commute, so this is also . The exact solve from [F2] therefore makes the initial candidate .
Put for . The exponential semigroup law in [F8] gives and . The row-sum matrix norm is the operator norm induced by the vector infinity norm: the row triangle inequality gives the upper bound, and for a maximizing row choose each nonzero coordinate of to cancel the phase of that matrix entry, with arbitrary unit phases for zero entries; then and that row attains its row sum. By [F7] and [F8], by [F11], where is the exact row bound used by the algorithm.
The scalar bound [F3] applies at every point of because its trace lies in . Since by [F11], it gives with the computed by the algorithm. The validator gives the resolvent bound by [F5]; applying [F4] and then step 1.2 gives
For each returned square, the exact controller audit defines . Since , its row sums give . If , [F6] and step 2.1 imply Starting from step 2.2, induction proves this bound for every .
At , by step 2.1, so step 3.1 gives , as claimed.
Newton polar iterates converge quadratically under an explicit norm condition
Statement
Let be nonsingular, write its polar decomposition with unitary and positive definite, and define the exact Newton iterates Then every iterate is defined, , and for every , This is a theorem about the exact sequence, not a rounding-error guarantee for Finite-budget Newton iteration for the nonsingular polar factor.
Facts & Assumptions
Given: A nonsingular complex matrix and its exact Newton sequence.
A nonsingular matrix has a polar factorization with unitary and positive definite (Every endomorphism has a polar decomposition T = SU with U non-negative and S an isometry on the orthogonal complement of ker T, and S is unique exactly when T is invertible, A non-negative operator has a unique non-negative square root).
A positive self-adjoint matrix has an orthonormal eigenbasis with positive eigenvalues when it is positive definite (A normal endomorphism is a sum of its eigenvalues times pairwise orthogonal projections, and each spectral projection is a polynomial in the endomorphism).
The given exact sequence in the Statement is defined by whenever is invertible. This is a defining recurrence, independent of the rounded algorithm.
Proof
If , the unique empty matrix is the identity, its own inverse and its polar factor; the exact sequence is constant and both sides of the norm bound are zero. Hence assume . By [F1] and [F2], choose a unitary basis in which with . Inductively write , where and . If this holds at , then because and is positive diagonal; substituting into [F3] proves the next formula and shows every iterate is invertible.
For each scalar , , so . If , then , and . Hence each sequence for decreases to a limit satisfying , so . The displayed identity also gives for .
Since is unitary and is diagonal, . Taking maxima in step 2.1 proves and the stated quadratic bound.
Newton sign iteration converges off the imaginary axis and is locally quadratic
Statement
Let , , have no eigenvalues on , let , and define the exact Newton sequence Then every iterate is defined, , and for every submultiplicative matrix norm, Thus the exact iteration is locally quadratically convergent. No error bound for rounded iterates of Finite-budget Newton iteration for the matrix sign is asserted.
Facts & Assumptions
Given: A finite complex matrix with spectrum disjoint from the imaginary axis and the exact Newton sequence.
The scalar sign is on the open right half-plane and on the open left half-plane, and is its analytic primary matrix function (Primary matrix sign for spectra off the imaginary axis).
Analytic primary functions are given blockwise by their Taylor jets and respect similarity (Jordan, contour, similarity, and normal-functional-calculus formulas agree).
The given exact sequence in the Statement is defined by whenever is invertible. This is a defining recurrence, independent of the rounded algorithm.
Every finite-dimensional complex normed space is complete (Every finite-dimensional normed space is Banach).
Proof
In a Jordan representation of , [F1]–[F2] give on every right-half-plane block and on every left-half-plane block. Hence and . Conjugate the exact iterates into this basis. Initially they are block diagonal with upper-triangular Jordan blocks. If has this form, its inverse, when defined, has the same block structure and its diagonal entries are the reciprocals of those of . Thus each diagonal entry follows the scalar update . Whenever , so its nonzero real-part sign is unchanged. By induction all diagonal entries remain nonzero and off , each is invertible, and the next update is defined.
Since the Jordan-block diagonal values remain in the same half-planes, [F2] gives for every . Also commutes with : this holds for , and if it holds for , then its inverse also commutes with , so the update [F3] preserves commutation. The eigenvalues of are on the corresponding blocks, with because has sign . Thus is invertible. Define .
Using and commutation with , expansion gives Hence . The eigenvalues of are ; their moduli are less than one because .
In a Jordan basis of , is block upper triangular; on a block at its diagonal is and its strictly upper triangular part is nilpotent, say . Its th power is . Each term tends to zero as because and exponential decay dominates the polynomial factor ; if , the nilpotent block power is eventually zero. Thus . The eigenvalues of have modulus less than one, so is invertible. Rearranging the definition of gives , so .
Direct expansion, using and , gives . Taking any submultiplicative norm proves the stated quadratic inequality. To bound the inverse near the limit, write with . Since , eventually . The geometric series is Cauchy in the chosen norm because its tail is bounded by the scalar geometric tail; the matrix space is complete by [F4]. Multiplication of its partial sums by shows its sum is , whose norm is at most . Thus eventually, so the displayed inequality has a fixed quadratic constant near the limit.
Finite Schur–Parlett recurrence with block merging and inconclusive statuses
Definition
Input a finite complex matrix , , a holomorphic function on a neighborhood of with the finite derivative data required by the diagonal block evaluators, Schur controls, a Sylvester separation threshold , an initial partition of into nonempty contiguous intervals, and a finite table of exact Jordan certificates indexed by contiguous diagonal block intervals. The partition and certificates are supplied inputs; a missing certificate for any current block returns missing-jordan-data.
- Call Finite-budget computed Francis Schur reduction with explicit statuses in its complex branch. Propagate any non-Schur status. Treat its returned as candidates.
- Verify by exact arithmetic that , , and is upper triangular. If any identity fails, return schur-certificate-failure. The computed Schur routine's residual diagnostic alone does not pass this test.
- Start from the supplied contiguous block partition of . At each start or restart, initialize every block of to zero. For each block call Finite analytic evaluation from a supplied exact Jordan decomposition with its exact Jordan certificate. On status exact, store its returned matrix as . If a certificate or required derivative is missing, return missing-jordan-data; propagate any other non-exact status without storing a diagonal value.
- Visit block pairs by increasing distance . Form
Call Finite-budget Bartels-Stewart solve for a Sylvester equation on
with threshold . If it returns
success, store its exact solution as . If it returnssingular-pivotorpivot-separation-failureand the partition has multiple blocks, merge the contiguous blocks from through , discard their old diagonal data, and restart step 3. Each merge reduces the block count, so there are at most merges. Any other non-success status is returned as inconclusive-sylvester with its underlying status. - Return the factored value with status parlett-success.
The procedure makes no floating-point stability or error-bound claim. Its success branch requires exact Schur and local solve certificates.
Separated Schur–Parlett blocks reconstruct the analytic matrix function
Statement
If Finite Schur–Parlett recurrence with block merging and inconclusive statuses returns parlett-success for an exact Schur pair , then its returned factored matrix equals the analytic primary matrix function . This is a conditional exact correctness result, not a stability bound for the rounded Schur candidate generation.
Facts & Assumptions
Given: A successful algorithm output, its exact Schur certificate, its diagonal Jordan evaluations, and its exact Sylvester block solves.
Success requires exact identities and , zero blocks for , exact-status diagonal Jordan evaluations, and the block Parlett Sylvester equations (Finite Schur–Parlett recurrence with block merging and inconclusive statuses). The diagonal outputs satisfy by A verified Jordan evaluation returns the primary matrix function.
The analytic primary function is a polynomial in its matrix, commutes with it, and preserves block upper triangular form with diagonal blocks (Jordan, contour, similarity, and normal-functional-calculus formulas agree).
Every successful Bartels–Stewart solve has a unique exact solution because its verified local pivot maps are invertible and its finite block traversal solves the full operator (Finite Bartels–Stewart statuses and successful-pivot uniqueness).
A successful Bartels–Stewart substitution returns the exact local Sylvester solution (Successful certified Bartels-Stewart substitution returns the exact Sylvester solution).
Proof
Let . By [F2], is block upper triangular with diagonal blocks . By [F1], the algorithm's diagonal blocks equal these blocks, and both and have zero blocks below the diagonal.
Expanding in block for gives This is the recurrence solved by the algorithm.
Induct on the block distance . At distance one, the recurrence right-hand side in step 1.2 uses only the matching diagonal blocks from step 1.1. The successful local solve from [F4] returns its exact solution, which is unique by the successful-pivot conclusion [F3]; hence . At larger distance, all shorter blocks on the right-hand side already agree by induction, so the same uniqueness argument gives .
Steps 1.1 and 2.1 show . By [F1], with unitary; similarity invariance in [F2] gives , which is the returned factored value.
Principal matrix logarithm and square root by branch-aware Schur–Parlett
Definition
Input a finite complex matrix with , a branch request selecting principal logarithm or principal square root, finite Schur and Schur–Parlett controls, an initial partition of into nonempty contiguous intervals for the Schur–Parlett call, a finite table of exact Jordan certificates keyed by contiguous intervals, and a finite table of supplied exact derivatives of the requested principal branch at the eigenvalues, for the orders required by those certificates, including merged blocks. These are exact input data of that same branch, not values computed from field arithmetic. A required absent derivative returns missing-jordan-data. The first Schur reduction is used only to certify the branch domain; no Jordan derivative data are needed if the branch check fails.
- Run Finite-budget computed Francis Schur reduction with explicit statuses in its complex branch. Propagate any non-Schur status. Treat its returned as candidates and verify exactly that , , and is upper triangular. If a check fails, return schur-certificate-failure.
- The diagonal entries of this exact upper-triangular are the eigenvalues of . Test each . If , return branch-domain-failure; if an exact sign comparison is unavailable, return branch-domain-undecided. This test occurs before any holomorphic matrix evaluation.
- For the logarithm request, select the scalar branch . For the square-root request, use . Then call Finite Schur–Parlett recurrence with block merging and inconclusive statuses with , , its controls, the supplied initial partition, the Jordan-certificate table, and the supplied exact branch derivatives, forwarding their finite table to every diagonal evaluator. Propagate any Schur, Jordan-data, Sylvester, range, or budget status. On parlett-success, return its factored primary value with status branch-aware-candidate.
The procedure returns no floating-point error bound. The exact branch check ensures the scalar function is holomorphic at every eigenvalue.
Finite matrix-function algorithms preserve primitive budgets and terminate with explicit statuses
Statement
On their admitted finite inputs, each of the seven procedures Finite analytic evaluation from a supplied exact Jordan decomposition, Finite Householder QR solve for a Padé denominator with explicit statuses, Finite-order Padé scaling-and-squaring exponential, Finite-budget Newton iteration for the nonsingular polar factor, Finite-budget Newton iteration for the matrix sign, Finite Schur–Parlett recurrence with block merging and inconclusive statuses and Principal matrix logarithm and square root by branch-aware Schur–Parlett terminates with one of its defined outputs/statuses, provided every explicitly supplied evaluator/controller terminates under its input contract. In particular, the denominator candidate executes at most rounded real primitives, counting conversions and all inlined kernel operations, and never evaluates an unaffordable next primitive. With sufficient budget its executed rounded trace and return values equal those of the specified unbudgeted kernel schedules through the same successful prefix. Its exact audit is reached only with a complete candidate; Padé continuation squares only a complete matrix with an admitted candidate/verified status. Partial records and failures are not promoted to complete candidates or error certificates.
The Padé squaring loop respects its separate rounded-operation budget. Exact controller/audit work is finite but is not included in these rounded budgets and is not assigned an arbitrary-real bit-cost bound. Schur–Parlett has at most merges; polar/sign have at most iterations. These conclusions prove termination and operational status/budget properties only: analytic correctness, certified error, exact Newton convergence, topology and spectral/branch admissibility retain their separately stated hypotheses.
Facts & Assumptions
Given: Actual finite dimensions, supplied data tables, finite operation/iteration budgets and admitted representations, with the stated terminating-callback condition.
Finite Householder QR solve for a Padé denominator with explicit statuses specifies the single budget-before-primitive dispatcher, completion mask, exact finite controller audit, and all candidate failures.
Scaled complex Householder reflector step with explicit range status and Scaled real and complex Householder and Givens update arithmetic specify the finite scalar schedules, loop indices, zero branches and first failures being expanded by [F1].
Finite analytic evaluation from a supplied exact Jordan decomposition uses a finite exact Jordan certificate and finitely many derivatives of the same holomorphic function on its admitted open domain.
Finite-order Padé scaling-and-squaring exponential passes its candidate budget, requires a complete candidate/status before squaring, and has finite polynomial, squaring, scalar-tail and bound-recursion loops.
Finite-budget Newton iteration for the nonsingular polar factor and Finite-budget Newton iteration for the matrix sign pass a finite candidate budget for each solve and have a finite iteration count, returning on unverified solves or range failure.
Finite Francis procedure terminates with explicit statuses and verifies its Schur pattern on success gives termination of the actual delegated Schur procedure on admitted controls and terminating evaluators; Finite Bartels–Stewart statuses and successful-pivot uniqueness gives finite status/solve behavior for the actual delegated Sylvester procedure.
Finite Schur–Parlett recurrence with block merging and inconclusive statuses traverses finitely many block pairs, and every restart merges at least two contiguous blocks, decreasing the positive block count.
Principal matrix logarithm and square root by branch-aware Schur–Parlett makes a finite Schur/branch check before its Schur–Parlett call, retaining missing-data and branch failures.
Finite complex contour resolvent validator with cover and inconclusive statuses tests finitely many proposed disks/segments and finite matrix-entry outward expressions; failed or unavailable checks return inconclusive.
Every explicitly supplied controller/evaluator invoked by a delegated routine returns in finite time or with its declared failure, as required by its actual input contract. Exact local scalar comparisons/arithmetic and supplied finite table lookups are those of the declared controller model.
Proof
Expand each candidate macro in [F1] into the actual [F2] scalar schedule. Induct over executed primitive requests: before a request the counter equals the number already executed. If the counter is , no primitive is evaluated and the dispatcher returns exhaustion; otherwise it increments once and performs exactly the next prescribed rounded primitive. Thus it executes at most primitives and has the same intermediate values, branches and first arithmetic failure as the original schedule whenever the budget allows that prefix. Zero-column identity branches copy data and do not evaluate a zero-vector reflector denominator. Finite source index loops and finite exact control branches preclude a nonterminating primitive-free loop.
Each conversion, reflector, separate RHS application and triangular solve has finite dimensions. By step 1.1 their composition returns its defined result or a first budget/range/candidate failure in finite time. The completion mask is set only after each actual solution entry is computed; [F1] permits the exact row-major residual audit only after all entries are set. That audit has finite inner products and exact component tests, or the explicit finite-codebook adapter/failure, hence terminates. Neither partial values nor an unavailable representation are labeled a verified solution.
The Jordan routine checks finitely many exact identities and block entries and evaluates finitely many finite nilpotent sums using the supplied jets; missing data fail. Thus [F3] terminates. The Padé procedure forms finite polynomial matrices and calls the terminating solve of step 2.1 with . Its complete-candidate gate excludes every partial or failure status from squaring. Each of its squares has finite scalar loops and a before-primitive squaring-budget check, proved bounded by the same counter argument as step 1.1. Exact defects, the finite series/tail expressions and the bound recurrences are finite; the finite cover validator in [F9] either succeeds or fails. Therefore every Padé path returns a declared status, and a failure/partial candidate cannot be interpreted as a conditional error-bound success.
Each polar/sign iteration makes one finite-budget denominator call and only continues on its complete verified solution; otherwise it returns the solve status and the last candidate. Its component update has finitely many operations and explicit range failures. At most such iterations occur by [F5], including no iteration at , proving termination and the stated budget/status separation without asserting convergence of rounded iterates.
By [F6], each delegated Schur or Sylvester call terminates. A fixed Schur–Parlett partition has finitely many block pairs and Jordan calls, terminating by step 3.1 and [F6]. Each merge strictly lowers the initial block count, which is at most , so at most restarts occur. Every other failure is returned. Thus [F7] terminates. The principal-function routine adds only finitely many exact branch/sign comparisons before that procedure, or an unavailable-comparison return, so [F8] also terminates. Its branch test supplies no claim beyond its original spectral/holomorphic-domain assumptions.
Steps 1.1–4.1 cover all seven procedures and their return branches. They bound only the explicitly counted rounded operations and finite loop counts; they neither bound the work of arbitrary-real exact arithmetic nor establish any separate analytic/error/iteration convergence premise. This is exactly the stated separation between termination, candidate generation and mathematical certificates.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Jan Zur, Matrix Functions, TU Berlin full lecture notes
- Awad H. Al-Mohy and Nicholas J. Higham, A New Scaling and Squaring Algorithm for the Matrix Exponential
- Nicholas J. Higham, Functions of Matrices, Handbook of Linear Algebra, Chapter 17
- Nicholas J. Higham, Functions of Matrices: Theory and Computation, Chapter 5: Matrix Sign Function
- Philip I. Davies and Nicholas J. Higham, A Schur–Parlett Algorithm for Computing Matrix Functions
- Nicholas J. Higham, Computing the Polar Decomposition—with Applications
- Jan Zur, Matrix Functions, TU Berlin lecture notes