Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 7 Second-Order Nilpotent Jets and Limit-Free Calculus

Past, present, future; zeroth derivative, first derivative, second derivative; , , .

More than three centuries ago, when Newton and Leibniz founded classical calculus, computing an instantaneous slope required treating a step size as nonzero while dividing by it, and then setting once the algebra simplified. In 1734 Bishop Berkeley famously mocked these neither-zero-nor-nonzero infinitesimals as “ghosts of departed quantities.” Nineteenth-century analysis patched the logical rift with Cauchy and Weierstrass’s limit , but only at the cost of tethering the whole edifice of differentiation to the uncountable real continuum and infinite limit sequences.

Having built the homogeneous rational projective circle and the origin-free rational ternion sphere in Volumes I and II, we now take the decisive step: calculus does not require approaching zero along an open line; it extracts state, connection, and curvature simultaneously inside a finite-order nilpotent algebra. Guided by the {0 · 1/2 · 1} second-order completeness principle, this chapter introduces the second-order rational jet ring , certifies its cubic nilpotency, closed-form two-term rational inverse, and first- and second-order chain rules in the zero-axiom kernel, constructs a sphere-preserving rational arc microstep for three-tier causal readout, certifies the exact derivative, curvature, and finite secant discrepancy of the fidelity kernel at every rational point without limits, and certifies inside the zero-axiom kernel the exact -sampling norm-drift law for arbitrary rational weights, strict unit-sphere conservation at the symmetric midpoint , and equal projective fidelity across the two half-steps of the midpoint triad, eliminating left-endpoint Itô tangent derailment at its algebraic root.

7.1 The Second-Order Nilpotent Jet Ring and Closed-Form Rational Inversion

To differentiate purely over without taking limits, we replace the limiting real step with a single formal algebraic step element . Unlike the first-order dual-number ring , which captures only linear slope, spherical geometry lives in the second-order sagitta and curvature encoded by ; meanwhile, at third order, the antisymmetric covariant exterior derivative of gauge curvature closes identically via the Bianchi identity . We therefore impose the exact nilpotency relation .

Definition 7.1 (Second-order nilpotent rational jet ring)

The second-order nilpotent rational jet ring is the commutative Artinian quotient ring of rational polynomials modulo the cubic ideal :

Writing each element as an ordered rational triple , addition is componentwise and multiplication is the truncated Cauchy product

Its three components are respectively the order- base value, the order- connection derivative, and the order- curvature Taylor coefficient (matching , , and in classical notation, so the first-derivative readout is and the second-derivative readout is ).

In classical real analysis, differentiating a quotient relies on continuity to keep the denominator nonzero on a neighborhood and invokes infinite geometric series. Inside , whenever the constant term is finite and nonzero, inversion requires no limit or convergence radius and terminates exactly at order .

7.1.1 Finite Two-Term Rational Inversion and the Algebraic Chain Rule

Let with . Factor out and set the nilpotent increment . Because the lowest power of in is , we obtain immediately

Applying the finite polynomial identity and multiplying by yields the closed-form rational inverse in :

Direct multiplication confirms every grade: the term is ; the term is ; and the term is . Conversely, if , every product with has constant term ; hence is a unit in if and only if .

This finite inversion law turns evaluation of any rational function (at any rational point with ) into a pure finite ring operation . While the sum, product, and quotient rules follow immediately from the ring operations and finite inversion (manual derivation), the three algebraic pillars of —cubic nilpotency of , closed-form finite inversion, and the first- and second-order chain rules at zero inner shift—are frozen with zero axioms in OmegaInit and OmegaMath:

Theorem 7.2 (Second-order jet nilpotency, finite inversion, and zero-shift chain rule)LEAN ✓ · Uses axioms

On the zero-axiom carrier Omega.Jet2 (ordered triples compared componentwise by Jet2.Equivalent, with formal increment , unit , zero , derivative readouts and , and truncated composition ), the following three zero-axiom laws hold:

  1. Cubic nilpotency of the formal increment (var_cube):

  2. Closed-form finite inversion (mul_inv): for any whose constant coefficient is invertible (, finite and nonzero) and whose higher coefficients are finite (, ), the closed-form inverse (with , , ) satisfies

  3. First- and second-order chain rules at zero shift (chain_rule): for any with finite and , all three coefficients of finite (), and zero constant shift (), the derivative readouts of satisfy under IntRatio.Equivalent

Proof

For part 1, direct truncated multiplication yields and . For part 2, expanding componentwise gives at order , at order , and at order , with the finiteness hypotheses preventing undefined denominators during cancellation. For part 3, substituting into extracts linear coefficient and quadratic coefficient ; doubling the quadratic coefficient gives in one algebraic step, free of any case split over vanishing inner increments. The full proof is checked by the Lean kernel.

Remark 7.3 (Why nilpotency closes at order two rather than order one or infinity)

Literature context and structural boundary. Abolishing limits through nilpotent infinitesimals echoes synthetic differential geometry (F. W. Lawvere; A. Kock, Synthetic Differential Geometry, 1981) and forward-mode automatic differentiation over the dual-number ring (R. E. Wengert, 1964; literature result). However, imposing annihilates spherical sagitta, angular excess, and gauge curvature. Conversely, at third order, the antisymmetric covariant exterior derivative of curvature vanishes identically via the differential Bianchi identity (L. Bianchi, 1902), while Ostrogradsky’s theorem (M. Ostrogradsky, 1850) proves that non-degenerate higher-derivative Lagrangians lack a Hamiltonian lower bound (literature result). Setting hits the exact algebraic sweet spot: full curvature survives while redundant higher-order divergence closes cleanly.

7.2 Causal Three-Tier Synchronous Readout Along a Rational Arc Microstep

In flat Euclidean coordinates one steps by addition, . On the rational unit ternion sphere established in Chapter 3 and Chapter 5, however, a bare first-order tangent step has squared norm and already leaves the sphere at second order. To remain faithfully on the sphere inside , the step must incorporate the inward second-order sagitta pullback .

Definition 7.4 (Second-order rational arc microstep and causal three-tier readout)

Let be a rational unit ternion () and let be a pure-imaginary rational tangent vector (, so ). The second-order rational arc microstep along is the -valued quaternion

For any rational observable regular at , evaluating directly at inside yields the causal three-tier synchronous readout

Two exact algebraic properties follow immediately (manual derivation):

  1. Exact unit-sphere invariance modulo : Setting and using , we compute

  2. Exact second-order agreement with the rational Cayley microstep: Applying the rational Cayley map of Chapter 5 to the half-parameter and inverting via Definition 7.1, , we obtain

Thus the rational arc microstep is not a borrowed Taylor truncation of : it is the native image of the rational Cayley rotor inside . Aligning the three jet grades with the {0 · 1/2 · 1} causal triad produces the core matrix of Volume III (MODEL causal reading paired with exact algebraic readout):

Causal anchorJet order and basisTemporal phaseSynchronous readout along Geometric and dynamical role
0 (jet )Past (halted anchor)Idempotent base state, zero rate freedom
1/2 (jet )Present (self-dual slice)Connection derivative and first-order flow
1 (jet )Future (curvature closure)Geodesic curvature, sagitta, and field refraction

A single finite substitution over delivers past value, present connection velocity, and future curvature acceleration in one synchronous triple, with no nested limiting procedures.

7.3 Limit-Free Derivative of Fidelity and Finite Secant Discrepancy

We now differentiate the fundamental projective fidelity kernel directly inside at every rational point, without taking a single limit.

Fix any rational point and set the strictly positive rational denominator . Substituting expands the denominator in one line:

Applying the closed-form rational inverse of Section 7.1.1 with , , and gives , immediately producing the exact jet triple at every rational :

In particular, at the self-dual present anchor (, , ), three elementary fraction operations yield the exact triple {1/2, -1/2, +1/4}:

fixing , , and . By contrast, subtracting the exact first derivative from the classical finite-difference secant slope and clearing the common factor yields an exact rational discrepancy formula for every finite point and invertible step. All three identities—the global fidelity jet, the self-dual triple {1/2, -1/2, +1/4}, and the exact finite secant discrepancy—are frozen with zero axioms in OmegaInit and OmegaMath:

Theorem 7.5 (Exact fidelity jet, self-dual anchor triple, and finite secant discrepancy)LEAN ✓ · Uses axioms

In Omega.Jet2, for any define , , , and . The following three zero-axiom laws hold:

  1. Global exact fidelity jet (kappa_jet): for every , under Jet2.Equivalent,

  2. Self-dual equatorial anchor triple (kappa_jet_one): at , under Jet2.Equivalent,

  3. Exact finite secant discrepancy (kappa_secant_discrepancy): for every finite () and invertible step (, finite and nonzero), the difference between the secant slope and the linear jet derivative satisfies under IntRatio.Equivalent

Proof

For part 1, when is undefined both sides are componentwise undefined and hence equivalent; when is finite, is strictly positive and invertible, so substituting , , and into the closed-form inverse and reducing yields all three coefficients. Part 2 evaluates the closed form at directly. For part 3, writing and , we factor , cancel against , subtract over the common denominator , and simplify . The full proof is checked by the Lean kernel.

Part 3 of Theorem 7.5 exposes every pathology of secant chords. Throughout the convex positive region , , and (including ), the discrepancy is strictly positive: at with step , the secant slope is , overshooting the true derivative by the exact rational bias . Even on the zero-bias hyperbola (for instance or ), vanishing first-order bias is merely an accidental cancellation from straddling an inflection point , and the chord still misses the true second-order curvature .

The second-order jet and midpoint step. The violet parabola on the left gives the jet, and the magenta secant to has slope . On the quadratic arc on the right, the violet midpoint step reaches the endpoint and the magenta left-endpoint step leaves a vertical gap.

Example 7.6 (Worked jet triples at four rational anchors and secant discrepancy audit)

Instantiating Theorem 7.5 at four reference points yields the exact rational jet triples of in below (with directly certified by kappa_jet_one and the remaining anchor and step evaluations computed directly from the closed formulas):

Anchor Value First derivative Quadratic term Geometric position
Past pole (maximum crest, negative curvature)
Left of inflection (concave downward)
Present self-dual equator ({1/2, -1/2, +1/4})
Far convex tail (positive curvature)

Auditing four finite step pairs for :

  1. : secant slope , exact positive discrepancy ;
  2. : since , inflection straddling gives , yet the single secant cannot detect the curvature ;
  3. : likewise lies on the zero-bias hyperbola , giving ;
  4. : crossing the crest from the negative side yields , demonstrating that the condition cannot be dropped from the positive-bias criterion.

7.4 Midpoint Chain Conservation and Elimination of Itô Derailment

Once captures infinitesimal curvature cleanly, we face the corresponding macroscopic question for a discrete transition on : at which point along the step must the connection generator be evaluated so that the trajectory neither flies off the sphere nor breaks the ordinary chain rule? Once again, the unique answer is the self-dual midpoint 1/2.

The cited D5 declarations record strict_omega.axioms: []. Rational quaternions are represented on the carrier RationalQuaternion by an integer numerator num : Quaternion over a common positive denominator den = denPred.succ, with squared norm normSq in Omega.IntRatio and unit predicate IsUnit meaning . Let be a pure-imaginary tangent generator (, so for every quaternion ), and consider the -weighted implicit evolution equation for any finite rational sampling weight :

(under the opposite-sign convention , this reads ). Because is pure imaginary, clearing denominators produces a left integer quaternion factor representing whose scalar part is strictly positive (), hence whose squared norm is strictly nonzero; multiplying by its conjugate and dividing by that squared norm yields an explicit rational step alphaSample α a x₀ for every finite rational weight . The following zero-axiom theorem governs the squared-norm drift exactly for arbitrarily large steps and arbitrary finite rational weights:

Theorem 7.7 (Exact Spherical Norm-Drift Identity Under -Sampling)LEAN ✓ · Uses axioms

Let be any finite rational sampling weight (), let be a pure-imaginary rational quaternion generator (), and let be a unit initial quaternion (, i.e., ). Setting to be the explicit rational solution of , the squared-norm drift satisfies under Omega.IntRatio.Equivalent

Proof

Write the finite weight as a fraction with . Since , the cleared left factor has strictly positive scalar part , whence and . Left-multiplying by over the extra denominator therefore produces an explicit solution satisfying the cleared equation , where , , and . Rearranging gives with . Taking the integer dot product with and applying pure-imaginary orthogonality cancels to yield . Substituting into the integer polarization identity

yields , and substituting the unit initial condition closes the proof with zero axioms. The full proof is checked by the Lean kernel.

By Theorem 7.7, for every non-stationary step (), the sign of completely governs geometric fidelity:

  1. Left-endpoint Itô / explicit Euler sampling (): , so every step inflates the squared norm to , derailing outward along the flat tangent plane;
  2. Right-endpoint implicit Euler sampling (): , so every step dissipates inward with , collapsing toward the origin;
  3. Symmetric midpoint sampling (): the drift factor vanishes identically.

Denoting the step by , symmetric midpoint evaluation preserves the unit sphere unconditionally for every finite step size:

Theorem 7.8 (Strict Unit-Sphere Conservation of the Symmetric Midpoint Step)LEAN ✓ · Uses axioms

For every pure-imaginary rational quaternion generator () and every unit rational quaternion (), the symmetric midpoint step strictly preserves unit norm (), that is, under Omega.IntRatio.Equivalent,

Proof

Instantiate Theorem 7.7 at . The weight factor is equivalent to in Omega.IntRatio, while the squared displacement norm is finite; hence the right-hand side vanishes and . Adding to both sides recovers . The full proof is checked by the Lean kernel.

Setting (, matching the opposite-sign generator ), the midpoint update is literally the one-step rational Cayley rotor. Extending from through the midpoint numerator via the origin-free ternary heap reflection of Chapter 4 locks the two half-step projective fidelities identically inside the zero-axiom kernel:

Theorem 7.9 (Equal Projective Fidelity Across the Two Half-Steps of the Midpoint Triad)LEAN ✓ · Uses axioms

For every pure-imaginary rational quaternion generator () and every unit rational quaternion (), set . Then under the zero-axiom equivalence Omega.IntRatio.Equivalent, the projective ray fidelity Ternion.kappa between the initial numerator and midpoint numerator equals that between and its ternary heap extrapolation (Ternion.triad h x₀.num h):

Proof

From and Theorem 7.8, both integer numerators and are nonzero. Set the nonzero quaternion and positive integer . By associativity and , we obtain and . Right-multiplication invariance and left-scaling invariance of Ternion.kappa then yield

with zero axioms. The full proof is checked by the Lean kernel.

When (manual derivation), both projective half-step fidelities evaluate to , and under the signed spinor overlap both likewise equal . Because the two symmetric half-arcs absorb the inward sagitta evenly into the curved step, evaluating discrete transitions at the symmetric midpoint eliminates left-endpoint Itô tangent derailment and preserves the algebraic chain rule on the curved sphere.

Example 7.10 (Five-weight spherical drift audit and midpoint chain conservation)

Take the unit base state and the rational parameter , so and the opposite-sign generator satisfies . Across five weights , Theorem 7.7 yields the exact squared norm :

Weight Squared norm (exact)DecimalDrift Geometric behavior
Severe outward Itô tangent derailment
Left-biased outward overshoot
Symmetric midpoint Cayley step on sphere
Right-biased inward dissipation
Implicit right-endpoint collapse toward center

Uniquely at we obtain the exact rational unit ternion (, instantiating Theorem 7.8) and full heap step (). Both half-steps conserve the exact projective fidelity (instantiating Theorem 7.9) and identical signed spinor fidelity , while the chord orthogonality holds identically.

The same midpoint gives a sharp denominator bound (manual calculation). Write . Evaluating the quadratic Cayley polynomial of Definition 7.4 at the parameter gives , whose largest coordinate error from is . Among pairs of distinct rational unit quaternions whose ordered product is and whose two factors each meet this tolerance, the least shared denominator is .

To compute the bound, write the factors as and , where is any rational unit quaternion in lowest terms. Put . The denominator clears both factors. Any prime that cancels divides all coordinates of and . Conjugating the latter and adding the former gives . Since and , reducing modulo the prime and using primitivity shows that it must divide both and . But is coprime to , and at least one coordinate of is coprime to . Thus the least shared denominator is .

Write with scalar part and vector part . The inequality forces , since gives repeated factors. For , only is possible. Taking all signed permutations of the three-square decompositions of , the minimum of the maximum coordinate error across both factors, scaled by , is , no candidate, , , and , respectively. The allowed maximum is , so the first feasible value is . Exactly two ordered numerator pairs occur, each with denominator .

In each pair the coordinate errors are and . The first factor of the first pair has a negative coordinate, so restricting to nonnegative coordinates would miss one of the pairs attaining the minimum denominator.

Remark 7.11 (Rational midpoint conservation versus continuous stochastic calculus)

Literature result and evidence boundary. The -sampling norm-drift identity (Theorem 7.7), strict unit-sphere conservation of the symmetric midpoint step (Theorem 7.8), and equal half-step projective fidelity of the midpoint triad (Theorem 7.9) are all certified directly inside the zero-axiom kernel libraries OmegaInit and OmegaMath, requiring neither probability measures nor limits. In continuous stochastic analysis, left-endpoint non-anticipating sums yield the Itô integral with its extra second-order drift correction (K. Itô, 1944), whereas symmetric midpoint evaluation produces the coordinate-invariant Stratonovich integral obeying the classical chain rule (R. L. Stratonovich, 1966; smooth-path approximation convergence in E. Wong and M. Zakai, 1965; literature result). The rational mechanism here pinpoints the algebraic root of Itô derailment: the exact positive chord spill at .

Film · A Symbol Whose Cube Vanishes · 2:52

One formal symbol whose cube vanishes turns differentiation, inversion and a step on the sphere into exact rational arithmetic (2 min 52 s). Every quantity is three rational slots (value, slope, half the bend), and the truncated product lets a fourth slot fall off; a jet with nonzero constant slot is inverted in two terms, multiplied back grade by grade to on , and the zero-shift chain rule is shown on , (the green tags are mul_inv and chain_rule of Theorem 7.2; the examples are computed on screen). On a circle drawn to scale, the magenta flat tangent step pokes out of the shell while the cyan arc step stays on it modulo (hand derivation); at a real step their squared lengths are and (computed), and the past, present and future reading of the three grades is labelled as the model. The cyan jet reads {1/2, -1/2, +1/4} at , while the magenta secant overshoots by at and has zero bias by accident at yet never sees (the green tags are kappa_jet_one and kappa_secant_discrepancy of Theorem 7.5). Finally, the squared norms , , , , of five weights are recomputed by exact quaternion algebra, the amber midpoint stays on the sphere, and both half-steps share fidelity (green tags for Theorem 7.7, Theorem 7.8 and Theorem 7.9); Itô and Stratonovich appear as literature results, as in Remark 7.11.

In the interactive workbench card below, drag the amber anchor and sampling weight to compare on a single purple osculating ternion sphere the cyan exact jet triple {1/2, -1/2, +1/4} of , the magenta finite-secant bias, and the unit-norm midpoint step against Itô tangent derailment. In the next chapter, we lift second-order jets to arbitrary truncation order in the D-finite differential jet ring and prove the algebraic unification of the rational Cayley circle with trigonometry.

Second-order nilpotent jet and osculating-sphere midpoint card. Around an opaque purple core inside the glass unit shell, drag the amber rational focus (defaulting to the self-dual midpoint ) and switch the sampling weight : the cyan osculating jet reads {1/2, -1/2, +1/4} while the Cayley midpoint step stays identically on the unit circle, contrasting with the magenta finite-secant bias (plotted in the full workbench strip) and left-endpoint Itô outward derailment.