Complex scalars and finite algebra — selected programme proofs
These are selected foundation sections from Polynomial and contour interfaces for stable boundary models, programme lesson AN03-P002. They retain the section and equation numbers of that earlier lesson. The selection and introductory note were prepared by GPT-6 Astra (OpenAI), Ultra reasoning effort, October 2026.
The original course-writing task and OpenAI Codex credits, dedication and history are retained in the original title page, history and rights notice. This independently written programme selection carries CC0 1.0 Universal, to the extent rights are held. The CC0 dedication identifies the terms.
The original notice files describe the original course edition. Selection history describes these excerpts.
The mathematical entry is natural-number arithmetic with induction, ordinary set theory and countable choice. The real-field construction is in the scalar foundations; complex arithmetic and finite algebra are in the algebra foundations; integration is in the measure foundations.
This selection supplies: Complex arithmetic, bases, matrices, determinants, elimination, Gram comparisons and finite-dimensional norm bounds.
10. Full finite linear-algebra foundations
Here are the finite algebra proofs used by the preceding spectral and polynomial arguments. It works over the original field or . Conjugation is the identity in the real case. The scalar entry is the real field with completeness, the complex field formed from it, finite induction and finite sums/products. No spectral decomposition, root theorem, basis-extension theorem, rank-nullity theorem or inner-product representation theorem is assumed below. The complex-root theorem already proved in Polynomial and contour interfaces for stable boundary models is used only when root existence is separately requested in Section 10.10. These are standard foundational results; no novelty is claimed.
All vectors, coefficient matrices, pivots, signs and inner products in a calculation keep their original values. A new basis gives an explicit coordinate comparison, with both directions and every metric factor retained. In particular, the original Gram residuals and their lengths stay in the calculation when a separately constructed orthonormal comparison basis is given.
10.1. Finite spanning sets, exchange and basis extension
The scalar arithmetic used here is explicit. Real arithmetic is the given ordered-field arithmetic. For complex numbers keep their original pairs and define
Addition is an abelian group coordinatewise. Multiplication is commutative by the real commutative field laws. Expanding either association of three factors gives the same full pair
All four summands in each coordinate are retained; distributivity follows by the same two-coordinate expansion. The displayed zero and one are the additive and multiplicative identities, and the additive inverse is the pair of the two original negatives. For a nonzero pair, the original real number is positive. Direct multiplication in either order proves
Thus these pairs form a field. The real inclusion preserves both operations, is injective and gives the original real subfield. Conjugation is the actual map ; the two-coordinate multiplication shows that it preserves products, conjugates sums, and has square the identity. Keeping the original squared modulus , expansion gives
The middle two mixed terms are opposite by the scalar real field laws; no matrix product is being commuted. This supplies the actual complex arithmetic and conjugation used below from the stated real base.
Finite polynomial arithmetic is equally explicit. For original coefficients , , with coefficients zero outside their finite lists, addition has coefficients , and multiplication has coefficients . Distributivity and associativity follow by retaining the same finite ordered sums: the coefficient of a triple product at is under either association. The constant polynomial one is the multiplicative identity, and zero is the additive identity. For nonzero original polynomials of degrees , the highest coefficient of their product is the original nonzero product , so its degree is . These assertions include constant polynomials and the zero polynomial without assigning a degree to zero. Finite induction on the resulting nonnegative degree is the original finite-induction principle. Section 2 uses precisely this arithmetic for division and Bézout.
A vector space over has the usual addition and scalar multiplication. The span of a finite list is the set of all of its finite linear combinations, including the empty combination zero. A list is independent when its only zero linear combination has every coefficient zero. A finite-dimensional space means one admitting a finite spanning list; a basis is an independent spanning list. The zero space has the empty basis.
Let be independent and let the original list span . We prove and replace selected original list positions by the actual while keeping a spanning list. Suppose a spanning list already has and remaining original vectors. Write
At least one , because otherwise belongs to the span of its independent predecessors. Choose such an actual original . Solving (FA1) gives
Both expressions retain their original nonzero coefficient and its inverse. Replacing this by preserves the span in both directions. The operation needs a remaining vector at each step; after steps there is none, so an independent list cannot have a further member. This proves the bound and the asserted exchange construction without first assuming existence of a basis.
Now start with any independent list and scan the original finite spanning list in its original order. Append a vector exactly when it is outside the current span. An appended vector preserves independence: a zero combination with nonzero coefficient on the new vector would put it in the preceding span. At the end every original spanning vector is in the resulting span. Thus the list extends to a basis. Starting with the empty list gives existence of a basis. Applying the exchange bound in both directions to two bases proves that they have the same number of vectors. This number is .
Every subspace has a finite basis. Choose a vector outside the current span in whenever one exists. An independent list in is also independent in , so it can never exceed the finite dimension of . By that bound the construction terminates after at most choices and then spans . This is only a finite selection. Its actual selected vectors can be extended to a basis of by the preceding construction.
10.2. Coordinates, matrix products and basis comparisons
For an ordered original basis , the map
is linear, surjective by span and injective by independence. Its inverse gives the unique original coordinates. For this is the unique map between zero spaces and is a bijection.
Let be linear, with ordered basis in . Define by the unique expression . Then
This constructs the matrix rather than assuming it. Every matrix conversely defines this linear map. Addition and scalar multiplication of maps are entrywise addition and multiplication of their matrices. If has matrix in the actual target basis, finite expansion gives
The order is . Expanding each finite triple sum and keeping the same ordered summands proves associativity. The coordinate matrix of the identity is , with entries . Every empty sum and zero dimension in (FA4)--(FA5) has its literal value; no nonzero-dimensional hypothesis has entered.
For new bases and , (FA3) gives and . Both and are invertible because the two coordinate maps are bijective. The inverse of a linear bijection is linear: apply the bijection to the two sides of its desired addition and scalar identities, and use injectivity. Matrix multiplication in (FA5) therefore proves
These equalities are the actual coordinate morphisms for the unchanged original map ; they are not replacements of that map. For two inverse linear maps their matrix products in both orders are the corresponding identity matrices. For a square matrix possessing a two-sided matrix inverse, (FA4) conversely gives a linear bijection and its inverse.
10.3. Rank-nullity, quotients and direct sums
Let be any original linear map, and choose the actual basis of its kernel. Extend it to in by Section 10.1. The vectors are independent: if , that sum is in the span of the , and independence of the extended basis forces every . They span , because applying to any original basis expansion discards precisely the kernel summands. Hence
The exact quotient map is ; the induced map , , is well defined because two representatives differ by a kernel vector. It is injective by the definition of the kernel and surjective by that of the image. Its inverse in the displayed basis is , with all original coefficients retained.
For any subspace , choose a basis of and extend it to . The cosets of the added basis vectors form a basis of : span follows from the original expansion and independence follows by subtracting an element of . Therefore . The span of the added vectors has , and every vector has a unique expansion as a sum from and . The addition map is a bijection with inverse the actual two coordinate projections. In general, the addition map is surjective and has kernel exactly . Using (FA7) proves
The same coordinate argument iterated proves the finite direct-sum statement: addition from is a bijection precisely when every zero sum from the subspaces has all terms zero and their sum is the target space. Concatenating their actual bases then gives its basis and dimension . This supplies the direct-sum dimensions used by the stable primary decomposition.
A square map is injective if and only if it is surjective, by (FA7) and equality of its two original dimensions. A bijection is exactly an invertible matrix under Section 10.2. These assertions include dimension zero.
10.4. Determinants and the full ordered elimination maps
For an original square matrix of size , define its determinant by the finite full sum
The sign is to the number of inversions. Interchanging two indices changes that parity: for adjacent indices it changes one inversion and interchanging arbitrary indices is an odd number of adjacent exchanges. Thus exchanging two rows, or two columns, changes the sign of (FA9) by relabeling permutations. Identical rows or columns give zero by pairing equal products with opposite signs. Multilinearity in each row and column follows by expanding its single factor in every product. Adding a multiple of another row leaves the determinant unchanged because its additional summand has two identical rows. The identity matrix has determinant one, since every nonidentity permutation has a literal zero factor. For , the single empty permutation has the empty product one.
For arbitrary original square matrices , expand every entry of the product before making any comparison:
If two 's agree, exchanging the columns assigned to their two positions pairs the inner permutations without a fixed point, with equal products and opposite signs. The whole inner sum is exactly zero. Every remaining list is for a permutation . Reordering its rows gives inner sum . Indeed the relabeled column permutation is , whose sign is ; this follows from the adjacent-exchange sign calculation above. The surviving full sum in (FA10) is therefore . No summand is discarded without this exact zero calculation. In particular whenever both inverse products are the identity.
Here is the exact elimination construction for an original rectangular -by- matrix. Scan columns in their original order; for the next pivot choose a nonzero entry in the remaining rows, exchange its row with the next pivot row if necessary, and subtract the full pivot multiple from every lower row. Do not divide the pivot row or replace its pivot by one. Each exchange has an actual permutation matrix with its inverse the same exchange. Each subtraction has matrix , where , and inverse , since . If is the full ordered product, the echelon matrix is and . There are at most pivots; scan and row count are finite, so the procedure terminates. Every remaining row is zero, since otherwise its first nonzero entry would have supplied a pivot when its column was scanned.
Write the actual pivot columns as , their nonzero original resulting pivots as , and let be the nonpivot columns. For arbitrary prescribed original free coordinates , , solve backwards by
Each later pivot coordinate has already been computed, and earlier coefficients in that row are zero by echelon construction. Every zero row imposes no equation. Hence (FA11) is a linear bijection , inverse to the actual free-coordinate projection, because is invertible. The coordinate vectors of give the full kernel basis, with original pivot denominators retained. Thus and by (FA7). In particular, the number of pivots is independent of the choices of exchange rows even though the displayed coordinate map can depend on them.
If , there are two cases. For , echelon form has a zero row and determinant zero. Each exchange contributes , and each subtraction contributes one, by (FA9); hence as well, and (FA11) gives a nonzero kernel vector. For , all columns are pivot columns, is upper triangular and its full permutation sum gives : every other permutation has a lower-triangular zero factor, proved successively from the last row upwards. If row exchanges occurred, this gives
For an arbitrary right side , the exact inverse is found from and
Backward substitution gives a solution and makes it unique. Applying the two compositions to arbitrary vectors proves both inverse identities. Thus a square original matrix is invertible exactly when its original determinant is nonzero, over either field. No eigenvalue-existence theorem enters this proof.
For later continuity uses, define the cofactor with the indicated row and column deleted, and . In (FA9), group the permutations by the column used by row . Moving that row/column to their first positions produces the sign , giving . Replacing this row by a distinct row gives the off-diagonal sum zero by the repeated-row determinant. The column version gives the other product. Consequently
This retains the exact original determinant denominator and every cofactor sign. When , the minor is the zero-dimensional determinant one. When , the adjugate is the unique empty matrix and both product identities are identities of empty matrices. All determinants and cofactors are finite polynomial expressions, so the inverse is continuous on the actual nonzero-determinant domain by the scalar quotient rule.
10.5. The original inner product and the full Gram residuals
An inner product is linear in its first variable, conjugate-linear in its second, has , and satisfies for . These are its definition, not a consequence assumed for a different matrix. Let . The positive real square root exists from real completeness: the nonempty bounded set has a supremum for , and continuity of the square shows its square can be neither below nor above , by a sufficiently small positive increment or decrement. Its strict monotonicity on nonnegative reals proves uniqueness. Zero has square root zero.
For any chosen original basis , keep the full matrix
Here is conjugate transpose, with entry . Formula (FA15) follows by finite expansion and fixes the linear-first convention exactly. If , then , so positivity and the coordinate bijection give . Therefore is invertible by Sections 10.3--4. Conversely, any Hermitian matrix with for gives an inner product by (FA15), since the linearity, Hermitian identity and positivity follow entrywise. An inner product exists on any finite vector space by taking the explicitly constructed coordinate formula . This existence construction does not replace an already given .
For a basis , define its actual residuals inductively, keeping every length and projection factor:
Assume the earlier residuals are nonzero and mutually orthogonal. Then the displayed formula has defined nonzero denominators. Direct pairing with , , gives , with all other summands zero by the earlier orthogonality. If , the formula puts in the earlier residual span. Each earlier residual lies in the corresponding original initial span, so this contradicts the independence of . Hence , , and induction proves all assertions. The converse expressions in (FA16) show equality of the original and residual initial spans at every stage; in particular the residuals are a basis.
Let be the matrix with these actual residual coordinates, . It is upper triangular with diagonal one by (FA16), and . The exact Gram and determinant comparisons are
The first equality is the full pairing of the actual residuals; the second multiplies by the actual inverses in the stated order. The determinant identity uses multiplicativity, , and . The last conjugate identity follows by conjugating (FA9) and transposing permutations; the inverse permutation has the same sign. In dimension zero the product and are both one, and the zero space is its own orthogonal basis.
The requested orthonormal Gram--Schmidt comparison consists of the explicitly defined vectors , not a change to any earlier residual. Set . The two coordinate maps and every metric factor are
Thus is an orthonormal basis for the original , while the original , , and remain explicit in (FA15)--(FA18). Over the real field all are positive, so the comparison orientation has the sign of . No arbitrary sign is inserted. The complex determinant is the displayed positive real factor in these original coordinates.
For an independent list which is not yet a basis, the same induction gives its nonzero orthogonal residuals; extending the original list to a basis by Section 10.1 extends that orthogonal construction. For a subspace with these residuals , the exact original projection and its complement are
Indeed the residuals span ; the difference is orthogonal to their span by conjugate-linearity, and an element in has zero self-pairing and is zero. Pairing gives and , because each side is the same sum . These statements also hold for the empty subspace, whose projection is zero.
10.6. Exact finite inner-product bounds and the unchanged original norm
For , the original residual has squared norm
Expand its two cross terms using the specified linear-first convention; each is , and the last term adds one copy. This proves Cauchy--Schwarz with its actual denominator. If , the pairing is zero by linearity and the same inequality without division is immediate. The equality case for nonzero holds exactly when this actual residual is zero, hence when is a scalar multiple of the actual . The norm obeys , positivity, and the triangle inequality: expand , bound the two real cross terms by , and take the nonnegative square root.
For the full residual basis, orthogonality gives the exact identities
The first equality follows by pairing the difference with every residual in the basis, and positivity. The other two follow by expansion with every original retained. These are finite sums; they assume no infinite-dimensional orthonormal expansion.
For , set , , and . With , (FA17), finite scalar Cauchy--Schwarz in every row of , and the original basis triangle inequality give
For the lower bound, , while . For the upper bound, . Thus both inequalities are for the original , basis and coordinates; their exact comparison constants are preserved. In dimension zero every vector and norm is zero, so no division by is needed. Completeness of the finite original inner-product space follows: (FA22) makes the coordinates of a Cauchy sequence Cauchy in ; their scalar limits give a vector, and the upper inequality proves convergence in the unchanged original norm.
For , with , the same expansion gives the concrete bound
Every original image occurs in this constant. The bound proves that every finite linear map is continuous. Define its operator norm by , with value zero if its domain is zero. This is finite by (FA23). Applying the definition twice to the actual vectors gives ; the zero-vector cases require no division. Addition and scalar norm identities follow from the original vector norm inequalities, and for , zero for . In particular all fixed finite coordinate maps and projections in the spectral receiving calculation are bounded on the original spaces, without replacing their norms by coordinate norms.