Manuscript XVI-K@1 · XVI-K.tex · section · aa7553bb
Exact finite algorithm
Computational artifacts and the scope of their verification › Exact finite algorithm · lines 1998–2091
XVI-K@1#lem:comp
The supplied script uses a sparse polynomial ring over , with independent symmetric jets of through order two and formal parameters . It substitutes
in the finite atoms (eq:Gamma)–(eq:ell3). Each product is reduced modulo
This reduction is legitimate for extracting the coefficient of : multiplication cannot reduce a parameter exponent, and spatial total differentiation leaves the parameters constant.
For a generator representing , with , the total derivative rule is
The derivative is extended by the polynomial product rule. Only the derivatives of the Christoffel atoms are required, so no third field derivative is introduced.
The coefficient of is : cubic homogeneity makes it linear in the residual field. Sorting the resulting monomials by the - and -jet labels yields (eq:Lpq) and the coefficient list. No integration by parts changes the density or its jet coefficients.
The supplied output identifies SymPy 1.14.0 and exact arithmetic. It reports:
Hessian monomials, each linear in one -jet, one -jet, and one -jet, with total derivative order two.
nonzero ordered coefficients , with slot symmetry checked entrywise.
All allowed ordered derivative placements and unordered placement labels occur.
On , the constant-slot matrix agrees entrywise with the retained XVI-J table, and the specified mixed constant-slot value is six.
Its constant-slot dual-source contraction agrees with the XVI-J decorated tensor.
All background decorated tensors are nonzero as forms in a general formal source jet.
These are computationally verified statements documented by the supplied code and output, not new execution results claimed for this TeX revision.
The monomial and coefficient counts are:
| Residual order | Monomials | Nonzero coefficients | ||
|---|---|---|---|---|
| 0 | 0 | 2 | 912 | 100 |
| 0 | 1 | 1 | 1608 | 376 |
| 1 | 0 | 1 | 1608 | 376 |
| 1 | 1 | 0 | 1608 | 1032 |
| 0 | 2 | 0 | 912 | 552 |
| 2 | 0 | 0 | 912 | 552 |
| Total | 7560 | 2988 |
The implementation of the first comparison uses
xvi_common.ell3_of on two nonconstant
-dependent polynomial triples.
For each chosen triple, agreement is an exact polynomial
identity in . The second comparison uses a separately
written four-variable density implementation and two
quadratic polynomial triples evaluated at a rational point.
These are finite exact test cases. They do not establish coefficientwise equality between independent implementations for every possible field jet. The supplied output explicitly makes that qualification, which is retained here.
Displayed formulas in this passage
unlabeled · line 2004
unlabeled · line 2010
unlabeled · line 2020