Independent scholarship · Open accessThe monthly digest

Full manuscript · browser edition

Oracle and Jet Semantics of Stateful Optimization

Continuous, single-column reading. Equations, tables, proofs, references and appendices stay in document order.

Contents · 10 sections

Oracle and Jet Semantics of Stateful Optimization

Version 1.2 - 12 October 2026 - Prepared for editorial review

Author: Anonymous

Abstract

We distinguish four objective interfaces: pointwise finite jets, pointwise infinite jets, smooth germs, and global holonomic jet sections. Every extensional optimizer on smooth objectives admits a global holonomic representation, already at order zero, with runtime and auxiliary data retained. A separate fiber-constancy criterion characterizes descent to pointwise jets. We prove adaptive oracle indistinguishability and a finite-query obstruction to universal exact global minimization of smooth coercive objectives. Counterexamples exhibit flat germs and remote value queries. A coordinate-transport theorem explains why equivalent forward parameterizations need not produce equivalent Euclidean gradient dynamics. Exact rational polynomial examples accompany the interface results. The contribution is a precise organization of optimizer information dependence; no universal local-jet or convergence claim is inferred from the representation theorem.

1. Interfaces and prior work

Classical jet geometry separates differential order from the smooth germ that supplies it. Peetre-Slovak theory identifies finite-order behavior for local operators under specified regularity hypotheses [1]. Categorical gradient learning retains optimizer structure and parameters [2,3]. We combine these distinctions into a small semantics of stateful objective queries. The quotient and oracle proofs below are elementary; their value here is to make the limits of a universal jet description explicit.

Fix an open domain Θ⊆Rd\Theta\subseteq\mathbb R^d, d≥1d\ge1, and write L=C∞(Θ,R)\mathcal L=C^\infty(\Theta,\mathbb R). The objectives and all queried derivatives are ideal mathematical data. An effective implementation supplies only its declared, computable query interface; an infinite jet is not assumed to be a stored infinite array. Unless extra structure is stated, representation and quotient factorizations below are set-theoretic: they do not assert computability, continuity, or an algorithm for reading a global function.

Definition 1.1 (Runtime and auxiliary data). Runtime state Ξ\Xi contains current parameters, memory, query history, candidate populations, and random state. Auxiliary data CC includes constraints, schedules, precision rules, objective presentations, and oracle contracts. An extensional deterministic step is a possibly partial map

A:L×Ξ×C⇀YA:\mathcal L\times\Xi\times C\rightharpoonup Y

whose definedness and result depend only on the objective function when runtime and auxiliary data are fixed. YY may contain a next state or a stopping result. Code-inspection behavior belongs in the auxiliary presentation data when it affects the algorithm. Extensionality in the scalar objective does not identify different such data.

Interface hierarchy. At a fixed point, germ equality implies equality of every finite jet and the infinite jet; the converse from infinite jets fails for smooth functions. A global holonomic section retains values at every point. Runtime state and auxiliary data remain additional inputs at every level. Sections 2-3 separate representation from locality; Section 4 states the oracle information bound.

2. Jets, germs, and global sections

Definition 2.1 (Germ and jet). The smooth germ algebra GθG_\theta is the direct limit of C∞(U,R)C^\infty(U,\mathbb R) over neighborhoods of θ\theta, with restriction maps. Germs agree if their representatives agree on some neighborhood. Their order-rr jets agree if all derivatives of orders at most rr agree at θ\theta. Write JθrJ_\theta^r for the quotient and

Jθ∞=lim⁡rJθr.J_\theta^\infty=\lim_r J_\theta^r.

In coordinates, jθrLj_\theta^rL records ∂αL(θ)\partial^\alpha L(\theta) for multiindices α=(α1,…,αd)\alpha=(\alpha_1,\ldots,\alpha_d) with ∣α∣=∑iαi≤r|\alpha|=\sum_i\alpha_i\le r. The maps Jr+1→JrJ^{r+1}\to J^r forget the highest derivatives. When a quotient argument uses infinite jets, its codomain is the image of Gθ→Jθ∞G_\theta\to J_\theta^\infty, so no realization theorem for arbitrary formal data is needed.

Lemma 2.2 (An infinite jet need not determine a smooth germ). The Taylor map G0→J0∞G_0\to J_0^\infty is not injective.

Proof. In one variable let h(x)=e−1/x2h(x)=e^{-1/x^2} for x>0x>0 and h(x)=0h(x)=0 for x≤0x\le0. Each derivative on x>0x>0 is a polynomial in 1/x1/x times the exponential. For every NN, x−Ne−1/x2→0x^{-N}e^{-1/x^2}\to0 as x↓0x\downarrow0, so the function extends smoothly with every derivative zero at 00. Its germ is nonzero because it is positive on every sufficiently small positive interval. It has the same infinite jet as zero. □\square

For analytic germs the locally convergent Taylor series determines the germ. The smooth and analytic statements have different hypotheses.

Definition 2.3 (Global holonomic representation). Let Pr(L)P^r(L) be the section θ↦jθrL\theta\mapsto j_\theta^rL over the entire domain, with rr finite or infinite. Define Hol⁡r(Θ)\operatorname{Hol}^r(\Theta) to be precisely the sections arising this way. The zeroth-order projection is

ε0:Hol⁡r(Θ)→L,ε0(s)(θ)=s0(θ).\varepsilon_0:\operatorname{Hol}^r(\Theta)\to\mathcal L, \qquad \varepsilon_0(s)(\theta)=s_0(\theta).

It satisfies ε0Pr=id\varepsilon_0P^r=\mathrm{id} and Prε0=idP^r\varepsilon_0=\mathrm{id}. For infinite sections with smooth coordinate components, holonomicity is equivalent to ∂isα=sα+ei\partial_i s_\alpha=s_{\alpha+e_i}: induction identifies each component with the corresponding derivative of s0s_0.

Theorem 2.4 (Global representation). Every step of Definition 1.1 factors uniquely through PrP^r, for every r≥0r\ge0, including r=∞r=\infty:

A^(s,ξ,c)=A(ε0(s),ξ,c),A=A^∘(Pr×id).\widehat A(s,\xi,c)=A(\varepsilon_0(s),\xi,c), \qquad A=\widehat A\circ(P^r\times\mathrm{id}).

The same factorization preserves partial domains and every iterated trajectory with matched initial state and auxiliary streams.

Proof. The inverse identities of Definition 2.3 give existence and uniqueness. Transport the partial domain by that bijection. At every step the two representations recover the same objective and therefore the same definedness, result, and next runtime state. Induction gives trajectory and stopping equivalence. □\square

The theorem is a representation result. It holds at order zero because the values at all points already retain the complete function. It neither asserts that all optimizers compute derivatives nor identifies a global representation with one point’s jet.

3. Descent to local objective data

Definition 3.1 (Pointwise jet dependence). Fix θ\theta. A germ-local rule is a map Aθ:Gθ×Ξ×C⇀YA_\theta:G_\theta\times\Xi\times C\rightharpoonup Y, with YY a set. It is order-rr determined when it descends along the jet quotient qr:Gθ→im⁡(qr)q_r:G_\theta\to\operatorname{im}(q_r).

Theorem 3.2 (Fiber criterion). Such a factorization exists uniquely exactly when, at fixed runtime and auxiliary data, its domain is a union of qrq_r-fibers and its value is constant on every fiber in the domain.

Proof. A factorization has identical definedness and value on equivalent representatives. Conversely these two conditions give a well-defined domain and value on each quotient class. Surjectivity onto the image makes the descended rule unique. This is the universal property of a set quotient. □\square

The set-valued hypothesis matters: higher-valued descent requires coherent identification data, not merely an equality of connected components. For example, the germ-local rule testing whether a germ is zero is not infinite-jet determined by Lemma 2.2. This is a mathematical rule; no finite effective germ-zero decision procedure is claimed.

Proposition 3.3 (Remote queries need not be germ-local). A legitimate value-based search can fail to depend on the current germ.

Proof. Choose a smooth bump β\beta supported in (1/2,3/2)(1/2,3/2) with β(1)=1\beta(1)=1. The objectives L0(x)=x2L_0(x)=x^2 and L1(x)=x2−2β(x)L_1(x)=x^2-2\beta(x) agree on a neighborhood of zero. Searching the candidates {0,1}\{0,1\} with a fixed tie rule chooses 00 for L0L_0 and 11 for L1L_1. Thus the result is not determined by the germ, or by any jet, at zero. □\square

Peetre-Slovak theory [1] supplies stronger finite-order conclusions for suitably regular morphisms between sheaves of smooth sections. Its locality and smooth-family regularity assumptions must be checked for a particular update rule. Adaptive queries outside a neighborhood and arbitrary stateful oracle programs do not acquire those assumptions merely by being optimizers.

4. Adaptive oracle semantics

Definition 4.1 (Query machine). Fix auxiliary data and a random seed if used. A runtime state chooses either a stopping output or a query (θ,r)(\theta,r) for the value and derivatives of orders at most rr at θ\theta. The oracle answer and current state determine the next state. Objective-independent internal computation may be included in the state transition. Each query is total on the declared smooth objective class; any declared failures must be matched as observations. Randomized runs are considered after fixing their complete random stream.

Theorem 4.2 (Adaptive indistinguishability). Suppose two objectives give identical answers to every query along a run on the first objective, and start from the same state, auxiliary data, and random stream. The second run chooses the same queries and has identical states and stopping behavior for the matched prefix. If the premise holds indefinitely, the entire runs agree.

Proof. Identical initial states choose the same first action. At a query, the assumed equal answer gives identical successor states. Those states choose the same next query or stopping result. Induction gives every finite prefix, and equality at all finite stages gives the full run. The proof does not assume in advance that the second run follows the first query schedule; induction establishes that schedule. □\square

Theorem 4.3 (Finite-query obstruction). No deterministic value-and-derivative oracle algorithm that terminates after finitely many point queries on every smooth coercive function Rd→R\mathbb R^d\to\mathbb R can always return an exact global minimizer. The statement still holds if each query supplies the entire pointwise infinite jet.

Proof. Run the purported algorithm on L0(x)=∥x∥2L_0(x)=\|x\|^2. It must return its unique minimizer 00 after a finite query set QQ. Choose x0x_0 outside Q∪{0}Q\cup\{0\} and a smooth compactly supported bump β\beta with β(x0)=1\beta(x_0)=1, whose support avoids that finite set. For M>∥x0∥2M>\|x_0\|^2, put L1=L0−MβL_1=L_0-M\beta. At each queried point, the perturbation is zero on a neighborhood, so every derivative agrees with L0L_0. Theorem 4.2 forces the same terminating run and output 00. But L1(x0)<0=L1(0)L_1(x_0)<0=L_1(0), so 00 is not a global minimizer. The perturbation is bounded and compactly supported, so L1(x)→+∞L_1(x)\to+\infty as ∥x∥→∞\|x\|\to\infty. By continuity its minimum is attained on a sufficiently large compact ball. This verifies both coercivity and attainment within the theorem’s domain. This contradicts the guarantee within the stated class. □\square

This is a restricted-oracle information obstruction. Analytic objectives, known parametric families, convexity and regularity bounds, global representation inspection, and approximate guarantees can change the question. The theorem supplies no convergence rate for a particular optimizer. Conditioning on a fixed random stream gives the same adversarial statement for that deterministic run; a separate probability argument is needed for probabilistic guarantees.

5. Composition and finite-order calculus

For fixed auxiliary data, define a category whose objects are runtime state spaces and whose arrows are total objective-indexed steps A:L×Ξ→Ξ′A:\mathcal L\times\Xi\to\Xi'. Composition shares the objective:

(B⋆A)(L,ξ)=B(L,A(L,ξ)).(B\star A)(L,\xi)=B(L,A(L,\xi)).

Proposition 5.1 (Representation respects composition). Replacing L\mathcal L by Hol⁡r(Θ)\operatorname{Hol}^r(\Theta) gives an isomorphic category under the factorization of Theorem 2.4. Partial maps have the corresponding transported domains.

Proof. Associativity is substitution and the identity returns the state. Both composed arrows recover the same L=ε0(s)L=\varepsilon_0(s), so B⋆A^=B^⋆A^\widehat{B\star A}=\widehat B\star\widehat A. Precomposition with PrP^r is inverse. The partial statement follows by transporting the same sequential domain condition. □\square

Finite jets of pointed smooth maps also compose by truncated Taylor substitution: the chain rule determines the order-rr composite from the order-rr factors. The points and coordinate transformations are part of this construction. It is independent of a homotopy truncation level.

Lemma 5.2 (Differentiation lowers finite order). For r≥1r\ge1, differentiation of one-variable germs induces D:Jr→Jr−1D:J^r\to J^{r-1}. It is not an endomorphism obtained by differentiating representatives in R[z]/(zr+1)\mathbb R[z]/(z^{r+1}).

Proof. If two germs have equal derivatives through order rr, their derivatives agree through order r−1r-1. In the truncated polynomial quotient, zr+1z^{r+1} represents zero, while its derivative (r+1)zr(r+1)z^r is nonzero. Representative differentiation therefore does not descend as an endomorphism of that same quotient. □\square

The normalized Taylor coefficient product is convolution, (ab)k=∑j=0kajbk−j(ab)_k=\sum_{j=0}^k a_jb_{k-j}, and derivative coefficients shift as (Da)k=(k+1)ak+1(Da)_k=(k+1)a_{k+1}. Selecting polynomial representatives and differentiating them is an explicit finite approximation, not an exact operation retaining the missing next derivative.

6. Parameter equivalence and optimizer geometry

Let h:Φ→Θh:\Phi\to\Theta be a diffeomorphism between open parameter domains. A preconditioner MθM_\theta maps objective covectors to parameter velocities. Gradients below use the declared Euclidean coordinates.

Theorem 6.1 (Transport of gradient dynamics). For L′=L∘hL'=L\circ h, the flows θ˙=−Mθ∇θL\dot\theta=-M_\theta\nabla_\theta L and ϕ˙=−Mϕ∇ϕL′\dot\phi=-M_\phi\nabla_\phi L' correspond under θ=h(ϕ)\theta=h(\phi) when

Mϕ=(Dhϕ)−1Mh(ϕ)(Dhϕ)−T.M_\phi=(Dh_\phi)^{-1}M_{h(\phi)}(Dh_\phi)^{-\mathsf T}.

Proof. The chain rule gives ∇ϕL′=(Dhϕ)T∇θL\nabla_\phi L'=(Dh_\phi)^\mathsf T\nabla_\theta L. Multiplying the second flow by DhϕDh_\phi and substituting the displayed preconditioner yields the first flow. Corresponding initial conditions identify trajectories on their common interval of existence when the induced vector fields are locally Lipschitz; for example, smooth hh, LL, and preconditioner fields supply this local uniqueness hypothesis. No global-in-time existence is inferred. □\square

The theorem concerns continuous-time vector fields. A finite Euler update need not commute with a nonlinear change of coordinates: generally h(ϕ+ηv)≠h(ϕ)+ηDhϕvh(\phi+\eta v)\ne h(\phi)+\eta Dh_\phi v. Exact discrete conjugacy requires transporting the complete update by h−1∘Φ∘hh^{-1}\circ\Phi\circ h, or a separate discretization analysis.

Setting both coordinate preconditioners to the identity generally violates this condition. For F(θ)=θF(\theta)=\theta and F~(ϕ)=aϕ\widetilde F(\phi)=a\phi, a>0a>0, squared output error gives F˙=−(F−y)\dot F=-(F-y) but F~˙=−a2(F~−y)\dot{\widetilde F}=-a^2(\widetilde F-y) under their respective Euclidean flows. They represent the same possible outputs with a diffeomorphic parameterization and different learning rates. Transporting Mϕ=a−2M_\phi=a^{-2} restores correspondence.

For an output map F:Θ→RmF:\Theta\to\mathbb R^m, loss ℓ(F)\ell(F), and M⪰0M\succeq0, the exact chain-rule dynamics is

F˙=−KM∇Fℓ,KM=DF M (DF)T⪰0.\dot F=-K_M\nabla_F\ell, \qquad K_M=DF\,M\,(DF)^\mathsf T\succeq0.

This kernel depends on the optimizer geometry and generally evolves with the trajectory. It is not a fixed-kernel description of every architecture or optimizer. Extra drift, memory, sampled objectives, and nonsmooth responses need explicit additional data.

7. Sheaf perspective and executable evidence

The assignment U↦C∞(U,R)U\mapsto C^\infty(U,\mathbb R) is a sheaf: compatible local functions glue uniquely. Its stalks are the germ algebras. Prolongation and zeroth-order projection commute with restriction, so global holonomic representations form an isomorphic sheaf. A chosen smooth site embeds this discussion in a presheaf or sheaf topos; differentiation is additional smooth structure, and an arbitrary infinity-topos does not supply it [4].

The companion uses exact rational polynomial arithmetic to check finite-jet quotient operations and adaptive indistinguishability. It constructs a perturbation divisible by (x−q)4(x-q)^4 at each of six adaptive rational query points qq, matching all 24 derivative coordinates through order 3; both runs end at 1/641/64. It checks 84 finite-jet compositions at orders 0-6 and eight differentiation-order-loss cases. It also checks that optimizer memory changes an update at fixed current objective jet, verifies the scalar coordinate-transport calculation, and evaluates the remote-query example. The flatness and smooth bump arguments are proved above; their truth is not inferred from floating-point sampling. Program version 1.0.0, bounds, and hashes are recorded in verification-results.json.

Automation disclosure. OpenAI ChatGPT/Codex assisted with drafting, proof review, references, and the executable examples. The submission byline is Anonymous; no affiliation or independent referee approval is asserted. Written proofs have not been formalized in a proof assistant, and bounded program checks do not replace the general arguments.

Reproduction. Run python3 code/jets_example.py using the Python standard library. Polynomial identities and the recorded adaptive trace use fractions.Fraction. The remote bump example evaluates two points with ordinary floating point and is separate from those exact checks. The polynomial perturbation matching six order-three queries is not the compactly supported perturbation of Theorem 4.3: its leading negative term need not preserve coercivity. It demonstrates finite-order oracle indistinguishability only; the global-minimization obstruction is the written smooth-bump proof. The complete runner and separately supplied results file retain this distinction.

References

  1. J. Navarro and J. B. Sancho. Peetre-Slovák’s theorem revisited. 2014; revised 2016. arXiv:1411.7499.

  2. Brendan Fong, David I. Spivak, Rémy Tuyéras. Backprop as Functor: A compositional perspective on supervised learning. LICS 2019. arXiv:1711.10455.

  3. G. S. H. Cruttwell, Bruno Gavranović, Neil Ghani, Paul Wilson, Fabio Zanasi. Categorical Foundations of Gradient-Based Learning. arXiv:2103.01931.

  4. Jacob Lurie. Higher Topos Theory. Princeton University Press, 2009. Electronic edition.

Complete flattened LaTeX source
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
\documentclass[
  11pt,
]{article}
\usepackage{amsmath,amssymb}

\usepackage{iftex}

\ifPDFTeX
  \usepackage[T1]{fontenc}

  \usepackage[utf8]{inputenc}

  \usepackage{textcomp}
 \else   \usepackage{unicode-math}
   \defaultfontfeatures{Scale=MatchLowercase}
  \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}

\ifPDFTeX\else
  \fi


\makeatletter
\@ifundefined{KOMAClassName}{      \setlength{\parindent}{0pt}
    \setlength{\parskip}{6pt plus 2pt minus 1pt}
}{  \KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}

\usepackage[margin=0.85in]{geometry}

\setlength{\emergencystretch}{3em} \providecommand{\tightlist}{  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} 
\usepackage{microtype}

\usepackage{fancyhdr}

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small Categorical systems research}
\fancyhead[R]{\small Prepared for editorial review}
\fancyfoot[C]{\thepage}
\setlength{\parskip}{0.35em}
\setcounter{secnumdepth}{0}
\providecommand{\llbracket}{\mathopen{[\![}}
\providecommand{\rrbracket}{\mathclose{]\!]}}
\ifLuaTeX
  \usepackage{selnolig}
  \fi
\usepackage{hyperref}

 \urlstyle{same}
\hypersetup{
  pdftitle={Oracle and Jet Semantics of Stateful Optimization},
  pdfauthor={Anonymous},
  colorlinks=true,
  linkcolor={teal},
  filecolor={Maroon},
  citecolor={Blue},
  urlcolor={teal},
  pdfcreator={LaTeX via pandoc}}

\title{Oracle and Jet Semantics of Stateful Optimization}
\author{Anonymous}
\date{}

\begin{document}
\maketitle

\textbf{Version 1.2 - 12 October 2026 - Prepared for editorial review}

\textbf{Author:} Anonymous

\hypertarget{abstract}{\subsection{Abstract}\label{abstract}}

We distinguish four objective interfaces: pointwise finite jets,
pointwise infinite jets, smooth germs, and global holonomic jet
sections. Every extensional optimizer on smooth objectives admits a
global holonomic representation, already at order zero, with runtime and
auxiliary data retained. A separate fiber-constancy criterion
characterizes descent to pointwise jets. We prove adaptive oracle
indistinguishability and a finite-query obstruction to universal exact
global minimization of smooth coercive objectives. Counterexamples
exhibit flat germs and remote value queries. A coordinate-transport
theorem explains why equivalent forward parameterizations need not
produce equivalent Euclidean gradient dynamics. Exact rational
polynomial examples accompany the interface results. The contribution is
a precise organization of optimizer information dependence; no universal
local-jet or convergence claim is inferred from the representation
theorem.

\hypertarget{interfaces-and-prior-work}{\subsection{1. Interfaces and prior
work}\label{interfaces-and-prior-work}}

Classical jet geometry separates differential order from the smooth germ
that supplies it. Peetre-Slovak theory identifies finite-order behavior
for local operators under specified regularity hypotheses {[}1{]}.
Categorical gradient learning retains optimizer structure and parameters
{[}2,3{]}. We combine these distinctions into a small semantics of
stateful objective queries. The quotient and oracle proofs below are
elementary; their value here is to make the limits of a universal jet
description explicit.

Fix an open domain \(\Theta\subseteq\mathbb R^d\), \(d\ge1\), and write
\(\mathcal L=C^\infty(\Theta,\mathbb R)\). The objectives and all
queried derivatives are ideal mathematical data. An effective
implementation supplies only its declared, computable query interface;
an infinite jet is not assumed to be a stored infinite array. Unless
extra structure is stated, representation and quotient factorizations
below are set-theoretic: they do not assert computability, continuity,
or an algorithm for reading a global function.

\textbf{Definition 1.1 (Runtime and auxiliary data).} Runtime state
\(\Xi\) contains current parameters, memory, query history, candidate
populations, and random state. Auxiliary data \(C\) includes
constraints, schedules, precision rules, objective presentations, and
oracle contracts. An extensional deterministic step is a possibly
partial map

\[
A:\mathcal L\times\Xi\times C\rightharpoonup Y
\]

whose definedness and result depend only on the objective function when
runtime and auxiliary data are fixed. \(Y\) may contain a next state or
a stopping result. Code-inspection behavior belongs in the auxiliary
presentation data when it affects the algorithm. Extensionality in the
scalar objective does not identify different such data.

\textbf{Interface hierarchy.} At a fixed point, germ equality implies
equality of every finite jet and the infinite jet; the converse from
infinite jets fails for smooth functions. A global holonomic section
retains values at every point. Runtime state and auxiliary data remain
additional inputs at every level. Sections 2-3 separate representation
from locality; Section 4 states the oracle information bound.

\hypertarget{jets-germs-and-global-sections}{\subsection{2. Jets, germs, and global
sections}\label{jets-germs-and-global-sections}}

\textbf{Definition 2.1 (Germ and jet).} The smooth germ algebra
\(G_\theta\) is the direct limit of \(C^\infty(U,\mathbb R)\) over
neighborhoods of \(\theta\), with restriction maps. Germs agree if their
representatives agree on some neighborhood. Their order-\(r\) jets agree
if all derivatives of orders at most \(r\) agree at \(\theta\). Write
\(J_\theta^r\) for the quotient and

\[
J_\theta^\infty=\lim_r J_\theta^r.
\]

In coordinates, \(j_\theta^rL\) records \(\partial^\alpha L(\theta)\)
for multiindices \(\alpha=(\alpha_1,\ldots,\alpha_d)\) with
\(|\alpha|=\sum_i\alpha_i\le r\). The maps \(J^{r+1}\to J^r\) forget the
highest derivatives. When a quotient argument uses infinite jets, its
codomain is the image of \(G_\theta\to J_\theta^\infty\), so no
realization theorem for arbitrary formal data is needed.

\textbf{Lemma 2.2 (An infinite jet need not determine a smooth germ).}
The Taylor map \(G_0\to J_0^\infty\) is not injective.

\textbf{Proof.} In one variable let \(h(x)=e^{-1/x^2}\) for \(x>0\) and
\(h(x)=0\) for \(x\le0\). Each derivative on \(x>0\) is a polynomial in
\(1/x\) times the exponential. For every \(N\), \(x^{-N}e^{-1/x^2}\to0\)
as \(x\downarrow0\), so the function extends smoothly with every
derivative zero at \(0\). Its germ is nonzero because it is positive on
every sufficiently small positive interval. It has the same infinite jet
as zero. \(\square\)

For analytic germs the locally convergent Taylor series determines the
germ. The smooth and analytic statements have different hypotheses.

\textbf{Definition 2.3 (Global holonomic representation).} Let
\(P^r(L)\) be the section \(\theta\mapsto j_\theta^rL\) over the entire
domain, with \(r\) finite or infinite. Define
\(\operatorname{Hol}^r(\Theta)\) to be precisely the sections arising
this way. The zeroth-order projection is

\[
\varepsilon_0:\operatorname{Hol}^r(\Theta)\to\mathcal L,
\qquad \varepsilon_0(s)(\theta)=s_0(\theta).
\]

It satisfies \(\varepsilon_0P^r=\mathrm{id}\) and
\(P^r\varepsilon_0=\mathrm{id}\). For infinite sections with smooth
coordinate components, holonomicity is equivalent to
\(\partial_i s_\alpha=s_{\alpha+e_i}\): induction identifies each
component with the corresponding derivative of \(s_0\).

\textbf{Theorem 2.4 (Global representation).} Every step of Definition
1.1 factors uniquely through \(P^r\), for every \(r\ge0\), including
\(r=\infty\):

\[
\widehat A(s,\xi,c)=A(\varepsilon_0(s),\xi,c),
\qquad A=\widehat A\circ(P^r\times\mathrm{id}).
\]

The same factorization preserves partial domains and every iterated
trajectory with matched initial state and auxiliary streams.

\textbf{Proof.} The inverse identities of Definition 2.3 give existence
and uniqueness. Transport the partial domain by that bijection. At every
step the two representations recover the same objective and therefore
the same definedness, result, and next runtime state. Induction gives
trajectory and stopping equivalence. \(\square\)

The theorem is a representation result. It holds at order zero because
the values at all points already retain the complete function. It
neither asserts that all optimizers compute derivatives nor identifies a
global representation with one point's jet.

\hypertarget{descent-to-local-objective-data}{\subsection{3. Descent to local objective
data}\label{descent-to-local-objective-data}}

\textbf{Definition 3.1 (Pointwise jet dependence).} Fix \(\theta\). A
germ-local rule is a map
\(A_\theta:G_\theta\times\Xi\times C\rightharpoonup Y\), with \(Y\) a
set. It is order-\(r\) determined when it descends along the jet
quotient \(q_r:G_\theta\to\operatorname{im}(q_r)\).

\textbf{Theorem 3.2 (Fiber criterion).} Such a factorization exists
uniquely exactly when, at fixed runtime and auxiliary data, its domain
is a union of \(q_r\)-fibers and its value is constant on every fiber in
the domain.

\textbf{Proof.} A factorization has identical definedness and value on
equivalent representatives. Conversely these two conditions give a
well-defined domain and value on each quotient class. Surjectivity onto
the image makes the descended rule unique. This is the universal
property of a set quotient. \(\square\)

The set-valued hypothesis matters: higher-valued descent requires
coherent identification data, not merely an equality of connected
components. For example, the germ-local rule testing whether a germ is
zero is not infinite-jet determined by Lemma 2.2. This is a mathematical
rule; no finite effective germ-zero decision procedure is claimed.

\textbf{Proposition 3.3 (Remote queries need not be germ-local).} A
legitimate value-based search can fail to depend on the current germ.

\textbf{Proof.} Choose a smooth bump \(\beta\) supported in
\((1/2,3/2)\) with \(\beta(1)=1\). The objectives \(L_0(x)=x^2\) and
\(L_1(x)=x^2-2\beta(x)\) agree on a neighborhood of zero. Searching the
candidates \(\{0,1\}\) with a fixed tie rule chooses \(0\) for \(L_0\)
and \(1\) for \(L_1\). Thus the result is not determined by the germ, or
by any jet, at zero. \(\square\)

Peetre-Slovak theory {[}1{]} supplies stronger finite-order conclusions
for suitably regular morphisms between sheaves of smooth sections. Its
locality and smooth-family regularity assumptions must be checked for a
particular update rule. Adaptive queries outside a neighborhood and
arbitrary stateful oracle programs do not acquire those assumptions
merely by being optimizers.

\hypertarget{adaptive-oracle-semantics}{\subsection{4. Adaptive oracle
semantics}\label{adaptive-oracle-semantics}}

\textbf{Definition 4.1 (Query machine).} Fix auxiliary data and a random
seed if used. A runtime state chooses either a stopping output or a
query \((\theta,r)\) for the value and derivatives of orders at most
\(r\) at \(\theta\). The oracle answer and current state determine the
next state. Objective-independent internal computation may be included
in the state transition. Each query is total on the declared smooth
objective class; any declared failures must be matched as observations.
Randomized runs are considered after fixing their complete random
stream.

\textbf{Theorem 4.2 (Adaptive indistinguishability).} Suppose two
objectives give identical answers to every query along a run on the
first objective, and start from the same state, auxiliary data, and
random stream. The second run chooses the same queries and has identical
states and stopping behavior for the matched prefix. If the premise
holds indefinitely, the entire runs agree.

\textbf{Proof.} Identical initial states choose the same first action.
At a query, the assumed equal answer gives identical successor states.
Those states choose the same next query or stopping result. Induction
gives every finite prefix, and equality at all finite stages gives the
full run. The proof does not assume in advance that the second run
follows the first query schedule; induction establishes that schedule.
\(\square\)

\textbf{Theorem 4.3 (Finite-query obstruction).} No deterministic
value-and-derivative oracle algorithm that terminates after finitely
many point queries on every smooth coercive function
\(\mathbb R^d\to\mathbb R\) can always return an exact global minimizer.
The statement still holds if each query supplies the entire pointwise
infinite jet.

\textbf{Proof.} Run the purported algorithm on \(L_0(x)=\|x\|^2\). It
must return its unique minimizer \(0\) after a finite query set \(Q\).
Choose \(x_0\) outside \(Q\cup\{0\}\) and a smooth compactly supported
bump \(\beta\) with \(\beta(x_0)=1\), whose support avoids that finite
set. For \(M>\|x_0\|^2\), put \(L_1=L_0-M\beta\). At each queried point,
the perturbation is zero on a neighborhood, so every derivative agrees
with \(L_0\). Theorem 4.2 forces the same terminating run and output
\(0\). But \(L_1(x_0)<0=L_1(0)\), so \(0\) is not a global minimizer.
The perturbation is bounded and compactly supported, so
\(L_1(x)\to+\infty\) as \(\|x\|\to\infty\). By continuity its minimum is
attained on a sufficiently large compact ball. This verifies both
coercivity and attainment within the theorem's domain. This contradicts
the guarantee within the stated class. \(\square\)

This is a restricted-oracle information obstruction. Analytic
objectives, known parametric families, convexity and regularity bounds,
global representation inspection, and approximate guarantees can change
the question. The theorem supplies no convergence rate for a particular
optimizer. Conditioning on a fixed random stream gives the same
adversarial statement for that deterministic run; a separate probability
argument is needed for probabilistic guarantees.

\hypertarget{composition-and-finite-order-calculus}{\subsection{5. Composition and finite-order
calculus}\label{composition-and-finite-order-calculus}}

For fixed auxiliary data, define a category whose objects are runtime
state spaces and whose arrows are total objective-indexed steps
\(A:\mathcal L\times\Xi\to\Xi'\). Composition shares the objective:

\[
(B\star A)(L,\xi)=B(L,A(L,\xi)).
\]

\textbf{Proposition 5.1 (Representation respects composition).}
Replacing \(\mathcal L\) by \(\operatorname{Hol}^r(\Theta)\) gives an
isomorphic category under the factorization of Theorem 2.4. Partial maps
have the corresponding transported domains.

\textbf{Proof.} Associativity is substitution and the identity returns
the state. Both composed arrows recover the same \(L=\varepsilon_0(s)\),
so \(\widehat{B\star A}=\widehat B\star\widehat A\). Precomposition with
\(P^r\) is inverse. The partial statement follows by transporting the
same sequential domain condition. \(\square\)

Finite jets of pointed smooth maps also compose by truncated Taylor
substitution: the chain rule determines the order-\(r\) composite from
the order-\(r\) factors. The points and coordinate transformations are
part of this construction. It is independent of a homotopy truncation
level.

\textbf{Lemma 5.2 (Differentiation lowers finite order).} For \(r\ge1\),
differentiation of one-variable germs induces \(D:J^r\to J^{r-1}\). It
is not an endomorphism obtained by differentiating representatives in
\(\mathbb R[z]/(z^{r+1})\).

\textbf{Proof.} If two germs have equal derivatives through order \(r\),
their derivatives agree through order \(r-1\). In the truncated
polynomial quotient, \(z^{r+1}\) represents zero, while its derivative
\((r+1)z^r\) is nonzero. Representative differentiation therefore does
not descend as an endomorphism of that same quotient. \(\square\)

The normalized Taylor coefficient product is convolution,
\((ab)_k=\sum_{j=0}^k a_jb_{k-j}\), and derivative coefficients shift as
\((Da)_k=(k+1)a_{k+1}\). Selecting polynomial representatives and
differentiating them is an explicit finite approximation, not an exact
operation retaining the missing next derivative.

\hypertarget{parameter-equivalence-and-optimizer-geometry}{\subsection{6. Parameter equivalence and optimizer
geometry}\label{parameter-equivalence-and-optimizer-geometry}}

Let \(h:\Phi\to\Theta\) be a diffeomorphism between open parameter
domains. A preconditioner \(M_\theta\) maps objective covectors to
parameter velocities. Gradients below use the declared Euclidean
coordinates.

\textbf{Theorem 6.1 (Transport of gradient dynamics).} For
\(L'=L\circ h\), the flows \(\dot\theta=-M_\theta\nabla_\theta L\) and
\(\dot\phi=-M_\phi\nabla_\phi L'\) correspond under \(\theta=h(\phi)\)
when

\[
M_\phi=(Dh_\phi)^{-1}M_{h(\phi)}(Dh_\phi)^{-\mathsf T}.
\]

\textbf{Proof.} The chain rule gives
\(\nabla_\phi L'=(Dh_\phi)^\mathsf T\nabla_\theta L\). Multiplying the
second flow by \(Dh_\phi\) and substituting the displayed preconditioner
yields the first flow. Corresponding initial conditions identify
trajectories on their common interval of existence when the induced
vector fields are locally Lipschitz; for example, smooth \(h\), \(L\),
and preconditioner fields supply this local uniqueness hypothesis. No
global-in-time existence is inferred. \(\square\)

The theorem concerns continuous-time vector fields. A finite Euler
update need not commute with a nonlinear change of coordinates:
generally \(h(\phi+\eta v)\ne h(\phi)+\eta Dh_\phi v\). Exact discrete
conjugacy requires transporting the complete update by
\(h^{-1}\circ\Phi\circ h\), or a separate discretization analysis.

Setting both coordinate preconditioners to the identity generally
violates this condition. For \(F(\theta)=\theta\) and
\(\widetilde F(\phi)=a\phi\), \(a>0\), squared output error gives
\(\dot F=-(F-y)\) but \(\dot{\widetilde F}=-a^2(\widetilde F-y)\) under
their respective Euclidean flows. They represent the same possible
outputs with a diffeomorphic parameterization and different learning
rates. Transporting \(M_\phi=a^{-2}\) restores correspondence.

For an output map \(F:\Theta\to\mathbb R^m\), loss \(\ell(F)\), and
\(M\succeq0\), the exact chain-rule dynamics is

\[
\dot F=-K_M\nabla_F\ell,
\qquad K_M=DF\,M\,(DF)^\mathsf T\succeq0.
\]

This kernel depends on the optimizer geometry and generally evolves with
the trajectory. It is not a fixed-kernel description of every
architecture or optimizer. Extra drift, memory, sampled objectives, and
nonsmooth responses need explicit additional data.

\hypertarget{sheaf-perspective-and-executable-evidence}{\subsection{7. Sheaf perspective and executable
evidence}\label{sheaf-perspective-and-executable-evidence}}

The assignment \(U\mapsto C^\infty(U,\mathbb R)\) is a sheaf: compatible
local functions glue uniquely. Its stalks are the germ algebras.
Prolongation and zeroth-order projection commute with restriction, so
global holonomic representations form an isomorphic sheaf. A chosen
smooth site embeds this discussion in a presheaf or sheaf topos;
differentiation is additional smooth structure, and an arbitrary
infinity-topos does not supply it {[}4{]}.

The companion uses exact rational polynomial arithmetic to check
finite-jet quotient operations and adaptive indistinguishability. It
constructs a perturbation divisible by \((x-q)^4\) at each of six
adaptive rational query points \(q\), matching all 24 derivative
coordinates through order 3; both runs end at \(1/64\). It checks 84
finite-jet compositions at orders 0-6 and eight
differentiation-order-loss cases. It also checks that optimizer memory
changes an update at fixed current objective jet, verifies the scalar
coordinate-transport calculation, and evaluates the remote-query
example. The flatness and smooth bump arguments are proved above; their
truth is not inferred from floating-point sampling. Program version
1.0.0, bounds, and hashes are recorded in
\texttt{verification-results.json}.

\textbf{Automation disclosure.} OpenAI ChatGPT/Codex assisted with
drafting, proof review, references, and the executable examples. The
submission byline is Anonymous; no affiliation or independent referee
approval is asserted. Written proofs have not been formalized in a proof
assistant, and bounded program checks do not replace the general
arguments.

\textbf{Reproduction.} Run \texttt{python3\ code/jets\_example.py} using
the Python standard library. Polynomial identities and the recorded
adaptive trace use \texttt{fractions.Fraction}. The remote bump example
evaluates two points with ordinary floating point and is separate from
those exact checks. The polynomial perturbation matching six order-three
queries is not the compactly supported perturbation of Theorem 4.3: its
leading negative term need not preserve coercivity. It demonstrates
finite-order oracle indistinguishability only; the global-minimization
obstruction is the written smooth-bump proof. The complete runner and
separately supplied results file retain this distinction.

\hypertarget{references}{\subsection{References}\label{references}}

\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\item
  J. Navarro and J. B. Sancho. \textbf{Peetre-Slovák's theorem
  revisited}. 2014; revised 2016.
  \href{https://arxiv.org/abs/1411.7499}{arXiv:1411.7499}.
\item
  Brendan Fong, David I. Spivak, Rémy Tuyéras. \textbf{Backprop as
  Functor: A compositional perspective on supervised learning}. LICS
  2019. \href{https://arxiv.org/abs/1711.10455}{arXiv:1711.10455}.
\item
  G. S. H. Cruttwell, Bruno Gavranović, Neil Ghani, Paul Wilson, Fabio
  Zanasi. \textbf{Categorical Foundations of Gradient-Based Learning}.
  \href{https://arxiv.org/abs/2103.01931}{arXiv:2103.01931}.
\item
  Jacob Lurie. \textbf{Higher Topos Theory}. Princeton University Press,
  2009. \href{https://arxiv.org/abs/math/0608040}{Electronic edition}.
\end{enumerate}

\end{document}

End of manuscript · Back to top ↑