Independent scholarship · Open accessThe monthly digest

Full manuscript · browser edition

Diffeology and Higher Descent

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

Contents · 76 sections

GEOMETRY / HIGHER CATEGORY THEORY

Diffeology and
Higher Descent

Smooth stacks, quotient spaces, and applications

image


AnonymousManuscript for Higher Categorical Semantics

Abstract

A diffeological space consists of a set and a class of smooth parametrizations called plots. The plots form a concrete sheaf on Euclidean test domains. We use this equivalence to study descent for groupoids and higher stacks. For the reflection action on the real line, we distinguish the orbit space, the sheaf of local isomorphism classes, and the quotient stack. On a tetrahedral cover of the sphere, we construct an explicit degree-two obstruction to gluing. On an irrational torus, we compare the periods of plotwise differential forms with the classes of discrete real torsors.

For a fixed-rank matrix model, we compute the Hessian rank at an exact fit. For a finite decision process with a group of symmetries, we characterize the existence of a deterministic equivariant optimal policy by a condition on stabilizers. We classify irrational tori by changes of integral basis, derive privacy and reconstruction thresholds for finite-field secret sharing, and bound the error in a network calibration from the discrepancy around a cycle. For two moving targets, we compute the minimum expected error under a policy based on a single image and derive a sufficient sampling rate for tracking target identity.

Keywords. Diffeology, concrete sheaf, smooth higher stack, torsor, homotopy quotient, descent, observational equivalence.

Authorship and evidence. Prepared anonymously with generative AI assistance in drafting, mathematical exposition, illustration, and typesetting. Each numbered theorem and proposition has a mathematical proof. We state the assumptions for each application and cite the relevant literature in the chapter notes. The numerical values in the worked examples follow from the specified model parameters.

Reading guide

For a plot p:U→Xp:U\to X and a smooth map h:V→Uh:V\to U, the composite p∘hp\circ h is a plot. In Chapters 1–2 we use this rule to identify diffeological spaces with concrete sheaves. In Chapters 3–4 we compare local presentations by isomorphisms and impose compatibility on their overlaps. In Chapters 5–6 we apply descent to differential forms, bundles, and symplectic reduction.

Prerequisites.

For Chapter 1, readers need smooth maps on Euclidean open sets, groups, and linear algebra. We define sheaves, torsors, and quotient stacks as they occur. For Chapter 5, readers should know exterior derivatives, pullbacks, and the Mayer–Vietoris sequence in degrees zero and one. For Chapter 6, the prerequisites are basic manifold theory and symplectic linear algebra. The applications use matrix rank in Chapter 7, finite probability and contractions in Chapter 8, integer lattices in Chapter 9, polynomial interpolation over a field in Chapter 10, and paths in a graph in Chapter 11.

Suggested reading sequences.

For an introduction to higher descent, read Chapters 1–3, work through the overlap examples, and then turn to Chapter 12. There you can calculate the error in assigning target identities from a single image. Return to Chapter 4 for the degree-two obstruction. For a geometry course, read Chapters 1–6 in order and compare Chapter 9 with Iglesias-Zemmour’s treatment of irrational quotients. For systems and learning, read Chapters 1–3, select Chapters 7, 8, 10, or 11, and finish with the tracking problem. In each chapter, begin with the calculation exercises and then attempt the proof exercises before consulting their solutions.

A concordance to Iglesias-Zemmour.

Article numbers and page numbers below correspond to the 2013 edition of Patrick Iglesias-Zemmour’s Diffeology. For each source chapter, we list the relevant constructions and their applications in this monograph.

American Mathematical Society, Mathematical Surveys and Monographs 185

For Chapters 1–3, see the wire diffeology (art. 1.10), smooth maps from a quotient (1.50–1.51), and the functional diffeology (1.57). In Chapter 7 we use the functional diffeology on a space of predictors.

For the topology in Chapter 5, see the DD-topology and its behavior under subductions (2.8, 2.12). In Chapter 2 the sheaf gluing condition follows from the locality axiom for plots.

Compare quotient vector spaces (3.6) and Euclidean structures (3.13) with the nonlinear parameter quotient in Chapter 7. There we compute the fibers and their tangent spaces.

Compare manifold charts (4.1–4.2) and local finite group quotients (4.17–4.18) with Chapter 3. For a point with nontrivial stabilizer, its automorphism group in the quotient stack differs from that of its image in the orbit space.

For the homotopy operator in Chapter 5 and path lifting in Chapter 12, see paths, concatenation, and homotopy (5.1–5.5), and the Poincaré groupoid and higher groups (5.15, 5.17). For the higher compatibility conditions in descent, see Chapter 4 of this monograph.

For Chapter 5, see the definition of a form on plots (6.28), the descent condition (6.38), and the homotopy operator (6.83–6.88). In Chapter 6 we compute a reduced area form by descent.

For the stabilizer calculations in Chapters 3, 7, and 8, see actions and orbit maps (7.4–7.5). For the arithmetic classification in Chapter 9, see quotient groups (7.3).

Compare principal bundles and plot trivializations (8.11–8.13) with the changes of frame in Chapter 6 and the torsors in Chapter 10. For the continuous analogue of edge transport in Chapter 11, see connections and holonomy (8.32–8.35). For Chapter 9, see also Kronecker flows (8.38).

For the period obstruction in Chapter 6, see the construction of moment maps from paths (9.1–9.9). For the manifold case see 9.20–9.21, and for irrational quotients as in Chapter 9 see 9.30.

A guide to the application theorems

For each application below, the four theorem numbers link to proofs.

In a linear bottleneck model, the predictor matrix is the product of two weight matrices. First identify the quotient (Theorem Theorem 1.1) and its tangent directions (Theorem 1.2). Then compute the rank of the loss Hessian on the given training data (Theorem 1.3) and decide whether weights can be chosen continuously on a loop (Theorem 1.4).

Compress a finite planning problem by its symmetries (Theorem Theorem 1.1). Determine which optimal actions lift to equivariant policies (Theorem 1.2), differentiate the entropy-regularized solution along plots (Theorem 1.4), and account for the number of actions represented by a compressed choice (Theorem 1.5).

Recover affine rigidity from periods of an irrational quotient (Theorem Theorem 1.1), classify changes of slope (Theorem 1.2), compute degrees via the multiplier order (Theorem 1.4), and use small divisors to decide whether a bundle admits a smooth section (Theorem 1.6).

Determine the quotient of the secret space specified by an additive observation (Theorem Theorem 1.1). Derive the polynomial threshold for secrecy and reconstruction (Theorem 1.2), glue locally described encodings (Theorem 1.4), and determine how many evaluations suffice to detect a change of mask around a loop (Theorem 1.5).

Reduce frame comparisons to holonomy on a spanning tree and its omitted edges (Theorem Theorem 1.1). Determine when frames can be globally calibrated (Theorem 1.2), reconcile separately modeled subnetworks (Theorem 1.3), and convert a measured cycle discrepancy into a quantitative error certificate (Theorem 1.4).

In Chapter 12, use the image moments to reconstruct the unordered pair of positions. Compare the minimum expected pointing errors for policies based on the final image and on the entire path. At a collision, determine whether a smooth local inverse exists.

Plots, smooth maps, and quotient diffeologies

Compare two ways to sample a plane. In the first, vary two independent coordinates in a disk. In the second, choose any smooth curve and vary its single parameter. Every point of the plane lies in some disk and on some curve, but the disk parametrization has rank two and cannot factor locally through a smooth curve. A diffeology specifies which parametrizations are smooth. This definition applies to quotients and spaces of functions even when they lack manifold charts.

Plots and the locality axiom

A test domain is an open subset UU of some finite-dimensional Rn\mathbb R^n. We allow n=0n=0, so the one-point space ∗* is a test. A diffeology on a set XX consists of specified functions p:U→Xp:U\to X, its plots, for each test domain UU. Every constant function is a plot. Precomposing a plot with an ordinary smooth map gives a plot. Finally, if the restrictions of a function to all members of an open cover of UU are plots, the function itself is a plot. A map f:X→Yf:X\to Y is smooth when fpfp is a plot for each plot pp of XX. The resulting category is Diff\mathsf{Diff}.

On a manifold the standard plots are its ordinary smooth parametrizations. Conversely, to verify classical smoothness of a map of manifolds preserving plots, compose the map with inverse coordinate charts in the source and coordinate charts in the target. From the empty test domain to any XX there is exactly one function. It is a plot by locality on the empty cover.

Proposition 1.1 (Generation test). Let pi:Ui→Xp_i:U_i\to X be any collection of functions. The smallest diffeology containing them consists of the functions which, near each point of their domain, are constant or have the form pihp_i h for an ordinary smooth hh. A set map out of XX is smooth for this diffeology exactly when all its composites with pip_i are plots.

Proof. The specified collection contains the generators and all constant functions. Composing a local factorization with a smooth function preserves the factorization on the inverse image of its neighborhood. Functions obtained by gluing also have the stated local form. Every diffeology containing the generators contains each of these local composites and their gluings, proving minimality. Apply locality in the target to the composites with a candidate map to obtain the last statement. ◻

The wire plane is the set R2\mathbb R^2 with the diffeology generated by its ordinary smooth curves. Each of its plots is an ordinary smooth map, since it locally factors through a smooth curve or a point. A plot from a plane into the wire plane has derivative of rank at most one by the chain rule. The derivative of the identity from the standard plane to itself has rank two everywhere. Hence this identity, considered as a map to the wire plane, is not smooth. At a singular point, local factorization does not follow from this argument about derivative rank.

The derivative of the identity on the disk has two independent image directions. For a map that factors locally through one real variable, the derivative has image dimension at most one.

Subspaces, quotients, and local lifts

In the subset diffeology, p:U→S⊂Xp:U\to S\subset X is a plot exactly when its composite into XX is a plot. For a surjection q:X→Qq:X\to Q, the quotient diffeology is generated by all qpqp. A map from UU into QQ is a plot exactly when it locally lifts to a plot in XX. Every constant plot in QQ has a constant lift because qq is onto. A smooth surjection realizing the quotient diffeology is called a subduction. A map into a product is a plot exactly when its components are plots. A map into a coproduct is a plot exactly when it locally factors through the inclusion of a summand by a plot in that summand. These descriptions follow by composing with the projections or locally factoring through the coproduct inclusions.

Theorem 1.2 (Effective descent of ordinary observables). For a subduction q:X→Qq:X\to Q and a diffeological space YY, pullback is a bijection from C∞(Q,Y)C^\infty(Q,Y) onto the equalizer of the two maps of sets from C∞(X,Y)C^\infty(X,Y) to C∞(X×QX,Y)C^\infty(X\times_Q X,Y) induced by the two projections. Pulling qq back along any smooth map gives another subduction.

Proof. The equalizer condition holds exactly when f:X→Yf:X\to Y is constant on each fiber. There is a unique set function gg with gq=fgq=f. For any plot p:U→Qp:U\to Q, choose local lifts aia_i; then gp∣Ui=faigp|_{U_i}=fa_i is smooth. Thus gg is smooth by locality. Conversely, the two pullbacks of gqgq to X×QXX\times_Q X are equal. For stability take v:T→Qv:T\to Q. Given a plot r:U→Tr:U\to T, locally lift vrvr to aia_i. Each pair (r∣Ui,ai)(r|_{U_i},a_i) gives a plot in the pullback lifting rr. ◻

For example, normalize an angle by reducing modulo 2π2\pi. A smooth phase observable f(t)f(t) on unwrapped readings defines a smooth observable on the circle precisely if f(t+2π)=f(t)f(t+2\pi)=f(t). The unwrapped angle tt is not periodic, so it does not descend. Two local lifts of the same angle differ by an integer multiple of 2π2\pi at each parameter value. Their sines are therefore equal on the overlap.

In the D-topology, a subset O⊂XO\subset X is open when p−1Op^{-1}O is open for every plot. For a quotient, OO is D-open precisely when q−1Oq^{-1}O is D-open. If OO is D-open, its inverse image is D-open by smoothness of qq. Conversely, test openness of p−1Op^{-1}O on neighborhoods where a plot pp of the quotient has a lift. For manifolds this topology is the usual one by the chart test. A D-open subset is a permissible neighborhood for operations on XX. In contrast, the locality in the plot axiom always concerns ordinary open subsets of a test domain. For an atlas, local lifts exist on these domains. Sections over D-open neighborhoods of target points need not exist.

Fine vector spaces and diffeological dimension

Let VV be an algebraic real vector space. The fine vector-space diffeology consists of the functions locally expressible as ∑j=1kfj(u)vj\sum_{j=1}^k f_j(u)v_j, where vjv_j are fixed on the neighborhood and fjf_j are ordinary smooth scalars. The number kk and the vectors may change from neighborhood to neighborhood. For a finite-dimensional space this gives precisely the usual diffeology. For an infinite direct sum each plot must locally take values in a finite-dimensional subspace.

Proposition 1.3 (The free smooth structure on a vector space). With this diffeology addition and scalar multiplication on VV are smooth. Every linear map V→WV\to W to a diffeological vector space is smooth. This is the smallest vector-space diffeology on VV.

Proof. Two local expressions can be added on their common domain by concatenating their vector lists. For scalar multiplication by a plot gg, the new coefficients are gfjgf_j. For a linear map LL, replace each vector vjv_j by L(vj)L(v_j) and evaluate the linear combination by smooth operations in WW. In any vector-space diffeology each such linear combination of constants is a plot. Since plots are closed under gluing, the fine diffeology is contained in every vector-space diffeology. ◻

The diffeological dimension of a space is the least dd for which plots of dimension at most dd generate its diffeology. It is infinite if no finite bound exists. The wire plane has dimension one. It has a generating family of curves and contains nonconstant curves, whereas plots generated by zero-dimensional domains are locally constant. For ordinary Rn\mathbb R^n, n>0n>0, the identity generates the diffeology. With a generating family of lower dimension the identity would factor locally through a lower-dimensional domain, in contradiction with its derivative rank. At a branch point the dimension obtained from generating plots can differ from that of a linearized space.

On UiU_i, the lift aia_i gives gp∣Ui=faigp|_{U_i}=fa_i. For any two lifts the values of ff coincide because ff is constant on each fiber.

Exercises with solutions

Exercise 1.1 (Plots of a discrete space). Put the discrete diffeology on a two-element set DD, generated by its constant functions. Describe the plots R→D\mathbb R\to D and give a nonconstant plot from an open subset of R\mathbb R.

Solution.  Plots are locally constant. A locally constant map on the connected real line is constant because both fibers are open and complementary. On (−2,−1)∪(1,2)(-2,-1)\cup(1,2) choose a different value on each interval.

Exercise 1.2 (Find a quotient obstruction). Let Q=R/(x∼−x)Q=\mathbb R/(x\sim-x) and identify its underlying set with [0,∞)[0,\infty) by [x]↦x2[x]\mapsto x^2. Decide whether s↦ss\mapsto\sqrt{s} on QQ is smooth as a real-valued function.

Solution.  The composite with the quotient projection is ∣x∣|x|, which lacks a derivative at zero. Thus s↦ss\mapsto\sqrt{s} is not smooth on QQ, by Theorem 1.2. In the same coordinates ss itself is smooth because its pullback is x2x^2.

Exercise 1.3 (Build a fine-vector-space plot test). Let VV have countable basis e1,e2,…e_1,e_2,\ldots. Prove that a plot p:U→Vp:U\to V for the fine diffeology has image p(K)p(K) contained in a finite-dimensional linear subspace for each compact subset K⊂UK\subset U.

Solution.  Cover KK by neighborhoods on which the plot is a linear combination of finite lists of vectors. Take a finite subcover and span the union of all its lists. The resulting subspace contains p(K)p(K) even if KK is disconnected.

Exercise 1.4 (Prove a gluing theorem). Let q:X→Qq:X\to Q be a subduction and S⊂QS\subset Q have the subset diffeology. Prove that a parametrization of SS is a plot precisely when it locally lifts to plots in q−1Sq^{-1}S, with its subset diffeology from XX. Deduce a criterion for a function S→YS\to Y to be smooth.

Solution.  A plot of SS becomes a plot of QQ. Lift it locally to XX. Since all values of the original plot lie in SS, each lift has image in q−1Sq^{-1}S. Each lift is smooth into this subset by definition of the subset diffeology. Conversely any such lift composes to a plot in QQ valued in SS. Thus the restricted surjection is a subduction and a function out of SS is smooth exactly when its composite with that restricted surjection is smooth. This gives the pullback result of Theorem 1.2 directly for inclusions.

Reconstructing a space from its plots

The plots of a diffeological space, together with their reparametrizations, determine the space up to diffeomorphism. Smooth maps between two spaces correspond to natural transformations between their sheaves of plots. Other sheaves on the same site have sections that cannot be determined by restriction to points. The sheaf of differential 11-forms is one such example.

The site and the concrete sheaf condition

Let E\mathcal E have as objects all open subsets of finite-dimensional Euclidean spaces, including ∗=R0*=\mathbb R^0, and as arrows the ordinary smooth maps. Covers are ordinary open covers by inclusions. A set-valued presheaf FF assigns a set F(U)F(U) to each domain and an operation h∗:F(U)→F(V)h^*:F(U)\to F(V) to each h:V→Uh:V\to U, such that id∗=id\mathrm{id}^*=\mathrm{id} and (h∘k)∗=k∗h∗(h\circ k)^*=k^*h^* for composable maps. For a sheaf, every compatible family of local sections has a unique global section with those restrictions. We fix an ambient universe throughout. Write yUyU for the representable sheaf with (yU)(V)=C∞(V,U)(yU)(V)=C^\infty(V,U). The representable presheaf is a sheaf because smoothness of maps into UU is local on their domain.

A point u∈Uu\in U is an arrow iu:∗→Ui_u:*\to U. Hence each s∈F(U)s\in F(U) determines a function ϵU(s):U⟶F(∗),u⟼iu∗s.\epsilon_U(s):U\longrightarrow F(*),\qquad u\longmapsto i_u^*s . Call FF concrete if ϵU\epsilon_U is injective for every UU. A diffeological space XX gives a sheaf X‾\underline X sending UU to the set of its plots on UU. Restriction along hh is precomposition with hh. In this case ϵU\epsilon_U sends each plot to its underlying function.

Theorem 1.1 (Concrete sheaves and diffeological spaces). The functor X↦X‾X\mapsto\underline X is an equivalence from Diff\mathsf{Diff} to the full subcategory of concrete objects in Sh(E,Set)\mathsf{Sh}(\mathcal E,\mathsf{Set}).

Proof. Functions that agree on overlaps have a unique global extension. If the local functions are plots, their extension is a plot by locality. Thus X‾\underline X is a sheaf. For a concrete sheaf FF, use F(∗)F(*) as the set of points and the images of ϵU\epsilon_U as the plots. Pulling back a section along the unique map U→∗U\to * gives each constant plot. Naturality of point evaluation gives closure under precomposition. If a function locally comes from sections, those sections agree on overlaps by injectivity of the corresponding evaluation maps. Glue them in FF to get a global plot. The construction is inverse to the first up to the canonical identifications F(U)≃im⁡ϵUF(U)\simeq\operatorname{im}\epsilon_U.

For morphisms, a transformation η:X‾→Y‾\eta:\underline X\to\underline Y has a component f=η∗:X→Yf=\eta_*:X\to Y. On each plot pp naturality at iui_u gives ηU(p)(u)=f(p(u))\eta_U(p)(u)=f(p(u)). Thus fpfp is a plot and ff is smooth. Conversely a smooth ff gives a transformation by composition. These two operations are inverse and commute with composition. ◻

In the sheaf U↦Ω1(U)U\mapsto\Omega^1(U), the sections over each Euclidean open UU are ordinary differential 11-forms, and the restriction maps are pullbacks along smooth maps. Compatible local forms have a unique global extension because their coefficient functions have unique extensions in coordinates. Its set of sections at ∗* contains exactly the zero form. On R\mathbb R, however, dtdt and zero are distinct. Pulling dtdt back to a point gives a form on the zero-dimensional tangent space, whereas the covector dttdt_t on TtRT_t\mathbb R takes the value 11 on the unit tangent vector. These two evaluations have different targets. Thus Ω1\Omega^1 is an object of the full sheaf topos for which ϵR\epsilon_{\mathbb R} is not injective.

The category of plots as a presentation

For any presheaf FF, its category of elements ∫F\int F has objects (U,s)(U,s) with s∈F(U)s\in F(U). An arrow (V,t)→(U,s)(V,t)\to(U,s) is an h:V→Uh:V\to U such that t=h∗st=h^*s. With F=X‾F=\underline X, an arrow is exactly a smooth reparametrization relating two plots. The diagram ∫F→Sh(E,Set)\int F\to\mathsf{Sh}(\mathcal E,\mathsf{Set}) sends (U,s)(U,s) to the represented test object yUyU. In applications it is often enough to identify maps out of the colimit of this diagram.

Theorem 1.2 (Presentation by test domains). For a sheaf FF, the diagram of represented domains indexed by ∫F\int F has colimit canonically isomorphic to FF. Consequently, a map F→HF\to H to a sheaf HH amounts to an assignment s↦as∈H(U)s\mapsto a_s\in H(U) for each s∈F(U)s\in F(U) satisfying ah∗s=h∗asa_{h^*s}=h^*a_s for every reparametrization.

Proof. First take the colimit as presheaves, so it can be evaluated objectwise. At a test VV, a representative consists of an element (U,s)(U,s) and a smooth map h:V→Uh:V\to U. Send it to h∗s∈F(V)h^*s\in F(V). For each composition h∘kh\circ k, the identity (h∘k)∗s=k∗h∗s(h\circ k)^*s=k^*h^*s gives equal values for the two corresponding representatives in the colimit. Every t∈F(V)t\in F(V) has the representative (V,t,idV)(V,t,\mathrm{id}_V). Moreover hh gives an arrow (V,h∗s)→(U,s)(V,h^*s)\to(U,s) in ∫F\int F identifying this canonical representative with (U,s,h)(U,s,h). This gives inverse bijections natural in VV. The resulting presheaf colimit is already a sheaf, hence has the same universal property among sheaves. Finally maps yU→HyU\to H correspond to a∈H(U)a\in H(U) by evaluating on idU\mathrm{id}_U in one direction and taking the pullbacks h∗ah^*a for h:V→Uh:V\to U in the other. Compatibility of this cone is exactly the asserted formula. ◻

A triangle in the category of plots. A section on UU pulls back to WW either directly or via VV. Functoriality gives the same section by both routes. These arrows also exist when VV is a single point, as in Theorem 1.2.

For F=X‾F=\underline X and H=Ω1H=\Omega^1, a map F→HF\to H is equivalently a compatible family of ordinary 11-forms, one on each plot domain. This is the definition of a diffeological 11-form. If XX itself is a Euclidean open UU, the identity plot is terminal in ∫U‾\int\underline U. Its assigned form determines all the other components by pullback. For a general XX, many domains are needed. Restricting to point plots gives only zero forms on ∗*. On positive-dimensional plot domains the form can have nonzero coefficients.

Jointly smooth families of transformations

A family of predictors indexed by a parameter uu is a map into a space of functions. In the standard functional diffeology on C∞(X,Y)C^\infty(X,Y), a map p:U→C∞(X,Y)p:U\to C^\infty(X,Y) is a plot when (u,x)↦p(u)(x)(u,x)\mapsto p(u)(x) is smooth on U×XU\times X. Equivalently, for every plot a:V→Xa:V\to X, the map (u,v)↦p(u)(a(v))(u,v)\mapsto p(u)(a(v)) on U×VU\times V is a plot of YY. This follows by testing product plots in one direction and precomposing such independent parameters with diagonal reparametrizations in the other.

Theorem 1.3 (Exponential law). The functional diffeology defines an exponential YXY^X in Diff\mathsf{Diff}. For each ZZ there is a natural bijection C∞(Z×X,Y)≃C∞(Z,YX).C^\infty(Z\times X,Y)\simeq C^\infty(Z,Y^X). With the functional diffeologies on both sides it is a diffeomorphism. Composition ZY×YX→ZXZ^Y\times Y^X\to Z^X is smooth.

Proof. Constants in the functional definition are plots because their fixed function is smooth. Smooth changes in uu preserve joint smoothness by composition. Compatible functions over an open cover of UU give a jointly smooth function locally on U×XU\times X, and hence globally by testing product plots. To verify smoothness of evaluation for a joint plot (p,a)(p,a) on UU, first evaluate the independent families on U×UU\times U and then restrict to the diagonal.

Let f:Z×X→Yf:Z\times X\to Y be smooth. For a plot b:U→Zb:U\to Z, the function (u,x)↦f(b(u),x)(u,x)\mapsto f(b(u),x) is smooth. This gives the plot test for the curried function. Conversely a smooth curried function composes with evaluation to give a smooth ff. Naturality follows from equality of the pointwise formulas under precomposition in Z,XZ,X and postcomposition in YY. For a further family with domain VV, the plot condition on either side is smoothness of the same map V×Z×X→YV\times Z\times X\to Y. Finally, twice applying evaluation gives the smooth map (g,f,x)↦g(f(x))(g,f,x)\mapsto g(f(x)). Currying gives smooth composition. ◻

The function in Exercise 1.2 is separately smooth at every point. Along either coordinate axis through the origin it is zero. Along the diagonal its limit at the origin is 1/21/2, so it is not jointly continuous there.

Exercises with solutions

Exercise 1.1 (Evaluation at the identity map). If U⊂RnU\subset\mathbb R^n is open, determine the natural transformation yU→Ω1yU\to\Omega^1 that takes idU\mathrm{id}_U to ∑aj(x) dxj\sum a_j(x)\,dx_j. Compute its value on a curve c:I→Uc:I\to U.

Solution.  By naturality the component on h:V→Uh:V\to U must be ∑(aj∘h)dhj\sum(a_j\circ h)d h_j. This formula is natural under further pullback by the chain rule. For cc, it is (∑jaj(c(t))cj′(t)) dt(\sum_j a_j(c(t))c'_j(t))\,dt. The coefficient of dtdt is the pairing of the covector at c(t)c(t) with the velocity c′(t)c'(t).

Exercise 1.2 (Separate tests). Set F(u,x)=ux/(u2+x2)F(u,x)=ux/(u^2+x^2) off the origin and F(0,0)=0F(0,0)=0. For p(u)(x)=F(u,x)p(u)(x)=F(u,x), decide whether pp is a plot in RR\mathbb R^{\mathbb R}, where the exponential denotes the smooth mapping space.

Solution.  For fixed nonzero uu the denominator never vanishes as a function of xx, and at u=0u=0 the function is identically zero. So each p(u)p(u) is smooth. With uu and xx exchanged, we likewise obtain smooth parameter dependence at each fixed input. But F(t,t)=1/2F(t,t)=1/2 for t≠0t\ne0 and F(0,0)=0F(0,0)=0. The joint evaluation map is discontinuous at the origin, so pp is not a plot.

Exercise 1.3 (Recover an operation on an arbitrary space). Show that differentiating real functions on each plot of XX defines a map from smooth real functions on XX to diffeological 11-forms, natural in XX. Find its kernel.

Solution.  For f:X→Rf:X\to\mathbb R give p:U→Xp:U\to X the form d(fp)d(fp). By the chain rule, d(fph)=h∗d(fp)d(fph)=h^*d(fp) for h:V→Uh:V\to U. These components therefore define a form by the presentation theorem. Precomposition with any smooth map commutes with this assignment. The form vanishes if and only if fpfp is locally constant on each plot domain. Equivalently every fiber of ff is DD-open, since these inverse images are open on all plots, and this is precisely local constancy for the DD-topology.

Exercise 1.4 (Prove a uniqueness theorem for differentiation). For every Euclidean domain UU let DU:C∞(U,R)→Ω1(U)D_U:C^\infty(U,\mathbb R)\to\Omega^1(U) be additive and natural under pullback by every smooth map of domains. Prove that DUf=c dfD_U f=c\,df for one real constant cc independent of UU.

Solution.  Write DR(id)=a(t) dtD_{\mathbb R}(\mathrm{id})=a(t)\,dt. Apply naturality to the smooth map f:U→Rf:U\to\mathbb R to get DUf=a(f) dfD_U f=a(f)\,df. Take U=R2U=\mathbb R^2, f(x,y)=xf(x,y)=x and g(x,y)=yg(x,y)=y. By additivity, a(x+y)(dx+dy)=a(x)dx+a(y)dya(x+y)(dx+dy)=a(x)dx+a(y)dy for every x,yx,y. Comparing dxdx coefficients and putting x=0x=0 gives a(y)=a(0)a(y)=a(0) for all yy. Conversely every such multiple is additive and natural by the chain rule. We have used only additivity and naturality of DUD_U.

Source notes.

Iglesias-Zemmour develops the functional diffeology and smooth composition in arts. 1.57 and 1.59, and the domain presentation by generating plots in arts. 1.73 and 1.76. Baez and Hoffnung establish the concrete-sheaf equivalence on this site in Proposition 24 of Convenient Categories of Smooth Spaces. The proof of Theorem 1.2 is the category-of-elements form of the Yoneda density theorem.

Quotient stacks and coarse orbit spaces

Let xx be the signed position of a slider and ∣x∣|x| its measured distance from the origin. The positions xx and −x-x have equal measured distance. Under reflection the position changes for x≠0x\ne0 and is fixed for x=0x=0. Suppose an attached component has two possible orientations and reflection interchanges them. At x=0x=0 no choice of orientation is fixed by the stabilizer. To distinguish pointwise orbits, local changes of orientation, and stabilizers, we compare the orbit space, the sheaf of local isomorphism classes, and the quotient stack.

From a cover to an effective groupoid

Write H=Sh∞(E)\mathcal H=\mathsf{Sh}_\infty(\mathcal E) for the ∞\infty-category of sheaves of spaces on the smooth test site of Chapter Reconstructing a space from its plots. A space here means a homotopy type. An object FF has restriction maps with coherent composition. For an open cover U=⋃iUiU=\bigcup_i U_i, the map from F(U)F(U) to the homotopy limit of its values on the multiple intersections is an equivalence. A compatible family consists of objects on the opens, paths comparing their restrictions on double overlaps, homotopies on triple overlaps, and coherences thereafter. The usual sheaf condition is its case for sets. The first higher case consists of groupoid-valued stacks.

For each diffeological space, regard the sets of plots of its concrete sheaf as discrete homotopy types. A smooth path [0,1]→X[0,1]\to X is a map from a parameter space. An isomorphism between objects of a groupoid is a morphism in the value of a stack on a fixed domain. For example, the two constant plots 0,1:∗→R0,1:*\to\mathbb R have no arrow between them in the sheaf R(∗)\mathbb R(*), while the smooth path t↦tt\mapsto t joins their values. Smooth homotopy is developed with differential forms in Chapter 5.

For a subduction q:E→Xq:E\to X, put E[k]=E×X⋯×XEE^{[k]}=E\times_X\cdots\times_X E with kk factors. The Čech nerve has nn-simplices E[n+1]E^{[n+1]}. Deleting an entry gives a face, and repeating one gives a degeneracy. Over a fixed plot, degrees zero, one, and two consist respectively of single lifts, pairs of lifts, and triples of lifts.

A subduction and the first levels of its nerve. The arrows shown are face maps. For a triple (e0,e1,e2)(e_0,e_1,e_2) the short comparisons are (e0,e1)(e_0,e_1) and (e1,e2)(e_1,e_2), and their composite is (e0,e2)(e_0,e_2).

Theorem 1.1 (Descent from a subduction). In H\mathcal H, the geometric realization of the Čech nerve of a subduction q:E→Xq:E\to X is equivalent to XX. Consequently for every smooth higher stack FF, Map⁡H(X,F)≃holim⁡[n]∈ΔMap⁡H(E[n+1],F).\operatorname{Map}_{\mathcal H}(X,F)\simeq \operatorname*{holim}_{[n]\in\Delta}\operatorname{Map}_{\mathcal H}(E^{[n+1]},F).

Proof. Pullbacks of these concrete sheaves are computed plotwise. Over a plot p:U→Xp:U\to X the simplicial fiber of the nerve, evaluated on UU, has nn-simplices the tuples of n+1n+1 lifts of pp to EE. If there is a lift, this is the nerve of the groupoid with exactly one arrow between any two lifts. Choosing any lift contracts its nerve. If there is no lift, the fiber is empty. Thus the objectwise realization is equivalent, over XX, to the subpresheaf of plots with a global lift on their test domain. Its sheafification is XX, by local lifting. Colimits of sheaves of spaces are computed by taking the presheaf colimit and sheafifying, so the realization in H\mathcal H is XX. The mapping assertion is the universal property of that colimit. Here we used the general sheafification construction for the smooth site after computing the individual fibers. ◻

For an ordinary observable F=YF=Y the displayed homotopy limit reduces to the equalizer of Chapter 1. For F=BGF=BG, the stack of principal GG-torsors, the groupoid of bundles on XX is equivalent to the groupoid of bundles on EE equipped with descent isomorphisms. Those bundles on EE need not have chosen trivializations. One may refine the atlas to one on which they do, as in Chapter 6.

Action groupoids and their quotient stacks

Let a diffeological group GG act smoothly on MM on the left. The action groupoid has objects mm and arrows (g,m):m→gm(g,m):m\to gm. Its nerve has level nn equal to Gn×MG^n\times M. Realizing it in H\mathcal H gives the quotient stack [M/G][M/G]. Equivalently, an object over UU is a right GG-torsor P→UP\to U locally trivial on test domains, with a map a:P→Ma:P\to M satisfying a(ph)=h−1a(p)a(ph)=h^{-1}a(p). Arrows are isomorphisms of torsors commuting with aa. To see the equivalence, locally choose a section of PP, giving a plot of MM, and record its changes of section in GG. Composition of changes is multiplication, precisely the face relation in the nerve. Conversely, glue copies of Ui×GU_i\times G by the transition functions. The local maps to MM agree under these identifications by equivariance and therefore define a global map.

Proposition 1.2 (Comparison with the orbit space). Write Q=M/GQ=M/G for the set of orbits equipped with the quotient diffeology. For every diffeological space YY, maps [M/G]→Y[M/G]\to Y are the invariant smooth functions M→YM\to Y, hence are exactly smooth maps Q→YQ\to Y. If G×M⟶M×QM,(g,m)⟼(m,gm)G\times M\longrightarrow M\times_Q M,\qquad (g,m)\longmapsto(m,gm) is a diffeomorphism, then [M/G]≃Q[M/G]\simeq Q in H\mathcal H, so the mapping spaces out of these objects are equivalent for any higher-stack target. At a point represented by mm, the automorphism group in [M/G](∗)[M/G](*) is the stabilizer GmG_m.

Proof. For a map from the realization into the discrete-valued YY, the two restrictions to each arrow must be equal. All higher compatibilities are then unique. Thus the map on MM is invariant and factors smoothly through the subduction M→QM\to Q. Under the extra hypothesis, an (n+1)(n+1)-tuple of lifts is uniquely specified by its first member and the nn successive changes in GG. The inverse is smooth by the assumed smooth division map on successive pairs. These identifications give an isomorphism of nerves. Apply Theorem 1.1. Finally a torsor over ∗* is trivializable. After choosing a frame an automorphism preserving its map to MM corresponds exactly to a gg with gm=mgm=m; changing frame conjugates the identification. ◻

The three quotients of the reflected line

For M=RM=\mathbb R and G={+1,−1}G=\{+1,-1\}, the stabilizer is trivial away from 00 and has order two at 00. The comparison from the quotient stack to the orbit space factors through the sheaf of local isomorphism classes. First, τ≤0[M/G]\tau_{\leq0}[M/G] is the sheafification of the presheaf of isomorphism classes. Two local representatives there agree if they are related on a cover by smooth changes of frame. Second, two plots of the concrete orbit space QQ are equal whenever their values at each point coincide as orbits.

Proposition 1.3 (Distinct smooth germs with equal pointwise orbits). The canonical comparison τ≤0[R/G]→Q\tau_{\leq0}[\mathbb R/G]\to Q is not injective on sections over any interval containing zero.

Proof. Define a(t)=exp⁡(−1/t2)a(t)=\exp(-1/t^2) for t≠0t\ne0 with a(0)=0a(0)=0, and b(t)=sgn⁡(t)a(t)b(t)=\operatorname{sgn}(t)a(t) with b(0)=0b(0)=0. Both are smooth because all derivatives of aa vanish at zero. At each tt the signs give equal orbits. A smooth identification of their trivial torsor representatives on a connected neighborhood of zero would be a locally constant gg taking values in GG with b=gab=ga. The equality b=gab=ga implies g=−1g=-1 for t<0t<0 and g=1g=1 for t>0t>0. Such a gg is not locally constant on any open neighborhood of zero. The two sections remain distinct after sheafification. ◻

Two smooth local descriptions of the same orbit plot. All derivatives of aa vanish at the origin, so bb is smooth there despite the opposite signs on the two half-lines. A discrete smooth change of frame must be constant near the origin.

The coarse quotient therefore has the right universal property for point-valued smooth observables. Automorphism groups and equivariant choices of representatives can depend on the quotient stack. In a fixed-rank matrix model the frame changes do yield a smooth division map, so the equivalence criterion of Proposition 1.2 applies. At a symmetric decision state, if the stabilizer is nontrivial and acts freely on the possible choices, no deterministic choice is equivariant, by the criterion in Chapter 8.

Exercises with solutions

Exercise 1.1 (Compute the inertia). Let S3S_3 permute the coordinates of R3\mathbb R^3. Find the automorphisms of the object of [R3/S3](∗)[\mathbb R^3/S_3](*) at (1,2,3)(1,2,3), (1,1,2)(1,1,2), and (1,1,1)(1,1,1).

Solution.  A permutation may independently permute equal coordinates. The three groups are the trivial group, a group of order two permuting the first two positions, and S3S_3.

Exercise 1.2 (Compare two atlases). The integers act by translations on R\mathbb R. Show that [R/Z][\mathbb R/\mathbb Z] is represented by the ordinary circle R/Z\mathbb R/\mathbb Z with its usual smooth structure.

Solution.  Local angle coordinates give smooth lifts to R\mathbb R. For two lifts a,ba,b with the same image, b−ab-a is integer valued and smooth into the subset Z⊂R\mathbb Z\subset\mathbb R, which has discrete diffeology. Thus (a,b)↦(b−a,a)(a,b)\mapsto (b-a,a) is the smooth inverse required in Proposition 1.2.

Exercise 1.3 (An observable with automorphisms). For a nontrivial discrete group GG, compare maps from [∗/G][*/G] into a diffeological space YY with the groupoid of maps from ∗* into [∗/G][*/G].

Solution.  The first mapping space is the discrete set Y(∗)Y(*), since the invariance equations for a map from a single point hold identically. The second is the groupoid of GG-torsors on a point. It has a single isomorphism class with automorphism group isomorphic to GG. Its nerve has fundamental group GG. Consequently [∗/G][*/G] and ∗* have equivalent mapping spaces into every diffeological target, although they are inequivalent stacks.

Exercise 1.4 (Prove an equivalence criterion). Show that if the canonical map [M/G]→Q[M/G]\to Q is an equivalence in H\mathcal H, then the division-map condition in Proposition 1.2 is necessary.

Solution.  Pull back M→[M/G]M\to[M/G] along itself. A point of the resulting homotopy fiber product over a test domain consists of two specified plots of MM together with an isomorphism of their canonical trivial torsors in [M/G][M/G]. For plots p1,p2:U→Mp_1,p_2:U\to M, such an isomorphism is precisely a smooth map g:U→Gg:U\to G with p2=gp1p_2=gp_1. There are no additional morphisms after the two trivializations have been specified. Hence the pullback is the concrete sheaf G×MG\times M. After replacing the middle by the equivalent QQ, the pullback is the concrete sheaf M×QMM\times_Q M. The induced comparison is the stated division map. By full faithfulness of the concrete-sheaf embedding, the division map is a diffeomorphism.

Central extensions and cohomological obstructions

On a triple overlap the transition functions of a principal bundle satisfy gijgjk=gikg_{ij}g_{jk}=g_{ik}. After lifting each transition through a central extension of the structure group, the product of two lifted transitions can differ from the third by a central element. These discrepancies define a degree-two cohomology class. A global bundle with the prescribed projection exists precisely when that class vanishes. On a sphere we classify degree-two cocycles by an oriented sum over four faces. On a torus we compute a quaternion commutator as the obstruction to lifting a flat rotation bundle.

Computing the obstruction to lifting a torsor

Fix an exact sequence of Lie groups 1⟶A⟶G~→ρG⟶11\longrightarrow A\longrightarrow \widetilde G\xrightarrow{\rho}G\longrightarrow1 with discrete central kernel AA and with ρ\rho a covering homomorphism. We write AA additively for cohomology and multiplicatively inside G~\widetilde G. Take a good open cover of a paracompact smooth manifold MM; its finite nonempty intersections are contractible. Represent a GG-bundle by smooth transitions gijg_{ij}, with gijgjk=gikg_{ij}g_{jk}=g_{ik}. Choose lifts hijh_{ij} on double overlaps, possible because a covering over a contractible domain is trivial. Use hji=hij−1h_{ji}=h_{ij}^{-1}. The discrepancy on a triple overlap is cijk=hijhjkhik−1∈A.c_{ijk}=h_{ij}h_{jk}h_{ik}^{-1}\in A . It is locally constant in the parameters. The transitions and their lifts are smooth on overlaps, and their products commute with restriction to plots.

Theorem 1.1 (Central lifting obstruction). The discrepancies form a Čech 22-cocycle. Its class in Hˇ2(U;A)\check H^2(\mathcal U;A) is independent of the lifts. It vanishes exactly when the GG-bundle admits a G~\widetilde G-bundle lifting it with a specified identification after extension of structure group. When lifts exist, their isomorphism classes with this identification form a torsor under Hˇ1(U;A)\check H^1(\mathcal U;A), and automorphisms over the identification form H0(M;A)H^0(M;A).

Proof. Evaluate hijhjkhklh_{ij}h_{jk}h_{kl} in two ways. By centrality, cijkcikl=cjklcijlc_{ijk}c_{ikl}=c_{jkl}c_{ijl}, the cocycle law. Replacing hijh_{ij} by bijhijb_{ij}h_{ij} adds bjk−bik+bijb_{jk}-b_{ik}+b_{ij} to cijkc_{ijk} in additive notation. If the class vanishes, choose a 11-cochain bb with δb=−c\delta b=-c. The corrected lifts then satisfy the transition equation on every triple overlap. Glue the local products with G~\widetilde G via these transitions. Conversely a lift restricts on each contractible UiU_i to a trivializable bundle. Sections can be chosen above the prescribed GG-frames: their preimages form AA-torsors, trivial on UiU_i. Their transition functions give strict lifts, so the class vanishes. Two strict choices differ by an AA-valued 11-cocycle. A change of lifted frame over the same GG-frame is an AA-valued 00-cochain, identifying exactly the choices differing by its coboundary. Changes preserving the same strict transitions are the global sections of the constant sheaf AA. ◻

Changing the initial GG-frames by uiu_i has no effect on the class. Lift uiu_i on the contractible UiU_i and conjugate the transition description at the two endpoints. The new discrepancy is conjugate to the old one by the lifted frame at ii, hence equal to it by centrality. On a refinement the cocycle is the restriction of the original cocycle, so the two representatives agree on their common refinement after a change of lifted frames.

Degree-two cohomology of the sphere

For a discrete abelian group AA, write B2A=K(A,2)B^2A=K(A,2) for the second delooping in smooth sheaves of spaces. Locally it has one object, one 11-arrow up to equivalence and a group AA of 22-automorphisms of that arrow. Its global objects are also described as AA-banded gerbes. An AA-valued cocycle on triple overlaps represents a map to B2AB^2A. The corresponding construction for an ordinary AA-torsor uses double overlaps and the target BABA.

To compute descent data on a good cover, choose local objects at vertices of the nerve, identifications at edges, and a comparison aijka_{ijk} at each triangle. Pasting these comparisons around a tetrahedron gives ajkl−aikl+aijl−aijk=0.a_{jkl}-a_{ikl}+a_{ijl}-a_{ijk}=0 . Changing the comparisons at edges by bijb_{ij} changes aa by δb\delta b. A further change of frame at the vertices by did_i changes bb by δd\delta d. Thus components are H2H^2, automorphisms up to 22-isomorphism are H1H^1, and 22-automorphisms of the identity are H0H^0 of the nerve. In cochain notation an object is a closed 22-cochain aa, an arrow to a′a' is a 11-cochain bb satisfying a′−a=δba'-a=\delta b, and a 22-arrow to b′b' is a 00-cochain dd with b′−b=δdb'-b=\delta d. For discrete coefficients the local mapping spaces on a good intersection are equivalent to K(A,2)K(A,2), so we can compute these groups with constant labels.

A planar drawing of the tetrahedral boundary. The outside region represents face 012012. The signed sum of the four face labels is unchanged by every edge correction.

Proposition 1.2 (A complete surface invariant). Use a good cover of S2S^2 with nerve the tetrahedral boundary, for example the open vertex stars of the boundary triangulation transported to the sphere. For any abelian AA, oriented face labels aa modulo edge corrections are classified by Φ(a)=a123−a023+a013−a012∈A.\Phi(a)=a_{123}-a_{023}+a_{013}-a_{012}\in A . In particular there is a nontrivial B2(Z/2)B^2(\mathbb Z/2)-class on the sphere which becomes trivial upon deleting the interior of any one face of the nerve.

Proof. All face labelings are cocycles since the nerve has no tetrahedron. In the signed sum of δb\delta b, each edge coefficient occurs twice with opposite signs. For any prescribed value, put that value on face 123123 and zero on the other faces. Conversely choose b0i=0b_{0i}=0 and bij=a0ijb_{ij}=a_{0ij} for 0<i<j0<i<j. The cochain a−δba-\delta b is zero on the three faces containing 00 and has value Φ(a)\Phi(a) on face 123123. Thus two cochains are equivalent exactly when their values of Φ\Phi agree. After deletion of one face, label its opposite vertex 00. The cochain a−δba-\delta b is then zero on every remaining face. ◻

Delooping in arbitrarily high degrees

The calculation extends to all n≥1n\geq1. On a good cover, a map into BnA=K(A,n)B^nA=K(A,n) has an AA-valued normalized nn-cocycle as its component data, with changes given by (n−1)(n-1)-cochains and their higher identifications. One algebraic justification is the Dold–Kan correspondence: the complex A[n]A[n], concentrated in homological degree nn, determines the simplicial abelian group K(A,n)K(A,n). Maps out of the simplicial nerve linearize to chain maps from its normalized integral chains. Chain maps to A[n]A[n] are exactly the cocycles, and chain homotopy changes a cocycle by a coboundary. Applying the same calculation after suspension gives at a base section πjMap⁡(M,BnA)≅Hn−j(M;A),0≤j≤n\pi_j\operatorname{Map}(M,B^nA)\cong H^{n-j}(M;A),\quad 0\leq j\leq n for manifolds with good covers and constant discrete coefficients. For j=0j=0 the group operation is addition on components. By the good-cover theorem, the cohomology of the normalized Čech complex for a good cover is ordinary cohomology. For Dold–Kan and the good-cover theorem, see the references at the end. Here the coefficient objects are the abelian deloopings BnAB^nA. There is no such abelian cochain model for a general smooth higher stack.

Quaternion lifts of flat rotation bundles on the torus

Consider a frame transported by a flat connection around the two generating circles of a torus. Its rotations RR and SS must commute because the boundary of the fundamental square contracts. Suppose the frame is recorded using unit quaternions. Each measured rotation has two possible quaternion representatives. A flat quaternion lift exists precisely when the two lifted rotations commute.

The unit quaternions form SU(2)\mathrm{SU}(2). Conjugating an imaginary quaternion vv by a unit quaternion qq rotates the three-dimensional space of imaginary quaternions. This defines a smooth double covering 1⟶{1,−1}⟶SU(2)→ p SO(3)⟶1.1\longrightarrow \{1,-1\}\longrightarrow \mathrm{SU}(2) \xrightarrow{\ p\ }\mathrm{SO}(3)\longrightarrow 1 . Its kernel is central. A rotation through angle θ\theta about the unit imaginary axis uu lifts to ±(cos⁡(θ/2)+usin⁡(θ/2))\pm(\cos(\theta/2)+u\sin(\theta/2)). The covering and its kernel are described in J. Baez’s account of unit quaternions and rotation groups.

Proposition 1.3 (The square obstruction). Fix a base frame. A flat SO(3)\mathrm{SO}(3) system on the torus has holonomy given by an ordered commuting pair (R,S)(R,S). Choose arbitrary lifts A,BA,B of R,SR,S and put ε(R,S)=ABA−1B−1.\varepsilon(R,S)=ABA^{-1}B^{-1}. This sign is independent of the lift choices and of simultaneous conjugation of (R,S)(R,S). A flat lift in the chosen frame exists exactly when ε=1\varepsilon=1. In that case the set of lifting representations is a torsor for Hom⁡(Z2,{1,−1})\operatorname{Hom}(\mathbb Z^2,\{1,-1\}). For smooth parameter families of commuting rotations, ε\varepsilon is locally constant on every parameter plot.

Proof. From the presentation π1(T2)=⟨a,b∣aba−1b−1=1⟩\pi_1(T^2)=\langle a,b\mid aba^{-1}b^{-1}=1\rangle, a framed holonomy representation is specified uniquely by the commuting images of a,ba,b. The commutator upstairs projects to the identity, so it lies in the central kernel. The sign factors in the commutator cancel if either lift is multiplied by a sign. Conjugating R,SR,S by a common rotation conjugates A,BA,B by any lift of that rotation and leaves a central sign fixed. By the same relation, a lifting representation exists exactly when the lifts commute. Any two lifting representations differ on each generator by a unique sign. Conversely any pair of signs, hence any character of Z2\mathbb Z^2, acts on one lift to produce another. For a plot into the space of commuting pairs, its two components admit local smooth lifts through the covering. The commutator of these lifts is smooth with values in the discrete kernel. The resulting sign is therefore locally constant and independent of the lifts. ◻

Take RR and SS to be the half turns about perpendicular coordinate axes. Their matrices are diag⁡(1,−1,−1)\operatorname{diag}(1,-1,-1) and diag⁡(−1,1,−1)\operatorname{diag}(-1,1,-1). The diagonal matrices commute. Choose A=iA=i and B=jB=j in the quaternion basis. Since ij=kij=k and ji=−kji=-k, we have ij=−jiij=-ji and iji−1j−1=−1iji^{-1}j^{-1}=-1. All four choices (±i,±j)(\pm i,\pm j) produce the same obstruction.

Opposite sides are identified in the fundamental square. Starting at the lower left, the route up and then right has product ABAB; the route right and then up has product BABA. The endpoints agree after passage to rotations, while their lifts differ by the central sign.

There is also a description in terms of descent. On a good open cover of the torus, the transition rotations gijg_{ij} between locally parallel frames are constant on connected overlaps, with gijgjk=gikg_{ij}g_{jk}=g_{ik} in the transition convention of Theorem 1.1. Choose lifts aija_{ij} there. On triple intersections the defects aijajkaik−1a_{ij}a_{jk}a_{ik}^{-1} lie in the kernel. By centrality and associativity, the defects satisfy the degree-two cocycle identity on fourfold intersections. Changing the lifted transitions by signs changes the defects by the coboundary of those signs. This is the local version of the square calculation. The changes of parallel frames on the torus are locally constant. With additional smooth parameters, the rotations and their local lifts may vary continuously in those parameters, while their signs remain locally constant along plots.

In the half-turn example there is also no topological lift of the specified underlying bundle through this double covering. Indeed, if such a principal SU(2)\mathrm{SU}(2)-bundle existed with its quotient identified with the given rotation bundle, the map between total spaces would be a two-sheeted covering, because over a trivializing open set the map is the product of the identity with the covering homomorphism. On simply connected chart domains the parallel frame sections of the rotation bundle would lift continuously. Their transition functions would project to the locally constant rotation transitions. A continuous lift of a constant rotation takes locally constant values in its two-point fiber. Those locally constant transitions would define a flat lift, contrary to ε=−1\varepsilon=-1. Here we use discreteness of the kernel.

Exercise 1.1 (A family with local choices). Set S=1S=1 and let R(t)R(t) run once through the rotations about a fixed axis as tt varies in R/Z\mathbb R/\mathbb Z. Prove that each torus system lifts and that no continuous choice of the first lifted generator exists around the parameter circle.

Solution.  Choose B=1B=1 so every commutator is 11. On 0≤t≤10\le t\le 1 the lift starting at 11 is A(t)=cos⁡(πt)+usin⁡(πt)A(t)=\cos(\pi t)+u\sin(\pi t). Its endpoints are opposite. The only other lift on this connected interval is −A(t)-A(t), which has the same mismatch. Neither descends through the identification of endpoints. The equivalence in Proposition 1.3 holds separately for each torus representation. A continuous global choice of the first generator is a section of the pulled-back two-sheeted cover.

Exercises with solutions

Exercise 1.2 (Track the signs). Take A=ZA=\mathbb Z and labels a012=2a_{012}=2, a013=4a_{013}=4, a023=1a_{023}=1, a123=−1a_{123}=-1. Find a representative supported on one face.

Solution.  The invariant is −1−1+4−2=0-1-1+4-2=0. Taking b12=2b_{12}=2, b13=4b_{13}=4, b23=1b_{23}=1 and all b0i=0b_{0i}=0 gives δb=a\delta b=a, including (δb)123=1−4+2=−1(\delta b)_{123}=1-4+2=-1. The zero labeling represents this class.

Exercise 1.3 (Classify ambiguous choices). On the tetrahedral boundary, suppose aa has already been cleared. Prove that two choices of edge corrections that clear aa are related by a vertex correction.

Solution.  Their difference bb satisfies δb=0\delta b=0. Set d0=0d_0=0 and di=b0id_i=b_{0i}. On a triangle 0ij0ij the cocycle equation gives bij=dj−dib_{ij}=d_j-d_i. Thus b=δdb=\delta d. The vertex correction is unique up to adding a constant element of AA on all four vertices.

Exercise 1.4 (Recover one higher symmetry). For the trivial section of B2AB^2A over a circle, compute the groups of isomorphism classes of its automorphisms and of 22-automorphisms of its identity.

Solution.  Take a good cover by three cyclically overlapping arcs with empty triple intersection. An arrow up to 22-isomorphism has an AA-label on each of the three oriented edges modulo vertex differences. Set two edge labels to zero by solving for the vertex differences along a spanning tree. The label on the third edge then equals the original cyclic sum, and every element of AA occurs. A 22-automorphism of the identity is a vertex labeling constant on the edges, giving AA again. The two copies of AA occur in different homotopy degrees.

Exercise 1.5 (Prove the sphere formula in every degree). On the boundary of an (n+1)(n+1)-simplex, prove directly that nn-cochains modulo coboundaries are classified by evaluation on its oriented boundary. Assume n≥1n\ge1.

Solution.  Orient each face by vertex order. Every coboundary evaluates to zero on this cycle, since the boundary of a boundary is zero. Fix vertex 00. For each (n−1)(n-1)-face JJ excluding 00, put bJ=a0Jb_J=a_{0J} and set bb zero on faces containing 00. Then (δb)0J=a0J(\delta b)_{0J}=a_{0J} for every nn-face containing 00 (here JJ lists its other nn vertices). Subtracting δb\delta b leaves just the unique opposite face. Its coefficient, with positive boundary orientation for the face opposite vertex 00, equals the original evaluation. Any element can be placed on that face. Thus evaluation is an isomorphism. For n=1n=1, it is the holonomy around a triangle.

Differential forms and de Rham cohomology

On a diffeological quotient, a differential form is specified by ordinary forms on the domains of plots. These forms must agree under smooth reparametrizations, including at points shared by several local branches. On the line with two origins the resulting de Rham complex is isomorphic to that of the ordinary line. Its singular cohomology, however, has a degree-one class arising from the two components of a chart overlap.

Plotwise forms and descent

Write Ωk(U)\Omega^k(U) for ordinary smooth differential kk-forms on an open Euclidean domain UU. On a diffeological space XX, an element α∈Ωk(X)\alpha\in\Omega^k(X) consists of forms αp∈Ωk(U)\alpha_p\in\Omega^k(U) indexed by plots p:U→Xp:U\to X, subject to αp∘h=h∗αp\alpha_{p\circ h}=h^*\alpha_p for every smooth reparametrization h:V→Uh:V\to U. Thus α\alpha is a natural transformation from the sheaf of plots to the sheaf of ordinary forms. On a manifold, evaluate the assignment on coordinate charts and glue the local forms using the transition functions. Conversely, pull an ordinary form back to every plot to obtain the corresponding family. The exterior derivative and the product can be taken on each domain, since ordinary pullback commutes with both. For a smooth f:X→Yf:X\to Y put (f∗α)p=αfp(f^*\alpha)_p=\alpha_{fp}. These operations make Ω∙\Omega^\bullet a contravariant functor to differential graded algebras. A zero-form comes from the function x↦αxx\mapsto\alpha_x obtained by testing the one-point plots. For a function f:X→Rf:X\to\mathbb R, the composite fpfp is smooth for every plot pp exactly when f∈C∞(X,R)f\in C^\infty(X,\mathbb R).

At a point where the derivative of a plot has deficient rank, the pullback of a nonzero form can vanish. For the plot p(u,v)=(u,uv)p(u,v)=(u,uv) in the plane one has p∗(dx∧dy)=u du∧dvp^*(dx\wedge dy)=u\,du\wedge dv. At u=0u=0 the derivative in the vv direction is zero, so the pullback vanishes there. On the identity plot of the plane the same form is dx∧dydx\wedge dy everywhere. Two forms are equal if their pullbacks agree on all plots, or on a generating family through which plots locally lift.

Theorem 1.1 (Descent of differential forms). Suppose q:Y→Xq:Y\to X is a subduction, so every plot of XX locally lifts to YY. Write Y[2]=Y×XYY^{[2]}=Y\times_XY with its fiber product diffeology. There is a natural equalizer of differential graded algebras Ω∙(X)→q∗Ω∙(Y) →pr1∗→pr2∗ Ω∙(Y[2]).\Omega^\bullet(X)\xrightarrow{q^*}\Omega^\bullet(Y) \ \substack{\xrightarrow{\mathrm{pr}_1^*}\\[-3pt]\xrightarrow[\mathrm{pr}_2^*]{}}\ \Omega^\bullet(Y^{[2]}).

Proof. Any pullback has equal further pullbacks since qpr1=qpr2q\mathrm{pr}_1=q\mathrm{pr}_2. Conversely, take β\beta in the equalizer. To assign a form to a plot p:U→Xp:U\to X, choose a covering by domains UiU_i and lifts pi:Ui→Yp_i:U_i\to Y. On an intersection (pi,pj)(p_i,p_j) is a plot of Y[2]Y^{[2]}. By the equalizer condition, pi∗β=pj∗βp_i^*\beta=p_j^*\beta there. By the sheaf property on UU, there is a unique ordinary form with these restrictions. For any two choices, the local forms agree on a common refinement, so the resulting form on UU is the same. Pulling the cover and lifts back along hh gives the required reparametrization equality. A plot in YY is itself a lift of its composite with qq, proving that the constructed form pulls back to β\beta. Any other proposed form has the same restrictions to every such lifting cover, and hence is equal to the constructed form. Compatibility with products and derivatives follows plot by plot. ◻

This is Iglesias-Zemmour’s article 6.38 in equalizer form. The equality of pullbacks must hold for every plot of Y[2]Y^{[2]}. For example, the angular form on a circle is invariant under each fixed rotation. For the quotient of the circle to a point, its two pullbacks to the fiber product are nevertheless different. Use the pair consisting of a rotating point and a constant point, parametrized by the same interval. The two pullbacks are dtdt and zero. In Chapter Bundles, transport, and reduction we apply the same criterion to forms on a level set in symplectic reduction.

The two lifts restrict to a single plot (pi,pj)(p_i,p_j) of the relation space over the strip WW. For a form in the equalizer, pi∗β=pj∗βp_i^*\beta=p_j^*\beta on WW.

Cohomology of the line with two origins

Take copies L+,L−L_+,L_- of the real line and identify (+,x)(+,x) with (−,x)(-,x) for every x≠0x\ne0. Give LL the quotient diffeology. Write o+,o−o_+,o_- for the remaining origins and r:L→Rr:L\to\mathbb R for their common coordinate. The images U+,U−U_+,U_- of the two charts are DD-open and diffeomorphic to R\mathbb R. Indeed DD-openness means openness of the inverse image under each plot. Lifting plots locally reduces the test to ordinary openness in each copy. The preimages of U+U_+ are one whole line and one punctured line. The inverse to each chart is the corresponding restriction of rr. Neighborhoods of the origins always meet, as their restrictions to the punctured lines share sufficiently small nonzero points. In particular these two open charts form a non-Hausdorff smooth space. Their overlap has two connected components.

A chart picture of the doubled origin. In the split portion every vertically aligned pair represents the same point except the two marked origins. The upper and lower arcs correspond to the two choices of chart.

Theorem 1.2 (de Rham and singular cohomology of the doubled line). For the doubled line r∗:Ω∙(R)→Ω∙(L)r^*:\Omega^\bullet(\mathbb R)\to\Omega^\bullet(L) is an isomorphism. Nevertheless the ordinary singular cohomology of its DD-topological space satisfies Hsing1(L;R)≅RH^1_{\mathrm{sing}}(L;\mathbb R)\cong\mathbb R.

Proof. By descent a form is a pair of ordinary forms equal on R∖{0}\mathbb R\setminus\{0\}. For degrees zero and one their coefficient functions agree on a dense set and hence everywhere by continuity. In higher degrees both vanish. Hence we have the first assertion and H1(Ω∙(L))=0H^1(\Omega^\bullet(L))=0 by integration of real-line coefficients. For the second, apply singular Mayer–Vietoris to U+,U−U_+,U_-. It applies to an open cover without a Hausdorff hypothesis. Each chart is contractible, and their overlap is the disjoint union of two contractible intervals. The relevant exact sequence ends with R2⟶R2⟶Hsing1(L;R)⟶0.\mathbb R^2\longrightarrow\mathbb R^2\longrightarrow H^1_{\mathrm{sing}}(L;\mathbb R) \longrightarrow 0. The first map is (a,b)↦(a−b,a−b)(a,b)\mapsto(a-b,a-b). The quotient by this diagonal is one-dimensional. ◻

We can compute a representative of the additional class in the two-column Čech–de Rham complex of this cover. In bidegree (1,0)(1,0) put zero on the negative component of the overlap and one on the positive component. Its derivative vanishes. A total degree-zero primitive would be a pair of functions with zero derivative on both charts. Their difference on the overlap would be the same constant on both components, which is impossible. The pair of constants on the overlap represents a nonzero class in the total complex, although every global one-form has a primitive. The ordinary equalizer theorem holds in each degree. Passing first to an equalizer of complexes and taking a derived limit of those complexes are different operations in this example. No general comparison of all variants of diffeological cohomology is needed for this calculation.

The cochain homotopy associated to a smooth homotopy

Use a smooth homotopy H:R×X→YH:\mathbb R\times X\to Y and write fi(x)=H(i,x)f_i(x)=H(i,x) for i=0,1i=0,1. One can use an open interval containing [0,1][0,1] in the same formula. Testing on a plot p:U→Xp:U\to X yields an ordinary smooth form on R×U\mathbb R\times U; write it uniquely as at+dt∧bta_t+dt\wedge b_t, with both coefficients forms in the UU variables. Define a degree −1-1 linear operator KHK_H on positive-degree forms by (KHα)p=∫01bt dt,KH∣Ω0=0.(K_H\alpha)_p=\int_0^1 b_t\,dt,\qquad K_H|_{\Omega^0}=0 . Reparametrizations act only in UU, so they commute with contraction in tt and coefficient integration. Integration over the compact interval preserves smoothness. In particular the integrals depend smoothly on the parameters of a smooth family of paths. Equivalently one may first pull back by the evaluation map from time times the functional path space and then integrate. For the family classified by HH, the result is the formula above.

Theorem 1.3 (Path integration gives a chain homotopy). dKH+KHd=f1∗−f0∗dK_H+K_Hd=f_1^*-f_0^* on the global plotwise de Rham complex of YY. In particular smoothly homotopic maps induce identical pullbacks on its cohomology.

Proof. On R×U\mathbb R\times U the derivative of the displayed decomposition is dUat+dt∧(∂tat−dUbt).d_Ua_t+dt\wedge(\partial_ta_t-d_Ub_t). Consequently the integrands of dKHαdK_H\alpha and KHdαK_Hd\alpha add to ∂tat\partial_ta_t. Integration gives a1−a0a_1-a_0. For degree zero this is just the fundamental theorem of calculus applied along each time path. The identity therefore holds on every plot, hence on the diffeological space. Applied to a closed form the right side is exact. ◻

For example, on the plane with H(t,x,y)=(tx,ty)H(t,x,y)=(tx,ty), contraction of H∗(dx∧dy)H^*(dx\wedge dy) in time gives t(x dy−y dx)t(x\,dy-y\,dx). Integration gives the familiar primitive (x dy−y dx)/2(x\,dy-y\,dx)/2. In Chapter Bundles, transport, and reduction we use this primitive to compute the area of a reduced phase space. In general, integration along a path of maps gives a degree −1-1 operator on forms whose cochain boundary is the difference of the endpoint pullbacks. For a smooth homotopy between two paths of maps, one can integrate over the parameter square and its oriented boundary. For smooth homotopy invariance of de Rham cohomology we only need the one-parameter identity above.

Solved exercises

Exercise 1.1 (Pull back the area form). Pull the area form on R2\mathbb R^2 back under p(s,t)=(scos⁡t,ssin⁡t)p(s,t)=(s\cos t,s\sin t). Explain what happens at s=0s=0.

Solution.  Differentiation gives dx=cos⁡t ds−ssin⁡t dtdx=\cos t\,ds-s\sin t\,dt and dy=sin⁡t ds+scos⁡t dtdy=\sin t\,ds+s\cos t\,dt. Their product is s ds∧dts\,ds\wedge dt. The angular tangent of the plot is zero along s=0s=0, so this particular measurement vanishes there. On the target the area form still evaluates to one on the standard coordinate vectors.

Exercise 1.2 (Check descent across a fold). Let q:R→R/{x∼−x}q:\mathbb R\to\mathbb R/\{x\sim-x\} be the sign quotient. Which functions descend? Show that x dxx\,dx descends, and give a primitive.

Solution.  A smooth function descends exactly when it is even: invariance makes it a function of the orbit, and smoothness follows from local plot lifting. Set F([x])=x2/2F([x])=x^2/2. Then q∗dF=x dxq^*dF=x\,dx. The equality also holds when the relative sign of two lifts changes at a zero.

Exercise 1.3 (Construct a period obstruction). On S1⊂R2S^1\subset\mathbb R^2 restrict x dy−y dxx\,dy-y\,dx to a form η\eta. Show that η\eta is closed and has no global real primitive. Explain why smooth loop homotopies preserve its period.

Solution.  Every two-form on a one-manifold vanishes, so dη=0d\eta=0. On t↦(cos⁡t,sin⁡t)t\mapsto(\cos t,\sin t) the pullback is dtdt, and its integral from 00 to 2π2\pi is 2π2\pi. A real primitive would have equal endpoint values on the loop. For a smooth family of loops apply Theorem 1.3 to a homotopy with domain S1S^1: the difference of the two endpoint pullbacks is exact, so its integral on the circle is zero.

Exercise 1.4 (Prove a family of comparison failures). Glue m≥2m\ge2 real lines by identifying equal nonzero coordinates in every copy. Prove that H1H^1 of the global plotwise forms is zero whereas the first real singular cohomology of the DD-topology has dimension m−1m-1.

Solution.  The mm coefficient functions of any form agree on a dense open subset of each chart, so each degree is exactly the corresponding degree on R\mathbb R. Write Lm=Lm−1∪UmL_m=L_{m-1}\cup U_m with UmU_m the final chart. This is an open cover, and the intersection is a punctured line. Both cover members are path connected. In Mayer–Vietoris the map on degree zero therefore has image the diagonal in R2\mathbb R^2. The intersection has zero first cohomology. Exactness now gives a short exact sequence 0→R→H1(Lm;R)→H1(Lm−1;R)→00\to\mathbb R\to H^1(L_m;\mathbb R)\to H^1(L_{m-1};\mathbb R)\to0. By induction from L1=RL_1=\mathbb R, the dimension is m−1m-1.

Sources.

Iglesias-Zemmour, Diffeology, articles 2.8 and 2.12 (topology), 6.28–6.38 (forms and descent), and 6.83–6.88 (homotopy). The homotopy operator also has a journal treatment in Iglesias-Zemmour’s Variations of Integrals in Diffeology. For the doubled line we computed the two cohomology groups directly. AMS monograph; Canadian Journal of Mathematics.

Bundles, transport, and reduction

Multiplying a nonzero complex vector by a phase gives another representative of the same circle orbit. Choosing local representatives produces transition functions on double overlaps. On triple overlaps these functions satisfy a cocycle equation. For a circle bundle, the local connection forms differ on double overlaps by a term determined by the transition function. Their exterior derivatives then define a global curvature form. For the Hopf bundle we compute the curvature and the reduced symplectic area explicitly.

Principal bundles and transition functions

Let GG be a diffeological group. A right principal GG-bundle over XX in this chapter is a subduction q:P→Xq:P\to X with a smooth right action such that P×G⟶P×XP,(p,g)⟼(p,pg)P\times G\longrightarrow P\times_X P,\qquad (p,g)\longmapsto(p,pg) is a diffeomorphism. The inverse has a group-valued component δ(p,p′)\delta(p,p') characterized by pδ(p,p′)=p′p\delta(p,p')=p'. Thus the group element taking pp to p′p' depends smoothly on the pair. If p:U→Xp:U\to X is a plot, lift it locally to s:V→Ps:V\to P. On VV, (v,g)↦(v,s(v)g)(v,g)\mapsto(v,s(v)g) trivializes the pullback bundle, with inverse given by division. Hence the pullback is locally trivial on every plot, even on bases with very few DD-open subsets. On a manifold base, the coordinate parametrizations are plots, so the bundle is locally trivial on the base.

For a subduction a:Y→Xa:Y\to X, write Y[k]Y^{[k]} for the kk-fold fiber product over XX. A trivialization of a∗Pa^*P is equivalently a smooth section s:Y→Ps:Y\to P covering aa. For (y,z)∈Y[2](y,z)\in Y^{[2]} write s(z)=s(y)g(y,z)s(z)=s(y)g(y,z). These transition functions satisfy g(y,y)=e,g(y,z)g(z,w)=g(y,w).g(y,y)=e,\qquad g(y,z)g(z,w)=g(y,w). For a nonabelian structure group, the order of the transition factors matters.

Theorem 1.1 (Effective descent with changes of frame). For a fixed subduction a:Y→Xa:Y\to X, the groupoid of principal GG-bundles on XX trivializable over YY, with equivariant isomorphisms over XX, is equivalent to the groupoid of the above smooth cocycles and their changes of frame.

Proof. For a cocycle gg, form the quotient diffeology on Pg=(Y×G)/((z,h)∼(y,g(y,z)h)),a(y)=a(z).P_g=(Y\times G)/\big((z,h)\sim(y,g(y,z)h)\big),\qquad a(y)=a(z). The cocycle identities give an equivalence relation and right multiplication descends. The structural map Pg→XP_g\to X is a subduction because locally lifting to yy gives the bundle lift [y,e][y,e]. To check smooth division on a pair in one fiber, locally lift its two members to (y,h),(z,k)(y,h),(z,k). Their division is h−1g(y,z)kh^{-1}g(y,z)k, a smooth expression which agrees for all representatives. The map y↦[y,e]y\mapsto[y,e] trivializes the pullback to YY. Conversely a section ss of a∗Pa^*P gives the cocycle by smooth division, and [y,h]↦s(y)h[y,h]\mapsto s(y)h identifies the reconstructed bundle with PP. Its inverse is smooth by locally choosing yy over the image of a plot and applying division by s(y)s(y).

For full faithfulness, an equivariant isomorphism F:Pg→Pg′F:P_g\to P_{g'} must take [y,e][y,e] to [y,b(y)][y,b(y)] for a unique smooth b:Y→Gb:Y\to G. By the quotient relation, g′(y,z)b(z)=b(y)g(y,z)g'(y,z)b(z)=b(y)g(y,z). Conversely this equation makes [y,h]↦[y,b(y)h][y,h]\mapsto[y,b(y)h] well defined, and b−1b^{-1} yields the inverse. Composition multiplies the changes of frame in the order of the maps. Every bundle in the stated groupoid admits a section upstairs by hypothesis, proving essential surjectivity. ◻

The cocycle is a function on the arrows of the Čech groupoid Y[2]⇉YY^{[2]}\rightrightarrows Y, and the cocycle equation holds on triples. The maps bb are natural isomorphisms. This is the local cocycle description of the classifying stack BGBG. For example, over a point the trivial torsor still has a group of changes of frame isomorphic to GG. It would have only the identity morphism if one retained solely its isomorphism class. A global frame gives a smooth section of P→XP\to X. For the Hopf bundle we prove nonexistence of a global frame by integrating the curvature.

Three lifts of the same base point. Right frames change successively as s(y)g(y,z)g(z,w)=s(w)s(y)g(y,z)g(z,w)=s(w). The product of the two transition factors equals the direct transition g(y,w)g(y,w).

Phase, curvature, and transport

Use G=S1G=S^1 with real angular form η\eta characterized by (t↦eit)∗η=dt(t\mapsto e^{it})^*\eta=dt. Thus dη=0d\eta=0, ∫S1η=2π\int_{S^1}\eta=2\pi, and multiplication mm satisfies m∗η=pr1∗η+pr2∗ηm^*\eta=\mathrm{pr}_1^*\eta+\mathrm{pr}_2^*\eta. In a local frame an angular connection is described by a real one-form AA on the base. Upstairs the connection is A+ηA+\eta in this frame, with product projections implicit. Parallel transport in the section along a path x(t)x(t) sends a starting phase eiθ(0)e^{i\theta(0)} to eiθ(t)=eiθ(0)exp⁡ ⁣(−i∫0tAx(u)(x˙(u)) du).e^{i\theta(t)} =e^{i\theta(0)}\exp\!\left(-i\int_0^t A_{x(u)}(\dot x(u))\,du\right). For general diffeological paths the integrand means the coefficient of the ordinary pulled-back one-form on the interval. With this sign the pullback of A+ηA+\eta to the lifted path is zero. In a new frame s′=sks'=s k the form becomes A′=A+k∗ηA'=A+k^*\eta and the phase coordinate becomes k−1eiθk^{-1}e^{i\theta}. The two changes cancel in the lifted path. Concatenating paths adds the integrals in each frame and composes transport. For a flat connection, transport is invariant under endpoint-fixed homotopy. More generally, in a trivialization over a disk DD, the phase around the boundary equals exp⁡(−i∫DdA)\exp(-i\int_{D} dA) by Stokes’ theorem.

Proposition 1.2 (Connection and curvature descent). For a circle cocycle gg on a:Y→Xa:Y\to X, suppose A∈Ω1(Y)A\in\Omega^1(Y) satisfies pr2∗A−pr1∗A=g∗ηon Y[2].\mathrm{pr}_2^* A-\mathrm{pr}_1^*A=g^*\eta\quad\text{on }Y^{[2]} . There is a unique one-form on PgP_g pulling back to A+ηA+\eta on Y×S1Y\times S^1. Its derivative is q∗Fq^*F for the unique closed F∈Ω2(X)F\in\Omega^2(X) with a∗F=dAa^*F=dA.

Proof. For equivalent representatives (z,h)(z,h) and (y,g(y,z)h)(y,g(y,z)h) the latter group coordinate contributes g∗η+h∗ηg^*\eta+h^*\eta when evaluated on plots. The assumed equation makes the two pullbacks of A+ηA+\eta coincide. Apply Theorem Theorem 1.1 to the subduction onto PgP_g. Differentiation of the equation and dη=0d\eta=0 show that dAdA descends uniquely along aa. The resulting form FF is closed since a∗dF=0a^*dF=0 and pullback is injective. The derivative of the one-form upstairs and q∗Fq^*F have the same pullback dAdA to Y×S1Y\times S^1, proving equality. ◻

Hamiltonian period obstructions and symplectic reduction

On a finite-dimensional symplectic manifold (M,ω)(M,\omega), use the sign convention d⟨μ,ξ⟩=−ιξMωd\langle\mu,\xi\rangle=-\iota_{\xi_M}\omega. Here ξM\xi_M is the fundamental vector field of an action of a Lie group GG by symplectomorphisms. For each ξ\xi, −ιξMω-\iota_{\xi_M}\omega is closed by Cartan’s formula. A real Hamiltonian for this infinitesimal action exists on a connected MM exactly when all periods of this closed form vanish. Indeed the integral from a basepoint to xx then depends only on xx, and in a coordinate ball it differs from a smooth local primitive by a constant. Conversely every exact form has zero loop periods. For a nonabelian action, equivariance of a moment map requires compatibility with the coadjoint action. We assume equivariance explicitly in reduction.

A circle action on the torus can have a nonzero period. Give the torus R2/Z2\mathbb R^2/\mathbb Z^2 its unit area form dx∧dydx\wedge dy. The circle translating the xx coordinate has infinitesimal generator ∂x\partial_x, and the candidate differential is −dy-dy. Its period on the positive yy loop is −1-1. Modulo the period lattice the coordinate −y mod Z-y\bmod\mathbb Z is well defined and smooth. Iglesias-Zemmour defines a moment map for a connected diffeological space with a closed two-form. Its target is a space of invariant one-forms on the group modulo the holonomy subgroup (articles 9.1–9.9). For the torus above the target is a circle. In the following theorem we assume an equivariant g∗\mathfrak g^*-valued moment map.

Theorem 1.3 (Regular symplectic reduction). Let a Lie group GG act symplectically on (M,ω)(M,\omega) with equivariant moment map μ\mu. Assume 00 is a regular value and GG acts freely and properly on the nonempty level N=μ−1(0)N=\mu^{-1}(0). With j:N↪Mj:N\hookrightarrow M and q:N→N/Gq:N\to N/G there is a unique symplectic form ωred\omega_{\mathrm{red}} such that q∗ωred=j∗ω.q^*\omega_{\mathrm{red}}=j^*\omega . Moreover the quotient stack [N/G][N/G] is represented by the smooth manifold N/GN/G.

Proof. By equivariance the zero level is GG-invariant, and by the regular level theorem TxN=ker⁡dμxT_xN=\ker d\mu_x. Write Vx={ξM(x)}V_x=\{\xi_M(x)\}, the orbit directions. By the moment identities, TxN=VxωT_xN=V_x^{\omega}; also Vx⊂TxNV_x\subset T_xN by invariance of NN. Nondegeneracy in the ambient finite-dimensional space now gives ker⁡(j∗ω)x=TxN∩(TxN)ω=Vx\ker(j^*\omega)_x=T_xN\cap(T_xN)^\omega=V_x. By the free proper quotient theorem, qq is a locally trivial principal bundle. On two lifts of a quotient plot the second lift is the first acted on by a smooth group-valued function. Differentiating this change gives the derivative of a fixed action plus a vertical component. The vertical component belongs to the kernel of j∗ωj^*\omega, and the action by each fixed group element preserves the form. Thus the two lift pullbacks agree. By descent there is a unique quotient form. Its derivative pulls back to zero, so it is closed by injectivity of pullback. Its kernel on TxN/VxT_xN/V_x is zero because the kernel on TxNT_xN is VxV_x.

For the stack statement an object over a test domain UU consists of a principal bundle P→UP\to U and equivariant map to NN (using compatible left or right conventions). It determines f:U→N/Gf:U\to N/G. The induced map P→f∗NP\to f^*N is equivariant and a smooth isomorphism, as can be verified in bundle frames. Hence the object is canonically isomorphic to the pullback of NN; any automorphism over the map to NN is the identity since the action is free. This gives the desired equivalence on all test domains. ◻

Symplectic area of the projective line

Let eite^{it} act by simultaneous multiplication on C2\mathbb C^2 with the standard form ω=∑j=12dxj∧dyj\omega=\sum_{j=1}^2 dx_j\wedge dy_j. Contraction against ∑j(−yj∂xj+xj∂yj)\sum_j(-y_j\partial_{x_j}+x_j\partial_{y_j}) gives −d(∥z∥2/2)-d(\|z\|^2/2). Take μ=(∥z∥2−R2)/2\mu=(\|z\|^2-R^2)/2 for R>0R>0. The circle action on the level SR3S^3_R is free. The projection SR3→CP1S^3_R\to\mathbb CP^1 is z↦Czz\mapsto \mathbb Cz. The fibers are exactly circle orbits. If w=z2/z1=u+ivw=z_2/z_1=u+iv, a smooth section is s(w)=R1+∣w∣2(1,w).s(w)=\frac{R}{\sqrt{1+|w|^2}}(1,w). In the second chart use z1/z2z_1/z_2. By these local sections the quotient diffeology is the manifold diffeology on the projective line. To compute the reduced form, take λ=12Im⁡∑jz‾j dzj\lambda=\frac12\operatorname{Im}\sum_j\overline z_j\,dz_j so dλ=ωd\lambda=\omega. Terms involving the derivative of the real normalizing factor have zero imaginary part, giving s∗λ=R22u dv−v du1+u2+v2,ωred=R2 du∧dv(1+u2+v2)2.s^*\lambda=\frac{R^2}{2}\frac{u\,dv-v\,du}{1+u^2+v^2}, \qquad \omega_{\mathrm{red}}=\frac{R^2\,du\wedge dv}{(1+u^2+v^2)^2}. For the disk Dt={w:∣w∣≤t}D_t=\{w:|w|\le t\} in this coordinate chart, integrate in polar coordinates first up to a finite radius: Area⁡(Dt)=2πR2∫0tr dr(1+r2)2=πR2t21+t2.\operatorname{Area}(D_t)= 2\pi R^2\int_0^t\frac{r\,dr}{(1+r^2)^2} =\pi R^2\frac{t^2}{1+t^2}. The omitted projective point has zero area. Sending tt to infinity gives total area πR2\pi R^2. In particular the unit circle splits the reduced space into two pieces of equal area. In the second Hopf chart the coordinate is 1/w1/w, so ∣w∣<1|w|<1 corresponds to ∣1/w∣>1|1/w|>1 on the overlap.

Reduced area in the projective chart w=u+ivw=u+iv. The shaded unit disk contains half the area of CP1\mathbb CP^1. The disk of radius two contains four fifths of the total area. The curve is t2/(1+t2)t^2/(1+t^2) for every sphere radius R>0R>0.

Since the total area is positive, the reduced form cannot be exact on the compact oriented quotient. The ambient primitive does not descend because its value on the circle generator is R2/2R^2/2. The restriction of 2λ/R22\lambda/R^2 to the level is an angular connection, and its curvature has total integral 2π2\pi. If a global section existed, its pullback of the connection would be a global primitive of the curvature. The curvature integral would then be zero by Stokes’ theorem. Hence the Hopf bundle is nontrivial.

Each point on the drawn slice of the projective chart has a circle of normalized representatives. The angular connection restricts to dθd\theta in a phase coordinate on each fiber. The reduced area form is defined on the two-dimensional projective chart.

Changing both weights from one to k>1k>1 keeps the same orbits on a fixed sphere. For the weight-kk action a valid shifted moment map is k(∥z∥2−R2)/2k(\|z\|^2-R^2)/2. Every point of the level has a stabilizer of order kk. Thus the coarse smooth quotient remains CP1\mathbb CP^1 and still carries the descended area; the quotient stack has a cyclic automorphism group at each point. Regularity of the level alone cannot imply the final representability assertion of Theorem 1.3.

Solved exercises

Exercise 1.1 (Calculate a frame change). On the unit circle take the constant potential A=cηA=c\eta on a trivial circle bundle. Change the frame by k(z)=znk(z)=z^n. Compute the new potential and the transport around a positive unit winding.

Solution.  Writing z=eitz=e^{it} gives k∗η=n dtk^*\eta=n\,dt and hence A′=(c+n)ηA'=(c+n)\eta. The holonomy of the loop is e−2πice^{-2\pi i c} in the first frame and e−2πi(c+n)e^{-2\pi i(c+n)} in the second. These phases agree because nn is an integer. Every such potential has zero curvature, while its transport can vary with cc modulo integers.

Exercise 1.2 (Locate a missing Hamiltonian). On R2/Z2\mathbb R^2/\mathbb Z^2 translate with velocity (a,b)(a,b). Determine exactly which velocities admit a globally real Hamiltonian for the area form.

Solution.  The required closed form is b dx−a dyb\,dx-a\,dy. Its periods along the two coordinate circles are bb and −a-a, so both must be zero for a real primitive. If a=b=0a=b=0 any constant works. No assumption of periodic orbits of the velocity flow is needed for this test.

Exercise 1.3 (Compute the function on an overlap). On the overlap w≠0w\ne0 in the Hopf example, take s1=R(1,w)/1+∣w∣2s_1=R(1,w)/\sqrt{1+|w|^2} and s2=R(1/w,1)/1+∣1/w∣2s_2=R(1/w,1)/\sqrt{1+|1/w|^2}. Find kk in s2=s1ks_2=s_1k and compare the local connection potentials on the unit equator w=eitw=e^{it}.

Solution.  Simplifying the normalizations gives k=∣w∣/wk=|w|/w. On the equator k=e−itk=e^{-it}, so k∗η=−dtk^*\eta=-dt. The angular potential in the first frame is (2/R2)s1∗λ=dt/2(2/R^2)s_1^*\lambda=dt/2. In the second frame it is −dt/2-dt/2. Their difference is −dt-dt, precisely the transition correction, and their curvatures agree on the overlap.

Exercise 1.4 (Prove a criterion for lifting through a period quotient). Let MM be a connected manifold, β\beta a closed real one-form, and Λ\Lambda a discrete subgroup of R\mathbb R. Prove that there is a smooth h:M→R/Λh:M\to\mathbb R/\Lambda pulling the descended one-form dtdt back to β\beta exactly when every loop period belongs to Λ\Lambda. Show that, with a basepoint value fixed, hh is unique.

Solution.  If hh exists, lift its composite with a loop along the covering R→R/Λ\mathbb R\to\mathbb R/\Lambda starting at any representative. The endpoint differs from the starting point by an element of Λ\Lambda, and this displacement is the integral of β\beta. Conversely fix a basepoint image, integrate β\beta on a path from the basepoint, and add the result modulo Λ\Lambda. Two choices of path differ by a loop, so the value is independent of the path. On a coordinate ball it is the projection of a real primitive plus a constant, proving both smoothness and the pullback identity. Two solutions with the same basepoint value differ by a map to R/Λ\mathbb R/\Lambda with zero derivative in every local lift. Such a map is locally constant and therefore constant by connectedness. At the basepoint the difference is zero, so the constant is zero.

Sources.

Principal bundles and plot trivializations are treated in articles 8.11–8.13 of Iglesias-Zemmour; connections and moment maps appear in articles 8.32–8.37 and 9.1–9.9. The reduction theorem is the classical regular theorem of Marsden and Weinstein. For the precise comparison of basic and diffeological forms beyond the free case see Karshon and Watts, who in particular allow proper action of the identity component. Iglesias-Zemmour; Marsden and Weinstein; Karshon and Watts.

Parameter identifiability in fixed-rank linear networks

In a two-layer linear network, the prediction error can be zero on an unbounded family of weights. At such a fit, two mechanisms contribute to the kernel of the training Hessian. A change of hidden basis preserves the predictor on every input. A change of predictor can also preserve its values on the training inputs. Two predictors that agree on the training subspace can have different values at a new input outside that subspace. Weights related by a change of basis give identical outputs on every sample. We compute the dimension of the gauge subspace and the remaining nullity on the quotient. We then construct a smooth family of predictors with local smooth weight choices but no global continuous choice.

The quotient space of predictors

Let PP, XX and YY be diffeological spaces of parameters, inputs and outputs. A smooth architecture is a smooth map e:P×X→Ye:P\times X\to Y. The prediction of pp is the function ep(x)=e(p,x)e_p(x)=e(p,x). For the standard functional diffeology, p↦epp\mapsto e_p is smooth: a varying family of predictors is a plot exactly when its evaluation is jointly smooth. Let QQ be the set of realized functions and q:P→Qq:P\to Q the realization map. Equip QQ with the quotient diffeology along qq. With this diffeology, a family of realizable models is smooth precisely when its weights can be chosen smoothly near each point of the parameter domain. There is also an ambient subset diffeology from C∞(X,Y)C^\infty(X,Y). The quotient-to-subset comparison is smooth by evaluation. An inverse comparison requires a local lifting argument, which we will supply for fixed-rank linear networks.

A statistic h:P→Zh:P\to Z is identifiable from the predictor when ep=ep′e_p=e_{p'} implies h(p)=h(p′)h(p)=h(p'). There is then a unique function hˉ:Q→Z\bar h:Q\to Z such that h=hˉqh=\bar hq. If hh is smooth, every plot of QQ locally lifts to PP, so composing hh with the lifts gives local plots of ZZ which agree on overlaps. Hence hˉ\bar h is smooth. This is the quotient principle of Iglesias-Zemmour, Arts. 1.46 and 1.50–1.51, applied with the functional diffeology of Art. 1.57. Squared prediction error at a fixed input is identifiable from the predictor. The length of an individual hidden weight vector can vary between realizations of the same predictor. For finite data we require equality only on the selected inputs. The resulting equivalence relation can be coarser.

Local gauges for a bottleneck network

Fix 1≤r≤min⁡(m,n)1\le r\le\min(m,n) and take X=RnX=\mathbb R^n, Y=RmY=\mathbb R^m. A hidden layer of width rr implements x↦ABxx\mapsto ABx. Here AA is an m×rm\times r matrix of column rank rr and BB is an r×nr\times n matrix of row rank rr. Denote this open parameter manifold by PP and the rank-rr matrices by MrM_r, with their subset diffeology. Put G=GLr(R)G=\mathrm{GL}_r(\mathbb R). A change of hidden basis acts on the right by (A,B)g=(Ag,g−1B).(A,B)g=(Ag,g^{-1}B). Changing basis varies the coordinates of every hidden activation but leaves their contribution to every output unchanged. Two parameter pairs yield the same predictor precisely when they belong to the same gauge orbit.

Theorem 1.1 (Descent of fixed-rank predictors). The realization q:P→Mrq:P\to M_r, (A,B)↦AB(A,B)\mapsto AB, has smooth local sections and is a principal GG-bundle. It identifies the quotient diffeology on P/GP/G with the subset diffeology on MrM_r and with the functional subset diffeology on its linear predictors. As a smooth stack, the action quotient [P/G][P/G] is equivalent to the representable sheaf MrM_r.

Proof. Every rank-rr matrix has a factorization: choose a basis of its column space and express each column in that basis. If AB=A′B′AB=A'B', surjectivity of B,B′B,B' gives im⁡A=im⁡A′\operatorname{im}A=\operatorname{im}A'. Thus A′=AgA'=Ag for a unique invertible gg and injectivity of AA gives B′=g−1BB'=g^{-1}B. To choose factors smoothly near a given MM, choose row and column index sets I,JI,J of size rr with MI,JM_{I,J} invertible. On the open pivot region take A0=M:,J,B0=(MI,J)−1MI,:.A_0=M_{:,J},\qquad B_0=(M_{I,J})^{-1}M_{I,:}. The selected columns span the column space. We obtain their coefficients by restriction to rows II, whence A0B0=MA_0B_0=M. The entries of this section are smooth rational functions. Each (A,B)(A,B) over the pivot region has the expression (A0,B0)g(A_0,B_0)g with g=(MI,J)−1AI,:g=(M_{I,J})^{-1}A_{I,:}, a smooth function. This provides smooth local trivializations.

Composing a subset plot locally with a pivot section gives a smooth lift. Each plot obtained from factors is a subset plot by matrix multiplication. For linear functions, jointly smooth evaluation implies that all matrix entries vary smoothly by evaluating at the nn standard basis vectors. Conversely, smooth entries give jointly smooth evaluation. Thus the two classes of plots coincide.

For the last assertion take any test domain UU. A map f:U→Mrf:U\to M_r pulls back the principal bundle to f∗Pf^*P, with its equivariant projection to PP. Conversely a right GG-torsor T→UT\to U equipped with an equivariant map h:T→Ph:T\to P determines ff by descent of qhqh. The map t↦(π(t),h(t))t\mapsto(\pi(t),h(t)) is an isomorphism T→f∗PT\to f^*P: in local sections it is a translation between copies of GG in each fiber with smoothly varying translating element. These identifications commute with restrictions. Over a fixed ff there is a unique arrow commuting with the specified maps between any two such descriptions. This gives the stated equivalence. ◻

On overlapping pivot regions i,ji,j, local sections are related by sj=sigijs_j=s_i g_{ij}. Uniqueness of the relating element implies gijgjk=gikg_{ij}g_{jk}=g_{ik}. Thus the transition maps implement coherent changes of coordinates among trained models. The kk-simplices of the corresponding action nerve have the form P×GkP\times G^k: a list of kk successive changes. The map from each composable list to its successive endpoints is an isomorphism from this nerve to the Čech nerve of qq. Its description in terms of overlapping pivot regions applies even to a family without a single pivot region containing its image.

The positive portions of two scalar gauge orbits. At x=1x=1, the outputs are 22 on the solid curve and 11 on the dashed curve. At any fixed input, the output is constant along each curve. Each full orbit also contains a component with both factors negative.

Gauge directions and the kernel of the training Hessian

Write V=RnV=\mathbb R^n and W=RmW=\mathbb R^m. At (A,B)(A,B) a first-order parameter change is a pair (D,E)(D,E) of matrices of matching sizes. Its effect on the predictor is J(D,E)=DB+AE.J(D,E)=DB+AE. The kernel consists of weight variations for which the predictor has zero derivative at every input. The image consists of the first-order variations of the predictor itself. Write K=ker⁡B=ker⁡(AB)K=\ker B=\ker(AB) and U=im⁡AU=\operatorname{im}A. The conditions below also give the tangent geometry used for fixed-rank optimization.

Theorem 1.2 (Gauge kernel and predictor tangent space). At M=ABM=AB one has ker⁡J={(AH,−HB):H∈Rr×r},TMMr=im⁡J={L:V→W linear:L(K)⊂U}.\begin{aligned} \ker J&=\{(AH,-HB):H\in\mathbb R^{r\times r}\},\\ T_M M_r=\operatorname{im}J&=\{L:V\to W\text{ linear}: L(K)\subset U\}. \end{aligned} In particular the parameter redundancy has dimension r2r^2 and the predictor tangent space has dimension r(m+n−r)r(m+n-r).

Proof. If DB+AE=0DB+AE=0, then D(Bx)=−AEx∈UD(Bx)=-AEx\in U for every xx, and BB is onto. Thus im⁡D⊆U\operatorname{im}D\subseteq U. Hence D=AHD=AH for a unique HH, and A(HB+E)=0A(HB+E)=0 implies E=−HBE=-HB. Conversely the displayed pair lies in the kernel, and differentiating the gauge curve with g(t)=exp⁡(tH)g(t)=\exp(tH) realizes it. Every image element takes KK into UU. To prove the reverse inclusion, let L(K)⊂UL(K)\subset U and pass to the output quotient W/UW/U. The composition of LL with the projection vanishes on KK, hence factors through BB as a map Rr→W/U\mathbb R^r\to W/U. Choose a linear lift D:Rr→WD:\mathbb R^r\to W. The difference L−DBL-DB takes values in UU, so is uniquely AEAE for a linear map EE. By composing a curve with a local section from Theorem 1.1 and differentiating its factors, we obtain a lift of each tangent vector. Equivalently, the pivot region is a manifold chart: after permuting rows and columns, three blocks C,D′,E′C,D',E' in a matrix (CD′E′F)\left(\begin{smallmatrix}C&D'\\E'&F\end{smallmatrix}\right) with CC invertible determine the fourth by F=E′C−1D′F=E'C^{-1}D'. There are r(m+n−r)r(m+n-r) independent entries in the free blocks, in agreement with rank–nullity for JJ. ◻

Let the columns of X0∈Rn×NX_0\in\mathbb R^{n\times N} be the observed inputs. Put S=im⁡X0S=\operatorname{im}X_0, s=dim⁡Ss=\dim S, and let Y0∈Rm×NY_0\in\mathbb R^{m\times N} be the measured outputs. Train using the total square loss L(A,B)=12∥ABX0−Y0∥F2.\mathcal L(A,B)=\tfrac12\|ABX_0-Y_0\|_F^2 . At an exact fit the residual vanishes. The Hessian along weight directions v,wv,w is then ⟨J(v)X0,J(w)X0⟩F\langle J(v)X_0,J(w)X_0\rangle_F by twice differentiating the squared norm. The Hessian is therefore the positive semidefinite pullback of the output metric. Away from an exact fit one must also differentiate the predictor a second time and contract that term with the residual. The rank count below therefore applies at the specified solutions.

Theorem 1.3 (Observable curvature at an interpolating fit). Suppose ABX0=Y0ABX_0=Y_0 and let t=dim⁡B(S)t=\dim B(S). The parameter Hessian has rank and nullity rank⁡∇2L=rs+(m−r)t,dim⁡ker⁡∇2L=r2+r(n−s)+(m−r)(r−t).\begin{aligned} \operatorname{rank} \nabla^2\mathcal L &=rs+(m-r)t,\\ \dim\ker \nabla^2\mathcal L &= r^2+r(n-s)+(m-r)(r-t). \end{aligned} After quotienting parameters by GG, the first summand r2r^2 in the nullity disappears. For s=ns=n the quotient Hessian is positive definite.

Proof. The Gram form above has kernel exactly those vv with J(v)∣S=0J(v)|_S=0 because the columns of X0X_0 span SS. Fix a linear complement U′U' of UU. The UU-component of J(v)∣SJ(v)|_S ranges freely over Hom⁡(S,U)\operatorname{Hom}(S,U): extend any such map linearly to VV and realize it using AEAE. Independently, its U′U'-component ranges over maps of the form D′B∣SD' B|_S, with D′:Rr→U′D':\mathbb R^r\to U'. Such maps are in bijection with Hom⁡(B(S),U′)\operatorname{Hom}(B(S),U'), since every map on B(S)B(S) extends to Rr\mathbb R^r. The two spaces are independent components in a direct sum, giving rank rs+(m−r)trs+(m-r)t. Subtract from r(m+n)r(m+n) and regroup. The bundle charts of Theorem 1.1 identify gauge directions with the tangent space of the group factor. The loss there is pulled back from the predictor factor. Since an exact fit is critical, Hessians define bilinear forms independent of the coordinates used, so passage to the quotient removes precisely these r2r^2 kernel directions. When S=VS=V, surjectivity of BB gives t=rt=r, and the remaining nullity vanishes. ◻

Dimensions of the freely variable blocks of J∣SJ|_S. Choose S=S1⊕(S∩K)S=S_1\oplus(S\cap K) so that BB identifies S1S_1 with B(S)B(S). The lower right block vanishes because J(D,E)k=AEk∈UJ(D,E)k=AEk\in U for every k∈Kk\in K.

For instance take m=n=2m=n=2, r=1r=1, A=(1,2)TA=(1,2)^{\mathsf T} and B=(3,−1)B=(3,-1). The observable matrix and the output on (2,1)T(2,1)^{\mathsf T} are M=(3−16−2),M(21)=(510).M=\begin{pmatrix}3&-1\\6&-2\end{pmatrix}, \qquad M\begin{pmatrix}2\\1\end{pmatrix}=\begin{pmatrix}5\\10\end{pmatrix}. Taking X0=I2X_0=I_2 and Y0=MY_0=M gives an exact fit. In the weight order (a1,a2,b1,b2)(a_1,a_2,b_1,b_2) the Hessian is (1003−10106−23650−1−205).\begin{pmatrix} 10&0&3&-1\\0&10&6&-2\\3&6&5&0\\-1&-2&0&5 \end{pmatrix}. Its kernel is spanned by (1,2,−3,1)T(1,2,-3,1)^{\mathsf T}, the derivative of (euA,e−uB)(e^uA,e^{-u}B) at u=0u=0. The rank is three. If e1e_1 is the only observed input, then s=t=1s=t=1 and the rank falls to two: the second column can vary while the first remains fixed. With just the input (1,3)T(1,3)^{\mathsf T}, s=1s=1 still, but B(1,3)T=0B(1,3)^{\mathsf T}=0 and the rank falls to one. Every observable output derivative is then a scalar multiple of AA. Both of the last two data sets contain one observation, but the Hessian ranks differ.

An obstruction to choosing learned weights continuously

To compare hidden weights across training runs, fix a representative of each predictor in a pivot region. Even at constant rank, these choices need not extend to a global section. We prove this by lifting a closed loop of rank-one projectors.

Theorem 1.4 (A predictor loop with a sign obstruction). For m=n=2m=n=2 and r=1r=1, no continuous section of q:P→M1q:P\to M_1 exists. Its restriction to the circle of orthogonal rank-one projectors already has no continuous section. On every sufficiently small arc of that circle a smooth section exists.

Proof. For u∈[0,1]u\in[0,1] let v(u)=(cos⁡πu,sin⁡πu)Tv(u)=(\cos\pi u,\sin\pi u)^{\mathsf T} and M(u)=v(u)v(u)TM(u)=v(u)v(u)^{\mathsf T}. The endpoints give the same projector. If a continuous section existed, its first factor would be a continuous nonzero vector a(u)a(u) in the image line Rv(u)\mathbb Rv(u). Write a(u)=c(u)v(u)a(u)=c(u)v(u), where c(u)=v(u)Ta(u)c(u)=v(u)^{\mathsf T}a(u) is continuous and nowhere zero. Equality a(1)=a(0)a(1)=a(0) together with v(1)=−v(0)v(1)=-v(0) gives c(1)=−c(0)c(1)=-c(0), impossible by the intermediate value theorem. Every point of the circle has some nonzero pivot and hence a local section by Theorem 1.1. ◻

The learned predictor in this example is an orthogonal projection onto a one-dimensional feature space. The projection varies continuously around the loop, as does its unsigned image line. For any choice of a signed unit vector on each line, the resulting vector-valued map has a discontinuity somewhere on the loop. A sign discontinuity in the chosen vector can therefore occur while the predictor is continuous. For a local description, choose signed unit vectors on small arcs and specify their relative signs on overlaps.

Solved exercises

Exercise 1.1 (Computation: change of hidden coordinates). For the numerical example above, use the pivot in row one, column one to compute the factors at that pivot. Find their gauge relative to (A,B)(A,B). Give an identifiable and an unidentifiable scalar statistic and evaluate each on both representatives.

Solution.  The pivot gives A0=(3,6)TA_0=(3,6)^{\mathsf T}, B0=(1,−1/3)B_0=(1,-1/3), so g=3g=3 carries (A,B)(A,B) to (A0,B0)(A_0,B_0). The statistic e1TABe1e_1^{\mathsf T}ABe_1 takes the same value 33 on both since the product is identical. The squared norm of the first factor is 55 on the original representative and 4545 on the new one. The weight norm is therefore unidentifiable even from predictions on the entire input space.

Exercise 1.2 (Calculation: apparent sharpness). For the scalar predictor x↦abxx\mapsto abx, use training input x=1x=1 with target y≠0y\ne0. At an exact fit compute both Euclidean Hessian eigenvalues. Describe their dependence on (a,b)↦(ga,b/g)(a,b)\mapsto(ga,b/g) for g>0g>0.

Solution.  The derivative of abab is the row (b,a)(b,a). The Hessian of half the squared error at a fit is its Gram matrix, which has eigenvalues 00 and a2+b2a^2+b^2. A kernel vector is (a,−b)(a,-b). After the change the positive eigenvalue becomes g2a2+g−2b2g^2a^2+g^{-2}b^2, arbitrarily large as g→∞g\to\infty with a≠0a\ne0. The quotient coordinate c=abc=ab gives loss (c−y)2/2(c-y)^2/2 with second derivative 11. Interpreting a numerical sharpness therefore requires specifying both the model coordinates and the metric used to turn the Hessian form into an operator.

Exercise 1.3 (Derivation: testing a proposed new input). For the numerical model above the only training input is initially x0=(1,3)Tx_0=(1,3)^{\mathsf T}. Determine the Hessian rank increase caused by (i) adding 2x02x_0 and (ii) adding e2e_2. Assume the new targets come from the same model.

Solution.  Initially (s,t)=(1,0)(s,t)=(1,0) gives rank one. The first addition leaves both the span and its image under BB unchanged, so gives increase zero. The second addition makes S=R2S=\mathbb R^2 and B(S)=RB(S)=\mathbb R, so (s,t)=(2,1)(s,t)=(2,1) and the rank becomes three. The increase is two. There are still four weights and one gauge direction. In particular, adding one labeled example can increase the Hessian rank by more than one when the output is vector-valued.

Exercise 1.4 (Proof: when are all linear predictions determined?). For a fixed exact rank-rr model MM with r≥1r\ge1, show that observing its values on a subspace SS determines MM among rank-rr predictors exactly when S=VS=V. When SS is proper, construct a smooth nonconstant curve of indistinguishable predictors through MM.

Solution.  If S=VS=V, equality on SS is equality of maps. Otherwise choose a nonzero linear functional λ\lambda annihilating SS and a nonzero z∈Rrz\in\mathbb R^r. Write M=ABM=AB with the stipulated full ranks and set Mϵ=A(B+ϵzλ)M_\epsilon=A(B+\epsilon z\lambda). For small ∣ϵ∣|\epsilon| a nonzero rr-minor of BB stays nonzero by continuity. The second factor remains onto, so MϵM_\epsilon has rank rr and the family is smooth. It agrees with MM on SS for every such ϵ\epsilon. The difference is ϵ(Az)λ\epsilon (Az)\lambda, nonzero for every nonzero ϵ\epsilon since AA is injective. Thus ambiguity persists after removal of all hidden-basis symmetries and along an actual curve of predictors.

Scope and further reading

On the full-rank subset, the change-of-basis action is free and transitive on every prediction fiber. At rank loss the presentation changes. Already for scalar factors with product zero, (1,0)(1,0), (0,1)(0,1) and (0,0)(0,0) lie in different orbits realizing the same function, and the last pair has the entire group as stabilizer. The action groupoid has distinct isomorphism classes for the three pairs and distinct stabilizers at the zero and nonzero pairs. Taking the quotient by equality of all predictions identifies the three pairs. Choosing between these constructions depends on whether hidden implementation data are part of the object being classified.

The fixed-rank quotient manifold and its optimization uses are classical. Mishra, Meyer, Bonnabel and Sepulchre develop quotient metrics for several factorizations; Vandereycken works with the embedded fixed-rank manifold in matrix completion. One can put different metrics on the same space of predictors. We established equality of the plotwise smooth structures, computed the nullity of the Hessian at an interpolating fit, and constructed a family of rank-one projectors with local smooth factorizations and no global continuous factorization. See Mishra et al., Fixed-rank matrix factorizations and Riemannian low-rank optimization and Vandereycken, Low-rank matrix completion by Riemannian optimization.

Planning with symmetries and ties

A dispatch system has two interchangeable service stations. The state estimates may list them in either order on successive runs. The achievable return should be independent of that order. A dispatch output specifies one station. Under a relabeling of the inputs, equivariance requires the same relabeling of this output. If the input is fixed by the swap and neither dispatch command is fixed, there is no deterministic equivariant dispatch. A distribution assigning each command probability 1/21/2 is invariant under the swap.

We first compress the Bellman recursion by state and action orbits. We characterize the compressed decisions that lift to policies equivariant under every relabeling. Finally we vary the model through smooth families and differentiate the regularized value. All state and action spaces below are finite. The smooth variables are the rewards, the transition laws, the policy probabilities and the experimental parameters that determine them. For the orbit spaces and spaces of functions we use the constructions of Iglesias-Zemmour, Arts. 1.46–1.48, 1.57 and 7.4–7.5. In this model the optimal value factors through the orbit space. An equivariant policy must also satisfy the constraints imposed by each state stabilizer.

Model and Bellman recursion

Let SS be a nonempty finite set, and let AsA_s be a nonempty finite action set for each s∈Ss\in S. Write E={(s,a):s∈S, a∈As}E=\{(s,a):s\in S,\ a\in A_s\} and let e:E→Se:E\to S be the projection. At (s,a)(s,a) the expected one-step reward is r(s,a)∈Rr(s,a)\in\mathbb R, and the probability of next state u∈Su\in S is P(u∣s,a)P(u\mid s,a). Fix 0<γ<10<\gamma<1. The return is the expected sum of rewards, with the reward at step kk weighted by γk\gamma^k for k≥0k\geq0. For definiteness one may take the one-step reward to be the indicated deterministic scalar. A stationary randomized policy is a family of probability vectors πs∈Δ(As)\pi_s\in\Delta(A_s) indexed by the states. Here Δ(A)\Delta(A) is the standard closed probability simplex with its subset diffeology in RA\mathbb R^A.

For a continuation value v∈RSv\in\mathbb R^S write Qv(s,a)=r(s,a)+γ∑u∈SP(u∣s,a)v(u),(Tv)(s)=max⁡a∈AsQv(s,a).Q_v(s,a)=r(s,a)+\gamma\sum_{u\in S}P(u\mid s,a)v(u),\qquad (Tv)(s)=\max_{a\in A_s}Q_v(s,a). The inequality ∣max⁡ixi−max⁡iyi∣≤max⁡i∣xi−yi∣|\max_i x_i-\max_i y_i|\leq\max_i|x_i-y_i| and the fact that each row of PP sums to one give ∥Tv−Tw∥∞≤γ∥v−w∥∞\|Tv-Tw\|_\infty\leq\gamma\|v-w\|_\infty. Iterating from zero gives the optimal returns on successively longer finite horizons by backward induction. The absolute reward tail after nn steps is at most γnmax⁡∣r∣/(1−γ)\gamma^n\max|r|/(1-\gamma) uniformly over policies, including policies depending on the observed history. The unique fixed point v∗v^* therefore equals the optimal infinite-horizon return. A stationary policy attains it at every starting state exactly when each πs\pi_s is supported on Ms={a∈As:Qv∗(s,a)=v∗(s)}.M_s=\{a\in A_s:Q_{v^*}(s,a)=v^*(s)\}. Indeed, policy evaluation replaces the maximum in TT by a πs\pi_s-weighted average. Its evaluation operator is another contraction and its fixed point equals v∗v^* exactly when the average equals the maximum in every row.

A finite group GG acts on SS and on EE compatibly with ee. An element gg transports actions by bijections As→AgsA_s\to A_{gs} written a↦gaa\mapsto ga. Assume throughout the symmetry reduction that r(gs,ga)=r(s,a),P(gu∣gs,ga)=P(u∣s,a).r(gs,ga)=r(s,a),\qquad P(gu\mid gs,ga)=P(u\mid s,a). These conditions can be checked from the reward and transition tables before any optimization. They specify a symmetry of each individual model. Later we also encounter a relabeling that identifies experiments at two different parameter values.

The Bellman recursion on state and action orbits

Let q:S→S/Gq:S\to S/G send a state to its orbit. Over an orbit OO let BOB_O consist of the orbits of pairs (s,a)(s,a) with s∈Os\in O. Fixing any representative s∈Os\in O identifies BOB_O with the set of orbits of AsA_s under Gs={g:gs=s}G_s=\{g:gs=s\}. Surjectivity follows by transporting the state coordinate to ss. Two pairs based at ss lie in the same orbit precisely when some element fixing ss carries their actions to one another. The sets AsA_s may therefore vary with ss.

Theorem 1.1 (Exact orbit compression). For b=[s,a]∈BOb=[s,a]\in B_O, put rˉ(O,b)=r(s,a),Pˉ(O′∣O,b)=∑u∈O′P(u∣s,a).\bar r(O,b)=r(s,a),\qquad \bar P(O'\mid O,b)=\sum_{u\in O'}P(u\mid s,a). These define a discounted decision process on S/GS/G. Its optimal value vˉ∗\bar v^* satisfies v∗=vˉ∗∘qv^*=\bar v^*\circ q. The image in BOB_O of the set of optimal actions at any s∈Os\in O equals the set of optimal actions of this reduced process at OO.

Proof. Replace (s,a)(s,a) by (gs,ga)(gs,ga). In the definition of Pˉ\bar P, change the summation variable from uu to gugu, since multiplication by gg permutes each O′O'. The reward is invariant by hypothesis. Thus the quotient rewards and transition probabilities are independent of the representatives. Nonnegativity is immediate, and summing over the partition of SS gives total mass one. For any w:S/G→Rw:S/G\to\mathbb R we have Qw∘q(s,a)=rˉ(O,b)+γ∑O′Pˉ(O′∣O,b)w(O′).Q_{w\circ q}(s,a)=\bar r(O,b)+\gamma\sum_{O'}\bar P(O'\mid O,b)w(O'). Every bb has a representative at ss. Taking the maximum gives T(w∘q)=(Tˉw)∘qT(w\circ q)=(\bar T w)\circ q. The pullback of the reduced fixed point is a fixed point of TT. Uniqueness implies the value formula. In the displayed identity put w=vˉ∗w=\bar v^*. The two sides attain their respective row maxima at exactly the corresponding arguments. ◻

To use the reduction in an exact planner, form one transition row for each orbit of admissible pairs and keep the orbit totals of its successor probabilities. Run value iteration on that smaller array. If ∥Tˉw−w∥∞≤ϵ\|\bar T w-w\|_\infty\leq\epsilon, the contraction bound gives ∥w−vˉ∗∥∞≤ϵ/(1−γ)\|w-\bar v^*\|_\infty\leq\epsilon/(1-\gamma). Pullback by the surjection qq preserves that norm, so the same bound holds for w∘q−v∗w\circ q-v^*. The saving depends on the input symmetry and on the cost of finding the orbits. A comparison of runtimes would require a separate experiment.

Equivariant lifts of reduced policies

The action groupoid has objects ss and arrows g:s→gsg:s\to gs. The assignments s↦Ass\mapsto A_s and s↦Δ(As)s\mapsto\Delta(A_s) are functors on this groupoid, the latter using pushforward of mass. An equivariant deterministic or randomized controller is a section satisfying the corresponding transport equations at every arrow. Equivalently, it is an element of the limit of the corresponding set-valued functor. In smooth sheaves one can take sections over a parameter plot, with smoothness required of the simplex coordinates. For each stabilizer arrow h:s→sh:s\to s, the policy value at ss must equal its image under hh. These stabilizer elements occur as loops in the nerve, with their compositions specified by its two-simplices. This is the groupoid part of higher descent in an example where the equations can be read directly from a transition table.

Theorem 1.2 (Stabilizer criterion and randomized lifting). There is an optimal equivariant deterministic stationary policy precisely when, at each representative ss of a state orbit, MsM_s contains an action fixed by all of GsG_s. Equivariant randomized stationary policies are in affine bijection with the policies on the reduced process. At a representative ss, a probability pbp_b on a reduced action lifts to mass pb/∣bs∣p_b/|b_s| on each element of its stabilizer orbit bs⊆Asb_s\subseteq A_s. This bijection restricts to optimal policies on both sides. In particular, an equivariant optimal randomized policy always exists.

Proof. By Theorem 1.1, Mgs=gMsM_{gs}=gM_s. At a representative, deterministic equivariance requires has=asha_s=a_s for every h∈Gsh\in G_s. Conversely, take any such optimal choice at each representative, and set ags=gasa_{gs}=ga_s. If gs=g′sgs=g's then (g′)−1g∈Gs(g')^{-1}g\in G_s, so the two formulas agree. The transported choice lies in MgsM_{gs}.

Applying the same construction to distributions, we obtain a unique equivariant policy from a GsG_s-invariant probability at each representative. Its masses are constant on each stabilizer orbit. Summing these masses gives pbp_b, and equal division within each orbit is the unique inverse. Both operations are affine, including at the boundary of the simplex. By the action correspondence in Theorem 1.1, support on maximizing actions downstairs is equivalent to support on maximizing actions upstairs. Finite nonempty action sets admit a maximizing action downstairs, giving the final conclusion. ◻

Example 1.3 (An interchangeable pair of stations). Let dd denote the depot and l,rl,r the two stations. A dispatch transition from dd to either station has reward zero. The wait transition from dd to itself has reward ww. Each station has one service transition to dd, with reward 22. Reflection exchanges the stations and their dispatch actions and fixes the wait action. The state orbits are D={d}D=\{d\} and F={l,r}F=\{l,r\}. Set γ=1/2\gamma=1/2. The recursions for the values x,yx,y on D,FD,F become x=max⁡{12y, w+12x},y=2+12x.x=\max\{\tfrac12y,\ w+\tfrac12x\},\qquad y=2+\tfrac12 x. In the dispatch region these give x=4/3x=4/3, y=8/3y=8/3, which satisfy the maximizing inequality exactly when w≤2/3w\leq2/3. In the waiting region x=2wx=2w, y=2+wy=2+w, valid when w≥2/3w\geq2/3. At w=0w=0 either dispatch is deterministic and optimal at the depot. Neither dispatch is fixed by reflection. The only equivariant optimal probability at the depot gives each station mass 1/21/2. At w=2/3w=2/3 the entire segment (p/2,p/2,1−p)(p/2,p/2,1-p), 0≤p≤10\le p\le1, consists of equivariant optima. Among these only p=0p=0 is deterministic.

Returns on the three-state model. Reflection fixes the depot and exchanges its two zero-reward dispatch arrows. The label ww is the reward for waiting.
The depot policy simplex. At the tie w=2/3w=2/3 every point is optimal, while exactly the dashed median is equivariant. Below the tie, only the bottom edge is optimal, and its midpoint is the unique equivariant optimum.

Smooth planning over a space of experiments

Let XX be any diffeological space. Suppose rx(s,a)r_x(s,a) and Px(u∣s,a)P_x(u\mid s,a) are smooth real-valued functions of x∈Xx\in X, with stochastic rows for each xx. A plot U→XU\to X is now a smooth family of experiments whose dimension and parametrization the experimenter can choose. A smooth map from XX to the policy space yields ordinary smooth functions of the laboratory coordinates on every such family. By the functional diffeology, evaluating a policy on an input state is smooth. Since the state space is finite and discrete this amounts to smoothness of the finite list of output probabilities. For example, XX may be a quotient of several coordinate descriptions of the same experiment.

Hard optimization can introduce a corner even for smooth reward tables. With one recurrent state, actions labelled ++ and −-, self-transition and rewards tt and −t-t, we have v∗(t)=∣t∣/(1−γ)v^*(t)=|t|/(1-\gamma). The restriction to the identity plot of R\mathbb R is nondifferentiable at 00. A single-valued policy that is optimal for every tt cannot even be continuous as a simplex-valued map. The unique optimal distributions for t>0t>0 and t<0t<0 are the two different vertices of the simplex. Relabeling the actions takes the experiment at tt to the experiment at −t-t. At the central experiment the relabeling is an automorphism, and its fixed distribution is the midpoint.

For τ>0\tau>0 consider the entropy-regularized one-step objective ∑apaQa+τH(p)\sum_a p_aQ_a+\tau H(p) where H(p)=−∑apalog⁡paH(p)=-\sum_a p_a\log p_a and 0log⁡0=00\log0=0. If Z=∑aexp⁡(Qa/τ)Z=\sum_a\exp(Q_a/\tau) and za=exp⁡(Qa/τ)/Zz_a=\exp(Q_a/\tau)/Z, the objective equals τlog⁡Z−τ∑apalog⁡(pa/za)\tau\log Z-\tau\sum_a p_a\log(p_a/z_a). The second sum is nonnegative, with equality precisely at p=zp=z, by the logarithm inequality. Consequently the regularized Bellman operator is (Tτ,xv)(s)=τlog⁡∑a∈Asexp⁡(Qx,v(s,a)/τ).(T_{\tau,x}v)(s)=\tau\log\sum_{a\in A_s}\exp(Q_{x,v}(s,a)/\tau). The finite-horizon recursion for cumulative discounted reward plus discounted action entropy gives this same operator by backward induction. The tail estimate still holds because 0≤H(p)≤log⁡max⁡s∣As∣0\leq H(p)\leq\log\max_s |A_s|. The fixed point is thus the maximum expected discounted sum of reward and action entropy with coefficient τ\tau.

Theorem 1.4 (Smooth value and policy on every plot). Fix τ>0\tau>0. For the finite families above, Tτ,xT_{\tau,x} has a unique fixed point vτ(x)v_\tau(x), and both x↦vτ(x)x\mapsto v_\tau(x) and its maximizing stationary policy x↦πτ,xx\mapsto\pi_{\tau,x} are smooth. For any plot and any tangent direction on its domain, dots denoting directional derivatives along that plot, (I−γPπ)v˙τ=b,b(s)=∑aπs(a)(r˙(s,a)+γ∑uP˙(u∣s,a)vτ(u)),\begin{aligned} (I-\gamma P_{\pi})\dot v_\tau &= b,\\ b(s)&=\sum_a\pi_s(a)\left(\dot r(s,a)+\gamma\sum_u\dot P(u\mid s,a)v_\tau(u)\right), \end{aligned} where Pπ(s,u)=∑aπs(a)P(u∣s,a)P_{\pi}(s,u)=\sum_a\pi_s(a)P(u\mid s,a). The outputs commute with smooth reparametrization and with simultaneous relabeling of states and actions.

Proof. Log-sum-exp is monotone and adding a common scalar to every input adds that scalar to its output. For d=∥x−y∥∞d=\|x-y\|_\infty we have yi−d≤xi≤yi+dy_i-d\le x_i\le y_i+d for each ii. By monotonicity and the shift identity, the row operation is 11-Lipschitz. Thus Tτ,xT_{\tau,x} is a γ\gamma-contraction. Pull a family back to an arbitrary plot with open domain U⊆RmU\subseteq\mathbb R^m. The equation F(z,v)=v−Tτ,x(z)v=0F(z,v)=v-T_{\tau,x(z)}v=0 is a smooth Euclidean equation. Differentiating each row with respect to vv gives DvF=I−γPπD_v F=I-\gamma P_{\pi} at its solution because the gradient of log-sum-exp consists of the softmax probabilities. The inverse exists by the norm-convergent series ∑k≥0γkPπk\sum_{k\geq0}\gamma^k P_{\pi}^k. By the implicit function theorem there are smooth local solutions. By uniqueness each local solution equals the fixed point on its domain. The probabilities are smooth compositions by the softmax formula. Differentiating F=0F=0 with respect to the plot yields the displayed system. The fixed-point equation is preserved by precomposition of the data with a smooth parameter map, and summation commutes with permuting indices. Uniqueness and the softmax formula give both compatibility statements. ◻

For the two-action experiment this produces vτ(t)=τ1−γlog⁡(2cosh⁡(t/τ)),πτ,t(+)=11+exp⁡(−2t/τ).v_\tau(t)=\frac{\tau}{1-\gamma}\log(2\cosh(t/\tau)),\qquad \pi_{\tau,t}(+)=\frac{1}{1+\exp(-2t/\tau)}. In particular the value is even and factors smoothly through the quotient diffeology on R/(t∼−t)\mathbb R/(t\sim -t). Every quotient plot locally lifts, and the values computed on any two lifts agree. The probability of the specific label ++ is generally different on the two representatives. The pair of probabilities transports by the swap, so it defines an equivariant output over the action groupoid. This difference between a value and a policy persists at positive temperature, even though both are now smooth.

One recurrent state with rewards t,−tt,-t, discount γ=1/2\gamma=1/2 and temperature τ=1/2\tau=1/2. The hard value 2∣t∣2|t| has a corner at the tie. The regularized value log⁡(e2t+e−2t)\log(e^{2t}+e^{-2t}) has derivative zero there and attains its greatest excess, log⁡2\log 2, over the hard value.

Orbit multiplicity in entropy-regularized planning

At the symmetric depot, the two dispatch commands lie in a single abstract action orbit. Their combined probability occurs as one term of the entropy on abstract actions. The entropy on concrete commands has two separate terms. For uniform conditional probabilities within each orbit, the entropy difference depends on the orbit sizes and masses as follows.

Theorem 1.5 (Multiplicity correction for the soft quotient). For data invariant under GG, let mO,bm_{O,b} be the number of concrete actions representing bb at a single s∈Os\in O. The reduced regularized Bellman operator with row (Tˉτw)(O)=τlog⁡∑b∈BOmO,bexp⁡(Qˉw(O,b)/τ),(\bar T_\tau w)(O)=\tau\log\sum_{b\in B_O}m_{O,b} \exp\bigl(\bar Q_w(O,b)/\tau\bigr), where Qˉw(O,b)=rˉ(O,b)+γ∑O′Pˉ(O′∣O,b)w(O′)\bar Q_w(O,b)=\bar r(O,b)+\gamma\sum_{O'}\bar P(O'\mid O,b)w(O'), has the same fixed point after pullback as the full regularized planner. Its maximizing probabilities on reduced actions are proportional to mO,bexp⁡(Qˉw(O,b)/τ)m_{O,b}\exp(\bar Q_w(O,b)/\tau) at that fixed point. Uniform lifting within each orbit gives the unique full regularized optimal policy.

Proof. Transport from ss to another representative is a bijection that conjugates the stabilizers, so mO,bm_{O,b} is well-defined. For an invariant continuation value, Theorem 1.1 gives the same concrete action value on all mO,bm_{O,b} actions over bb. Grouping the exponential sum by these classes gives exactly the displayed operator and the intertwining identity. The row log-sum-exp is monotone and commutes with scalar shifts of its arguments, so the contraction and fixed-point argument apply. The concrete softmax is constant within each class. Summing it within each class gives its stated total probability, whose equal division restores the unique optimizing distribution. Equivalently, at the invariant lift of pp, the full Shannon entropy is H(p)+∑bpblog⁡mO,bH(p)+\sum_b p_b\log m_{O,b} by substitution. The reduced planner is therefore an ordinary soft planner with extra row reward τlog⁡mO,b\tau\log m_{O,b}. ◻

For a numerical comparison, consider one row update. At w=0w=0 with zero continuation in the depot example, all three commands have score zero. The full row value is τlog⁡3\tau\log3, and the total dispatch probability at its maximizer is 2/32/3. Omitting the coefficient two produces τlog⁡2\tau\log2 and mass 1/21/2. This changes the objective itself. The Bellman iterates without the multiplicity factor converge to the fixed point for this altered objective.

Exercises with solutions

Exercise 1.1 (Compute a policy value). At w=0w=0 use the depot probabilities (p/2,p/2,1−p)(p/2,p/2,1-p) for dispatch left, dispatch right and wait in Example 1.3. Compute its value x(p)x(p) at the depot and identify the maximizing pp.

Solution.  From y=2+x/2y=2+x/2 and x=py/2+(1−p)x/2x=p y/2+(1-p)x/2 one obtains x=p+(1/2−p/4)xx=p+(1/2-p/4)x. Thus x(p)=4p/(2+p)x(p)=4p/(2+p), whose derivative 8/(2+p)28/(2+p)^2 is positive. The maximum is 4/34/3 at p=1p=1. The same formula holds with unequal splitting because the station returns coincide. Equivariance requires equal probabilities for the two stations.

Exercise 1.2 (Identify the obstruction). A state is fixed by the cyclic group of order three. Its actions comprise a cyclically permuted triple and a fixed action. The triple has common optimal score 55 and the fixed action has score 44. Describe every equivariant maximizing probability. What changes if the fixed score becomes 55?

Solution.  The triple’s coordinates are equal by invariance. With fixed score 44 the fixed action is suboptimal, so its probability is zero. The solution is (1/3,1/3,1/3,0)(1/3,1/3,1/3,0). With score 55 the solutions are (p/3,p/3,p/3,1−p)(p/3,p/3,p/3,1-p), p∈[0,1]p\in[0,1]. Exactly p=0p=0 is a deterministic equivariant optimizer. A deterministic choice of the abstract triple orbit exists in the first model. The abstract triple orbit has no fixed concrete representative.

Exercise 1.3 (Differentiate a transition law). At state ss the only action has reward zero. The next state is ss with probability 1−t1-t and an absorbing state uu with probability tt, where 0<t<10<t<1. At uu the only action has reward one per step. Compute dv(s)/dtdv(s)/dt by direct differentiation and recover it from Theorem 1.4.

Solution.  Put D=1−γ+γtD=1-\gamma+\gamma t. Then v(u)=1/(1−γ)v(u)=1/(1-\gamma) and v(s)=γt/((1−γ)D)v(s)=\gamma t/((1-\gamma)D). Differentiation gives dv(s)/dt=γ/D2dv(s)/dt=\gamma/D^2. Since v˙(u)=0\dot v(u)=0, the theorem reduces to Dv˙(s)=γ(v(u)−v(s))D\dot v(s)=\gamma(v(u)-v(s)). Subtraction gives v(u)−v(s)=1/Dv(u)-v(s)=1/D, which reproduces the derivative. A single available action has zero entropy for every τ\tau.

Exercise 1.4 (Prove a sharp uniform approximation bound). Let m=max⁡s∣As∣m=\max_s|A_s|. Prove that 0≤vτ(s)−v∗(s)≤τlog⁡m/(1−γ)0\leq v_\tau(s)-v^*(s)\leq\tau\log m/(1-\gamma) at all states. Exhibit equality, and decide whether uniform convergence here implies convergence of first derivatives along smooth plots.

Solution.  The row inequalities max⁡izi≤τlog⁡∑iezi/τ≤max⁡izi+τlog⁡m\max_i z_i\leq\tau\log\sum_i e^{z_i/\tau}\leq\max_i z_i+\tau\log m imply Tτv∗≥v∗T_\tau v^*\geq v^*. Monotone iteration gives vτ≥v∗v_\tau\geq v^*. Write c=τlog⁡m/(1−γ)c=\tau\log m/(1-\gamma). Since a constant addition of cc to the continuation shifts each output by γc\gamma c, Tτ(v∗+c)≤v∗+τlog⁡m+γc=v∗+cT_\tau(v^*+c)\leq v^*+\tau\log m+\gamma c=v^*+c. Taking the limit of the iterates, we obtain the stated upper bound. In a one-state model with mm self-loop actions and all rewards zero, v∗=0v^*=0 and vτ=τlog⁡m/(1−γ)v_\tau=\tau\log m/(1-\gamma), attaining equality. In the two-action experiment with rewards ±t\pm t, the soft derivative is tanh⁡(t/τ)/(1−γ)\tanh(t/\tau)/(1-\gamma). Its limits on opposite sides of zero have opposite signs, and the hard limit value has no derivative at zero. Uniform convergence of values therefore provides no first-derivative convergence to a smooth limit.

Further reading.

The symmetry calculation is a finite group-action case of exact model abstraction. Ravindran and Barto place such reductions in a broader algebraic theory allowing semi-Markov dynamics. Geist, Scherrer and Pietquin develop regularized Bellman operators for a general class of convex regularizers. For finite actions and Shannon entropy, we computed the orbit multiplicities, derived the stabilizer condition and differentiated the value along each plot. Ravindran and Barto, IJCAI (2003), 1011–1017. Geist, Scherrer and Pietquin, ICML (2019), 2160–2169.

The arithmetic of irrational quotients

A smooth map between irrational tori lifts locally to an affine map between real lines. Multiplication by its slope maps the source period group into the target period group. For a quadratic irrational, the slopes of pointed endomorphisms form an order in a quadratic field. For a nonconstant map, the cardinality of each fiber equals the absolute value of an integral determinant. We also relate the existence of smooth sections over an irrational rotation to the error in rational approximations of its angle.

Our starting point is the Kronecker foliation in Iglesias-Zemmour, Diffeology, arts. 8.38–8.39. The classification of irrational tori is due to Donato and Iglesias. We work through the classification with local derivatives, compute the order for a general quadratic parameter, and use a second presentation of the same quotient to solve a descent equation by Fourier series. Integral changes of basis classify the quotients, while estimates on the Fourier coefficients determine whether the cocycle equation has a smooth solution.

Period groups and the translation groupoid

Fix α∈R∖Q\alpha\in\mathbb R\setminus\mathbb Q and write Dα=Z+αZ⊂R,Tα=R/Dα,qα(x)=[x]α.D_\alpha=\mathbb Z+\alpha\mathbb Z\subset\mathbb R,\qquad T_\alpha=\mathbb R/D_\alpha,\qquad q_\alpha(x)=[x]_\alpha . A plot p:U→Tαp:U\to T_\alpha admits a smooth real lift near each point of UU. In particular, smooth paths through [0]α[0]_\alpha locally have the form t↦[x(t)]αt\mapsto [x(t)]_\alpha for smooth real functions xx. The underlying set has uncountably many elements because each equivalence class is countable. Yet every nonempty open interval meets every class. To see density, divide the unit interval into NN equal pieces and consider the fractional parts of 0,α,…,Nα0,\alpha,\ldots,N\alpha. At least two belong to the same piece. Their difference gives a nonzero element of DαD_\alpha of absolute value at most 1/N1/N. Integer multiples of arbitrarily small positive elements approximate any real number.

The DD-topology has just two open sets. Indeed the preimage of a DD-open set is an open union of cosets in R\mathbb R. If this preimage contains an interval, it intersects every coset and therefore contains them all. A smooth real observable is constant, since its pullback to R\mathbb R is continuous and constant on a dense coset. We distinguish slopes using smooth maps to other quotients and periods of differential forms.

Five consecutive unit-time segments of one orbit at α=(5−1)/2\alpha=(\sqrt{5}-1)/2. Opposite edges of the square are identified. The left endpoint at the next step has vertical coordinate y+α(mod1)y+\alpha\pmod 1 if the current coordinate is yy.

Here is the relation with the two-torus. On R2\mathbb R^2, the function y−αxy-\alpha x is constant along the flow (x,y)↦(x+t,y+αt)(x,y)\mapsto(x+t,y+\alpha t). Changing (x,y)(x,y) by an integer vector changes the function by a member of DαD_\alpha. It induces a smooth map from the space of flow orbits on R2/Z2\mathbb R^2/\mathbb Z^2 to TαT_\alpha. Its smooth inverse sends [u]α[u]_\alpha to the flow orbit of (0,u)(0,u). Shifting uu by an integer leaves that point unchanged on the torus, and shifting by α\alpha amounts to one unit of flow time. Both quotient-smoothness assertions follow by precomposing with the quotient projections.

For the higher-categorical description give DαD_\alpha the discrete diffeology. This agrees with the subset diffeology, since a continuous real map on a connected ball taking values in a countable set is constant. In the groupoid presenting TαT_\alpha, an arrow (x,d)(x,d) goes from xx to x+dx+d. More precisely, R×Dα  → ∼   R×TαR,(x,d)⟼(x,x+d).\mathbb R\times D_\alpha\;\xrightarrow{\ \sim\ }\; \mathbb R\times_{T_\alpha}\mathbb R,\qquad (x,d)\longmapsto(x,x+d). To check the smooth inverse on a plot, subtract its two smooth real coordinates. The difference is locally constant. Iterated fiber products similarly give R×Dαn\mathbb R\times D_\alpha^n in degree nn of the Čech nerve. The action is free. A plot in the quotient has local lifts, and two lifts have a unique transition arrow wherever they project to the same plot. The transition on a composite is the sum of the two transitions, as required by the cocycle condition. Thus the quotient stack for this action is equivalent to the sheaf of plots of TαT_\alpha, a 00-truncated object. For a lifted loop, the difference of its endpoints is a period. For instance t↦[t]αt\mapsto [t]_\alpha, 0≤t≤10\leq t\leq1, lifts to a path whose endpoints differ by the period 11.

Rigid families and integral changes of basis

Local real lifts of a smooth map between irrational tori have the same derivative on their common domain, since the lifts differ by a locally constant period. The resulting derivative on the real line is invariant under translation by both 11 and α\alpha. Density and continuity imply that it is constant.

Theorem 1.1 (Affine rigidity of all smooth maps). For irrational α,β\alpha,\beta, every smooth f:Tα→Tβf:T_\alpha\to T_\beta is uniquely of the form f([x]α)=[sx+b]β,sDα⊂Dβ,[b]β∈Tβ.f([x]_\alpha)=[s x+b]_\beta,\qquad sD_\alpha\subset D_\beta,\quad [b]_\beta\in T_\beta . The scalar ss is an ordinary real number. In particular, the pointed smooth maps are precisely the smooth group homomorphisms, and composition of pointed maps multiplies their slopes.

Proof. Choose local smooth real lifts of fqαf q_\alpha on intervals covering R\mathbb R. The difference of any two lifts is locally constant on their overlap because it belongs to DβD_\beta. Their derivatives thus define a single smooth function hh on R\mathbb R. If d∈Dαd\in D_\alpha, translating the argument by dd gives another lift of the same projected map after restricting to a common interval. Therefore h(x+d)=h(x)h(x+d)=h(x). The density of DαD_\alpha and continuity yield h(x)=sh(x)=s everywhere. Subtracting sxsx from every local lift now gives locally constant functions, whose classes in TβT_\beta agree on overlaps. By connectedness their common class is a single [b]β[b]_\beta. Comparing the values at x=0x=0 and x=dx=d, we obtain sDα⊂DβsD_\alpha\subset D_\beta. Conversely this inclusion makes the formula well defined, and every local plot lift gives a smooth local lift of its image. The derivative of any local lift is ss, and f([0]α)=[b]βf([0]_\alpha)=[b]_\beta. Finally [b]β=0[b]_\beta=0 is exactly the condition for the displayed map to preserve zero, whereupon additivity follows from the formula. ◻

Theorem 1.2 (Classification and finite fibers). The following conditions on two irrational parameters are equivalent.

  1. The diffeological spaces TαT_\alpha and TβT_\beta are diffeomorphic.

  2. There exists s≠0s\ne0 with sDα=DβsD_\alpha=D_\beta.

  3. There are integers a,b,c,da,b,c,d with ad−bc=±1ad-bc=\pm1 and β=(aα+b)/(cα+d)\displaystyle\beta=(a\alpha+b)/(c\alpha+d).

More generally every nonzero admissible slope ss gives a surjection. Its fiber cardinality is the index [Dβ:sDα][D_\beta:sD_\alpha], equal to the absolute determinant of the matrix of multiplication by ss in the two period bases.

Proof. The inverse of an affine diffeomorphism has slope 1/s1/s by Theorem 1.1, so sDα=DβsD_\alpha=D_\beta. Conversely equality gives a pointed inverse by division by ss. If sDα=DβsD_\alpha=D_\beta, then (1/s,β/s)(1/s,\beta/s) is an integral basis of DαD_\alpha. Write its elements as cα+dc\alpha+d and aα+ba\alpha+b. The determinant of a change of integral basis is a unit in Z\mathbb Z. Division gives the fraction in the statement. Conversely the numerator and denominator of that fraction form a basis of DαD_\alpha and s=(cα+d)−1s=(c\alpha+d)^{-1} works. The denominator cannot vanish for irrational α\alpha and a unimodular matrix.

For the pointed map, the image of [y/s]α[y/s]_\alpha is [y]β[y]_\beta. Translation in the target preserves surjectivity and the cardinalities of the fibers. Its preimages differ by elements of s−1Dβ/Dα≃Dβ/sDαs^{-1}D_\beta/D_\alpha\simeq D_\beta/sD_\alpha. The columns expressing ss and sαs\alpha in the target basis are linearly independent over Q\mathbb Q, since s≠0s\ne0 and α\alpha is irrational. The index therefore equals the absolute determinant, by the elementary integer normal form for a full-rank subgroup of Z2\mathbb Z^2. ◻

Example 1.3 (An index-two map). Take α=2\alpha=\sqrt2, β=22\beta=2\sqrt2 and s=2s=2. The source period 11 is sent to 22 while 2\sqrt2 is sent to β\beta. The matrix in the displayed bases is diag⁡(2,1)\operatorname{diag}(2,1). Above zero we find [0]α[0]_\alpha and [1/2]α[1/2]_\alpha. They are distinct because 1/2∉Dα1/2\notin D_\alpha. For comparison, β=1/(1+α)\beta=1/(1+\alpha) produces an isomorphism with slope 1/(1+α)1/(1+\alpha): the two vectors 1+α1+\alpha and 11 already form an integral basis before rescaling. The image period groups in these two cases have indices two and one, respectively.

The map with slope 22 in the index-two example. The axis coordinates are the integer coefficients in the basis (1,22)(1,2\sqrt2). This coefficient lattice is drawn in a plane even though its real period values lie densely on a line.

The multiplier order of a quadratic slope

The pointed smooth endomorphisms form a ring under pointwise addition and composition. In coefficient language it is the multiplier order Eα={s∈R:sDα⊂Dα}.E_\alpha=\{s\in\mathbb R:sD_\alpha\subset D_\alpha\}. The additive group DαD_\alpha need not be closed under multiplication. A scalar ss belongs to EαE_\alpha exactly when ss and sαs\alpha both belong to DαD_\alpha.

Theorem 1.4 (Multiplier order and degree). If 1,α,α21,\alpha,\alpha^2 are linearly independent over Q\mathbb Q, then Eα=ZE_\alpha=\mathbb Z. Otherwise let Aα2+Bα+C=0A\alpha^2+B\alpha+C=0 be the primitive quadratic equation with A>0A>0 and let θ=Aα\theta=A\alpha. Then Eα=Z+Zθ.E_\alpha=\mathbb Z+\mathbb Z\theta . For u=m+nθ≠0u=m+n\theta\ne0 its map on TαT_\alpha has degree, in the sense of fiber cardinality, ∣m2−Bmn+ACn2∣|m^2-Bmn+ACn^2|. The pointed automorphisms are precisely the units with that quantity equal to one.

Proof. Because 11 is a period, ss must have the form m+kαm+k\alpha. Testing sαs\alpha gives kα2+(m−j)α−i=0k\alpha^2+(m-j)\alpha-i=0 for two integers i,ji,j. Under the linear independence hypothesis, k=0k=0. In the quadratic case, substituting the primitive equation gives the two divisibilities A∣kBA\mid kB and A∣kCA\mid kC. Since A,B,CA,B,C generate the unit ideal, an integral linear combination of them equals one, and multiplication by kk gives A∣kA\mid k. Conversely k=nAk=nA satisfies both tests. Hence all the multipliers are the asserted elements. Multiplication by m+nAαm+nA\alpha sends 11 and α\alpha to elements of the original period basis with columns (m,nA)t(m,nA)^t and (−nC,m−nB)t(-nC,m-nB)^t. Its determinant is the claimed integer. By Theorem 1.2, this is a bijection exactly when the absolute value equals one. In that case the inverse real scalar also preserves DαD_\alpha. Thus the invertible multipliers are exactly the units. ◻

Example 1.5 (A Fibonacci automorphism). Let φ=(1+5)/2\varphi=(1+\sqrt5)/2. Since φ2=φ+1\varphi^2=\varphi+1, the image of the basis (1,φ)(1,\varphi) under multiplication by φ\varphi is (φ,1+φ)(\varphi,1+\varphi). Its matrix, determinant and inverse scalar are M=(0111),det⁡M=−1,φ−1=φ−1.M=\begin{pmatrix}0&1\\1&1\end{pmatrix},\qquad \det M=-1,\qquad \varphi^{-1}=\varphi-1 . For k≥1k\ge1, multiplying the period 11 by φk\varphi^k gives Fk−1+FkφF_{k-1}+F_k\varphi, where F0=0F_0=0, F1=1F_1=1. The equality follows by induction using the preceding quadratic relation. The fifth iterate has first period 3+5φ3+5\varphi and second period 5+8φ5+8\varphi. The coordinate determinant is 24−25=−124-25=-1, so the map is bijective. On T23T_{\sqrt[3]{2}}, by contrast, the only pointed automorphisms are multiplication by 11 and by −1-1, since 1,23,431,\sqrt[3]{2},\sqrt[3]{4} are linearly independent over Q\mathbb Q.

Small divisors in the cohomological equation

The transversal in Figure 1.1 gives a second presentation Tα≃S1/ZT_\alpha\simeq S^1/\mathbb Z, with S1=R/ZS^1=\mathbb R/\mathbb Z and generator x↦x+αx\mapsto x+\alpha. Indeed composing R→S1\mathbb R\to S^1 with the orbit quotient identifies the same pairs as qαq_\alpha, and both quotient diffeologies admit precisely the same local real lifts. For a smooth real function FF on the circle, lift the generator to (x,r)⟼(x+α,r+F(x))(x,r)∈S1×R.(x,r)\longmapsto(x+\alpha,r+F(x))\qquad (x,r)\in S^1\times\mathbb R. The arrow indexed by n∈Zn\in\mathbb Z is the nnth iterate of this map. The quotient EFE_F projects to TαT_\alpha and carries fiberwise addition by real numbers. Pullback to the transversal trivializes it. Indeed over a specified xx every class above [x][x] has exactly one representative (x,r)(x,r). This assignment is smooth: locally lift a plot to a pair (y,v)(y,v), and the unique integer taking yy to xx is locally constant, since the circle difference x−yx-y takes values in the countable orbit of zero. A section of EFE_F consequently amounts to a smooth function GG on the transversal satisfying ΔαG(x):=G(x+α)−G(x)=F(x).\Delta_\alpha G(x):=G(x+\alpha)-G(x)=F(x). Thus a coordinate change along the fibers eliminates the displacement precisely when FF is a coboundary. Integrating both sides and using translation invariance of circle measure, we obtain the necessary condition ∫S1F=0\int_{S^1}F=0. We use normalized length on the circle.

Theorem 1.6 (Small divisors for smooth sections). Write ∥t∥\|t\| for the distance from tt to the nearest integer. Suppose there are c>0,τ>0c>0,\tau>0 with ∥kα∥≥c∣k∣−τ\|k\alpha\|\ge c|k|^{-\tau} for every nonzero integer kk. Then every smooth mean-zero FF gives a smooth section of EFE_F, unique up to constant vertical translation. If α\alpha is Liouville, there exists a real smooth mean-zero FF for which the equation ΔαG=F\Delta_\alpha G=F has no continuous solution.

Proof. For a smooth periodic function, we bound its Fourier coefficients by a constant times ∣k∣−r|k|^{-r} for each positive integer rr by integrating by parts rr times. Conversely that decay implies absolute uniform convergence of the series of derivatives of every order. Taking the kkth Fourier coefficient in the equation for a section gives (e2πikα−1)G^(k)=F^(k).(e^{2\pi i k\alpha}-1)\widehat G(k)=\widehat F(k). For k≠0k\ne0 the multiplier has absolute value 2sin⁡(π∥kα∥)≥4∥kα∥2\sin(\pi\|k\alpha\|)\ge4\|k\alpha\|, by the chord bound on [0,π/2][0,\pi/2]. The reciprocal multiplier is bounded by (4c)−1∣k∣τ(4c)^{-1}|k|^\tau. The resulting coefficients are rapidly decreasing. Set G^(0)=0\widehat G(0)=0, and the series gives a smooth real solution because conjugate symmetry is preserved. Any two solutions differ by a continuous rotation-invariant function, hence a constant by density.

For Liouville α\alpha, rational approximations with errors smaller than arbitrarily high inverse powers of the denominator allow us to select strictly increasing qj>2jq_j>2^j for which 0<∣e2πiqjα−1∣<qj−2j0<|e^{2\pi i q_j\alpha}-1|<q_j^{-2j}. Here we have used ∣e2πit−1∣≤2π∥t∥|e^{2\pi i t}-1|\le2\pi\|t\| and increased the approximation exponent to absorb the constant. Set F(x)=∑j≥1qj−jcos⁡(2πqjx).F(x)=\sum_{j\ge1}q_j^{-j}\cos(2\pi q_j x). The derivatives of order rr are bounded termwise by (2π)rqjr−j(2\pi)^r q_j^{r-j}, summable for every fixed rr. The function is real, smooth and mean-zero. A continuous solution would have ∣G^(qj)∣>qjj/2|\widehat G(q_j)|>q_j^j/2 by the coefficient equation. Fourier coefficients of a continuous function are bounded by its L1L^1 norm, giving a contradiction. ◻

The chord length is ∣e2πikα−1∣|e^{2\pi i k\alpha}-1|. For kαk\alpha close to an integer, division by this small length amplifies the kkth Fourier coefficient when solving for GG. The angle is schematic.

For a numerical example choose F(x)=cos⁡(2πkx)F(x)=\cos(2\pi k x) at one nonzero frequency. Writing G(x)=Re⁡(e2πikx/(e2πikα−1))G(x)=\operatorname{Re}(e^{2\pi i kx}/(e^{2\pi i k\alpha}-1)) solves the equation directly. With k=13k=13 and α=(5−1)/2\alpha=(\sqrt5-1)/2, the product kαk\alpha is about 8.034448.03444 and the chord in Figure 1.3 has length about 0.2160.216. The resulting GG has amplitude about 4.634.63. An unusually good rational approximation at a single frequency increases the amplitude by a finite factor. In the counterexample in Theorem 1.6, the reciprocal multipliers grow faster than every fixed power along a sequence of frequencies.

Under the stated Diophantine bound, a smooth change of fiber origin removes any smooth shear FF after subtraction of its average. For every Liouville angle there is a smooth mean-zero shear for which no such change of origin exists. The translation groupoid and its composition law have the same definitions for both kinds of angle. The estimates on rational approximations apply to the existence of a solution to the cocycle equation.

Exercises with solutions

Exercise 1.1 (Compute a change of coordinates). Let β=(2α+1)/(α+1)\beta=(2\alpha+1)/(\alpha+1). Produce the slope of a pointed diffeomorphism Tα→TβT_\alpha\to T_\beta and write the images of both source periods in the target basis.

Solution.  The coefficient matrix of the fraction has determinant 2⋅1−1⋅1=12\cdot1-1\cdot1=1. Choose s=(α+1)−1s=(\alpha+1)^{-1}. Since β=2−s\beta=2-s, one has s=2−βs=2-\beta and sα=1−s=β−1s\alpha=1-s=\beta-1. The two columns (2,−1)t(2,-1)^t and (−1,1)t(-1,1)^t have determinant 11. Applying the inverse integral matrix to these relations expresses both target periods as integer combinations of ss and sαs\alpha, directly checking surjectivity on periods.

Exercise 1.2 (Distinguish two finite covers). Find the kernels of multiplication by 22 and by 2+22+\sqrt2 on T2T_{\sqrt2}. Explain why their different sizes are compatible with the second multiplier having larger real absolute value.

Solution.  The first kernel is (12D2)/D2(\tfrac12D_{\sqrt2})/D_{\sqrt2} with representatives 0,1/2,2/2,(1+2)/20,1/2,\sqrt2/2,(1+\sqrt2)/2. The second multiplier has norm (2+2)(2−2)=2(2+\sqrt2)(2-\sqrt2)=2. Its kernel has order two and contains the nonzero class [2/2][\sqrt2/2], whose product is [2+1]=0[\sqrt2+1]=0. Fiber cardinality equals the factor by which multiplication scales the area of a fundamental lattice cell. The two embeddings of the quadratic field give the factors 2+22+\sqrt2 and 2−22-\sqrt2 of that area change.

Exercise 1.3 (Recover differentials from local lifts). Compute all diffeological 11-forms on TαT_\alpha and their periods on the loops corresponding to 11 and α\alpha. Which homomorphisms Dα→RD_\alpha\to\mathbb R can be obtained this way?

Solution.  Pull back a form along qαq_\alpha and write it h(x) dxh(x)\,dx. Every translation by a period preserves the pullback, so h(x)=ah(x)=a is constant by continuity and density. Conversely on a plot lifted by uu assign a dua\,du. On overlaps two lifts differ by a locally constant period so these forms agree, and compatibility with pullback along probes follows from the chain rule. Since plots locally lift, this also establishes uniqueness. Integrating along projected line segments from 00 to 11 and from 00 to α\alpha gives (a,aα)(a,a\alpha). Reparametrize with stationary ends if smooth concatenations are desired. A homomorphism with arbitrary values (r,t)(r,t) on the basis occurs exactly when t=αrt=\alpha r. Every resulting nonzero form is closed and non-exact, since smooth real functions on this quotient are constant.

Exercise 1.4 (Prove a complete unit classification). Show that the full pointed automorphism group of TφT_\varphi consists of the multipliers {±φk:k∈Z}\{\pm\varphi^k:k\in\mathbb Z\}. As a consequence identify the full, unpointed diffeomorphism group as an abstract group.

Solution.  By Theorem 1.4, the pointed automorphisms are the multiplications by units in Z[φ]\mathbb Z[\varphi]. Change sign to make a unit positive and multiply by an integral power of φ\varphi to put its real value uu in [1,φ)[1,\varphi). Its conjugate u′u' satisfies u′=1/uu'=1/u or u′=−1/uu'=-1/u. If the norm is positive, the integral trace u+1/uu+1/u belongs to [2,φ+1/φ)=[2,5)[2,\varphi+1/\varphi)=[2,\sqrt5), hence equals 22. The equation (u−1)2=0(u-1)^2=0 gives u=1u=1. If the norm is negative, the integral trace u−1/uu-1/u belongs to [0,φ−1/φ)=[0,1)[0,\varphi-1/\varphi)=[0,1), hence vanishes and again u=1u=1. This last value has norm positive, so no negative-norm unit lies in the specified interval. Undoing the sign and power adjustments, we obtain exactly the units ±φk\pm\varphi^k, since both φ\varphi and −1-1 are units. By Theorem 1.1, every diffeomorphism is uniquely a translation composed with a multiplier. Composition sends ([b],u),([c],v)([b],u),([c],v) to ([b+uc],uv)([b+uc],uv), giving the semidirect product Tφ⋊{±φk:k∈Z}T_\varphi\rtimes\{\pm\varphi^k:k\in\mathbb Z\} on underlying groups.

Period pairs of plotwise one-forms

Apply Theorem Theorem 1.1 to R→Tα\mathbb R\to T_\alpha. In degree kk its nerve is R×Dαk\mathbb R\times D_\alpha^k: successive differences determine the lifts, and the subgroup DαD_\alpha has discrete diffeology. Test the realization against BRdiscB\mathbb R_{\mathrm{disc}}, the classifying stack of the additive reals with the discrete smooth structure. A torsor on the contractible atlas R\mathbb R is trivial because it is a covering with discrete group, and every plotwise change of trivialization on a connected copy of R\mathbb R is constant. Thus a descent object is determined, up to choice of frame, by one real constant cdc_d for every d∈Dαd\in D_\alpha. The cocycle equation is cd+e=cd+cec_{d+e}=c_d+c_e. A change of the frame is constant and conjugates trivially because the group is abelian. Consequently the set of isomorphism classes of these torsors is Hom⁡(Dα,R)≅R2\operatorname{Hom}(D_\alpha,\mathbb R)\cong\mathbb R^2. By Exercise 1.3, the image of integration of plotwise closed forms is the line {(a,αa):a∈R}\{(a,\alpha a):a\in\mathbb R\}. For example, the smooth torsor class with period pair (0,1)(0,1) lies outside that image. This gives an explicit quotient with a one-dimensional degree-one comparison cokernel, in agreement with the higher-stack calculation in reference [6].

For the golden ratio φ\varphi, every pair of period translations occurs for some discrete real torsor. The period pairs of plotwise forms lie on the sloping line. At the marked point, the translations corresponding to the first and second generators are zero and one, respectively.
Sources and further reading.

The original classification and computation of diffeomorphisms appeared in P. Donato and P. Iglesias, Exemples de groupes difféologiques: flots irrationnels sur le tore (1985). The number-field interpretation in higher rank is developed by P. Iglesias and G. Lachaud in Espaces différentiables singuliers et corps de nombres algébriques (1990). The interaction of the rotation difference operator with the group of flows is studied in P. Iglesias-Zemmour, Diffeology and Arithmetic of Irrational Tori. Here we prove the section criterion for the explicitly presented family EFE_F.

Sharing a secret over a smooth base

A dealer gives one field element to each of five custodians. Any three custodians must be able to reconstruct the secret. For any two, the joint distribution of their shares must be the same for all possible secrets. When the shares are expressed in local coordinates, transport around a loop can change the encoding of a fixed secret. We compute the resulting translation of each coalition’s shares and determine when the decoder is independent of the local encoding coordinates.

Each coalition has a fixed set of coordinate indices. Each chart has an open domain in the parameter space. With enough shares, a coalition can reconstruct the secret by polynomial interpolation. On intersecting charts, the local encodings must satisfy a descent condition. The cryptographic construction is Shamir’s threshold scheme. The geometric application is a model of families whose encoding coordinates can change by adding a mask polynomial.

Observation as a quotient of a finite group

Write finite abelian groups additively. Let SS be a group of secrets, KK a group of masks, and VV a group of observations. Choose homomorphisms A:S→VA:S\to V and B:K→VB:K\to V. For a secret ss and mask kk, the observation is As+BkAs+Bk. A uniform mask is chosen independently of the secret. Translations by KK partition VV into cosets of the subgroup B(K)B(K). For the quotient map π:V→V/B(K)\pi:V\to V/B(K) and any sample v=As+Bkv=As+Bk, the deterministic statistic π(v)\pi(v) equals π(As)\pi(As).

Theorem 1.1 (Exact observation quotient). For each secret ss, the observation law is uniform on the coset As+B(K)As+B(K). Two secrets induce identical laws if and only if they have the same image under L=πAL=\pi A. Distinct values of LL give disjoint supports. A deterministic function g:S→Dg:S\to D is recoverable with certainty from one observation for every ss precisely when it factors through L:S→L(S)L:S\to L(S). For any prior on SS, with Shannon entropy in bits, the mutual information satisfies I(S;Vobs)=H(L(S)).I(S;V_{\rm obs})=H(L(S)). Here the occurrences of SS inside entropy expressions refer to the random secret, and VobsV_{\rm obs} denotes the random observation.

Proof. For v∈As+B(K)v\in As+B(K) the set of compatible masks is k0+ker⁡Bk_0+\ker B for any one solution k0k_0. Dividing their cardinality by ∣K∣|K| gives probability 1/∣B(K)∣1/|B(K)|. For all other vv the probability is zero. Two cosets of a subgroup are equal or disjoint. If gg has a decoder, then applying the decoder to any observation in a shared coset gives the same value of gg for every secret in its fiber. Thus gg factors as stated. Conversely, if g=gˉ∘Lg=\bar g\circ L, then g(s)=gˉ(π(v))g(s)=\bar g(\pi(v)) for every compatible observation vv. Finally L(S)L(S) is determined both by the secret and by the observation. Conditional on L(S)L(S) the law of VobsV_{\rm obs} is the same for each secret in that fiber, so their conditional mutual information is zero. The mutual-information identity follows by the chain rule. ◻

In particular, perfect privacy for every prior is equivalent to A(S)⊆B(K)A(S)\subseteq B(K). We can test this subgroup inclusion without enumerating any probability distributions. For partial disclosure, the same quotient yields an entropy formula. If S,K,VS,K,V are vector spaces over Fq\mathbf F_q, the maps A,BA,B are Fq\mathbf F_q-linear, and the secret is uniform, the information is rank⁡(L)log⁡2q\operatorname{rank}(L)\log_2 q bits. Both conclusions refer to the specified observation channel. The sampling hypothesis matters even when the algebraic supports remain unchanged.

Polynomial encoding and the threshold

Take a finite field F=FqF=\mathbf F_q, integers 2≤t≤n≤q−12\le t\le n\le q-1, and distinct nonzero public nodes a1,…,ana_1,\ldots,a_n. Write PP for the additive group of polynomials of degree less than tt, including zero, and K={h∈P:h(0)=0}K=\{h\in P:h(0)=0\}. A sharing of ss is a uniform element of the affine space Ps=s+KP_s=s+K. Custodian ii receives f(ai)f(a_i). For a coalition JJ of size mm let EJ(f)=(f(ai))i∈JE_J(f)=(f(a_i))_{i\in J}, and put BJ=EJ∣KB_J=E_J|_K. Translation is free and transitive on PsP_s. In geometric language PsP_s is a KK-torsor. In these coordinates, the constant polynomial ss is a distinguished element of PsP_s.

Theorem 1.2 (Privacy, multiplicities, and reconstruction). If m<tm<t, every observation y∈FJy\in F^J occurs for each secret with probability q−mq^{-m}. Exactly qt−1−mq^{t-1-m} encodings of a fixed secret give that yy. If m≥tm\ge t, then for each valid observation yy there is exactly one f∈Pf\in P with EJ(f)=yE_J(f)=y. For any tt-element subset D⊆JD\subseteq J, the value at zero of that polynomial is s=∑i∈Df(ai)∏j∈D, j≠i−ajai−aj.s=\sum_{i\in D} f(a_i) \prod_{j\in D,\,j\ne i}\frac{-a_j}{a_i-a_j}.

Proof. For m<tm<t, prescribe value zero at 00 and arbitrary values at the mm nodes. Interpolation at these m+1m+1 distinct points produces a polynomial of degree at most m<tm<t. Hence BJ:K→FJB_J:K\to F^J is surjective. Its kernel has dimension t−1−mt-1-m by rank–nullity. Applying Theorem 1.1 with A(s)=(s)i∈JA(s)=(s)_{i\in J} gives the counts and probabilities. For m≥tm\ge t, two polynomials agreeing at tt nodes have a difference of degree less than tt with tt roots, so they coincide. Interpolate at the nodes indexed by DD and evaluate the resulting Lagrange basis at 00 to obtain the displayed weights. ◻

There is a sharp change at m=t−1m=t-1. Once a particular secret has been specified, t−1t-1 observations determine one encoding of it. Yet exactly one encoding is possible for each field element proposed as the secret. With a uniform mask, the likelihood of the observations is the same for every possible secret. As we prove below, t−1t-1 evaluations determine a change of mask along a loop, whereas a single vector of t−1t-1 shares is independent of the secret.

Example 1.3 (An explicit three-of-five sharing). Work over F7\mathbf F_7 with nodes 1,2,3,4,51,2,3,4,5. Let t=3t=3 and f=4+2X+3X2f=4+2X+3X^2. The shares in node order are (2,6,2,4,5)(2,6,2,4,5). At nodes 1,2,31,2,3 the reconstruction weights are (3,−3,1)(3,-3,1), so the weighted sum is 6−18+2=−10≡4(mod7)6-18+2=-10\equiv 4\pmod 7. Suppose the data consist of the first two values (2,6)(2,6). The complete list of compatible polynomials is fλ(X)=f(X)+λ(X−1)(X−2),λ∈F7.f_\lambda(X)=f(X)+\lambda(X-1)(X-2), \qquad \lambda\in\mathbf F_7 . The set of constant coefficients 4+2λ4+2\lambda is the whole field. For example f5=X+X2f_5=X+X^2 yields secret 00 and the same observed pair. At fixed ss, precisely one of the 4949 equally likely masks is compatible with (2,6)(2,6). The likelihood of this observation is therefore 1/491/49 for both s=4s=4 and s=0s=0, and likewise for every other possible secret.

Finite-field evaluations in Example 1.3. Discs denote values of f0f_0, squares those of f5f_5, and crosses those of f1f_1. All three markers coincide at nodes 11 and 22. At zero the three values are distinct. Axis coordinates are the integer representatives of field elements.

Descent of encodings in local coordinates

Put the discrete diffeology on FF, PP, and KK. For an open Euclidean test domain UU, a smooth UU-family of elements in any of these sets is a locally constant function. Use ordinary open covers of a smooth manifold MM for the next construction. The same formulas hold after pullback to any smooth test domain. A locally specified encoding for fixed ss has charts Ui×PsU_i\times P_s. On overlaps the permitted change from coordinates ii to jj sends ff to f+hijf+h_{ij}, where hij:Ui∩Uj→Kh_{ij}:U_i\cap U_j\to K is locally constant. Compatibility requires hii=0,hik=hij+hjkon Ui∩Uj∩Uk.h_{ii}=0,\qquad h_{ik}=h_{ij}+h_{jk} \quad \text{on }U_i\cap U_j\cap U_k. A change of chart coordinates fi↦fi+bif_i\mapsto f_i+b_i, with bib_i locally constant in KK, gives hij′=hij+bj−bih'_{ij}=h_{ij}+b_j-b_i. The hijh_{ij} are the public changes of local frames. A random draw of ff is a separate operation, conditional on its secret.

Theorem 1.4 (Descent of encodings, uniform laws, and decoders). The quotient of the charts by the specified transition functions is a smooth KK-torsor over MM. On the stated cover the groupoid of such presentations has as arrows exactly the changes {bi}\{b_i\} satisfying hij′=hij+bj−bih'_{ij}=h_{ij}+b_j-b_i. A global encoding section exists exactly when the transition cocycle is a coboundary. Irrespective of this condition the uniform probability law on each encoding fiber descends, as do the induced share laws and the secret reconstructed by any authorized coalition.

Proof. Form the quotient of the disjoint union of charts by (u,f)i∼(u,f+hij(u))j(u,f)_i\sim(u,f+h_{ij}(u))_j, with the quotient diffeology. The relation is transitive by hik=hij+hjkh_{ik}=h_{ij}+h_{jk} and symmetric by hji=−hijh_{ji}=-h_{ij}. In each chart the quotient has a smooth trivialization. On every overlapping chart the inverse coordinate function is translation by a locally constant mask. Fiberwise addition by KK commutes with translations and remains free and transitive. An equivariant map between the two trivial fibers is determined by the image of the element ss, so in chart ii it is translation by some bib_i. Commuting with the overlap identifications gives precisely the formula for hij′h'_{ij}. A section amounts to polynomials s+kis+k_i with kj−ki=hijk_j-k_i=h_{ij}, which gives the coboundary criterion.

A translation of a finite set permutes the atoms of its uniform law. Consequently equal local uniform laws correspond on overlaps, providing a well-defined probability measure in each fiber. For coalition JJ, form its observation bundle by gluing Ui×FJU_i\times F^J with translations y↦y+BJhijy\mapsto y+B_J h_{ij}. The evaluation maps commute with these translations, so their pushforward laws also glue. For ∣J∣≥t|J|\ge t the weighted reconstruction map satisfies rD(EJh)=h(0)=0r_D(E_J h)=h(0)=0 for every h∈Kh\in K. Thus rDr_D is invariant under all the observation transitions and has value ss on the valid observations. For a locally constant secret s(u)s(u), the reconstructed value at each uu equals s(u)s(u). ◻

The groupoid in this proof is the finite abelian example of the classifying stack BK‾B\underline K, where K‾\underline K denotes the sheaf of locally constant KK-valued functions. Allowing refinements of the cover gives all locally trivial torsors. The isomorphism classes are H1(M,K‾)H^1(M,\underline K). Even a trivial torsor has a group of automorphisms, namely the locally constant KK-valued functions on MM. Those automorphisms are morphisms in the groupoid. The corresponding set of isomorphism classes has one element per class. Conversely, if a specific encoding is supplied as a global section, an equivariant automorphism fixing it fixes its entire fiber at every point. An ordinary single-chart dealer has indeed made the encoding coordinates global. Local frames with a non-coboundary transition cocycle define a nontrivial class.

The coalition threshold for mask monodromy

Take M=R/ZM=\mathbb R/\mathbb Z. A loop with translation monodromy h∈Kh\in K is modeled by [0,1]×Ps[0,1]\times P_s with its ends identified by (1,f)∼(0,f+h)(1,f)\sim(0,f+h), using the usual smooth mapping-torus structure. For a constant lift on the interval, the endpoint represents (0,f+h)(0,f+h) in the quotient. The corresponding return in the coalition observation space is translation by BJhB_J h. To determine whether the translation uniquely specifies hh, fix the node labels and additive frames, and take the full return translation in those coordinates as the data.

Theorem 1.5 (Detection threshold for mask monodromy). For a coalition JJ of size mm, the induced translation is the identity exactly when h∈ker⁡BJh\in\ker B_J. The dimension of this kernel is max⁡(t−1−m,0)\max(t-1-m,0). Consequently t−1t-1 nodes suffice to identify every mask monodromy from its observation translation. At that size one single-epoch observation with fresh uniform masks is perfectly private for every prior on the secret.

Proof. Translation by a vector on FJF^J acts trivially precisely when that vector is zero. When m<t−1m<t-1, masks vanishing at every observed node and at zero have the form X∏i∈J(X−ai) g(X),deg⁡g<t−1−m,X\prod_{i\in J}(X-a_i)\,g(X),\qquad \deg g<t-1-m, with g=0g=0 allowed. This gives the claimed kernel dimension. When m≥t−1m\ge t-1, a mask of degree less than tt with roots at zero and all mm nodes is the zero polynomial. For m=t−1m=t-1 the map from mask coefficients to the translation is therefore an isomorphism. The last assertion is Theorem 1.2 applied at a single base point. For monodromy identification the data consist of a translation. For single-epoch privacy the data consist of a sample from a uniform affine fiber. ◻

For the parameters of Example 1.3, set h=X(X−1)h=X(X-1). At node 11 the translation is h(1)=0h(1)=0. At nodes 11 and 22 the joint translation is (0,2)(0,2). Together with h(0)=0h(0)=0, these values uniquely determine hh. A global section of the encoding torsor would be represented by a locally constant function on the connected interval that agrees with its own translate at the ends. A nonzero translation has no fixed point. Thus the uniform law and reconstructed secret are globally defined, and the encoding torsor has no global section.

One seven-element orbit of the return map for h=X(X−1)h=X(X-1) over F7\mathbf F_7. The vertex jj denotes the polynomial f+jhf+jh. Evaluation at node 11 sends the entire orbit to the fixed value 22. After one circuit the value at node 22 increases by 22 modulo seven.

On a chart overlap, the two coordinate descriptions correspond to the same local sample. Distinct coalitions generally have different sets of evaluation nodes. A one-epoch marginal law does not determine the joint distribution over several epochs. For instance, reusing one polynomial mask for two scalar secrets makes subtraction of their shares equal to subtraction of the secrets at every custodian. For single-epoch privacy we assumed one secret and an independent uniform mask. For several encodings we can sample a separate independent mask for each. The final exercise concerns joint privacy under this assumption.

Exercises with solutions

Exercise 1.1 (Compute a different reconstruction). In Example 1.3, use nodes 1,3,51,3,5 instead of 1,2,31,2,3. Determine the weights at zero and verify the result from the three shares.

Solution.  In F7\mathbf F_7 the three Lagrange coefficients are 15/8=115/8=1, 5/(−4)=45/(-4)=4, and 3/8=33/8=3, respectively. Their sum is 8≡18\equiv 1 as required for constant polynomials. The shares are (2,2,5)(2,2,5), so the weighted sum equals 2+8+15=25≡42+8+15=25\equiv4.

Exercise 1.2 (Determine partial leakage). Let S=F52S=\mathbf F_5^2, K=F5K=\mathbf F_5, and let the observation be (s1+k,s2+k)(s_1+k,s_2+k). Determine a complete deterministic leakage function. For uniform secrets compute its entropy. For arbitrary priors determine the posterior on a compatible fiber.

Solution.  Adding the mask vector (k,k)(k,k) is a diagonal translation. The difference d=s1−s2d=s_1-s_2 is constant on each diagonal coset and distinct on different cosets. For a uniform secret, dd is uniform and the mutual information is log⁡25\log_2 5 bits. At observation yy with positive probability, the likelihood for a candidate secret is 1/51/5 when s1−s2=y1−y2s_1-s_2=y_1-y_2 and zero otherwise. By Bayes’ rule the posterior equals the normalized restriction of the prior to this affine line. Any nonuniformity of the prior within that line persists unchanged in relative odds.

Exercise 1.3 (Classify the fibers over a loop). For q=7,t=3q=7,t=3, consider the full 4949-element fiber and the return translation by h=X(X−1)h=X(X-1). Determine the number of components of the total encoding cover, their degrees, and the observed return permutation for custodian 33.

Solution.  A nonzero vector in F72\mathbf F_7^2 has additive order seven. Its translation therefore has 49/7=749/7=7 orbits, each of length seven. For each orbit, seven intervals are glued cyclically into one connected seven-fold circle cover. At node 33 the return is addition by 3(3−1)=63(3-1)=6 modulo seven, a single seven-cycle on the observed fiber. Every one of the seven components projects onto this observed circle cover, compatibly with continuation around the base.

Exercise 1.4 (Prove that local detection globalizes). Let MM be any smooth manifold and let ∣J∣≥t−1|J|\ge t-1. Prove that two encoding KK-torsors whose induced FJF^J-observation torsors are isomorphic have the same isomorphism class. The isomorphism of observation torsors must commute with the action of each translation.

Solution.  Choose a common refinement trivializing the two encoding torsors. Let h,h′h,h' be the transition cocycles on it. An equivariant isomorphism of observation torsors is locally translation by bi:Ui→FJb_i:U_i\to F^J, giving BJ(hij′−hij)=bj−biB_J(h'_{ij}-h_{ij})=b_j-b_i. By Theorem 1.5, BJB_J is an injection of finite-dimensional vector spaces. Extend a basis of its image to a basis of FJF^J to obtain a linear left inverse C:FJ→KC:F^J\to K. Applying CC yields hij′−hij=Cbj−Cbih'_{ij}-h_{ij}=Cb_j-Cb_i. Each CbiCb_i is locally constant; the resulting translations glue to the required isomorphism. Thus the concrete observation map induces an injection on H1H^1 for every such base.

Exercise 1.5 (Prove a composition criterion for repeated observations). Let secrets s=(s1,…,sd)s=(s_1,\ldots,s_d) and observations v=As+Bkv=As+Bk be as in Theorem 1.1 for an entire batch, using a uniform mask in the declared group. Prove that independent masks for dd separately private encoders preserve joint privacy for every joint secret prior. If instead a common uniform scalar mask is used for vi=si+kv_i=s_i+k in a finite abelian group GG, determine the exact joint leakage.

Solution.  With independent masks the mask group is the product, with uniform product law, and BB is the direct product of the individual observation maps on masks. Separate privacy gives Ai(Si)⊆Bi(Ki)A_i(S_i)\subseteq B_i(K_i) for every coordinate. Thus the product secret image lies inside the product mask image. The batch quotient is constant on secrets, so the observations are independent of the entire secret vector for any prior, including correlated priors. In the common-mask case B(G)B(G) is the diagonal of GdG^d. The homomorphism v↦(v2−v1,…,vd−v1)v\mapsto(v_2-v_1,\ldots,v_d-v_1) is surjective with exactly that diagonal kernel. The observed differences therefore form a complete deterministic invariant. The mutual information equals their joint entropy for the chosen prior. For independent uniform secrets the quantity is (d−1)log⁡2∣G∣(d-1)\log_2|G| bits.

Sources and scope.

Iglesias-Zemmour defines the discrete diffeology and treats principal bundles in Diffeology, articles 1.20 and 8.11–8.14. The finite threshold scheme is due to Adi Shamir, How to Share a Secret (1979). The torsor interpretation of H1H^1 is recorded in the Stacks Project, Tag 03AG. For principal bundles in an ∞\infty-topos see Nikolaus, Schreiber and Stevenson, Principal ∞\infty-bundles: general theory. The comparison of the two thresholds is a deduction for the specified translation model. Its probability space consists of the dealer’s masks. Errors in reported shares, participant authentication, and physical observations require their own models.

Calibrating a network of local frames

In a telescope array, stellar directions are measured in the coordinates of individual instruments. Two corresponding noncollinear directions in each of two frames determine the relative rotation. Some pairs of instruments have no common stellar observations. When two teams reduce their observations in different frames, they must compare the frames of their shared instruments. If the product of relative rotations around a loop differs from the identity, no exact calibration exists. We derive a lower bound on the largest calibration error from this discrepancy.

On a triangle of instruments, local consistency means equality of the direct and the two-step changes of frame. For an absolute calibration, assign a frame to each vertex. To compare two such assignments, specify their relative changes of frame. We organize the labelings and changes of frame into a groupoid. Measurement families may depend smoothly on temperature, time, or fitting parameters. Reparametrization is then given by pullback.

Measurements and reference frames

Let KK be a finite connected simplicial complex of dimension at most two, with nonempty vertex set VV. Vertices correspond to instruments, edges to relative measurements, and filled triangles to the stipulated composition relations. Three measured edges can form a triangle whose interior is absent. Take a diffeological group GG. Examples include the additive circle of angles, the matrix group SO(3)\mathrm{SO}(3), and a discrete permutation group for local channel labels. Give finite products of GG their product diffeology and equation loci their subset diffeology.

Use the following convention throughout. An oriented edge from ii to jj has label ajia_{ji}, the change taking coordinates at ii to coordinates at jj. For the reversed edge set aij=aji−1a_{ij}=a_{ji}^{-1}. The product along i→j→ki\to j\to k is akjajia_{kj}a_{ji}. A flat labeling on KK satisfies aki=akjajia_{ki}=a_{kj}a_{ji} on each filled triangle. Write A(K,G)A(K,G) for its space. Reversing the orientation of a triangle or changing its initial vertex yields the same condition. A simultaneous change of local coordinates h=(hi)i∈Vh=(h_i)_{i\in V} takes a labeling to (h⋅a)ji=hjajihi−1.(h\cdot a)_{ji}=h_j a_{ji}h_i^{-1}. This is a smooth action on A(K,G)A(K,G). Its action groupoid has labelings as objects and specified changes of frame as arrows. The edge product for a walk followed by its reverse is the identity. Replacing two sides of a filled triangle by the third leaves this product unchanged. Thus a labeling gives a functor from the edge-path groupoid of KK to the one-object groupoid of GG. The arrows of the action groupoid are precisely natural isomorphisms between such functors.

In Art. 8.7 of Diffeology, each arrow of the structure groupoid is a diffeomorphism between fibers of a smooth surjection. The arrow space itself has a diffeology. Here all instrument fibers have chosen local coordinates. We can compose the identifications explicitly. If the measurements are given by plots aji:U→Ga_{ji}:U\to G, all identities hold as identities on the test domain UU. For a smooth map f:U′→Uf:U'\to U, the new measurements are the composites aji∘fa_{ji}\circ f.

Measured differences in bearing are labeled along the oriented edges. The solid edges form a spanning tree. On the shaded triangle ABCABC, 12+23=3512+23=35 degrees. On the unshaded circuit ACDAACDA, the sum is 35−10−32=−735-10-32=-7 degrees.

Classification by holonomy

Choose a root rr and a spanning tree TT of the edge graph. For each vertex ii let tit_i be the transport along the unique simple tree path from rr to ii, with tr=1t_r=1. Give each edge outside TT one orientation. Its fundamental holonomy is Lji=tj−1ajiti.L_{ji}=t_j^{-1}a_{ji}t_i . The factors correspond, from right to left, to the tree path from the root to ii, the edge from ii to jj, and the tree path back to the root. The same expression equals 11 on tree edges. Changing coordinates by hh sends tit_i to hitihr−1h_i t_i h_r^{-1}, so every LjiL_{ji} changes by the same conjugation hrLjihr−1h_r L_{ji} h_r^{-1}. In particular, a numerical matrix for one loop depends on the root frame. The condition Lji=1L_{ji}=1 and the eigenvalues of a rotation matrix are invariant under conjugation.

Theorem 1.1 (Tree reduction in smooth families). Choose K,r,TK,r,T as above. The action groupoid of flat edge labelings under GVG^V is equivalent to the action groupoid Hom⁡(π1(∣K∣,r),G)//G,\operatorname{Hom}(\pi_1(|K|,r),G)\mathbin{/\mkern-6mu/}G , where GG acts by conjugation. Give the representation space the subset diffeology in the product of copies of GG indexed by the oriented edges outside TT, using the triangle relations. The equivalence and its natural isomorphisms are smooth. It therefore induces an equivalence on the associated smooth quotient stacks.

Proof. Apply the vertex change hi=ti−1h_i=t_i^{-1} to each labeling. The result is 11 on every tree edge and is LjiL_{ji} on the others. A loop word can be rewritten by inserting the tree path to its current vertex and its reverse at each juncture. This expresses it as a product of the fundamental loops and their inverses. In the edge-path presentation of the fundamental group, walks represent the same class up to cancellation of successive reversals and replacement of two sides of a filled triangle by the third. After collapsing the tree this gives one generator per remaining edge and one relator per face. Consequently each representation specifies a unique normalized labeling, and each normalized labeling specifies a representation by evaluation of loop words.

A gauge arrow between normalized labelings has hj=hih_j=h_i along every tree edge. Since the tree is connected, hi=gh_i=g at every vertex for a single gg. On the remaining labels the gauge change is simultaneous conjugation by gg. Thus the inclusion of normalized labelings is fully faithful. Every labeling is isomorphic to a normalized one by the gauges ti−1t_i^{-1}. These isomorphisms are natural. Indeed, for an arrow h:a→bh:a\to b, the normalizing gauges satisfy ti(b)−1hi=hrti(a)−1t_i(b)^{-1}h_i=h_rt_i(a)^{-1}. All formulas are finite products, projections, and inverses. They commute with pullback along any parameter plot. Applying descent to a smooth equivalence and its inverse preserves the equivalence. ◻

For connected KK, the automorphisms of a labeling are therefore isomorphic to the centralizer of its holonomy image. At a trivial labeling this group is all of GG. The set of equivalence classes contains a single point for this configuration and has no automorphism group attached to that point. For gluing, the teams must also specify comparison isomorphisms on overlaps. For a noncommutative group, separate conjugacy classes for the edges outside the tree need not specify the simultaneous conjugacy class of all loop measurements.

Theorem 1.2 (Exact calibration and identifiability). Suppose a connected graph has GG-valued edge measurements with the reversal rule. A collection of frames xi∈Gx_i\in G realizing aji=xjxi−1a_{ji}=x_jx_i^{-1} exists exactly when every fundamental holonomy for a chosen spanning tree is 11. In that event all solutions are xi=tibx_i=t_i b with b∈Gb\in G. Evaluation at the root is a diffeomorphism from the solution space to GG. For a smooth family of realizable measurements the normalized solution xr=1x_r=1 varies smoothly.

Proof. In a realization, transport from ii to jj along a walk telescopes to xjxi−1x_jx_i^{-1}. This gives ti=xixr−1t_i=x_ix_r^{-1} and identity holonomies. Conversely, triviality of a fundamental holonomy gives aji=tjti−1a_{ji}=t_jt_i^{-1}. This also holds on each tree edge by the tree construction. Replacing each tit_i by tibt_i b preserves these equations. Conversely, for each solution b=xrb=x_r and xi=tixrx_i=t_i x_r, so bb is unique. Evaluation, multiplication, and the finite tree products are smooth, including when the inputs are plots. ◻

On nn vertices and mm undirected edges, a connected graph has m−n+1m-n+1 edges outside a spanning tree. After computing the n−1n-1 tree transports, check the m−n+1m-n+1 fundamental graph cycles. Additional face relations may reduce the number of checks. A disconnected network requires one root frame for each component. A single world coordinate frame shared across disconnected components is additional measurement information.

Cycle constraints on a partially triangulated network

In Figure 1.1 use G=R/360ZG=\mathbb R/360\mathbb Z, with degrees as the additive unit. The root AA and tree AB,BC,CDAB,BC,CD give (tA,tB,tC,tD)=(0,12,35,25)∘.(t_A,t_B,t_C,t_D)=(0,12,35,25)^\circ . The chord A→CA\to C has zero residual, since 35−35=035-35=0. The chord A→DA\to D has residual 32−25=732-25=7 degrees. Around the opposite orientation A→C→D→AA\to C\to D\to A the loop offset is 35−10−32=−735-10-32=-7 degrees. The ABCABC face relation holds exactly. After collapsing the tree there are two loop generators. The face relation sets the A→CA\to C generator equal to the identity. The remaining fundamental group is infinite cyclic, with observed holonomy 77 degrees for one choice of generator. The labeling is flat on the specified complex. No absolute calibration realizes all five measurements because the ACDAACDA loop sum is nonzero. On a complex containing the additional face ACDACD, the labeling would violate its triangle equation.

For rigid calibration, every fundamental loop product must equal the identity. For transport through a general configuration space, a nonidentity loop product may be the quantity of interest. Specifying a filled triangle adds a modeling assumption about the product of its three measured edge labels.

Gluing calibrations on overlapping subnetworks

Suppose two engineering teams model subcomplexes K1,K2K_1,K_2 whose union is KK. Every edge and every declared face lies in at least one of the subcomplexes. Write J=K1∩K2J=K_1\cap K_2. An overlap can have several components. For a test domain UU, let AU(K)\mathcal A_U(K) be the groupoid of UU-smooth families of flat labelings and UU-smooth vertex gauges. The gluing data consist of objects a1,a2a_1,a_2 and an isomorphism c:a1∣J→a2∣Jc:a_1|_J\to a_2|_J. A morphism between such triples consists of two gauges f1,f2f_1,f_2 satisfying f2∣J c=c′f1∣Jf_2|_J\,c=c' f_1|_J. These triples and arrows define a homotopy pullback of groupoids. In particular the overlap comparison is part of the input.

Two teams report the same oriented edge in different coordinates. The square commutes exactly when cja1,ji=a2,jicic_j a_{1,ji}=a_{2,ji}c_i. The vertical arrows are the coordinate changes ci,cjc_i,c_j at the shared vertices.

Theorem 1.3 (Descent across a cut in the network). Restriction induces an equivalence, natural in UU, AU(K) ≃AU(K1)×AU(J)hAU(K2).\mathcal A_U(K)\ \simeq \mathcal A_U(K_1)\mathop{\times}\limits^h_{\mathcal A_U(J)} \mathcal A_U(K_2).

Proof. Restriction sends a global labeling to its two restrictions with identity overlap comparison. An arrow between two objects in this image is a pair of vertex gauges agreeing at every shared vertex. Such a pair glues uniquely to a gauge on the union. The edge condition holds there since it holds on each member of the cover. Thus restriction is fully faithful.

For a triple (a1,a2,c)(a_1,a_2,c), define a change of frame bb on K2K_2 to equal c−1c^{-1} on the vertices of JJ and 11 on the other vertices of K2K_2. Each vertex is a separate index, so these choices remain smooth on UU. The transformed object b⋅a2b\cdot a_2 agrees exactly with a1a_1 on the common edges. Glue the two edge labelings. Every triangle is contained in one piece, so its equation holds for the glued labeling. The pair of arrows (1,b)(1,b) identifies the given triple with the restrictions of the glued object. All choices commute with reparametrization of UU. ◻

One can also vary the parameter chart. On an open cover of UU, locally chosen vertex frames may have nonidentity changes of coordinates on chart intersections. In the stackification of the action groupoid, a family over UU can be specified by such local frames and their cocycles. At each vertex they define a smooth GG-torsor over UU, locally modeled by U×GU\times G, and the edges give equivariant isomorphisms between these torsors. This follows by gluing the trivial torsors using the changes of frame. Conversely, on a common refinement we can trivialize all finitely many vertex torsors and compute their transition data. Theorem 1.3 concerns gluing along pieces of the network. The smooth stack also allows gluing over parameter charts. A global choice of a coordinate for the root over every parameter is a trivialization of its torsor. Local calibrations can be compared without choosing one.

For a concrete use of the cut theorem, let the two pieces be paths from AA to CC through BB and DD, respectively. Their intersection consists only of the endpoints. In degree coordinates take the two path transports to be 3535 and 4242. The overlap contains no edges and hence there is no edge equation for its two vertex gauges. If a common coordinate convention fixes both overlap comparisons to zero, the glued loop has discrepancy 77 up to orientation. Changing one endpoint comparison by 77 with the appropriate sign can cancel that discrepancy. Both triples restrict to exactly the same path labelings. Computing the loop product on the union therefore requires both the path labels and their endpoint comparisons.

Bounds on calibration error from cycle discrepancies

Let dd be a bi-invariant metric on GG, for example the shorter arc distance on rotations in the plane. Write e=(i,j)e=(i,j) for an oriented edge. The residual of frames xx is d(aji,xjxi−1)d(a_{ji},x_jx_i^{-1}). Reversing the edge preserves its residual. A residual is computed from a candidate calibration. The distance of a measured loop product to 11 depends only on the data and is invariant under changes of local coordinates.

Theorem 1.4 (Cycle certificate and tree propagation). For every closed walk CC of positive length kk and every candidate set of frames xx, max⁡e∈Cd(aji,xjxi−1) ≥ k−1d(a(C),1).\max_{e\in C} d(a_{ji},x_jx_i^{-1}) \ \geq\ k^{-1}d(a(C),1). If reference frames yy satisfy d(aji,yjyi−1)≤ϵed(a_{ji},y_j y_i^{-1})\leq\epsilon_e on each tree edge, the normalized tree estimate satisfies d(ti,yiyr−1)≤∑e∈[r,i]Tϵe.d(t_i,y_i y_r^{-1})\leq\sum_{e\in [r,i]_T}\epsilon_e . On a chord (i,j)(i,j) the discrepancy for the tree estimate is exactly d(Lji,1)d(L_{ji},1).

Proof. Bi-invariance and the triangle inequality give d(ab,a′b′)≤d(a,a′)+d(b,b′)d(ab,a'b')\leq d(a,a')+d(b,b') by inserting a′ba'b. Induction bounds the distance of products by the sum of their factorwise distances. Use the candidate transports along the closed walk as the comparison product; they telescope to 11. Count repeated edges with multiplicity and bound each summand by the maximum residual. Comparing the two transports along the root-to-ii tree path gives the second estimate. Finally multiply ajia_{ji} and tjti−1t_jt_i^{-1} on the left by tj−1t_j^{-1} and on the right by tit_i to obtain the chord identity. ◻

For the three edges of ACDAACDA in Figure 1.1, the measured loop offset has magnitude 77 degrees. By Theorem 1.4 the maximum edge residual is therefore at least 7/37/3 degrees for every calibration. The tree choice has worst residual 77 degrees. An engineer can compare that bound with the angular tolerance independently of a numerical optimizer. To derive the bound we used invariance under left and right multiplication. Applying the same numeric bound to simultaneous rotations and translations would require a metric with the stated hypotheses or a separate distortion estimate. The edge measurements refer to a single configuration epoch. Event delivery, clock agreement across epochs, and progress of a distributed protocol require additional models.

Signed corrections for a calibration attaining the lower bound. Labels follow the directions in Figure 1.1. Traversing ACAC, CDCD, and the reverse of ADAD adds 7/3+7/3−(−7/3)=77/3+7/3-(-7/3)=7 degrees, exactly canceling the measured −7-7 degrees. On ABCABC, the 7/67/6-degree corrections on ABAB and BCBC sum to the 7/37/3-degree correction on ACAC.

Exercises with solutions

Exercise 1.1 (Compute a reference change). With the data in Figure 1.1, change the local coordinate at CC by +5∘+5^\circ and leave the other frames fixed. Compute the three measurements incident to CC and the loop offset around ACDAACDA.

Solution.  Adding hj−hih_j-h_i to an edge gives 28∘28^\circ, 40∘40^\circ, and −15∘-15^\circ respectively. The new loop offset is 40−15−32=−740-15-32=-7 degrees. The two occurrences of the change at CC cancel because the consecutive incident edges use opposite signs for the vertex correction.

Exercise 1.2 (Reach a minimax lower bound). Construct frames on the four instruments whose maximum edge residual is exactly 7/37/3 degrees. Prove their optimality.

Solution.  Normalize xA=0x_A=0 and use degrees. Choose xC=35+7/3x_C=35+7/3, xD=32−7/3x_D=32-7/3, and xB=12+7/6x_B=12+7/6. The predicted measurements along AB,BCAB,BC each increase by 7/67/6. The predictions along AC,CDAC,CD increase by 7/37/3 each, and the prediction along ADAD decreases by 7/37/3. All changes have magnitude less than half a turn, so the stated magnitudes are their circular distances. Their maximum attains the lower bound from ACDAACDA in Theorem 1.4. All five signed corrections appear in Figure 1.3.

Exercise 1.3 (Recover an isotropy group). Take G=S3G=S_3 with discrete diffeology and a graph with one independent loop. Suppose its normalized transport is the transposition (12)(12). Determine all automorphisms of this configuration. Repeat for transport equal to the identity. Explain how the two answers affect the choice of an overlap comparison in a gluing problem.

Solution.  Normalization leaves a common group element gg at all vertices. The condition on the loop is g(12)g−1=(12)g(12)g^{-1}=(12). Since the conjugate is (g(1) g(2))(g(1)\ g(2)), we have g(3)=3g(3)=3 and either g(1)=1g(1)=1, g(2)=2g(2)=2 or g(1)=2g(1)=2, g(2)=1g(2)=1. The centralizer has two elements. The identity transport commutes with every element of S3S_3, giving six automorphisms. For two isomorphic overlap objects, postcomposing a chosen isomorphism with each automorphism of the target yields all possible comparisons, exactly once. The two cases therefore have two and six possible comparisons, respectively. Additional gauges on the pieces can identify some choices after gluing.

Exercise 1.4 (Prove a two-team identifiability criterion). Suppose each team measures one path from AA to CC, with disjoint interiors, and their only shared vertices are A,CA,C. In a possibly noncommutative GG, let the path products in team coordinates be P1,P2P_1,P_2. For specified overlap changes cA,cCc_A,c_C from team 1 to team 2, prove that the glued cycle can be calibrated exactly if and only if P2cA=cCP1P_2c_A=c_C P_1. Given cAc_A, show that exactly one cCc_C makes this possible. Describe the smooth dependence on the measurements.

Solution.  Use the overlap changes to express the second path in the first team’s endpoint frames. The transport of that path becomes cC−1P2cAc_C^{-1}P_2 c_A because intermediate frame changes cancel. Follow the first path and return on the second. The loop product is (cC−1P2cA)−1P1(c_C^{-1}P_2c_A)^{-1}P_1. After collapsing a spanning tree, the fundamental group has one generator with this loop product. By Theorem 1.2 a calibration exists exactly when this expression is 11, which rearranges to the stated identity. Solving for the endpoint change gives cC=P2cAP1−1c_C=P_2c_A P_1^{-1}. Since multiplication and inversion in GG are smooth, the unique solution depends smoothly on the parameters.

Sources and scope.

The holonomy viewpoint for synchronization and its relation to flat bundles are developed by T. Gao, J. Brodzki, and S. Mukherjee, The Geometry of Synchronization Problems and Learning Group Actions. For angular measurements and spectral or semidefinite estimators in noisy settings see A. Singer, Angular Synchronization by Eigenvectors and Semidefinite Programming. For transport functors in differential geometry see U. Schreiber and K. Waldorf, Parallel Transport and Functors. The finite edge-path classification here specializes classical holonomy theory. For this finite engineering model we proved a gluing theorem and error bounds and computed an optimal calibration.

Tracking two indistinguishable targets

Suppose two identical light sources move in the image plane of a camera. The localization output is an estimate of the unordered pair of positions. At initialization a user selects one light. Subsequent pointing errors are measured relative to the position of this light. Two distinct motions can give identical final images and place the selected light at opposite positions. We calculate the resulting pointing error when the pointing output is a function of the final image alone. We then derive a sampling condition for correct position updates from a labeled initial position.

Image moments and unordered positions

Represent the plane by C\mathbb C and write the two positions as a=c+za=c+z and b=c−zb=c-z. Exchanging their names fixes the center cc and sends zz to −z-z. Assume equal intensities, a known common isotropic Gaussian spot profile, and exact population moments. For a photon at position YY, the model is Y=c+Ez+η,Y=c+Ez+\eta, where EE is equally likely to be 11 or −1-1, independent of the centered noise η=η1+iη2\eta=\eta_1+i\eta_2 with independent real coordinates of equal variance. The two measured complex moments are EY=c,w=E[(Y−c)2]=z2.\mathbb{E}Y=c,\qquad w=\mathbb{E}[(Y-c)^2]=z^2 . Indeed the mixed term vanishes by centering and independence, and Eη2=E(η12−η22)+2iE(η1η2)=0\mathbb{E}\eta^2=\mathbb{E}(\eta_1^2-\eta_2^2)+2i\mathbb{E}(\eta_1\eta_2)=0. The square here is a complex square. The real part of ww equals the difference of the two directional variances. Its imaginary part equals twice the cross-covariance. The radial second moment E∣Y−c∣2\mathbb{E}|Y-c|^2 is invariant under rotations and hence does not determine the orientation. The moment identities also hold for centered noise with the same second-order isotropy and independence from EE.

Theorem 1.1 (Identifiability of the unordered scene). On distinct positions, the unordered mixture parameters form a diffeological space diffeomorphic to C×C∗\mathbb C\times\mathbb C^* through (c,z)↦(c,z2)(c,z)\mapsto(c,z^2), where C∗=C∖{0}\mathbb C^*=\mathbb C\setminus\{0\}. The ordered positions form a principal two-sheeted covering of this observation space. For the fixed Gaussian spot model the two moments determine the entire mixture distribution.

Proof. Every nonzero complex number has exactly two square roots, interchanged by z↦−zz\mapsto-z. On any sufficiently small disk about w0≠0w_0\ne0, the roots can be written as ±exp⁡(12log⁡w)\pm\exp(\tfrac12\log w) for a smooth branch of the logarithm. Hence the smooth moment map has local smooth sections and its fibers are precisely the swap orbits. Every smooth plot in ordinary moment coordinates lifts locally to a smooth plot of ordered pairs by composition with one of these sections. The two roots constitute two disjoint sheets locally. The unordered pair reconstructed as {c+z,c−z}\{c+z,c-z\} and the specified common Gaussian kernel determine the mixture law by averaging its two translates. ◻

Under the exact-moment assumption, (c,w)(c,w) determines the unordered positions at each time. Finite-count estimation would require a sampling model. For tracking a designated light, specify one of the two roots at the initial time. At later times its position is the center plus the continuous continuation of that root.

Path lifting and expected pointing error

Let the center be fixed at zero and set w(t)=ρ2exp⁡(2πit)w(t)=\rho^2\exp(2\pi i t) for t∈[0,1]t\in[0,1] and ρ>0\rho>0. The complex moment completes one circuit about zero. For the light initially at +ρ+\rho, the position is z(t)=ρexp⁡(πit)z(t)=\rho\exp(\pi i t) and the final position is −ρ-\rho. In the stationary experiment w(t)=ρ2w(t)=\rho^2 for all tt and the same light remains at +ρ+\rho. At time one the full photon distributions in the two experiments are identical.

For ρ=1\rho=1 and c=0c=0, the complex second moment traces the unit circle (left). The designated light moves from +1+1 to −1-1 along the upper semicircle. The other moves from −1-1 to +1+1 along the lower semicircle (right). The final unordered pair is {−1,+1}\{-1,+1\} for both the stationary and moving sources.

Theorem 1.2 (Expected loss from an endpoint observation). Suppose the stationary and circulating histories above have equal prior probability. Let the loss be squared Euclidean error in pointing at the initially selected light at time one. Among pointing outputs computed from the endpoint snapshot alone, the minimum expected loss is ρ2\rho^2 for unrestricted positions and 2ρ22\rho^2 for outputs restricted to the two detected positions. With the initial choice and the full continuous moment path as input, zero loss is attainable in both experiments.

Proof. The endpoint snapshot is identical in the two experiments, so a randomized output DD computed from it and an independent random variable has the same distribution in both. Averaging ∣D−ρ∣2|D-\rho|^2 and ∣D+ρ∣2|D+\rho|^2 gives ∣D∣2+ρ2|D|^2+\rho^2. Thus the unconstrained expected loss is at least ρ2\rho^2, with equality at D=0D=0. If DD takes values in {−ρ,+ρ}\{-\rho,+\rho\}, its squared magnitude is ρ2\rho^2 for either output, so the expected loss is 2ρ22\rho^2. Given the moment path and the initialized position, take the continuous square root starting at +ρ+\rho. The lift exists by subdivision into disks with smooth root branches. On each next disk the branch matching the previous value is unique, and the resulting lift agrees with the explicit trajectories above. ◻

The unordered pair of positions is invariant under relabeling the lights. Under rotation of camera coordinates by θ\theta, the moments transform as (c,w)↦(eiθc,e2iθw)(c,w)\mapsto(e^{i\theta}c,e^{2i\theta}w). For a pointing rule DD expressed in camera coordinates, equivariance requires D(eiθc,e2iθw)=eiθD(c,w)D(e^{i\theta}c,e^{2i\theta}w)=e^{i\theta}D(c,w). At c=0c=0, a half-turn leaves (0,w)(0,w) unchanged and exchanges the two positions. For w≠0w\ne0 neither position is fixed by the half-turn. Hence a deterministic equivariant choice from the pair is impossible from these moments alone. The uniform distribution on the pair is rotation-equivariant. Continuous tracking is also equivariant if the initialized position is rotated with the scene. These last two procedures have different inputs. For the identity-specific loss above, the inputs for continuous tracking are the initial label and the observed moment path.

Over the collision-free observation space, the fibers of the covering define a functor from the fundamental groupoid to two-element sets and bijections. For each path and each point in its initial fiber, the corresponding point in the final fiber is the endpoint of the unique lift from that initial point. This bijection for a concatenation is the composite of the two bijections. Homotopic paths with fixed endpoints induce the same bijection by homotopy lifting for coverings, or by the winding calculation below. In an incremental implementation, the stored state after each update consists of the current fiber point. Earlier sections of the path need not remain in storage. The expected pointing error for endpoint-only input is given in Theorem 1.2.

Smooth reconstruction at collisions

At w=0w=0 the two spots coincide. The action groupoid on the ordered parameters now has an automorphism of order two fixing the coincident pair. The quotient set has just one coincident pair over the observed center. Even with the quotient diffeology on the orbits, the inverse moment map fails to be smooth at a collision.

Theorem 1.3 (Nonsmooth inverse at coincident positions). Give the full orbit space of ordered pairs, including collisions, its quotient diffeology. Its moment map to C2\mathbb C^2 is a smooth bijection whose inverse fails to be smooth at every collision. On the collision-free locus the norm of the derivative of either local inverse displacement w↦zw\mapsto z equals 1/(2∣w∣)1/(2\sqrt{|w|}).

Proof. The polynomial moment coordinates are invariant and therefore descend smoothly. Every ww has a unique unordered set of roots, including the repeated root at zero, giving bijectivity. Fix a center cc. Were the inverse smooth near (c,0)(c,0), the map u↦(c,u)u\mapsto(c,u) from a disk of ordinary moment coordinates would lift locally through ordered pairs. The resulting smooth half-difference z(u)z(u) would satisfy z(u)2=uz(u)^2=u. Differentiating at zero gives the zero real-linear map on the left and the identity on the right. Away from zero, differentiating z2=wz^2=w yields multiplication by 1/(2z)1/(2z) as the derivative of the inverse branch. Complex multiplication scales Euclidean lengths by the modulus of its multiplier, giving the asserted norm. ◻

Absolute local error amplification at fixed center, measured in millimeters of displacement per square millimeter of moment error. Halving the physical separation doubles the sensitivity. The curve is defined for positive separation.

With d=∣a−b∣d=|a-b|, the derivative norm is 1/d1/d (Figure 1.2). At a separation of 0.50.5 mm, a sufficiently small complex moment error of magnitude ϵ\epsilon mm2^2 causes a first-order position error of 2ϵ2\epsilon mm on the initialized branch. At 22 mm separation the same moment error gives ϵ/2\epsilon/2 mm to first order. The sampling estimate in the final exercise depends on a positive lower bound on separation and an upper bound on speed. Through an exact collision, more than one continuous labeled trajectory can yield the same observations. For example, when w(t)=t2w(t)=t^2 on the real interval [−1,1][-1,1], the displacements z(t)=tz(t)=t and z(t)=−∣t∣z(t)=-|t| are equal for t≤0t\le0 and have opposite signs for t>0t>0. Their squares agree for all tt.

Solved exercises

Exercise 1.1 (Calculation: moment decoding). Two lights are located at 2+i2+i and −i-i. Find (c,w)(c,w). Reconstruct their unordered positions.

Solution.  Their center is c=1c=1. The displacement from the center to the first point is z=1+iz=1+i, giving w=(1+i)2=2iw=(1+i)^2=2i. The two square roots are ±(1+i)\pm(1+i), so {c+z,c−z}={2+i,−i}\{c+z,c-z\}=\{2+i,-i\}. Exchanging the two roots has no effect on this set.

Exercise 1.2 (Derivation: winding parity). Suppose w:[0,1]→C∗w:[0,1]\to\mathbb C^* is a closed piecewise smooth path. Prove that the induced permutation on the two points of the fiber is a transposition exactly when the winding number of ww about zero is odd. Assume that the final center equals the initial center.

Solution.  Choose a continuous argument θ(t)\theta(t) along the interval by matching local arguments on successive disks. A lift of the displacement is z(t)=∣w(t)∣exp⁡(iθ(t)/2)z(t)=\sqrt{|w(t)|}\exp(i\theta(t)/2) up to the initial sign. Closedness gives θ(1)−θ(0)=2πk\theta(1)-\theta(0)=2\pi k, where kk is the winding number. Hence z(1)=(−1)kz(0)z(1)=(-1)^kz(0). For the same initial and final center, the final positions have their labels exchanged exactly for odd kk. The integer kk is additive under concatenation and fixed by based homotopies because the normalized change in argument is continuous and integer-valued along a homotopy. Its parity therefore gives the monodromy homomorphism to the permutation group on two points.

Exercise 1.3 (Proof: a sampling rule for a tracker). Assume an exact, differentiable path with ∣w(t)∣≥δ>0|w(t)|\ge\delta>0 and ∣w˙(t)∣≤L|\dot w(t)|\le L, with L>0L>0. Show that consecutive samples spaced by h<πδ/Lh<\pi\delta/L and the known initial root suffice to compute the continuous lift at the sample times. Give two paths demonstrating the ambiguity of endpoint-only recovery in the absence of a speed bound.

Solution.  A continuous local argument satisfies ∣θ˙∣=∣Im⁡(w˙/w)∣≤L/δ|\dot\theta|=|\operatorname{Im}(\dot w/w)|\le L/\delta. Hence the net argument change between consecutive samples has magnitude strictly below π\pi. It is uniquely the principal argument of w(t+h)/w(t)w(t+h)/w(t). Multiply the previous root by the positive factor ∣w(t+h)∣/∣w(t)∣\sqrt{|w(t+h)|/|w(t)|} and by the exponential of ii times half that principal argument. This matches the continuous root at the new sample. By induction, the equality holds at every sample. On an interval [0,h][0,h] the constant moment w=1w=1 and the moment e2πit/he^{2\pi i t/h} have identical endpoints and opposite root transports. Both stay unit distance from zero. Thus two motions with the same sampled moments and the same lower bound on separation can induce opposite label permutations.

For the broader link between configuration spaces, braids, and autonomous systems, see Robert Ghrist, Configuration Spaces, Braids, and Robotics. The sensor law, pointing losses, and sampling rule above are explicit deductions for this idealized two-light model.

Definitions at a glance

An allowed parametrization U→XU\to X from an ordinary Euclidean open set. Precomposition changes the parameters. The images of plots need not be open.

A surjection through which plots downstairs locally lift upstairs. Locality here refers to the parameter domain of each plot.

A sheaf of sets whose sections on UU are determined by their values at the points of UU. For a diffeological space XX, these sections are the plots of XX.

A family of smooth maps X→YX\to Y is a plot if its evaluation U×X→YU\times X\to Y is smooth. This makes C∞(X,Y)C^\infty(X,Y) an internal hom.

An object of [M/G][M/G] over UU consists of a GG-torsor P→UP\to U and an equivariant map P→MP\to M. Arrows are isomorphisms of torsors that commute with the maps to MM. A point represented by mm has automorphism group GmG_m.

A family locally isomorphic, with its group action, to the group acting freely and transitively on itself. A section is a choice of frame. Local frames can exist even when a global section does not.

An nn-simplex of the nerve of a groupoid is a string of nn composable arrows. Its geometric realization is the homotopy colimit of this simplicial diagram. In smooth sheaves, realization includes sheafification.

For groupoids, an object of A×ChBA\times_C^h B consists of one object on each side and an isomorphism between their images in CC. A morphism is a pair of arrows for which the comparison square commutes.

The composite transport around a closed path, measured in a chosen initial frame. Changing that frame conjugates the result.

In higher descent, part of the data consists of identifications on double overlaps and homotopies between their composites on triple overlaps. For coefficient object BnAB^nA with AA discrete abelian, these data can be represented on a good cover by ordinary cochains in degrees through nn with a cocycle condition in the top degree.

References and mathematical provenance

For references specific to each application, see its chapter notes. For the underlying diffeology, category theory, and topology, see the works below.

Patrick Iglesias-Zemmour. Diffeology. Mathematical Surveys and Monographs 185, American Mathematical Society, 2013. All page references in the concordance refer to this edition. Publisher record.

John C. Baez and Alexander E. Hoffnung. Convenient Categories of Smooth Spaces. Transactions of the American Mathematical Society 363 (2011), 5789–5825. Concrete sheaves and the categorical structure of smooth spaces. Author manuscript.

Jordan Watts and Seth Wolbert. Diffeological Coarse Moduli Spaces of Stacks over Manifolds. The distinction between the sheaf of components and its concretization is relevant to the reflected-line example in Chapter 3. Author manuscript.

Emilio Minichiello. Diffeological Principal Bundles and Principal Infinity Bundles. Comparison of models on smooth test sites and of their categories of bundles. Author manuscript.

Jacob Lurie. Higher Topos Theory. Annals of Mathematics Studies 170, Princeton University Press, 2009. See Chapters 5–6 on colimits, sheaves of spaces, and groupoid objects. Author’s text.

Emilio Minichiello. The Diffeological Čech-de Rham Obstruction. A comparison with stack cohomology in degrees beyond those computed in Chapter 5. Author manuscript.

The Stacks Project Authors. The Stacks Project. Section 14.24 on Dold–Kan; Section 21.4 on torsors.

Allen Hatcher. Algebraic Topology. Cambridge University Press, 2002. For the good-cover nerve theorem used for constant coefficients in Chapter 4, see Corollary 4G.3. Author’s text.

Complete flattened LaTeX source
\documentclass[11pt,oneside,openany]{book}
\usepackage[paperwidth=7.9in,paperheight=10in,inner=.84in,outer=.79in,top=.9in,bottom=.86in,headheight=15pt,headsep=17pt,footskip=31pt]{geometry}

\usepackage[T1]{fontenc}

\usepackage{lmodern,amsmath,amssymb,amsthm,mathtools,bm,mathrsfs}

\usepackage{microtype,graphicx,booktabs,tabularx,array,longtable,enumitem,titlesec,caption,fancyhdr,xurl}

\usepackage[table]{xcolor}

\usepackage{tikz}

\usetikzlibrary{arrows.meta,positioning,calc,decorations.pathreplacing,decorations.markings,matrix,patterns,shapes.geometric,fit,backgrounds,angles,quotes,bending}
\usepackage{hyperref}

\definecolor{ink}{HTML}{192C3A}
\definecolor{deep}{HTML}{075F67}
\definecolor{clay}{HTML}{A44528}
\definecolor{fog}{HTML}{E4EEEB}
\definecolor{muted}{HTML}{536674}
\hypersetup{bookmarksdepth=1,bookmarksopen=false,colorlinks=true,linkcolor=deep,urlcolor=deep,citecolor=deep,pdftitle={Diffeology and Higher Descent},pdfsubject={Smooth stacks, quotient spaces, and applications},pdfauthor={Anonymous}}
\captionsetup{font=small,labelfont={bf,color=deep},labelsep=period,margin=8pt}
\setcounter{tocdepth}{0}
\setcounter{secnumdepth}{1}
\titleformat{\chapter}[display]{\normalfont\bfseries\color{ink}\raggedright}{\large\sffamily\color{deep}Chapter \thechapter}{5pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-8pt}{17pt}
\titleformat{\section}{\Large\bfseries\color{ink}\raggedright}{\thesection}{.6em}{}
\titleformat{\subsection}{\large\bfseries\color{deep}\raggedright}{\thesubsection}{.5em}{}
\titlespacing*{\section}{0pt}{16pt plus 2pt}{7pt}
\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\small\sffamily\color{muted}\nouppercase{\leftmark}}\fancyfoot[R]{\sffamily\color{deep}\thepage}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\headrulewidth}{0.3pt}
\fancypagestyle{plain}{\fancyhf{}\fancyfoot[R]{\sffamily\color{deep}\thepage}\renewcommand{\headrulewidth}{0pt}}
\newtheoremstyle{res}{9pt plus 2pt}{6pt}{\itshape}{}{\bfseries\color{deep}}{.}{.45em}{}
\theoremstyle{res}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}\newtheorem{definition}[theorem]{Definition}\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}{Exercise}[chapter]
\newenvironment{solution}{\par\noindent\textbf{\textcolor{deep}{Solution.}}\ }{\par\smallskip}
\newcommand{\R}{\mathbb R}\newcommand{\Z}{\mathbb Z}\newcommand{\C}{\mathbb C}
\newcommand{\Diff}{\mathsf{Diff}}\newcommand{\Sh}{\mathsf{Sh}}\newcommand{\Map}{\operatorname{Map}}\newcommand{\id}{\mathrm{id}}
\newcommand{\src}[1]{\par\smallskip{\small\sffamily\color{muted}#1}\par}
\newcommand{\Cech}{\v{C}ech}
\setlist{nosep,topsep=5pt}
\setlength{\emergencystretch}{2.5em}
\setlength{\parindent}{1.15em}
\raggedbottom
\begin{document}
\frontmatter
\begin{titlepage}
\thispagestyle{empty}
{\sffamily\large\color{deep} GEOMETRY \enspace / \enspace HIGHER CATEGORY THEORY\par}
\vspace{.44in}
{\fontsize{42}{45}\selectfont\bfseries\color{ink}Diffeology and\\Higher Descent\par}
\vspace{.17in}
{\Large Smooth stacks, quotient spaces, and applications\par}
\vfill
\begin{center}
\begin{tikzpicture}[x=1cm,y=1cm]
\foreach \shift/\shade in {0/20,1.5/35,3/55}{
\begin{scope}[xshift=\shift cm,yshift=\shift cm*0.34]
\filldraw[fill=deep!\shade!white,draw=deep,line width=.7pt] (-2.1,-.55) .. controls (-1.6,.7) and (.5,1.25)..(1.5,.6) .. controls (2.2,-.1) and (.9,-.7)..(-.3,-1) .. controls (-1.3,-1.25) and (-2.1,-1)..cycle;
\draw[white,line width=1.05pt] (-1.65,-.55) .. controls (-.95,.52) and (.2,-.42)..(1.24,.45);
\fill[clay] (-.15,-.01) circle (2.3pt);
\end{scope}}
\draw[clay,dashed,line width=1pt] (-.15,-.01)--(2.85,1.01);
\end{tikzpicture}
\end{center}
\vfill
\noindent\rule{\linewidth}{.5pt}\par\medskip
{\sffamily Anonymous\hfill Manuscript for Higher Categorical Semantics\par}
\end{titlepage}
\chapter*{Abstract}
A diffeological space consists of a set and a class of smooth parametrizations called plots. The plots form a concrete sheaf on Euclidean test domains. We use this equivalence to study descent for groupoids and higher stacks. For the reflection action on the real line, we distinguish the orbit space, the sheaf of local isomorphism classes, and the quotient stack. On a tetrahedral cover of the sphere, we construct an explicit degree-two obstruction to gluing. On an irrational torus, we compare the periods of plotwise differential forms with the classes of discrete real torsors.
\par
For a fixed-rank matrix model, we compute the Hessian rank at an exact fit. For a finite decision process with a group of symmetries, we characterize the existence of a deterministic equivariant optimal policy by a condition on stabilizers. We classify irrational tori by changes of integral basis, derive privacy and reconstruction thresholds for finite-field secret sharing, and bound the error in a network calibration from the discrepancy around a cycle. For two moving targets, we compute the minimum expected error under a policy based on a single image and derive a sufficient sampling rate for tracking target identity.
\par\medskip
\noindent\textbf{Keywords.} Diffeology, concrete sheaf, smooth higher stack, torsor, homotopy quotient, descent, observational equivalence.\par
\medskip\noindent\textbf{Authorship and evidence.} Prepared anonymously with generative AI assistance in drafting, mathematical exposition, illustration, and typesetting. Each numbered theorem and proposition has a mathematical proof. We state the assumptions for each application and cite the relevant literature in the chapter notes. The numerical values in the worked examples follow from the specified model parameters.
\tableofcontents

\chapter*{Reading guide}
\markboth{Reading guide}{}
\addcontentsline{toc}{chapter}{Reading guide}
For a plot $p:U\to X$ and a smooth map $h:V\to U$, the composite $p\circ h$ is a plot. In Chapters 1--2 we use this rule to identify diffeological spaces with concrete sheaves. In Chapters 3--4 we compare local presentations by isomorphisms and impose compatibility on their overlaps. In Chapters 5--6 we apply descent to differential forms, bundles, and symplectic reduction.

\paragraph{Prerequisites.}
For Chapter 1, readers need smooth maps on Euclidean open sets, groups, and linear algebra. We define sheaves, torsors, and quotient stacks as they occur. For Chapter 5, readers should know exterior derivatives, pullbacks, and the Mayer--Vietoris sequence in degrees zero and one. For Chapter 6, the prerequisites are basic manifold theory and symplectic linear algebra. The applications use matrix rank in Chapter 7, finite probability and contractions in Chapter 8, integer lattices in Chapter 9, polynomial interpolation over a field in Chapter 10, and paths in a graph in Chapter 11.

\paragraph{Suggested reading sequences.}
For an introduction to higher descent, read Chapters 1--3, work through the overlap examples, and then turn to Chapter 12. There you can calculate the error in assigning target identities from a single image. Return to Chapter 4 for the degree-two obstruction. For a geometry course, read Chapters 1--6 in order and compare Chapter 9 with Iglesias-Zemmour's treatment of irrational quotients. For systems and learning, read Chapters 1--3, select Chapters 7, 8, 10, or 11, and finish with the tracking problem. In each chapter, begin with the calculation exercises and then attempt the proof exercises before consulting their solutions.

\paragraph{A concordance to Iglesias-Zemmour.}
Article numbers and page numbers below correspond to the 2013 edition of Patrick Iglesias-Zemmour's \emph{Diffeology}. For each source chapter, we list the relevant constructions and their applications in this monograph.\par\smallskip
\href{https://doi.org/10.1090/surv/185}{American Mathematical Society, Mathematical Surveys and Monographs 185}

\begin{description}[leftmargin=0pt,labelsep=0pt,labelwidth=0pt,style=nextline,itemsep=4pt]
\item[1. Diffeology and diffeological spaces (p.\ 1).]
For Chapters 1--3, see the wire diffeology (art.\ 1.10), smooth maps from a quotient (1.50--1.51), and the functional diffeology (1.57). In Chapter 7 we use the functional diffeology on a space of predictors.
\item[2. Locality and diffeologies (p.\ 51).]
For the topology in Chapter 5, see the $D$-topology and its behavior under subductions (2.8, 2.12). In Chapter 2 the sheaf gluing condition follows from the locality axiom for plots.
\item[3. Diffeological vector spaces (p.\ 65).]
Compare quotient vector spaces (3.6) and Euclidean structures (3.13) with the nonlinear parameter quotient in Chapter 7. There we compute the fibers and their tangent spaces.
\item[4. Modeling spaces, manifolds, etc.\ (p.\ 77).]
Compare manifold charts (4.1--4.2) and local finite group quotients (4.17--4.18) with Chapter 3. For a point with nontrivial stabilizer, its automorphism group in the quotient stack differs from that of its image in the orbit space.
\item[5. Homotopy of diffeological spaces (p.\ 101).]
For the homotopy operator in Chapter 5 and path lifting in Chapter 12, see paths, concatenation, and homotopy (5.1--5.5), and the Poincar\'e groupoid and higher groups (5.15, 5.17). For the higher compatibility conditions in descent, see Chapter 4 of this monograph.
\item[6. Cartan--de Rham calculus (p.\ 125).]
For Chapter 5, see the definition of a form on plots (6.28), the descent condition (6.38), and the homotopy operator (6.83--6.88). In Chapter 6 we compute a reduced area form by descent.
\item[7. Diffeological groups (p.\ 215).]
For the stabilizer calculations in Chapters 3, 7, and 8, see actions and orbit maps (7.4--7.5). For the arithmetic classification in Chapter 9, see quotient groups (7.3).
\item[8. Diffeological fiber bundles (p.\ 229).]
Compare principal bundles and plot trivializations (8.11--8.13) with the changes of frame in Chapter 6 and the torsors in Chapter 10. For the continuous analogue of edge transport in Chapter 11, see connections and holonomy (8.32--8.35). For Chapter 9, see also Kronecker flows (8.38).
\item[9. Symplectic diffeology (p.\ 299).]
For the period obstruction in Chapter 6, see the construction of moment maps from paths (9.1--9.9). For the manifold case see 9.20--9.21, and for irrational quotients as in Chapter 9 see 9.30.
\end{description}

\clearpage
\section*{A guide to the application theorems}
\noindent For each application below, the four theorem numbers link to proofs.
\begin{description}[leftmargin=0pt,labelsep=0pt,labelwidth=0pt,style=nextline,itemsep=9pt]
\item[Machine learning \hfill Chapter 7]
In a linear bottleneck model, the predictor matrix is the product of two weight matrices. First identify the quotient (Theorem~\ref{ml:atlas}) and its tangent directions (\ref{ml:tangent}). Then compute the rank of the loss Hessian on the given training data (\ref{ml:rank}) and decide whether weights can be chosen continuously on a loop (\ref{ml:sign}).
\item[Artificial intelligence \hfill Chapter 8]
Compress a finite planning problem by its symmetries (Theorem~\ref{ai-compress}). Determine which optimal actions lift to equivariant policies (\ref{ai-lift}), differentiate the entropy-regularized solution along plots (\ref{ai-smooth}), and account for the number of actions represented by a compressed choice (\ref{ai-multiplicity}).
\item[Number theory \hfill Chapter 9]
Recover affine rigidity from periods of an irrational quotient (Theorem~\ref{nt-affine}), classify changes of slope (\ref{nt-class}), compute degrees via the multiplier order (\ref{nt-order}), and use small divisors to decide whether a bundle admits a smooth section (\ref{nt-divisor}).
\item[Cryptography \hfill Chapter 10]
Determine the quotient of the secret space specified by an additive observation (Theorem~\ref{cr-observation}). Derive the polynomial threshold for secrecy and reconstruction (\ref{cr-threshold}), glue locally described encodings (\ref{cr-descent}), and determine how many evaluations suffice to detect a change of mask around a loop (\ref{cr-holonomy}).
\item[System design \hfill Chapter 11]
Reduce frame comparisons to holonomy on a spanning tree and its omitted edges (Theorem~\ref{sys-tree}). Determine when frames can be globally calibrated (\ref{sys-cal}), reconcile separately modeled subnetworks (\ref{sys-cut}), and convert a measured cycle discrepancy into a quantitative error certificate (\ref{sys-bound}).
\end{description}
\noindent In Chapter 12, use the image moments to reconstruct the unordered pair of positions. Compare the minimum expected pointing errors for policies based on the final image and on the entire path. At a collision, determine whether a smooth local inverse exists.


\mainmatter

\chapter{Plots, smooth maps, and quotient diffeologies}\label{ch:plots}
Compare two ways to sample a plane. In the first, vary two independent coordinates in a disk. In the second, choose any smooth curve and vary its single parameter. Every point of the plane lies in some disk and on some curve, but the disk parametrization has rank two and cannot factor locally through a smooth curve. A diffeology specifies which parametrizations are smooth. This definition applies to quotients and spaces of functions even when they lack manifold charts.

\section{Plots and the locality axiom}
A test domain is an open subset $U$ of some finite-dimensional $\R^n$. We allow $n=0$, so the one-point space $*$ is a test. A diffeology on a set $X$ consists of specified functions $p:U\to X$, its \emph{plots}, for each test domain $U$. Every constant function is a plot. Precomposing a plot with an ordinary smooth map gives a plot. Finally, if the restrictions of a function to all members of an open cover of $U$ are plots, the function itself is a plot. A map $f:X\to Y$ is smooth when $fp$ is a plot for each plot $p$ of $X$. The resulting category is $\Diff$.

On a manifold the standard plots are its ordinary smooth parametrizations. Conversely, to verify classical smoothness of a map of manifolds preserving plots, compose the map with inverse coordinate charts in the source and coordinate charts in the target. From the empty test domain to any $X$ there is exactly one function. It is a plot by locality on the empty cover.

\begin{proposition}[Generation test]\label{pl:gen}
Let $p_i:U_i\to X$ be any collection of functions. The smallest diffeology containing them consists of the functions which, near each point of their domain, are constant or have the form $p_i h$ for an ordinary smooth $h$. A set map out of $X$ is smooth for this diffeology exactly when all its composites with $p_i$ are plots.
\end{proposition}
\begin{proof}
The specified collection contains the generators and all constant functions. Composing a local factorization with a smooth function preserves the factorization on the inverse image of its neighborhood. Functions obtained by gluing also have the stated local form. Every diffeology containing the generators contains each of these local composites and their gluings, proving minimality. Apply locality in the target to the composites with a candidate map to obtain the last statement.
\end{proof}

The \emph{wire plane} is the set $\R^2$ with the diffeology generated by its ordinary smooth curves. Each of its plots is an ordinary smooth map, since it locally factors through a smooth curve or a point. A plot from a plane into the wire plane has derivative of rank at most one by the chain rule. The derivative of the identity from the standard plane to itself has rank two everywhere. Hence this identity, considered as a map to the wire plane, is not smooth. At a singular point, local factorization does not follow from this argument about derivative rank.
\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=.86cm,y=.8cm]
\fill[fog] (-3,-1.1) rectangle (0,1.3);
\foreach \x in {-2.7,-2.2,-1.7,-1.2,-.7,-.2}{\draw[deep!40] (\x,-1)--(\x,1.2);}
\foreach \y in {-.8,-.3,.2,.7,1.2}{\draw[deep!40] (-2.9,\y)--(-.1,\y);}
\draw[->,thick,deep] (-1.5,.1)--(-.7,.1);\draw[->,thick,clay] (-1.5,.1)--(-1.5,.89);
\begin{scope}[shift={(2.1,.12)}]\draw[deep,thick] (-1.3,-.75) .. controls (-.1,1.8) and (.1,-1.5) .. (1.35,.7);\draw[->,clay,thick] (-.37,.22)--(.23,-.01);\end{scope}
\node at (-1.5,-1.48) {disk probe};\node at (2.1,-1.48) {one curve generator};
\end{tikzpicture}
\caption{The derivative of the identity on the disk has two independent image directions. For a map that factors locally through one real variable, the derivative has image dimension at most one.}\end{figure}

\section{Subspaces, quotients, and local lifts}
In the subset diffeology, $p:U\to S\subset X$ is a plot exactly when its composite into $X$ is a plot. For a surjection $q:X\to Q$, the quotient diffeology is generated by all $qp$. A map from $U$ into $Q$ is a plot exactly when it locally lifts to a plot in $X$. Every constant plot in $Q$ has a constant lift because $q$ is onto. A smooth surjection realizing the quotient diffeology is called a \emph{subduction}. A map into a product is a plot exactly when its components are plots. A map into a coproduct is a plot exactly when it locally factors through the inclusion of a summand by a plot in that summand. These descriptions follow by composing with the projections or locally factoring through the coproduct inclusions.

\begin{theorem}[Effective descent of ordinary observables]\label{pl:des}
For a subduction $q:X\to Q$ and a diffeological space $Y$, pullback is a bijection from $C^\infty(Q,Y)$ onto the equalizer of the two maps of sets from $C^\infty(X,Y)$ to $C^\infty(X\times_Q X,Y)$ induced by the two projections. Pulling $q$ back along any smooth map gives another subduction.
\end{theorem}
\begin{proof}
The equalizer condition holds exactly when $f:X\to Y$ is constant on each fiber. There is a unique set function $g$ with $gq=f$. For any plot $p:U\to Q$, choose local lifts $a_i$; then $gp|_{U_i}=fa_i$ is smooth. Thus $g$ is smooth by locality. Conversely, the two pullbacks of $gq$ to $X\times_Q X$ are equal. For stability take $v:T\to Q$. Given a plot $r:U\to T$, locally lift $vr$ to $a_i$. Each pair $(r|_{U_i},a_i)$ gives a plot in the pullback lifting $r$.
\end{proof}

For example, normalize an angle by reducing modulo $2\pi$. A smooth phase observable $f(t)$ on unwrapped readings defines a smooth observable on the circle precisely if $f(t+2\pi)=f(t)$. The unwrapped angle $t$ is not periodic, so it does not descend. Two local lifts of the same angle differ by an integer multiple of $2\pi$ at each parameter value. Their sines are therefore equal on the overlap.

In the \emph{D-topology}, a subset $O\subset X$ is open when $p^{-1}O$ is open for every plot. For a quotient, $O$ is D-open precisely when $q^{-1}O$ is D-open. If $O$ is D-open, its inverse image is D-open by smoothness of $q$. Conversely, test openness of $p^{-1}O$ on neighborhoods where a plot $p$ of the quotient has a lift. For manifolds this topology is the usual one by the chart test. A D-open subset is a permissible neighborhood for operations on $X$. In contrast, the locality in the plot axiom always concerns ordinary open subsets of a test domain. For an atlas, local lifts exist on these domains. Sections over D-open neighborhoods of target points need not exist.

\section{Fine vector spaces and diffeological dimension}
Let $V$ be an algebraic real vector space. The fine vector-space diffeology consists of the functions locally expressible as $\sum_{j=1}^k f_j(u)v_j$, where $v_j$ are fixed on the neighborhood and $f_j$ are ordinary smooth scalars. The number $k$ and the vectors may change from neighborhood to neighborhood. For a finite-dimensional space this gives precisely the usual diffeology. For an infinite direct sum each plot must locally take values in a finite-dimensional subspace.
\begin{proposition}[The free smooth structure on a vector space]
With this diffeology addition and scalar multiplication on $V$ are smooth. Every linear map $V\to W$ to a diffeological vector space is smooth. This is the smallest vector-space diffeology on $V$.
\end{proposition}
\begin{proof}
Two local expressions can be added on their common domain by concatenating their vector lists. For scalar multiplication by a plot $g$, the new coefficients are $gf_j$. For a linear map $L$, replace each vector $v_j$ by $L(v_j)$ and evaluate the linear combination by smooth operations in $W$. In any vector-space diffeology each such linear combination of constants is a plot. Since plots are closed under gluing, the fine diffeology is contained in every vector-space diffeology.
\end{proof}

The \emph{diffeological dimension} of a space is the least $d$ for which plots of dimension at most $d$ generate its diffeology. It is infinite if no finite bound exists. The wire plane has dimension one. It has a generating family of curves and contains nonconstant curves, whereas plots generated by zero-dimensional domains are locally constant. For ordinary $\R^n$, $n>0$, the identity generates the diffeology. With a generating family of lower dimension the identity would factor locally through a lower-dimensional domain, in contradiction with its derivative rank. At a branch point the dimension obtained from generating plots can differ from that of a linearized space.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[>=Stealth]
\node (u) at (0,0) {$U_i$};\node (x) at (3.8,1) {$X$};
\node (q) at (3.8,-.8) {$Q$};\node (y) at (6.3,-.8) {$Y$};
\draw[->,deep,thick] (u)--node[above,sloped]{local lift $a_i$}(x);
\draw[->] (x)--node[right]{$q$}(q);
\draw[->] (u)--node[below,sloped]{$p|_{U_i}$}(q);\draw[->,deep] (q)--node[below]{$g$}(y);
\draw[->,clay] (x)--node[above,sloped]{$f$}(y);
\end{tikzpicture}
\caption{On $U_i$, the lift $a_i$ gives $gp|_{U_i}=fa_i$. For any two lifts the values of $f$ coincide because $f$ is constant on each fiber.}
\end{figure}

\section{Exercises with solutions}
\begin{exercise}[Plots of a discrete space]
Put the discrete diffeology on a two-element set $D$, generated by its constant functions. Describe the plots $\R\to D$ and give a nonconstant plot from an open subset of $\R$.
\end{exercise}
\begin{solution}
Plots are locally constant. A locally constant map on the connected real line is constant because both fibers are open and complementary. On $(-2,-1)\cup(1,2)$ choose a different value on each interval.
\end{solution}
\begin{exercise}[Find a quotient obstruction]
Let $Q=\R/(x\sim-x)$ and identify its underlying set with $[0,\infty)$ by $[x]\mapsto x^2$. Decide whether $s\mapsto\sqrt{s}$ on $Q$ is smooth as a real-valued function.
\end{exercise}
\begin{solution}
The composite with the quotient projection is $|x|$, which lacks a derivative at zero. Thus $s\mapsto\sqrt{s}$ is not smooth on $Q$, by Theorem~\ref{pl:des}. In the same coordinates $s$ itself is smooth because its pullback is $x^2$.
\end{solution}
\begin{exercise}[Build a fine-vector-space plot test]
Let $V$ have countable basis $e_1,e_2,\ldots$. Prove that a plot $p:U\to V$ for the fine diffeology has image $p(K)$ contained in a finite-dimensional linear subspace for each compact subset $K\subset U$.
\end{exercise}
\begin{solution}
Cover $K$ by neighborhoods on which the plot is a linear combination of finite lists of vectors. Take a finite subcover and span the union of all its lists. The resulting subspace contains $p(K)$ even if $K$ is disconnected.
\end{solution}
\begin{exercise}[Prove a gluing theorem]
Let $q:X\to Q$ be a subduction and $S\subset Q$ have the subset diffeology. Prove that a parametrization of $S$ is a plot precisely when it locally lifts to plots in $q^{-1}S$, with its subset diffeology from $X$. Deduce a criterion for a function $S\to Y$ to be smooth.
\end{exercise}
\begin{solution}
A plot of $S$ becomes a plot of $Q$. Lift it locally to $X$. Since all values of the original plot lie in $S$, each lift has image in $q^{-1}S$. Each lift is smooth into this subset by definition of the subset diffeology. Conversely any such lift composes to a plot in $Q$ valued in $S$. Thus the restricted surjection is a subduction and a function out of $S$ is smooth exactly when its composite with that restricted surjection is smooth. This gives the pullback result of Theorem~\ref{pl:des} directly for inclusions.
\end{solution}
\src{Source orientation: Iglesias-Zemmour, Chapters 1--4, especially Arts. 1.68, 1.77--1.81 and 3.7--3.9.}



\chapter{Reconstructing a space from its plots}\label{ch:sheaves}

The plots of a diffeological space, together with their reparametrizations, determine the space up to diffeomorphism. Smooth maps between two spaces correspond to natural transformations between their sheaves of plots. Other sheaves on the same site have sections that cannot be determined by restriction to points. The sheaf of differential $1$-forms is one such example.

\section{The site and the concrete sheaf condition}

Let $\mathcal E$ have as objects all open subsets of finite-dimensional Euclidean spaces, including $*=\R^0$, and as arrows the ordinary smooth maps. Covers are ordinary open covers by inclusions. A set-valued presheaf $F$ assigns a set $F(U)$ to each domain and an operation $h^*:F(U)\to F(V)$ to each $h:V\to U$, such that $\id^*=\id$ and $(h\circ k)^*=k^*h^*$ for composable maps. For a sheaf, every compatible family of local sections has a unique global section with those restrictions. We fix an ambient universe throughout. Write $yU$ for the representable sheaf with $(yU)(V)=C^\infty(V,U)$. The representable presheaf is a sheaf because smoothness of maps into $U$ is local on their domain.

A point $u\in U$ is an arrow $i_u:*\to U$. Hence each $s\in F(U)$ determines a function
\[
 \epsilon_U(s):U\longrightarrow F(*),\qquad
 u\longmapsto i_u^*s .
\]
Call $F$ \emph{concrete} if $\epsilon_U$ is injective for every $U$. A diffeological space $X$ gives a sheaf $\underline X$ sending $U$ to the set of its plots on $U$. Restriction along $h$ is precomposition with $h$. In this case $\epsilon_U$ sends each plot to its underlying function.

\begin{theorem}[Concrete sheaves and diffeological spaces]\label{sh:equivalence}
The functor $X\mapsto\underline X$ is an equivalence from $\Diff$ to the full subcategory of concrete objects in $\Sh(\mathcal E,\mathsf{Set})$.
\end{theorem}
\begin{proof}
Functions that agree on overlaps have a unique global extension. If the local functions are plots, their extension is a plot by locality. Thus $\underline X$ is a sheaf. For a concrete sheaf $F$, use $F(*)$ as the set of points and the images of $\epsilon_U$ as the plots. Pulling back a section along the unique map $U\to *$ gives each constant plot. Naturality of point evaluation gives closure under precomposition. If a function locally comes from sections, those sections agree on overlaps by injectivity of the corresponding evaluation maps. Glue them in $F$ to get a global plot. The construction is inverse to the first up to the canonical identifications $F(U)\simeq\operatorname{im}\epsilon_U$.

For morphisms, a transformation $\eta:\underline X\to\underline Y$ has a component $f=\eta_*:X\to Y$. On each plot $p$ naturality at $i_u$ gives $\eta_U(p)(u)=f(p(u))$. Thus $fp$ is a plot and $f$ is smooth. Conversely a smooth $f$ gives a transformation by composition. These two operations are inverse and commute with composition.
\end{proof}

In the sheaf $U\mapsto\Omega^1(U)$, the sections over each Euclidean open $U$ are ordinary differential $1$-forms, and the restriction maps are pullbacks along smooth maps. Compatible local forms have a unique global extension because their coefficient functions have unique extensions in coordinates. Its set of sections at $*$ contains exactly the zero form. On $\R$, however, $dt$ and zero are distinct. Pulling $dt$ back to a point gives a form on the zero-dimensional tangent space, whereas the covector $dt_t$ on $T_t\R$ takes the value $1$ on the unit tangent vector. These two evaluations have different targets. Thus $\Omega^1$ is an object of the full sheaf topos for which $\epsilon_{\R}$ is not injective.

\section{The category of plots as a presentation}

For any presheaf $F$, its category of elements $\int F$ has objects $(U,s)$ with $s\in F(U)$. An arrow $(V,t)\to(U,s)$ is an $h:V\to U$ such that $t=h^*s$. With $F=\underline X$, an arrow is exactly a smooth reparametrization relating two plots. The diagram $\int F\to\Sh(\mathcal E,\mathsf{Set})$ sends $(U,s)$ to the represented test object $yU$. In applications it is often enough to identify maps out of the colimit of this diagram.

\begin{theorem}[Presentation by test domains]\label{sh:density}
For a sheaf $F$, the diagram of represented domains indexed by $\int F$ has colimit canonically isomorphic to $F$. Consequently, a map $F\to H$ to a sheaf $H$ amounts to an assignment $s\mapsto a_s\in H(U)$ for each $s\in F(U)$ satisfying $a_{h^*s}=h^*a_s$ for every reparametrization.
\end{theorem}
\begin{proof}
First take the colimit as presheaves, so it can be evaluated objectwise. At a test $V$, a representative consists of an element $(U,s)$ and a smooth map $h:V\to U$. Send it to $h^*s\in F(V)$. For each composition $h\circ k$, the identity $(h\circ k)^*s=k^*h^*s$ gives equal values for the two corresponding representatives in the colimit. Every $t\in F(V)$ has the representative $(V,t,\id_V)$. Moreover $h$ gives an arrow $(V,h^*s)\to(U,s)$ in $\int F$ identifying this canonical representative with $(U,s,h)$. This gives inverse bijections natural in $V$. The resulting presheaf colimit is already a sheaf, hence has the same universal property among sheaves. Finally maps $yU\to H$ correspond to $a\in H(U)$ by evaluating on $\id_U$ in one direction and taking the pullbacks $h^*a$ for $h:V\to U$ in the other. Compatibility of this cone is exactly the asserted formula.
\end{proof}

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth,font=\small]
\node (t) at (-2.8,.1) {$(W,k^*h^*s)$};
\node (v) at (0,1.25) {$(V,h^*s)$};
\node (u) at (2.7,.1) {$(U,s)$};
\draw[->] (t)--node[above left] {$k$} (v);
\draw[->] (v)--node[above right] {$h$} (u);
\draw[->] (t)--node[below] {$h\circ k$} (u);
\end{tikzpicture}
\caption{A triangle in the category of plots. A section on $U$ pulls back to $W$ either directly or via $V$. Functoriality gives the same section by both routes. These arrows also exist when $V$ is a single point, as in Theorem~\ref{sh:density}.}
\end{figure}

For $F=\underline X$ and $H=\Omega^1$, a map $F\to H$ is equivalently a compatible family of ordinary $1$-forms, one on each plot domain. This is the definition of a diffeological $1$-form. If $X$ itself is a Euclidean open $U$, the identity plot is terminal in $\int\underline U$. Its assigned form determines all the other components by pullback. For a general $X$, many domains are needed. Restricting to point plots gives only zero forms on $*$. On positive-dimensional plot domains the form can have nonzero coefficients.

\section{Jointly smooth families of transformations}

A family of predictors indexed by a parameter $u$ is a map into a space of functions. In the standard functional diffeology on $C^\infty(X,Y)$, a map $p:U\to C^\infty(X,Y)$ is a plot when $(u,x)\mapsto p(u)(x)$ is smooth on $U\times X$. Equivalently, for every plot $a:V\to X$, the map $(u,v)\mapsto p(u)(a(v))$ on $U\times V$ is a plot of $Y$. This follows by testing product plots in one direction and precomposing such independent parameters with diagonal reparametrizations in the other.

\begin{theorem}[Exponential law]\label{sh:exponential}
The functional diffeology defines an exponential $Y^X$ in $\Diff$. For each $Z$ there is a natural bijection
\[
 C^\infty(Z\times X,Y)\simeq C^\infty(Z,Y^X).
\]
With the functional diffeologies on both sides it is a diffeomorphism. Composition $Z^Y\times Y^X\to Z^X$ is smooth.
\end{theorem}
\begin{proof}
Constants in the functional definition are plots because their fixed function is smooth. Smooth changes in $u$ preserve joint smoothness by composition. Compatible functions over an open cover of $U$ give a jointly smooth function locally on $U\times X$, and hence globally by testing product plots. To verify smoothness of evaluation for a joint plot $(p,a)$ on $U$, first evaluate the independent families on $U\times U$ and then restrict to the diagonal.

Let $f:Z\times X\to Y$ be smooth. For a plot $b:U\to Z$, the function $(u,x)\mapsto f(b(u),x)$ is smooth. This gives the plot test for the curried function. Conversely a smooth curried function composes with evaluation to give a smooth $f$. Naturality follows from equality of the pointwise formulas under precomposition in $Z,X$ and postcomposition in $Y$. For a further family with domain $V$, the plot condition on either side is smoothness of the same map $V\times Z\times X\to Y$. Finally, twice applying evaluation gives the smooth map $(g,f,x)\mapsto g(f(x))$. Currying gives smooth composition.
\end{proof}

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1.1cm,y=.83cm,>=stealth,font=\small]
\draw[->] (-1.5,0)--(1.65,0) node[right] {$u$};
\draw[->] (0,-1.35)--(0,1.55) node[above] {$x$};
\draw[blue!70!black,very thick] (-1.15,-1.15)--(1.15,1.15);
\fill[white] (0,0) circle (2.6pt);\draw (0,0) circle (2.6pt);
\node[anchor=west,align=left] at (2.15,.6) {On either axis: $F=0$.};
\node[anchor=west,align=left] at (2.15,-.15) {On the punctured diagonal:\\$F=1/2$.};
\end{tikzpicture}
\caption{The function in Exercise~\ref{sh:separate} is separately smooth at every point. Along either coordinate axis through the origin it is zero. Along the diagonal its limit at the origin is $1/2$, so it is not jointly continuous there.}
\end{figure}

\section{Exercises with solutions}

\begin{exercise}[Evaluation at the identity map]
If $U\subset\R^n$ is open, determine the natural transformation $yU\to\Omega^1$ that takes $\id_U$ to $\sum a_j(x)\,dx_j$. Compute its value on a curve $c:I\to U$.
\end{exercise}
\begin{solution}
By naturality the component on $h:V\to U$ must be $\sum(a_j\circ h)d h_j$. This formula is natural under further pullback by the chain rule. For $c$, it is $(\sum_j a_j(c(t))c'_j(t))\,dt$. The coefficient of $dt$ is the pairing of the covector at $c(t)$ with the velocity $c'(t)$.
\end{solution}

\begin{exercise}[Separate tests]\label{sh:separate}
Set $F(u,x)=ux/(u^2+x^2)$ off the origin and $F(0,0)=0$. For $p(u)(x)=F(u,x)$, decide whether $p$ is a plot in $\R^{\R}$, where the exponential denotes the smooth mapping space.
\end{exercise}
\begin{solution}
For fixed nonzero $u$ the denominator never vanishes as a function of $x$, and at $u=0$ the function is identically zero. So each $p(u)$ is smooth. With $u$ and $x$ exchanged, we likewise obtain smooth parameter dependence at each fixed input. But $F(t,t)=1/2$ for $t\ne0$ and $F(0,0)=0$. The joint evaluation map is discontinuous at the origin, so $p$ is not a plot.
\end{solution}

\begin{exercise}[Recover an operation on an arbitrary space]
Show that differentiating real functions on each plot of $X$ defines a map from smooth real functions on $X$ to diffeological $1$-forms, natural in $X$. Find its kernel.
\end{exercise}
\begin{solution}
For $f:X\to\R$ give $p:U\to X$ the form $d(fp)$. By the chain rule, $d(fph)=h^*d(fp)$ for $h:V\to U$. These components therefore define a form by the presentation theorem. Precomposition with any smooth map commutes with this assignment. The form vanishes if and only if $fp$ is locally constant on each plot domain. Equivalently every fiber of $f$ is $D$-open, since these inverse images are open on all plots, and this is precisely local constancy for the $D$-topology.
\end{solution}

\begin{exercise}[Prove a uniqueness theorem for differentiation]
For every Euclidean domain $U$ let $D_U:C^\infty(U,\R)\to\Omega^1(U)$ be additive and natural under pullback by every smooth map of domains. Prove that $D_U f=c\,df$ for one real constant $c$ independent of $U$.
\end{exercise}
\begin{solution}
Write $D_{\R}(\id)=a(t)\,dt$. Apply naturality to the smooth map $f:U\to\R$ to get $D_U f=a(f)\,df$. Take $U=\R^2$, $f(x,y)=x$ and $g(x,y)=y$. By additivity,
$a(x+y)(dx+dy)=a(x)dx+a(y)dy$ for every $x,y$. Comparing $dx$ coefficients and putting $x=0$ gives $a(y)=a(0)$ for all $y$. Conversely every such multiple is additive and natural by the chain rule. We have used only additivity and naturality of $D_U$.
\end{solution}

\paragraph{Source notes.}
Iglesias-Zemmour develops the functional diffeology and smooth composition in arts.~1.57 and 1.59, and the domain presentation by generating plots in arts.~1.73 and 1.76. Baez and Hoffnung establish the concrete-sheaf equivalence on this site in Proposition~24 of \href{https://math.ucr.edu/home/baez/smooth.pdf}{\emph{Convenient Categories of Smooth Spaces}}. The proof of Theorem~\ref{sh:density} is the category-of-elements form of the Yoneda density theorem.



\chapter{Quotient stacks and coarse orbit spaces}\label{ch:descent}
Let $x$ be the signed position of a slider and $|x|$ its measured distance from the origin. The positions $x$ and $-x$ have equal measured distance. Under reflection the position changes for $x\ne0$ and is fixed for $x=0$. Suppose an attached component has two possible orientations and reflection interchanges them. At $x=0$ no choice of orientation is fixed by the stabilizer. To distinguish pointwise orbits, local changes of orientation, and stabilizers, we compare the orbit space, the sheaf of local isomorphism classes, and the quotient stack.

\section{From a cover to an effective groupoid}
Write $\mathcal H=\Sh_\infty(\mathcal E)$ for the $\infty$-category of sheaves of spaces on the smooth test site of Chapter~\ref{ch:sheaves}. A space here means a homotopy type. An object $F$ has restriction maps with coherent composition. For an open cover $U=\bigcup_i U_i$, the map from $F(U)$ to the homotopy limit of its values on the multiple intersections is an equivalence. A compatible family consists of objects on the opens, paths comparing their restrictions on double overlaps, homotopies on triple overlaps, and coherences thereafter. The usual sheaf condition is its case for sets. The first higher case consists of groupoid-valued stacks.

For each diffeological space, regard the sets of plots of its concrete sheaf as discrete homotopy types. A smooth path $[0,1]\to X$ is a map from a parameter space. An isomorphism \emph{between objects of a groupoid} is a morphism in the value of a stack on a fixed domain. For example, the two constant plots $0,1:*\to\R$ have no arrow between them in the sheaf $\R(*)$, while the smooth path $t\mapsto t$ joins their values. Smooth homotopy is developed with differential forms in Chapter~5.

For a subduction $q:E\to X$, put $E^{[k]}=E\times_X\cdots\times_X E$ with $k$ factors. The \v{C}ech nerve has $n$-simplices $E^{[n+1]}$. Deleting an entry gives a face, and repeating one gives a degeneracy. Over a fixed plot, degrees zero, one, and two consist respectively of single lifts, pairs of lifts, and triples of lifts.
\begin{figure}[htbp]\centering
\begin{tikzpicture}[>=Stealth,x=1cm,y=1cm]
\node (a) at (0,0) {$E^{[3]}$};\node (b) at (2.5,0) {$E^{[2]}$};\node (c) at (4.9,0) {$E$};\node (x) at (6.9,0) {$X$};
\foreach \h in {-.22,0,.22}{\draw[->,deep] ([yshift=\h cm]a.east)--([yshift=\h cm]b.west);}
\foreach \h in {-.14,.14}{\draw[->,deep] ([yshift=\h cm]b.east)--([yshift=\h cm]c.west);}
\draw[->,clay,thick](c)--(x);\node[below=8pt of a,font=\small]{three lifts};\node[below=8pt of b,font=\small]{a comparison};\node[below=8pt of c,font=\small]{one lift};
\end{tikzpicture}
\caption{A subduction and the first levels of its nerve. The arrows shown are face maps. For a triple $(e_0,e_1,e_2)$ the short comparisons are $(e_0,e_1)$ and $(e_1,e_2)$, and their composite is $(e_0,e_2)$.}
\end{figure}

\begin{theorem}[Descent from a subduction]\label{st:eff}
In $\mathcal H$, the geometric realization of the \v{C}ech nerve of a subduction $q:E\to X$ is equivalent to $X$. Consequently for every smooth higher stack $F$,
\[
 \Map_{\mathcal H}(X,F)\simeq
 \operatorname*{holim}_{[n]\in\Delta}\Map_{\mathcal H}(E^{[n+1]},F).
\]
\end{theorem}
\begin{proof}
Pullbacks of these concrete sheaves are computed plotwise. Over a plot $p:U\to X$ the simplicial fiber of the nerve, evaluated on $U$, has $n$-simplices the tuples of $n+1$ lifts of $p$ to $E$. If there is a lift, this is the nerve of the groupoid with exactly one arrow between any two lifts. Choosing any lift contracts its nerve. If there is no lift, the fiber is empty. Thus the objectwise realization is equivalent, over $X$, to the subpresheaf of plots with a global lift on their test domain. Its sheafification is $X$, by local lifting. Colimits of sheaves of spaces are computed by taking the presheaf colimit and sheafifying, so the realization in $\mathcal H$ is $X$. The mapping assertion is the universal property of that colimit. Here we used the general sheafification construction for the smooth site after computing the individual fibers.
\end{proof}

For an ordinary observable $F=Y$ the displayed homotopy limit reduces to the equalizer of Chapter~1. For $F=BG$, the stack of principal $G$-torsors, the groupoid of bundles on $X$ is equivalent to the groupoid of bundles on $E$ equipped with descent isomorphisms. Those bundles on $E$ need not have chosen trivializations. One may refine the atlas to one on which they do, as in Chapter~6.

\section{Action groupoids and their quotient stacks}
Let a diffeological group $G$ act smoothly on $M$ on the left. The action groupoid has objects $m$ and arrows $(g,m):m\to gm$. Its nerve has level $n$ equal to $G^n\times M$. Realizing it in $\mathcal H$ gives the quotient stack $[M/G]$. Equivalently, an object over $U$ is a right $G$-torsor $P\to U$ locally trivial on test domains, with a map $a:P\to M$ satisfying $a(ph)=h^{-1}a(p)$. Arrows are isomorphisms of torsors commuting with $a$. To see the equivalence, locally choose a section of $P$, giving a plot of $M$, and record its changes of section in $G$. Composition of changes is multiplication, precisely the face relation in the nerve. Conversely, glue copies of $U_i\times G$ by the transition functions. The local maps to $M$ agree under these identifications by equivariance and therefore define a global map.

\begin{proposition}[Comparison with the orbit space]\label{st:principal}
Write $Q=M/G$ for the set of orbits equipped with the quotient diffeology. For every diffeological space $Y$, maps $[M/G]\to Y$ are the invariant smooth functions $M\to Y$, hence are exactly smooth maps $Q\to Y$. If
\[
 G\times M\longrightarrow M\times_Q M,\qquad (g,m)\longmapsto(m,gm)
\]
is a diffeomorphism, then $[M/G]\simeq Q$ in $\mathcal H$, so the mapping spaces out of these objects are equivalent for any higher-stack target. At a point represented by $m$, the automorphism group in $[M/G](*)$ is the stabilizer $G_m$.
\end{proposition}
\begin{proof}
For a map from the realization into the discrete-valued $Y$, the two restrictions to each arrow must be equal. All higher compatibilities are then unique. Thus the map on $M$ is invariant and factors smoothly through the subduction $M\to Q$. Under the extra hypothesis, an $(n+1)$-tuple of lifts is uniquely specified by its first member and the $n$ successive changes in $G$. The inverse is smooth by the assumed smooth division map on successive pairs. These identifications give an isomorphism of nerves. Apply Theorem~\ref{st:eff}. Finally a torsor over $*$ is trivializable. After choosing a frame an automorphism preserving its map to $M$ corresponds exactly to a $g$ with $gm=m$; changing frame conjugates the identification.
\end{proof}

\section{The three quotients of the reflected line}
For $M=\R$ and $G=\{+1,-1\}$, the stabilizer is trivial away from $0$ and has order two at $0$. The comparison from the quotient stack to the orbit space factors through the sheaf of local isomorphism classes. First, $\tau_{\leq0}[M/G]$ is the sheafification of the presheaf of isomorphism classes. Two local representatives there agree if they are related on a cover by smooth changes of frame. Second, two plots of the concrete orbit space $Q$ are equal whenever their values at each point coincide as orbits.
\begin{proposition}[Distinct smooth germs with equal pointwise orbits]\label{st:germ}
The canonical comparison $\tau_{\leq0}[\R/G]\to Q$ is not injective on sections over any interval containing zero.
\end{proposition}
\begin{proof}
Define $a(t)=\exp(-1/t^2)$ for $t\ne0$ with $a(0)=0$, and $b(t)=\operatorname{sgn}(t)a(t)$ with $b(0)=0$. Both are smooth because all derivatives of $a$ vanish at zero. At each $t$ the signs give equal orbits. A smooth identification of their trivial torsor representatives on a connected neighborhood of zero would be a locally constant $g$ taking values in $G$ with $b=ga$. The equality $b=ga$ implies $g=-1$ for $t<0$ and $g=1$ for $t>0$. Such a $g$ is not locally constant on any open neighborhood of zero. The two sections remain distinct after sheafification.
\end{proof}

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1.45cm,y=1.35cm]
\draw[->,muted] (-2.25,0)--(2.3,0) node[right]{$t$};\draw[->,muted] (0,-1.12)--(0,1.08);
\draw[deep,thick,domain=-2:-.12,samples=65] plot(\x,{exp(-1/(\x*\x))});
\draw[clay,dashed,thick,domain=-2:-.12,samples=65] plot(\x,{-exp(-1/(\x*\x))});
\draw[deep,thick,domain=.12:2,samples=65] plot(\x,{exp(-1/(\x*\x))});\fill[ink](0,0)circle(1.6pt);
\node[deep] at (-1.8,1.03) {$a$};\node[clay] at (-1.8,-1.01) {$b$};\node[deep] at (1.75,1.03) {$a=b$};
\end{tikzpicture}
\caption{Two smooth local descriptions of the same orbit plot. All derivatives of $a$ vanish at the origin, so $b$ is smooth there despite the opposite signs on the two half-lines. A discrete smooth change of frame must be constant near the origin.}
\end{figure}

The coarse quotient therefore has the right universal property for point-valued smooth observables. Automorphism groups and equivariant choices of representatives can depend on the quotient stack. In a fixed-rank matrix model the frame changes do yield a smooth division map, so the equivalence criterion of Proposition~\ref{st:principal} applies. At a symmetric decision state, if the stabilizer is nontrivial and acts freely on the possible choices, no deterministic choice is equivariant, by the criterion in Chapter~8.

\section{Exercises with solutions}
\begin{exercise}[Compute the inertia]
Let $S_3$ permute the coordinates of $\R^3$. Find the automorphisms of the object of $[\R^3/S_3](*)$ at $(1,2,3)$, $(1,1,2)$, and $(1,1,1)$.
\end{exercise}
\begin{solution}
A permutation may independently permute equal coordinates. The three groups are the trivial group, a group of order two permuting the first two positions, and $S_3$.
\end{solution}
\begin{exercise}[Compare two atlases]
The integers act by translations on $\R$. Show that $[\R/\Z]$ is represented by the ordinary circle $\R/\Z$ with its usual smooth structure.
\end{exercise}
\begin{solution}
Local angle coordinates give smooth lifts to $\R$. For two lifts $a,b$ with the same image, $b-a$ is integer valued and smooth into the subset $\Z\subset\R$, which has discrete diffeology. Thus $(a,b)\mapsto (b-a,a)$ is the smooth inverse required in Proposition~\ref{st:principal}.
\end{solution}
\begin{exercise}[An observable with automorphisms]
For a nontrivial discrete group $G$, compare maps from $[*/G]$ into a diffeological space $Y$ with the groupoid of maps from $*$ into $[*/G]$.
\end{exercise}
\begin{solution}
The first mapping space is the discrete set $Y(*)$, since the invariance equations for a map from a single point hold identically. The second is the groupoid of $G$-torsors on a point. It has a single isomorphism class with automorphism group isomorphic to $G$. Its nerve has fundamental group $G$. Consequently $[*/G]$ and $*$ have equivalent mapping spaces into every diffeological target, although they are inequivalent stacks.
\end{solution}
\begin{exercise}[Prove an equivalence criterion]
Show that if the canonical map $[M/G]\to Q$ is an equivalence in $\mathcal H$, then the division-map condition in Proposition~\ref{st:principal} is necessary.
\end{exercise}
\begin{solution}
Pull back $M\to[M/G]$ along itself. A point of the resulting homotopy fiber product over a test domain consists of two specified plots of $M$ together with an isomorphism of their canonical trivial torsors in $[M/G]$. For plots $p_1,p_2:U\to M$, such an isomorphism is precisely a smooth map $g:U\to G$ with $p_2=gp_1$. There are no additional morphisms after the two trivializations have been specified. Hence the pullback is the concrete sheaf $G\times M$. After replacing the middle by the equivalent $Q$, the pullback is the concrete sheaf $M\times_Q M$. The induced comparison is the stated division map. By full faithfulness of the concrete-sheaf embedding, the division map is a diffeomorphism.
\end{solution}
\src{Further reading: Watts and Wolbert on diffeological coarse moduli spaces [3]; Minichiello on diffeological principal bundles and smooth higher stacks [4]; Lurie on effective groupoids and descent [5]. Numbers refer to the references at the end.}



\chapter{Central extensions and cohomological obstructions}\label{ch:coherence}
On a triple overlap the transition functions of a principal bundle satisfy $g_{ij}g_{jk}=g_{ik}$. After lifting each transition through a central extension of the structure group, the product of two lifted transitions can differ from the third by a central element. These discrepancies define a degree-two cohomology class. A global bundle with the prescribed projection exists precisely when that class vanishes. On a sphere we classify degree-two cocycles by an oriented sum over four faces. On a torus we compute a quaternion commutator as the obstruction to lifting a flat rotation bundle.

\section{Computing the obstruction to lifting a torsor}
Fix an exact sequence of Lie groups
\[
 1\longrightarrow A\longrightarrow \widetilde G\xrightarrow{\rho}G\longrightarrow1
\]
with discrete central kernel $A$ and with $\rho$ a covering homomorphism. We write $A$ additively for cohomology and multiplicatively inside $\widetilde G$. Take a good open cover of a paracompact smooth manifold $M$; its finite nonempty intersections are contractible. Represent a $G$-bundle by smooth transitions $g_{ij}$, with $g_{ij}g_{jk}=g_{ik}$. Choose lifts $h_{ij}$ on double overlaps, possible because a covering over a contractible domain is trivial. Use $h_{ji}=h_{ij}^{-1}$. The discrepancy on a triple overlap is
\[
              c_{ijk}=h_{ij}h_{jk}h_{ik}^{-1}\in A .
\]
It is locally constant in the parameters. The transitions and their lifts are smooth on overlaps, and their products commute with restriction to plots.
\begin{theorem}[Central lifting obstruction]\label{co:central}
The discrepancies form a \v{C}ech $2$-cocycle. Its class in $\check H^2(\mathcal U;A)$ is independent of the lifts. It vanishes exactly when the $G$-bundle admits a $\widetilde G$-bundle lifting it with a specified identification after extension of structure group. When lifts exist, their isomorphism classes with this identification form a torsor under $\check H^1(\mathcal U;A)$, and automorphisms over the identification form $H^0(M;A)$.
\end{theorem}
\begin{proof}
Evaluate $h_{ij}h_{jk}h_{kl}$ in two ways. By centrality, $c_{ijk}c_{ikl}=c_{jkl}c_{ijl}$, the cocycle law. Replacing $h_{ij}$ by $b_{ij}h_{ij}$ adds $b_{jk}-b_{ik}+b_{ij}$ to $c_{ijk}$ in additive notation. If the class vanishes, choose a $1$-cochain $b$ with $\delta b=-c$. The corrected lifts then satisfy the transition equation on every triple overlap. Glue the local products with $\widetilde G$ via these transitions. Conversely a lift restricts on each contractible $U_i$ to a trivializable bundle. Sections can be chosen above the prescribed $G$-frames: their preimages form $A$-torsors, trivial on $U_i$. Their transition functions give strict lifts, so the class vanishes. Two strict choices differ by an $A$-valued $1$-cocycle. A change of lifted frame over the same $G$-frame is an $A$-valued $0$-cochain, identifying exactly the choices differing by its coboundary. Changes preserving the same strict transitions are the global sections of the constant sheaf $A$.
\end{proof}
Changing the initial $G$-frames by $u_i$ has no effect on the class. Lift $u_i$ on the contractible $U_i$ and conjugate the transition description at the two endpoints. The new discrepancy is conjugate to the old one by the lifted frame at $i$, hence equal to it by centrality. On a refinement the cocycle is the restriction of the original cocycle, so the two representatives agree on their common refinement after a change of lifted frames.

\section{Degree-two cohomology of the sphere}
For a discrete abelian group $A$, write $B^2A=K(A,2)$ for the second delooping in smooth sheaves of spaces. Locally it has one object, one $1$-arrow up to equivalence and a group $A$ of $2$-automorphisms of that arrow. Its global objects are also described as $A$-banded gerbes. An $A$-valued cocycle on triple overlaps represents a map to $B^2A$. The corresponding construction for an ordinary $A$-torsor uses double overlaps and the target $BA$.

To compute descent data on a good cover, choose local objects at vertices of the nerve, identifications at edges, and a comparison $a_{ijk}$ at each triangle. Pasting these comparisons around a tetrahedron gives
\[
       a_{jkl}-a_{ikl}+a_{ijl}-a_{ijk}=0 .
\]
Changing the comparisons at edges by $b_{ij}$ changes $a$ by $\delta b$. A further change of frame at the vertices by $d_i$ changes $b$ by $\delta d$. Thus components are $H^2$, automorphisms up to $2$-isomorphism are $H^1$, and $2$-automorphisms of the identity are $H^0$ of the nerve. In cochain notation an object is a closed $2$-cochain $a$, an arrow to $a'$ is a $1$-cochain $b$ satisfying $a'-a=\delta b$, and a $2$-arrow to $b'$ is a $0$-cochain $d$ with $b'-b=\delta d$. For discrete coefficients the local mapping spaces on a good intersection are equivalent to $K(A,2)$, so we can compute these groups with constant labels.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[scale=1.12,>=Stealth]
\coordinate (p0) at (0,1.7);\coordinate(p1)at(-2.4,-1);\coordinate(p2)at(2.4,-1);\coordinate(p3)at(0,-.2);
\fill[deep!11](p0)--(p1)--(p3)--cycle;
\fill[clay!13](p0)--(p2)--(p3)--cycle;
\fill[deep!24](p1)--(p2)--(p3)--cycle;
\draw[deep,thick] (p0)--(p1)--(p2)--(p0)--(p3)--(p1) (p3)--(p2);
\node[above] at(p0){$0$};\node[left] at(p1){$1$};\node[right] at(p2){$2$};\node[above right] at(p3){$3$};
\node at (-.88,.03){$013$};\node at (.96,.03){$023$};\node at (0,-.77){$123$};
\end{tikzpicture}
\caption{A planar drawing of the tetrahedral boundary. The outside region represents face $012$. The signed sum of the four face labels is unchanged by every edge correction.}
\end{figure}

\begin{proposition}[A complete surface invariant]\label{co:sphere}
Use a good cover of $S^2$ with nerve the tetrahedral boundary, for example the open vertex stars of the boundary triangulation transported to the sphere. For any abelian $A$, oriented face labels $a$ modulo edge corrections are classified by
\[
             \Phi(a)=a_{123}-a_{023}+a_{013}-a_{012}\in A .
\]
In particular there is a nontrivial $B^2(\Z/2)$-class on the sphere which becomes trivial upon deleting the interior of any one face of the nerve.
\end{proposition}
\begin{proof}
All face labelings are cocycles since the nerve has no tetrahedron. In the signed sum of $\delta b$, each edge coefficient occurs twice with opposite signs. For any prescribed value, put that value on face $123$ and zero on the other faces. Conversely choose $b_{0i}=0$ and $b_{ij}=a_{0ij}$ for $0<i<j$. The cochain $a-\delta b$ is zero on the three faces containing $0$ and has value $\Phi(a)$ on face $123$. Thus two cochains are equivalent exactly when their values of $\Phi$ agree. After deletion of one face, label its opposite vertex $0$. The cochain $a-\delta b$ is then zero on every remaining face.
\end{proof}

\section{Delooping in arbitrarily high degrees}
The calculation extends to all $n\geq1$. On a good cover, a map into $B^nA=K(A,n)$ has an $A$-valued normalized $n$-cocycle as its component data, with changes given by $(n-1)$-cochains and their higher identifications. One algebraic justification is the Dold--Kan correspondence: the complex $A[n]$, concentrated in homological degree $n$, determines the simplicial abelian group $K(A,n)$. Maps out of the simplicial nerve linearize to chain maps from its normalized integral chains. Chain maps to $A[n]$ are exactly the cocycles, and chain homotopy changes a cocycle by a coboundary. Applying the same calculation after suspension gives at a base section
\[
 \pi_j\Map(M,B^nA)\cong H^{n-j}(M;A),\quad 0\leq j\leq n
\]
for manifolds with good covers and constant discrete coefficients. For $j=0$ the group operation is addition on components. By the good-cover theorem, the cohomology of the normalized Čech complex for a good cover is ordinary cohomology. For Dold--Kan and the good-cover theorem, see the references at the end. Here the coefficient objects are the abelian deloopings $B^nA$. There is no such abelian cochain model for a general smooth higher stack.


\section{Quaternion lifts of flat rotation bundles on the torus}
\label{spin-section}

Consider a frame transported by a flat connection around the two generating circles of a torus. Its rotations $R$ and $S$ must commute because the boundary of the fundamental square contracts. Suppose the frame is recorded using unit quaternions. Each measured rotation has two possible quaternion representatives. A flat quaternion lift exists precisely when the two lifted rotations commute.

The unit quaternions form $\mathrm{SU}(2)$. Conjugating an imaginary quaternion $v$ by a unit quaternion $q$ rotates the three-dimensional space of imaginary quaternions. This defines a smooth double covering
\[
  1\longrightarrow \{1,-1\}\longrightarrow \mathrm{SU}(2)
  \xrightarrow{\ p\ }\mathrm{SO}(3)\longrightarrow 1 .
\]
Its kernel is central. A rotation through angle $\theta$ about the unit imaginary axis $u$ lifts to $\pm(\cos(\theta/2)+u\sin(\theta/2))$. The covering and its kernel are described in
\href{https://math.ucr.edu/home/baez/octonions/conway_smith/index.html}{J.~Baez's account of unit quaternions and rotation groups}.

\begin{proposition}[The square obstruction]
\label{spin-obstruction}
Fix a base frame. A flat $\mathrm{SO}(3)$ system on the torus has holonomy given by an ordered commuting pair $(R,S)$. Choose arbitrary lifts $A,B$ of $R,S$ and put
\[
            \varepsilon(R,S)=ABA^{-1}B^{-1}.
\]
This sign is independent of the lift choices and of simultaneous conjugation of $(R,S)$. A flat lift in the chosen frame exists exactly when $\varepsilon=1$. In that case the set of lifting representations is a torsor for $\operatorname{Hom}(\Z^2,\{1,-1\})$. For smooth parameter families of commuting rotations, $\varepsilon$ is locally constant on every parameter plot.
\end{proposition}
\begin{proof}
From the presentation $\pi_1(T^2)=\langle a,b\mid aba^{-1}b^{-1}=1\rangle$, a framed holonomy representation is specified uniquely by the commuting images of $a,b$. The commutator upstairs projects to the identity, so it lies in the central kernel. The sign factors in the commutator cancel if either lift is multiplied by a sign. Conjugating $R,S$ by a common rotation conjugates $A,B$ by any lift of that rotation and leaves a central sign fixed. By the same relation, a lifting representation exists exactly when the lifts commute. Any two lifting representations differ on each generator by a unique sign. Conversely any pair of signs, hence any character of $\Z^2$, acts on one lift to produce another. For a plot into the space of commuting pairs, its two components admit local smooth lifts through the covering. The commutator of these lifts is smooth with values in the discrete kernel. The resulting sign is therefore locally constant and independent of the lifts.
\end{proof}

Take $R$ and $S$ to be the half turns about perpendicular coordinate axes. Their matrices are $\operatorname{diag}(1,-1,-1)$ and $\operatorname{diag}(-1,1,-1)$. The diagonal matrices commute. Choose $A=i$ and $B=j$ in the quaternion basis. Since $ij=k$ and $ji=-k$, we have $ij=-ji$ and $iji^{-1}j^{-1}=-1$. All four choices $(\pm i,\pm j)$ produce the same obstruction.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[>=stealth,font=\small]
\draw[rounded corners,fill=teal!6,draw=teal!28] (0,0) rectangle (3.55,1.95);
\draw[->,thick] (.13,0)--(3.42,0) node[midway,below] {$A=i$};
\draw[->,thick] (.13,1.95)--(3.42,1.95) node[midway,above] {$A=i$};
\draw[->,thick] (0,.13)--(0,1.82) node[midway,left] {$B=j$};
\draw[->,thick] (3.55,.13)--(3.55,1.82) node[midway,right] {$B=j$};
\foreach \x/\y in {0/0,0/1.95,3.55/0,3.55/1.95}
  {\fill (\x,\y) circle (1.6pt);}
\node[align=center] at (1.775,.975) {$AB=k$\\$BA=-k$};
\end{tikzpicture}
\caption{Opposite sides are identified in the fundamental square. Starting at the lower left, the route up and then right has product $AB$; the route right and then up has product $BA$. The endpoints agree after passage to rotations, while their lifts differ by the central sign.}
\label{spin-square}
\end{figure}

There is also a description in terms of descent. On a good open cover of the torus, the transition rotations $g_{ij}$ between locally parallel frames are constant on connected overlaps, with $g_{ij}g_{jk}=g_{ik}$ in the transition convention of Theorem~\ref{co:central}. Choose lifts $a_{ij}$ there. On triple intersections the defects $a_{ij}a_{jk}a_{ik}^{-1}$ lie in the kernel. By centrality and associativity, the defects satisfy the degree-two cocycle identity on fourfold intersections. Changing the lifted transitions by signs changes the defects by the coboundary of those signs. This is the local version of the square calculation. The changes of parallel frames on the torus are locally constant. With additional smooth parameters, the rotations and their local lifts may vary continuously in those parameters, while their signs remain locally constant along plots.

In the half-turn example there is also no topological lift of the \emph{specified underlying bundle} through this double covering. Indeed, if such a principal $\mathrm{SU}(2)$-bundle existed with its quotient identified with the given rotation bundle, the map between total spaces would be a two-sheeted covering, because over a trivializing open set the map is the product of the identity with the covering homomorphism. On simply connected chart domains the parallel frame sections of the rotation bundle would lift continuously. Their transition functions would project to the locally constant rotation transitions. A continuous lift of a constant rotation takes locally constant values in its two-point fiber. Those locally constant transitions would define a flat lift, contrary to $\varepsilon=-1$. Here we use discreteness of the kernel.

\begin{exercise}[A family with local choices]
Set $S=1$ and let $R(t)$ run once through the rotations about a fixed axis as $t$ varies in $\R/\Z$. Prove that each torus system lifts and that no continuous choice of the first lifted generator exists around the parameter circle.
\end{exercise}
\begin{solution}
Choose $B=1$ so every commutator is $1$. On $0\le t\le 1$ the lift starting at $1$ is $A(t)=\cos(\pi t)+u\sin(\pi t)$. Its endpoints are opposite. The only other lift on this connected interval is $-A(t)$, which has the same mismatch. Neither descends through the identification of endpoints. The equivalence in Proposition~\ref{spin-obstruction} holds separately for each torus representation. A continuous global choice of the first generator is a section of the pulled-back two-sheeted cover.
\end{solution}



\section{Exercises with solutions}
\begin{exercise}[Track the signs]
Take $A=\Z$ and labels $a_{012}=2$, $a_{013}=4$, $a_{023}=1$, $a_{123}=-1$. Find a representative supported on one face.
\end{exercise}
\begin{solution}
The invariant is $-1-1+4-2=0$. Taking $b_{12}=2$, $b_{13}=4$, $b_{23}=1$ and all $b_{0i}=0$ gives $\delta b=a$, including $(\delta b)_{123}=1-4+2=-1$. The zero labeling represents this class.
\end{solution}
\begin{exercise}[Classify ambiguous choices]
On the tetrahedral boundary, suppose $a$ has already been cleared. Prove that two choices of edge corrections that clear $a$ are related by a vertex correction.
\end{exercise}
\begin{solution}
Their difference $b$ satisfies $\delta b=0$. Set $d_0=0$ and $d_i=b_{0i}$. On a triangle $0ij$ the cocycle equation gives $b_{ij}=d_j-d_i$. Thus $b=\delta d$. The vertex correction is unique up to adding a constant element of $A$ on all four vertices.
\end{solution}
\begin{exercise}[Recover one higher symmetry]
For the trivial section of $B^2A$ over a circle, compute the groups of isomorphism classes of its automorphisms and of $2$-automorphisms of its identity.
\end{exercise}
\begin{solution}
Take a good cover by three cyclically overlapping arcs with empty triple intersection. An arrow up to $2$-isomorphism has an $A$-label on each of the three oriented edges modulo vertex differences. Set two edge labels to zero by solving for the vertex differences along a spanning tree. The label on the third edge then equals the original cyclic sum, and every element of $A$ occurs. A $2$-automorphism of the identity is a vertex labeling constant on the edges, giving $A$ again. The two copies of $A$ occur in different homotopy degrees.
\end{solution}
\begin{exercise}[Prove the sphere formula in every degree]
On the boundary of an $(n+1)$-simplex, prove directly that $n$-cochains modulo coboundaries are classified by evaluation on its oriented boundary. Assume $n\ge1$.
\end{exercise}
\begin{solution}
Orient each face by vertex order. Every coboundary evaluates to zero on this cycle, since the boundary of a boundary is zero. Fix vertex $0$. For each $(n-1)$-face $J$ excluding $0$, put $b_J=a_{0J}$ and set $b$ zero on faces containing $0$. Then $(\delta b)_{0J}=a_{0J}$ for every $n$-face containing $0$ (here $J$ lists its other $n$ vertices). Subtracting $\delta b$ leaves just the unique opposite face. Its coefficient, with positive boundary orientation for the face opposite vertex $0$, equals the original evaluation. Any element can be placed on that face. Thus evaluation is an isomorphism. For $n=1$, it is the holonomy around a triangle.
\end{solution}
\src{For the interpretation by deloopings, see references [5], [7], and [8].}



\chapter{Differential forms and de Rham cohomology}
\label{dg-forms}
On a diffeological quotient, a differential form is specified by ordinary forms on the domains of plots. These forms must agree under smooth reparametrizations, including at points shared by several local branches. On the line with two origins the resulting de Rham complex is isomorphic to that of the ordinary line. Its singular cohomology, however, has a degree-one class arising from the two components of a chart overlap.

\section{Plotwise forms and descent}
Write $\Omega^k(U)$ for ordinary smooth differential $k$-forms on an open Euclidean domain $U$. On a diffeological space $X$, an element $\alpha\in\Omega^k(X)$ consists of forms $\alpha_p\in\Omega^k(U)$ indexed by plots $p:U\to X$, subject to
\[
                 \alpha_{p\circ h}=h^*\alpha_p
\]
for every smooth reparametrization $h:V\to U$. Thus $\alpha$ is a natural transformation from the sheaf of plots to the sheaf of ordinary forms. On a manifold, evaluate the assignment on coordinate charts and glue the local forms using the transition functions. Conversely, pull an ordinary form back to every plot to obtain the corresponding family. The exterior derivative and the product can be taken on each domain, since ordinary pullback commutes with both. For a smooth $f:X\to Y$ put $(f^*\alpha)_p=\alpha_{fp}$. These operations make $\Omega^\bullet$ a contravariant functor to differential graded algebras. A zero-form comes from the function $x\mapsto\alpha_x$ obtained by testing the one-point plots. For a function $f:X\to\R$, the composite $fp$ is smooth for every plot $p$ exactly when $f\in C^\infty(X,\R)$.

At a point where the derivative of a plot has deficient rank, the pullback of a nonzero form can vanish. For the plot $p(u,v)=(u,uv)$ in the plane one has $p^*(dx\wedge dy)=u\,du\wedge dv$. At $u=0$ the derivative in the $v$ direction is zero, so the pullback vanishes there. On the identity plot of the plane the same form is $dx\wedge dy$ everywhere. Two forms are equal if their pullbacks agree on all plots, or on a generating family through which plots locally lift.

\begin{theorem}[Descent of differential forms]\label{dg-descent}
Suppose $q:Y\to X$ is a subduction, so every plot of $X$ locally lifts to $Y$. Write $Y^{[2]}=Y\times_XY$ with its fiber product diffeology. There is a natural equalizer of differential graded algebras
\[
 \Omega^\bullet(X)\xrightarrow{q^*}\Omega^\bullet(Y)
 \ \substack{\xrightarrow{\mathrm{pr}_1^*}\\[-3pt]\xrightarrow[\mathrm{pr}_2^*]{}}\
 \Omega^\bullet(Y^{[2]}).
\]
\end{theorem}
\begin{proof}
Any pullback has equal further pullbacks since $q\mathrm{pr}_1=q\mathrm{pr}_2$. Conversely, take $\beta$ in the equalizer. To assign a form to a plot $p:U\to X$, choose a covering by domains $U_i$ and lifts $p_i:U_i\to Y$. On an intersection $(p_i,p_j)$ is a plot of $Y^{[2]}$. By the equalizer condition, $p_i^*\beta=p_j^*\beta$ there. By the sheaf property on $U$, there is a unique ordinary form with these restrictions. For any two choices, the local forms agree on a common refinement, so the resulting form on $U$ is the same. Pulling the cover and lifts back along $h$ gives the required reparametrization equality. A plot in $Y$ is itself a lift of its composite with $q$, proving that the constructed form pulls back to $\beta$. Any other proposed form has the same restrictions to every such lifting cover, and hence is equal to the constructed form. Compatibility with products and derivatives follows plot by plot.
\end{proof}

This is Iglesias-Zemmour's article 6.38 in equalizer form. The equality of pullbacks must hold for every plot of $Y^{[2]}$. For example, the angular form on a circle is invariant under each fixed rotation. For the quotient of the circle to a point, its two pullbacks to the fiber product are nevertheless different. Use the pair consisting of a rotating point and a constant point, parametrized by the same interval. The two pullbacks are $dt$ and zero. In Chapter~\ref{bu-chapter} we apply the same criterion to forms on a level set in symplectic reduction.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth]
\fill[blue!7] (-2.6,-.4) rectangle (.6,.5);
\fill[teal!12] (-.6,-.4) rectangle (2.6,.5);
\draw[blue!75!black] (-2.6,-.4) rectangle (.6,.5);
\draw[teal!70!black] (-.6,-.4) rectangle (2.6,.5);
\node at (-1.55,.05) {$U_i$};\node at (1.55,.05) {$U_j$};\node at (0,.05) {$W$};
\node (a) at (-1.7,1.55) {$Y$};\node (b) at (1.7,1.55) {$Y$};
\node (c) at (0,2.65) {$X$};
\draw[->] (-1.55,.53)--node[left] {$p_i$}(a);
\draw[->] (1.55,.53)--node[right] {$p_j$}(b);
\draw[->] (a)--node[above left] {$q$}(c);\draw[->] (b)--node[above right] {$q$}(c);
\end{tikzpicture}
\caption{The two lifts restrict to a single plot $(p_i,p_j)$ of the relation space over the strip $W$. For a form in the equalizer, $p_i^*\beta=p_j^*\beta$ on $W$.}\label{dg-fig-equalizer}
\end{figure}

\section{Cohomology of the line with two origins}
Take copies $L_+,L_-$ of the real line and identify $(+,x)$ with $(-,x)$ for every $x\ne0$. Give $L$ the quotient diffeology. Write $o_+,o_-$ for the remaining origins and $r:L\to\R$ for their common coordinate. The images $U_+,U_-$ of the two charts are $D$-open and diffeomorphic to $\R$. Indeed $D$-openness means openness of the inverse image under each plot. Lifting plots locally reduces the test to ordinary openness in each copy. The preimages of $U_+$ are one whole line and one punctured line. The inverse to each chart is the corresponding restriction of $r$. Neighborhoods of the origins always meet, as their restrictions to the punctured lines share sufficiently small nonzero points. In particular these two open charts form a non-Hausdorff smooth space. Their overlap has two connected components.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth]
\draw[thick] (-3.1,0)--(-1.5,0);\draw[thick] (1.5,0)--(3.1,0);
\draw[blue!75!black,thick] (-1.5,0)..controls(-.85,0) and (-.8,.68)..(0,.68)..controls(.8,.68) and (.85,0)..(1.5,0);
\draw[teal!75!black,thick] (-1.5,0)..controls(-.85,0) and (-.8,-.68)..(0,-.68)..controls(.8,-.68) and (.85,0)..(1.5,0);
\fill[blue!75!black] (0,.68) circle(2.25pt);\fill[teal!75!black] (0,-.68) circle(2.25pt);
\node[above] at (0,.72) {$o_+$};\node[below] at (0,-.74) {$o_-$};
\draw[densely dashed,gray] (-.7,.49)--(-.7,-.49);\draw[densely dashed,gray] (.7,.49)--(.7,-.49);
\node[above] at (-2.35,0) {$x<0$};\node[above] at (2.35,0) {$x>0$};
\end{tikzpicture}
\caption{A chart picture of the doubled origin. In the split portion every vertically aligned pair represents the same point except the two marked origins. The upper and lower arcs correspond to the two choices of chart.}\label{dg-fig-line}
\end{figure}

\begin{theorem}[de Rham and singular cohomology of the doubled line]\label{dg-double}
For the doubled line $r^*:\Omega^\bullet(\R)\to\Omega^\bullet(L)$ is an isomorphism. Nevertheless the ordinary singular cohomology of its $D$-topological space satisfies $H^1_{\mathrm{sing}}(L;\R)\cong\R$.
\end{theorem}
\begin{proof}
By descent a form is a pair of ordinary forms equal on $\R\setminus\{0\}$. For degrees zero and one their coefficient functions agree on a dense set and hence everywhere by continuity. In higher degrees both vanish. Hence we have the first assertion and $H^1(\Omega^\bullet(L))=0$ by integration of real-line coefficients. For the second, apply singular Mayer--Vietoris to $U_+,U_-$. It applies to an open cover without a Hausdorff hypothesis. Each chart is contractible, and their overlap is the disjoint union of two contractible intervals. The relevant exact sequence ends with
\[
 \R^2\longrightarrow\R^2\longrightarrow H^1_{\mathrm{sing}}(L;\R)
 \longrightarrow 0.
\]
The first map is $(a,b)\mapsto(a-b,a-b)$. The quotient by this diagonal is one-dimensional.
\end{proof}

We can compute a representative of the additional class in the two-column \v{C}ech--de Rham complex of this cover. In bidegree $(1,0)$ put zero on the negative component of the overlap and one on the positive component. Its derivative vanishes. A total degree-zero primitive would be a pair of functions with zero derivative on both charts. Their difference on the overlap would be the same constant on both components, which is impossible. The pair of constants on the overlap represents a nonzero class in the total complex, although every global one-form has a primitive. The ordinary equalizer theorem holds in each degree. Passing first to an equalizer of complexes and taking a derived limit of those complexes are different operations in this example. No general comparison of all variants of diffeological cohomology is needed for this calculation.

\section{The cochain homotopy associated to a smooth homotopy}
Use a smooth homotopy $H:\R\times X\to Y$ and write $f_i(x)=H(i,x)$ for $i=0,1$. One can use an open interval containing $[0,1]$ in the same formula. Testing on a plot $p:U\to X$ yields an ordinary smooth form on $\R\times U$; write it uniquely as $a_t+dt\wedge b_t$, with both coefficients forms in the $U$ variables. Define a degree $-1$ linear operator $K_H$ on positive-degree forms by
\[
        (K_H\alpha)_p=\int_0^1 b_t\,dt,\qquad K_H|_{\Omega^0}=0 .
\]
Reparametrizations act only in $U$, so they commute with contraction in $t$ and coefficient integration. Integration over the compact interval preserves smoothness. In particular the integrals depend smoothly on the parameters of a smooth family of paths. Equivalently one may first pull back by the evaluation map from time times the functional path space and then integrate. For the family classified by $H$, the result is the formula above.

\begin{theorem}[Path integration gives a chain homotopy]\label{dg-homotopy}
$ dK_H+K_Hd=f_1^*-f_0^*$ on the global plotwise de Rham complex of $Y$. In particular smoothly homotopic maps induce identical pullbacks on its cohomology.
\end{theorem}
\begin{proof}
On $\R\times U$ the derivative of the displayed decomposition is
\[
 d_Ua_t+dt\wedge(\partial_ta_t-d_Ub_t).
\]
Consequently the integrands of $dK_H\alpha$ and $K_Hd\alpha$ add to $\partial_ta_t$. Integration gives $a_1-a_0$. For degree zero this is just the fundamental theorem of calculus applied along each time path. The identity therefore holds on every plot, hence on the diffeological space. Applied to a closed form the right side is exact.
\end{proof}

For example, on the plane with $H(t,x,y)=(tx,ty)$, contraction of $H^*(dx\wedge dy)$ in time gives $t(x\,dy-y\,dx)$. Integration gives the familiar primitive $(x\,dy-y\,dx)/2$. In Chapter~\ref{bu-chapter} we use this primitive to compute the area of a reduced phase space. In general, integration along a path of maps gives a degree $-1$ operator on forms whose cochain boundary is the difference of the endpoint pullbacks. For a smooth homotopy between two paths of maps, one can integrate over the parameter square and its oriented boundary. For smooth homotopy invariance of de Rham cohomology we only need the one-parameter identity above.

\section{Solved exercises}
\begin{exercise}[Pull back the area form]
Pull the area form on $\R^2$ back under $p(s,t)=(s\cos t,s\sin t)$. Explain what happens at $s=0$.
\end{exercise}
\begin{solution}
Differentiation gives $dx=\cos t\,ds-s\sin t\,dt$ and $dy=\sin t\,ds+s\cos t\,dt$. Their product is $s\,ds\wedge dt$. The angular tangent of the plot is zero along $s=0$, so this particular measurement vanishes there. On the target the area form still evaluates to one on the standard coordinate vectors.
\end{solution}
\begin{exercise}[Check descent across a fold]
Let $q:\R\to\R/\{x\sim-x\}$ be the sign quotient. Which functions descend? Show that $x\,dx$ descends, and give a primitive.
\end{exercise}
\begin{solution}
A smooth function descends exactly when it is even: invariance makes it a function of the orbit, and smoothness follows from local plot lifting. Set $F([x])=x^2/2$. Then $q^*dF=x\,dx$. The equality also holds when the relative sign of two lifts changes at a zero.
\end{solution}
\begin{exercise}[Construct a period obstruction]
On $S^1\subset\R^2$ restrict $x\,dy-y\,dx$ to a form $\eta$. Show that $\eta$ is closed and has no global real primitive. Explain why smooth loop homotopies preserve its period.
\end{exercise}
\begin{solution}
Every two-form on a one-manifold vanishes, so $d\eta=0$. On $t\mapsto(\cos t,\sin t)$ the pullback is $dt$, and its integral from $0$ to $2\pi$ is $2\pi$. A real primitive would have equal endpoint values on the loop. For a smooth family of loops apply Theorem~\ref{dg-homotopy} to a homotopy with domain $S^1$: the difference of the two endpoint pullbacks is exact, so its integral on the circle is zero.
\end{solution}
\begin{exercise}[Prove a family of comparison failures]
Glue $m\ge2$ real lines by identifying equal nonzero coordinates in every copy. Prove that $H^1$ of the global plotwise forms is zero whereas the first real singular cohomology of the $D$-topology has dimension $m-1$.
\end{exercise}
\begin{solution}
The $m$ coefficient functions of any form agree on a dense open subset of each chart, so each degree is exactly the corresponding degree on $\R$. Write $L_m=L_{m-1}\cup U_m$ with $U_m$ the final chart. This is an open cover, and the intersection is a punctured line. Both cover members are path connected. In Mayer--Vietoris the map on degree zero therefore has image the diagonal in $\R^2$. The intersection has zero first cohomology. Exactness now gives a short exact sequence $0\to\R\to H^1(L_m;\R)\to H^1(L_{m-1};\R)\to0$. By induction from $L_1=\R$, the dimension is $m-1$.
\end{solution}

\paragraph{Sources.}
Iglesias-Zemmour, \emph{Diffeology}, articles 2.8 and 2.12 (topology), 6.28--6.38 (forms and descent), and 6.83--6.88 (homotopy). The homotopy operator also has a journal treatment in Iglesias-Zemmour's \emph{Variations of Integrals in Diffeology}. For the doubled line we computed the two cohomology groups directly.
\href{https://doi.org/10.1090/surv/185}{AMS monograph};
\href{https://doi.org/10.4153/CJM-2012-044-5}{Canadian Journal of Mathematics}.



\chapter{Bundles, transport, and reduction}
\label{bu-chapter}
Multiplying a nonzero complex vector by a phase gives another representative of the same circle orbit. Choosing local representatives produces transition functions on double overlaps. On triple overlaps these functions satisfy a cocycle equation. For a circle bundle, the local connection forms differ on double overlaps by a term determined by the transition function. Their exterior derivatives then define a global curvature form. For the Hopf bundle we compute the curvature and the reduced symplectic area explicitly.

\section{Principal bundles and transition functions}
Let $G$ be a diffeological group. A right principal $G$-bundle over $X$ in this chapter is a subduction $q:P\to X$ with a smooth right action such that
\[
       P\times G\longrightarrow P\times_X P,\qquad (p,g)\longmapsto(p,pg)
\]
is a diffeomorphism. The inverse has a group-valued component $\delta(p,p')$ characterized by $p\delta(p,p')=p'$. Thus the group element taking $p$ to $p'$ depends smoothly on the pair. If $p:U\to X$ is a plot, lift it locally to $s:V\to P$. On $V$, $(v,g)\mapsto(v,s(v)g)$ trivializes the pullback bundle, with inverse given by division. Hence the pullback is locally trivial on every plot, even on bases with very few $D$-open subsets. On a manifold base, the coordinate parametrizations are plots, so the bundle is locally trivial on the base.

For a subduction $a:Y\to X$, write $Y^{[k]}$ for the $k$-fold fiber product over $X$. A trivialization of $a^*P$ is equivalently a smooth section $s:Y\to P$ covering $a$. For $(y,z)\in Y^{[2]}$ write $s(z)=s(y)g(y,z)$. These transition functions satisfy
\[
 g(y,y)=e,\qquad g(y,z)g(z,w)=g(y,w).
\]
For a nonabelian structure group, the order of the transition factors matters.

\begin{theorem}[Effective descent with changes of frame]\label{bu-descent}
For a fixed subduction $a:Y\to X$, the groupoid of principal $G$-bundles on $X$ trivializable over $Y$, with equivariant isomorphisms over $X$, is equivalent to the groupoid of the above smooth cocycles and their changes of frame.
\end{theorem}
\begin{proof}
For a cocycle $g$, form the quotient diffeology on
\[
 P_g=(Y\times G)/\big((z,h)\sim(y,g(y,z)h)\big),\qquad a(y)=a(z).
\]
The cocycle identities give an equivalence relation and right multiplication descends. The structural map $P_g\to X$ is a subduction because locally lifting to $y$ gives the bundle lift $[y,e]$. To check smooth division on a pair in one fiber, locally lift its two members to $(y,h),(z,k)$. Their division is $h^{-1}g(y,z)k$, a smooth expression which agrees for all representatives. The map $y\mapsto[y,e]$ trivializes the pullback to $Y$. Conversely a section $s$ of $a^*P$ gives the cocycle by smooth division, and $[y,h]\mapsto s(y)h$ identifies the reconstructed bundle with $P$. Its inverse is smooth by locally choosing $y$ over the image of a plot and applying division by $s(y)$.

For full faithfulness, an equivariant isomorphism $F:P_g\to P_{g'}$ must take $[y,e]$ to $[y,b(y)]$ for a unique smooth $b:Y\to G$. By the quotient relation, $g'(y,z)b(z)=b(y)g(y,z)$. Conversely this equation makes $[y,h]\mapsto[y,b(y)h]$ well defined, and $b^{-1}$ yields the inverse. Composition multiplies the changes of frame in the order of the maps. Every bundle in the stated groupoid admits a section upstairs by hypothesis, proving essential surjectivity.
\end{proof}

The cocycle is a function on the arrows of the \v{C}ech groupoid $Y^{[2]}\rightrightarrows Y$, and the cocycle equation holds on triples. The maps $b$ are natural isomorphisms. This is the local cocycle description of the classifying stack $BG$. For example, over a point the trivial torsor still has a group of changes of frame isomorphic to $G$. It would have only the identity morphism if one retained solely its isomorphism class. A global frame gives a smooth section of $P\to X$. For the Hopf bundle we prove nonexistence of a global frame by integrating the curvature.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth]
\node[draw,circle] (a) at (0,0) {$y$};\node[draw,circle] (b) at (3.5,0) {$w$};
\node[draw,circle] (c) at (1.75,1.8) {$z$};
\draw[->,thick,teal!75!black] (a)--node[above left] {$g(y,z)$}(c);
\draw[->,thick,teal!75!black] (c)--node[above right] {$g(z,w)$}(b);
\draw[->,thick,blue!70!black] (a)--node[below] {$g(y,w)$}(b);
\end{tikzpicture}
\caption{Three lifts of the same base point. Right frames change successively as $s(y)g(y,z)g(z,w)=s(w)$. The product of the two transition factors equals the direct transition $g(y,w)$.}\label{bu-fig-cocycle}
\end{figure}

\section{Phase, curvature, and transport}
Use $G=S^1$ with real angular form $\eta$ characterized by $(t\mapsto e^{it})^*\eta=dt$. Thus $d\eta=0$, $\int_{S^1}\eta=2\pi$, and multiplication $m$ satisfies $m^*\eta=\mathrm{pr}_1^*\eta+\mathrm{pr}_2^*\eta$. In a local frame an angular connection is described by a real one-form $A$ on the base. Upstairs the connection is $A+\eta$ in this frame, with product projections implicit. Parallel transport in the section along a path $x(t)$ sends a starting phase $e^{i\theta(0)}$ to
\[
          e^{i\theta(t)}
          =e^{i\theta(0)}\exp\!\left(-i\int_0^t A_{x(u)}(\dot x(u))\,du\right).
\]
For general diffeological paths the integrand means the coefficient of the ordinary pulled-back one-form on the interval. With this sign the pullback of $A+\eta$ to the lifted path is zero. In a new frame $s'=s k$ the form becomes $A'=A+k^*\eta$ and the phase coordinate becomes $k^{-1}e^{i\theta}$. The two changes cancel in the lifted path. Concatenating paths adds the integrals in each frame and composes transport. For a flat connection, transport is invariant under endpoint-fixed homotopy. More generally, in a trivialization over a disk $D$, the phase around the boundary equals $\exp(-i\int_{D} dA)$ by Stokes' theorem.

\begin{proposition}[Connection and curvature descent]\label{bu-curvature}
For a circle cocycle $g$ on $a:Y\to X$, suppose $A\in\Omega^1(Y)$ satisfies
\[
 \mathrm{pr}_2^* A-\mathrm{pr}_1^*A=g^*\eta\quad\text{on }Y^{[2]} .
\]
There is a unique one-form on $P_g$ pulling back to $A+\eta$ on $Y\times S^1$. Its derivative is $q^*F$ for the unique closed $F\in\Omega^2(X)$ with $a^*F=dA$.
\end{proposition}
\begin{proof}
For equivalent representatives $(z,h)$ and $(y,g(y,z)h)$ the latter group coordinate contributes $g^*\eta+h^*\eta$ when evaluated on plots. The assumed equation makes the two pullbacks of $A+\eta$ coincide. Apply Theorem~\ref{dg-descent} to the subduction onto $P_g$. Differentiation of the equation and $d\eta=0$ show that $dA$ descends uniquely along $a$. The resulting form $F$ is closed since $a^*dF=0$ and pullback is injective. The derivative of the one-form upstairs and $q^*F$ have the same pullback $dA$ to $Y\times S^1$, proving equality.
\end{proof}

\section{Hamiltonian period obstructions and symplectic reduction}
On a finite-dimensional symplectic manifold $(M,\omega)$, use the sign convention $d\langle\mu,\xi\rangle=-\iota_{\xi_M}\omega$. Here $\xi_M$ is the fundamental vector field of an action of a Lie group $G$ by symplectomorphisms. For each $\xi$, $-\iota_{\xi_M}\omega$ is closed by Cartan's formula. A real Hamiltonian for this infinitesimal action exists on a connected $M$ exactly when all periods of this closed form vanish. Indeed the integral from a basepoint to $x$ then depends only on $x$, and in a coordinate ball it differs from a smooth local primitive by a constant. Conversely every exact form has zero loop periods. For a nonabelian action, equivariance of a moment map requires compatibility with the coadjoint action. We assume equivariance explicitly in reduction.

A circle action on the torus can have a nonzero period. Give the torus $\R^2/\Z^2$ its unit area form $dx\wedge dy$. The circle translating the $x$ coordinate has infinitesimal generator $\partial_x$, and the candidate differential is $-dy$. Its period on the positive $y$ loop is $-1$. Modulo the period lattice the coordinate $-y\bmod\Z$ is well defined and smooth. Iglesias-Zemmour defines a moment map for a connected diffeological space with a closed two-form. Its target is a space of invariant one-forms on the group modulo the holonomy subgroup (articles 9.1--9.9). For the torus above the target is a circle. In the following theorem we assume an equivariant $\mathfrak g^*$-valued moment map.

\begin{theorem}[Regular symplectic reduction]\label{bu-reduction}
Let a Lie group $G$ act symplectically on $(M,\omega)$ with equivariant moment map $\mu$. Assume $0$ is a regular value and $G$ acts freely and properly on the nonempty level $N=\mu^{-1}(0)$. With $j:N\hookrightarrow M$ and $q:N\to N/G$ there is a unique symplectic form $\omega_{\mathrm{red}}$ such that
\[
                     q^*\omega_{\mathrm{red}}=j^*\omega .
\]
Moreover the quotient stack $[N/G]$ is represented by the smooth manifold $N/G$.
\end{theorem}
\begin{proof}
By equivariance the zero level is $G$-invariant, and by the regular level theorem $T_xN=\ker d\mu_x$. Write $V_x=\{\xi_M(x)\}$, the orbit directions. By the moment identities, $T_xN=V_x^{\omega}$; also $V_x\subset T_xN$ by invariance of $N$. Nondegeneracy in the ambient finite-dimensional space now gives $\ker(j^*\omega)_x=T_xN\cap(T_xN)^\omega=V_x$. By the free proper quotient theorem, $q$ is a locally trivial principal bundle. On two lifts of a quotient plot the second lift is the first acted on by a smooth group-valued function. Differentiating this change gives the derivative of a fixed action plus a vertical component. The vertical component belongs to the kernel of $j^*\omega$, and the action by each fixed group element preserves the form. Thus the two lift pullbacks agree. By descent there is a unique quotient form. Its derivative pulls back to zero, so it is closed by injectivity of pullback. Its kernel on $T_xN/V_x$ is zero because the kernel on $T_xN$ is $V_x$.

For the stack statement an object over a test domain $U$ consists of a principal bundle $P\to U$ and equivariant map to $N$ (using compatible left or right conventions). It determines $f:U\to N/G$. The induced map $P\to f^*N$ is equivariant and a smooth isomorphism, as can be verified in bundle frames. Hence the object is canonically isomorphic to the pullback of $N$; any automorphism over the map to $N$ is the identity since the action is free. This gives the desired equivalence on all test domains.
\end{proof}

\section{Symplectic area of the projective line}
Let $e^{it}$ act by simultaneous multiplication on $\C^2$ with the standard form $\omega=\sum_{j=1}^2 dx_j\wedge dy_j$. Contraction against $\sum_j(-y_j\partial_{x_j}+x_j\partial_{y_j})$ gives $-d(\|z\|^2/2)$. Take $\mu=(\|z\|^2-R^2)/2$ for $R>0$. The circle action on the level $S^3_R$ is free. The projection $S^3_R\to\C P^1$ is $z\mapsto \C z$. The fibers are exactly circle orbits. If $w=z_2/z_1=u+iv$, a smooth section is
\[
              s(w)=\frac{R}{\sqrt{1+|w|^2}}(1,w).
\]
In the second chart use $z_1/z_2$. By these local sections the quotient diffeology is the manifold diffeology on the projective line. To compute the reduced form, take $\lambda=\frac12\operatorname{Im}\sum_j\overline z_j\,dz_j$ so $d\lambda=\omega$. Terms involving the derivative of the real normalizing factor have zero imaginary part, giving
\[
 s^*\lambda=\frac{R^2}{2}\frac{u\,dv-v\,du}{1+u^2+v^2},
 \qquad
 \omega_{\mathrm{red}}=\frac{R^2\,du\wedge dv}{(1+u^2+v^2)^2}.
\]
For the disk $D_t=\{w:|w|\le t\}$ in this coordinate chart, integrate in polar coordinates first up to a finite radius:
\[
 \operatorname{Area}(D_t)=
 2\pi R^2\int_0^t\frac{r\,dr}{(1+r^2)^2}
 =\pi R^2\frac{t^2}{1+t^2}.
\]
The omitted projective point has zero area. Sending $t$ to infinity gives total area $\pi R^2$. In particular the unit circle splits the reduced space into two pieces of equal area. In the second Hopf chart the coordinate is $1/w$, so $|w|<1$ corresponds to $|1/w|>1$ on the overlap.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[>=stealth,font=\small]
\begin{scope}[x=1cm,y=1cm]
\fill[teal!16] (0,0) circle(1);
\draw[gray!70,->] (-1.35,0)--(1.48,0) node[right] {$u$};
\draw[gray!70,->] (0,-1.25)--(0,1.4) node[above] {$v$};
\draw[teal!80!black,thick] (0,0) circle(1);
\draw[->,teal!80!black,thick] (0,0)--(.707,.707);
\node at (-.34,-.45) {$D_1$};
\node[below] at (1.02,0) {$1$};
\end{scope}
\begin{scope}[shift={(3.0,-.95)},x=1.12cm,y=2.1cm]
\draw[gray!70,->] (0,0)--(3.72,0) node[right] {$t$};
\draw[gray!70,->] (0,0)--(0,1.19);
\node[anchor=west] at (.12,1.22) {fraction of total area};
\foreach \t in {1,2,3}{
\draw[gray!65] (\t,-.025)--(\t,.025);\node[below] at (\t,0) {$\t$};}
\node[below left] at (0,0) {$0$};
\foreach \n/\a in {1/1,.5/{1/2}}{\node[left] at (0,\n) {$\a$};}
\draw[gray,densely dashed] (0,1)--(3.56,1);
\draw[teal!65!black,densely dashed] (0,.5)--(1,.5)--(1,0);
\draw[teal!80!black,very thick,domain=0:3.52,samples=55] plot (\x,{\x*\x/(1+\x*\x)});
\fill[teal!80!black] (1,.5) circle (1.8pt);
\fill[teal!80!black] (2,.8) circle (1.8pt);
\node[anchor=west] at (2.03,.64) {$(2,4/5)$};
\end{scope}
\end{tikzpicture}
\caption{Reduced area in the projective chart $w=u+iv$. The shaded unit disk contains half the area of $\C P^1$. The disk of radius two contains four fifths of the total area. The curve is $t^2/(1+t^2)$ for every sphere radius $R>0$.}
\label{bu-fig-hopf-area}
\end{figure}

Since the total area is positive, the reduced form cannot be exact on the compact oriented quotient. The ambient primitive does not descend because its value on the circle generator is $R^2/2$. The restriction of $2\lambda/R^2$ to the level is an angular connection, and its curvature has total integral $2\pi$. If a global section existed, its pullback of the connection would be a global primitive of the curvature. The curvature integral would then be zero by Stokes' theorem. Hence the Hopf bundle is nontrivial.

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth]
\draw[gray] (-2.5,0)--(2.9,0);
\foreach \x/\c in {-1.8/blue,.1/teal,2/orange}{
\draw[\c!75!black,thick] (\x,1.25) ellipse (.51 and .24);
\draw[->,gray] (\x,.94)--(\x,.14);
\fill[\c!75!black] (\x,0) circle(2pt);}
\node[above] at (.1,1.63) {$\{\,e^{it}s(w):t\in\R\,\}\subset S^3_R$};
\node[below] at (.1,-.05) {points $w$ of one affine chart in $\C P^1$};
\end{tikzpicture}
\caption{Each point on the drawn slice of the projective chart has a circle of normalized representatives. The angular connection restricts to $d\theta$ in a phase coordinate on each fiber. The reduced area form is defined on the two-dimensional projective chart.}\label{bu-fig-hopf}
\end{figure}

Changing both weights from one to $k>1$ keeps the same orbits on a fixed sphere. For the weight-$k$ action a valid shifted moment map is $k(\|z\|^2-R^2)/2$. Every point of the level has a stabilizer of order $k$. Thus the coarse smooth quotient remains $\C P^1$ and still carries the descended area; the quotient stack has a cyclic automorphism group at each point. Regularity of the level alone cannot imply the final representability assertion of Theorem~\ref{bu-reduction}.

\section{Solved exercises}
\begin{exercise}[Calculate a frame change]
On the unit circle take the constant potential $A=c\eta$ on a trivial circle bundle. Change the frame by $k(z)=z^n$. Compute the new potential and the transport around a positive unit winding.
\end{exercise}
\begin{solution}
Writing $z=e^{it}$ gives $k^*\eta=n\,dt$ and hence $A'=(c+n)\eta$. The holonomy of the loop is $e^{-2\pi i c}$ in the first frame and $e^{-2\pi i(c+n)}$ in the second. These phases agree because $n$ is an integer. Every such potential has zero curvature, while its transport can vary with $c$ modulo integers.
\end{solution}
\begin{exercise}[Locate a missing Hamiltonian]
On $\R^2/\Z^2$ translate with velocity $(a,b)$. Determine exactly which velocities admit a globally real Hamiltonian for the area form.
\end{exercise}
\begin{solution}
The required closed form is $b\,dx-a\,dy$. Its periods along the two coordinate circles are $b$ and $-a$, so both must be zero for a real primitive. If $a=b=0$ any constant works. No assumption of periodic orbits of the velocity flow is needed for this test.
\end{solution}
\begin{exercise}[Compute the function on an overlap]
On the overlap $w\ne0$ in the Hopf example, take $s_1=R(1,w)/\sqrt{1+|w|^2}$ and $s_2=R(1/w,1)/\sqrt{1+|1/w|^2}$. Find $k$ in $s_2=s_1k$ and compare the local connection potentials on the unit equator $w=e^{it}$.
\end{exercise}
\begin{solution}
Simplifying the normalizations gives $k=|w|/w$. On the equator $k=e^{-it}$, so $k^*\eta=-dt$. The angular potential in the first frame is $(2/R^2)s_1^*\lambda=dt/2$. In the second frame it is $-dt/2$. Their difference is $-dt$, precisely the transition correction, and their curvatures agree on the overlap.
\end{solution}
\begin{exercise}[Prove a criterion for lifting through a period quotient]
Let $M$ be a connected manifold, $\beta$ a closed real one-form, and $\Lambda$ a discrete subgroup of $\R$. Prove that there is a smooth $h:M\to\R/\Lambda$ pulling the descended one-form $dt$ back to $\beta$ exactly when every loop period belongs to $\Lambda$. Show that, with a basepoint value fixed, $h$ is unique.
\end{exercise}
\begin{solution}
If $h$ exists, lift its composite with a loop along the covering $\R\to\R/\Lambda$ starting at any representative. The endpoint differs from the starting point by an element of $\Lambda$, and this displacement is the integral of $\beta$. Conversely fix a basepoint image, integrate $\beta$ on a path from the basepoint, and add the result modulo $\Lambda$. Two choices of path differ by a loop, so the value is independent of the path. On a coordinate ball it is the projection of a real primitive plus a constant, proving both smoothness and the pullback identity. Two solutions with the same basepoint value differ by a map to $\R/\Lambda$ with zero derivative in every local lift. Such a map is locally constant and therefore constant by connectedness. At the basepoint the difference is zero, so the constant is zero.
\end{solution}

\paragraph{Sources.}
Principal bundles and plot trivializations are treated in articles 8.11--8.13 of Iglesias-Zemmour; connections and moment maps appear in articles 8.32--8.37 and 9.1--9.9. The reduction theorem is the classical regular theorem of Marsden and Weinstein. For the precise comparison of basic and diffeological forms beyond the free case see Karshon and Watts, who in particular allow proper action of the identity component.
\href{https://doi.org/10.1090/surv/185}{Iglesias-Zemmour};
\href{https://authors.library.caltech.edu/records/8k5v6-4pa21}{Marsden and Weinstein};
\href{https://arxiv.org/abs/1408.1555}{Karshon and Watts}.



\chapter{Parameter identifiability in fixed-rank linear networks}
\label{ml:chapter}

In a two-layer linear network, the prediction error can be zero on an unbounded family of weights. At such a fit, two mechanisms contribute to the kernel of the training Hessian. A change of hidden basis preserves the predictor on every input. A change of predictor can also preserve its values on the training inputs. Two predictors that agree on the training subspace can have different values at a new input outside that subspace. Weights related by a change of basis give identical outputs on every sample. We compute the dimension of the gauge subspace and the remaining nullity on the quotient. We then construct a smooth family of predictors with local smooth weight choices but no global continuous choice.

\section{The quotient space of predictors}

Let $P$, $X$ and $Y$ be diffeological spaces of parameters, inputs and outputs. A smooth architecture is a smooth map $e:P\times X\to Y$. The prediction of $p$ is the function $e_p(x)=e(p,x)$. For the standard functional diffeology, $p\mapsto e_p$ is smooth: a varying family of predictors is a plot exactly when its evaluation is jointly smooth. Let $Q$ be the set of realized functions and $q:P\to Q$ the realization map. Equip $Q$ with the quotient diffeology along $q$. With this diffeology, a family of realizable models is smooth precisely when its weights can be chosen smoothly near each point of the parameter domain. There is also an ambient subset diffeology from $C^\infty(X,Y)$. The quotient-to-subset comparison is smooth by evaluation. An inverse comparison requires a local lifting argument, which we will supply for fixed-rank linear networks.

A statistic $h:P\to Z$ is \emph{identifiable from the predictor} when $e_p=e_{p'}$ implies $h(p)=h(p')$. There is then a unique function $\bar h:Q\to Z$ such that $h=\bar hq$. If $h$ is smooth, every plot of $Q$ locally lifts to $P$, so composing $h$ with the lifts gives local plots of $Z$ which agree on overlaps. Hence $\bar h$ is smooth. This is the quotient principle of Iglesias-Zemmour, Arts.~1.46 and 1.50--1.51, applied with the functional diffeology of Art.~1.57. Squared prediction error at a fixed input is identifiable from the predictor. The length of an individual hidden weight vector can vary between realizations of the same predictor. For finite data we require equality only on the selected inputs. The resulting equivalence relation can be coarser.

\section{Local gauges for a bottleneck network}

Fix $1\le r\le\min(m,n)$ and take $X=\R^n$, $Y=\R^m$. A hidden layer of width $r$ implements $x\mapsto ABx$. Here $A$ is an $m\times r$ matrix of column rank $r$ and $B$ is an $r\times n$ matrix of row rank $r$. Denote this open parameter manifold by $P$ and the rank-$r$ matrices by $M_r$, with their subset diffeology. Put $G=\mathrm{GL}_r(\R)$. A change of hidden basis acts on the right by
\[
 (A,B)g=(Ag,g^{-1}B).
\]
Changing basis varies the coordinates of every hidden activation but leaves their contribution to every output unchanged. Two parameter pairs yield the same predictor precisely when they belong to the same gauge orbit.

\begin{theorem}[Descent of fixed-rank predictors]\label{ml:atlas}
The realization $q:P\to M_r$, $(A,B)\mapsto AB$, has smooth local sections and is a principal $G$-bundle. It identifies the quotient diffeology on $P/G$ with the subset diffeology on $M_r$ and with the functional subset diffeology on its linear predictors. As a smooth stack, the action quotient $[P/G]$ is equivalent to the representable sheaf $M_r$.
\end{theorem}
\begin{proof}
Every rank-$r$ matrix has a factorization: choose a basis of its column space and express each column in that basis. If $AB=A'B'$, surjectivity of $B,B'$ gives $\operatorname{im}A=\operatorname{im}A'$. Thus $A'=Ag$ for a unique invertible $g$ and injectivity of $A$ gives $B'=g^{-1}B$. To choose factors smoothly near a given $M$, choose row and column index sets $I,J$ of size $r$ with $M_{I,J}$ invertible. On the open pivot region take
\[
 A_0=M_{:,J},\qquad B_0=(M_{I,J})^{-1}M_{I,:}.
\]
The selected columns span the column space. We obtain their coefficients by restriction to rows $I$, whence $A_0B_0=M$. The entries of this section are smooth rational functions. Each $(A,B)$ over the pivot region has the expression $(A_0,B_0)g$ with $g=(M_{I,J})^{-1}A_{I,:}$, a smooth function. This provides smooth local trivializations.

Composing a subset plot locally with a pivot section gives a smooth lift. Each plot obtained from factors is a subset plot by matrix multiplication. For linear functions, jointly smooth evaluation implies that all matrix entries vary smoothly by evaluating at the $n$ standard basis vectors. Conversely, smooth entries give jointly smooth evaluation. Thus the two classes of plots coincide.

For the last assertion take any test domain $U$. A map $f:U\to M_r$ pulls back the principal bundle to $f^*P$, with its equivariant projection to $P$. Conversely a right $G$-torsor $T\to U$ equipped with an equivariant map $h:T\to P$ determines $f$ by descent of $qh$. The map $t\mapsto(\pi(t),h(t))$ is an isomorphism $T\to f^*P$: in local sections it is a translation between copies of $G$ in each fiber with smoothly varying translating element. These identifications commute with restrictions. Over a fixed $f$ there is a unique arrow commuting with the specified maps between any two such descriptions. This gives the stated equivalence.
\end{proof}

On overlapping pivot regions $i,j$, local sections are related by $s_j=s_i g_{ij}$. Uniqueness of the relating element implies $g_{ij}g_{jk}=g_{ik}$. Thus the transition maps implement coherent changes of coordinates among trained models. The $k$-simplices of the corresponding action nerve have the form $P\times G^k$: a list of $k$ successive changes. The map from each composable list to its successive endpoints is an isomorphism from this nerve to the Čech nerve of $q$. Its description in terms of overlapping pivot regions applies even to a family without a single pivot region containing its image.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1cm,y=.84cm,>=stealth, font=\small]
\draw[->] (-.15,0)--(4.15,0) node[right] {$a$};
\draw[->] (0,-.15)--(0,3.85) node[above] {$b$};
\draw[thick,teal,domain=.58:3.8,samples=70] plot (\x,{2/\x});
\draw[thick,gray,dashed,domain=.30:3.8,samples=70] plot (\x,{1/\x});
\fill (1,2) circle (2pt) node[above right] {$(1,2)$};
\fill (2,1) circle (2pt) node[above right] {$(2,1)$};
\node[anchor=west] at (3.85,.63) {$ab=2$};
\node[anchor=west] at (3.85,.20) {$ab=1$};
\end{tikzpicture}
\caption{The positive portions of two scalar gauge orbits. At $x=1$, the outputs are $2$ on the solid curve and $1$ on the dashed curve. At any fixed input, the output is constant along each curve. Each full orbit also contains a component with both factors negative.}\label{ml:orbits}
\end{figure}

\section{Gauge directions and the kernel of the training Hessian}

Write $V=\R^n$ and $W=\R^m$. At $(A,B)$ a first-order parameter change is a pair $(D,E)$ of matrices of matching sizes. Its effect on the predictor is
\[
 J(D,E)=DB+AE.
\]
The kernel consists of weight variations for which the predictor has zero derivative at every input. The image consists of the first-order variations of the predictor itself. Write $K=\ker B=\ker(AB)$ and $U=\operatorname{im}A$. The conditions below also give the tangent geometry used for fixed-rank optimization.

\begin{theorem}[Gauge kernel and predictor tangent space]\label{ml:tangent}
At $M=AB$ one has
\begin{align*}
 \ker J&=\{(AH,-HB):H\in\R^{r\times r}\},\\
 T_M M_r=\operatorname{im}J&=\{L:V\to W\text{ linear}: L(K)\subset U\}.
\end{align*}
In particular the parameter redundancy has dimension $r^2$ and the predictor tangent space has dimension $r(m+n-r)$.
\end{theorem}
\begin{proof}
If $DB+AE=0$, then $D(Bx)=-AEx\in U$ for every $x$, and $B$ is onto. Thus $\operatorname{im}D\subseteq U$. Hence $D=AH$ for a unique $H$, and $A(HB+E)=0$ implies $E=-HB$. Conversely the displayed pair lies in the kernel, and differentiating the gauge curve with $g(t)=\exp(tH)$ realizes it. Every image element takes $K$ into $U$. To prove the reverse inclusion, let $L(K)\subset U$ and pass to the output quotient $W/U$. The composition of $L$ with the projection vanishes on $K$, hence factors through $B$ as a map $\R^r\to W/U$. Choose a linear lift $D:\R^r\to W$. The difference $L-DB$ takes values in $U$, so is uniquely $AE$ for a linear map $E$. By composing a curve with a local section from Theorem~\ref{ml:atlas} and differentiating its factors, we obtain a lift of each tangent vector. Equivalently, the pivot region is a manifold chart: after permuting rows and columns, three blocks $C,D',E'$ in a matrix $\left(\begin{smallmatrix}C&D'\\E'&F\end{smallmatrix}\right)$ with $C$ invertible determine the fourth by $F=E'C^{-1}D'$. There are $r(m+n-r)$ independent entries in the free blocks, in agreement with rank--nullity for $J$.
\end{proof}

Let the columns of $X_0\in\R^{n\times N}$ be the observed inputs. Put $S=\operatorname{im}X_0$, $s=\dim S$, and let $Y_0\in\R^{m\times N}$ be the measured outputs. Train using the total square loss
\[
 \mathcal L(A,B)=\tfrac12\|ABX_0-Y_0\|_F^2 .
\]
At an exact fit the residual vanishes. The Hessian along weight directions $v,w$ is then $\langle J(v)X_0,J(w)X_0\rangle_F$ by twice differentiating the squared norm. The Hessian is therefore the positive semidefinite pullback of the output metric. Away from an exact fit one must also differentiate the predictor a second time and contract that term with the residual. The rank count below therefore applies at the specified solutions.

\begin{theorem}[Observable curvature at an interpolating fit]\label{ml:rank}
Suppose $ABX_0=Y_0$ and let $t=\dim B(S)$. The parameter Hessian has rank and nullity
\begin{align*}
 \operatorname{rank} \nabla^2\mathcal L &=rs+(m-r)t,\\
 \dim\ker \nabla^2\mathcal L &= r^2+r(n-s)+(m-r)(r-t).
\end{align*}
After quotienting parameters by $G$, the first summand $r^2$ in the nullity disappears. For $s=n$ the quotient Hessian is positive definite.
\end{theorem}
\begin{proof}
The Gram form above has kernel exactly those $v$ with $J(v)|_S=0$ because the columns of $X_0$ span $S$. Fix a linear complement $U'$ of $U$. The $U$-component of $J(v)|_S$ ranges freely over $\operatorname{Hom}(S,U)$: extend any such map linearly to $V$ and realize it using $AE$. Independently, its $U'$-component ranges over maps of the form $D' B|_S$, with $D':\R^r\to U'$. Such maps are in bijection with $\operatorname{Hom}(B(S),U')$, since every map on $B(S)$ extends to $\R^r$. The two spaces are independent components in a direct sum, giving rank $rs+(m-r)t$. Subtract from $r(m+n)$ and regroup. The bundle charts of Theorem~\ref{ml:atlas} identify gauge directions with the tangent space of the group factor. The loss there is pulled back from the predictor factor. Since an exact fit is critical, Hessians define bilinear forms independent of the coordinates used, so passage to the quotient removes precisely these $r^2$ kernel directions. When $S=V$, surjectivity of $B$ gives $t=r$, and the remaining nullity vanishes.
\end{proof}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=.82cm,y=.74cm,font=\small]
\fill[teal!14] (0,1.5) rectangle (5.8,3);
\fill[blue!10] (0,0) rectangle (2.8,1.5);
\fill[gray!12] (2.8,0) rectangle (5.8,1.5);
\draw (0,0) rectangle (5.8,3);
\draw (0,1.5)--(5.8,1.5);
\draw (2.8,0)--(2.8,3);
\node at (1.4,3.4) {$S_1$};
\node at (4.3,3.4) {$S\cap K$};
\node[anchor=east] at (-.15,2.25) {$U$};
\node[anchor=east] at (-.15,.75) {$U'$};
\node at (1.4,2.25) {$rt$};
\node at (4.3,2.25) {$r(s-t)$};
\node at (1.4,.75) {$(m-r)t$};
\node at (4.3,.75) {$0$};
\end{tikzpicture}
\caption{Dimensions of the freely variable blocks of $J|_S$. Choose $S=S_1\oplus(S\cap K)$ so that $B$ identifies $S_1$ with $B(S)$. The lower right block vanishes because $J(D,E)k=AEk\in U$ for every $k\in K$.}\label{ml:blocks}
\end{figure}

For instance take $m=n=2$, $r=1$, $A=(1,2)^{\mathsf T}$ and $B=(3,-1)$. The observable matrix and the output on $(2,1)^{\mathsf T}$ are
\[
 M=\begin{pmatrix}3&-1\\6&-2\end{pmatrix},
 \qquad M\begin{pmatrix}2\\1\end{pmatrix}=\begin{pmatrix}5\\10\end{pmatrix}.
\]
Taking $X_0=I_2$ and $Y_0=M$ gives an exact fit. In the weight order $(a_1,a_2,b_1,b_2)$ the Hessian is
\[
 \begin{pmatrix}
 10&0&3&-1\\0&10&6&-2\\3&6&5&0\\-1&-2&0&5
 \end{pmatrix}.
\]
Its kernel is spanned by $(1,2,-3,1)^{\mathsf T}$, the derivative of $(e^uA,e^{-u}B)$ at $u=0$. The rank is three. If $e_1$ is the only observed input, then $s=t=1$ and the rank falls to two: the second column can vary while the first remains fixed. With just the input $(1,3)^{\mathsf T}$, $s=1$ still, but $B(1,3)^{\mathsf T}=0$ and the rank falls to one. Every observable output derivative is then a scalar multiple of $A$. Both of the last two data sets contain one observation, but the Hessian ranks differ.

\section{An obstruction to choosing learned weights continuously}

To compare hidden weights across training runs, fix a representative of each predictor in a pivot region. Even at constant rank, these choices need not extend to a global section. We prove this by lifting a closed loop of rank-one projectors.

\begin{theorem}[A predictor loop with a sign obstruction]\label{ml:sign}
For $m=n=2$ and $r=1$, no continuous section of $q:P\to M_1$ exists. Its restriction to the circle of orthogonal rank-one projectors already has no continuous section. On every sufficiently small arc of that circle a smooth section exists.
\end{theorem}
\begin{proof}
For $u\in[0,1]$ let $v(u)=(\cos\pi u,\sin\pi u)^{\mathsf T}$ and $M(u)=v(u)v(u)^{\mathsf T}$. The endpoints give the same projector. If a continuous section existed, its first factor would be a continuous nonzero vector $a(u)$ in the image line $\R v(u)$. Write $a(u)=c(u)v(u)$, where $c(u)=v(u)^{\mathsf T}a(u)$ is continuous and nowhere zero. Equality $a(1)=a(0)$ together with $v(1)=-v(0)$ gives $c(1)=-c(0)$, impossible by the intermediate value theorem. Every point of the circle has some nonzero pivot and hence a local section by Theorem~\ref{ml:atlas}.
\end{proof}

The learned predictor in this example is an orthogonal projection onto a one-dimensional feature space. The projection varies continuously around the loop, as does its unsigned image line. For any choice of a signed unit vector on each line, the resulting vector-valued map has a discontinuity somewhere on the loop. A sign discontinuity in the chosen vector can therefore occur while the predictor is continuous. For a local description, choose signed unit vectors on small arcs and specify their relative signs on overlaps.

\section{Solved exercises}

\begin{exercise}[Computation: change of hidden coordinates]
For the numerical example above, use the pivot in row one, column one to compute the factors at that pivot. Find their gauge relative to $(A,B)$. Give an identifiable and an unidentifiable scalar statistic and evaluate each on both representatives.
\end{exercise}
\begin{solution}
The pivot gives $A_0=(3,6)^{\mathsf T}$, $B_0=(1,-1/3)$, so $g=3$ carries $(A,B)$ to $(A_0,B_0)$. The statistic $e_1^{\mathsf T}ABe_1$ takes the same value $3$ on both since the product is identical. The squared norm of the first factor is $5$ on the original representative and $45$ on the new one. The weight norm is therefore unidentifiable even from predictions on the entire input space.
\end{solution}

\begin{exercise}[Calculation: apparent sharpness]
For the scalar predictor $x\mapsto abx$, use training input $x=1$ with target $y\ne0$. At an exact fit compute both Euclidean Hessian eigenvalues. Describe their dependence on $(a,b)\mapsto(ga,b/g)$ for $g>0$.
\end{exercise}
\begin{solution}
The derivative of $ab$ is the row $(b,a)$. The Hessian of half the squared error at a fit is its Gram matrix, which has eigenvalues $0$ and $a^2+b^2$. A kernel vector is $(a,-b)$. After the change the positive eigenvalue becomes $g^2a^2+g^{-2}b^2$, arbitrarily large as $g\to\infty$ with $a\ne0$. The quotient coordinate $c=ab$ gives loss $(c-y)^2/2$ with second derivative $1$. Interpreting a numerical sharpness therefore requires specifying both the model coordinates and the metric used to turn the Hessian form into an operator.
\end{solution}

\begin{exercise}[Derivation: testing a proposed new input]
For the numerical model above the only training input is initially $x_0=(1,3)^{\mathsf T}$. Determine the Hessian rank increase caused by (i) adding $2x_0$ and (ii) adding $e_2$. Assume the new targets come from the same model.
\end{exercise}
\begin{solution}
Initially $(s,t)=(1,0)$ gives rank one. The first addition leaves both the span and its image under $B$ unchanged, so gives increase zero. The second addition makes $S=\R^2$ and $B(S)=\R$, so $(s,t)=(2,1)$ and the rank becomes three. The increase is two. There are still four weights and one gauge direction. In particular, adding one labeled example can increase the Hessian rank by more than one when the output is vector-valued.
\end{solution}

\begin{exercise}[Proof: when are all linear predictions determined?]
For a fixed exact rank-$r$ model $M$ with $r\ge1$, show that observing its values on a subspace $S$ determines $M$ among rank-$r$ predictors exactly when $S=V$. When $S$ is proper, construct a smooth nonconstant curve of indistinguishable predictors through $M$.
\end{exercise}
\begin{solution}
If $S=V$, equality on $S$ is equality of maps. Otherwise choose a nonzero linear functional $\lambda$ annihilating $S$ and a nonzero $z\in\R^r$. Write $M=AB$ with the stipulated full ranks and set $M_\epsilon=A(B+\epsilon z\lambda)$. For small $|\epsilon|$ a nonzero $r$-minor of $B$ stays nonzero by continuity. The second factor remains onto, so $M_\epsilon$ has rank $r$ and the family is smooth. It agrees with $M$ on $S$ for every such $\epsilon$. The difference is $\epsilon (Az)\lambda$, nonzero for every nonzero $\epsilon$ since $A$ is injective. Thus ambiguity persists after removal of all hidden-basis symmetries and along an actual curve of predictors.
\end{solution}

\section{Scope and further reading}

On the full-rank subset, the change-of-basis action is free and transitive on every prediction fiber. At rank loss the presentation changes. Already for scalar factors with product zero, $(1,0)$, $(0,1)$ and $(0,0)$ lie in different orbits realizing the same function, and the last pair has the entire group as stabilizer. The action groupoid has distinct isomorphism classes for the three pairs and distinct stabilizers at the zero and nonzero pairs. Taking the quotient by equality of all predictions identifies the three pairs. Choosing between these constructions depends on whether hidden implementation data are part of the object being classified.

The fixed-rank quotient manifold and its optimization uses are classical. Mishra, Meyer, Bonnabel and Sepulchre develop quotient metrics for several factorizations; Vandereycken works with the embedded fixed-rank manifold in matrix completion. One can put different metrics on the same space of predictors. We established equality of the plotwise smooth structures, computed the nullity of the Hessian at an interpolating fit, and constructed a family of rank-one projectors with local smooth factorizations and no global continuous factorization. See \href{https://arxiv.org/abs/1209.0430}{Mishra et al., \emph{Fixed-rank matrix factorizations and Riemannian low-rank optimization}} and \href{https://arxiv.org/abs/1209.3834}{Vandereycken, \emph{Low-rank matrix completion by Riemannian optimization}}.



\chapter{Planning with symmetries and ties}
\label{ai-chapter}

A dispatch system has two interchangeable service stations. The state estimates may list them in either order on successive runs. The achievable return should be independent of that order. A dispatch output specifies one station. Under a relabeling of the inputs, equivariance requires the same relabeling of this output. If the input is fixed by the swap and neither dispatch command is fixed, there is no deterministic equivariant dispatch. A distribution assigning each command probability $1/2$ is invariant under the swap.

We first compress the Bellman recursion by state and action orbits. We characterize the compressed decisions that lift to policies equivariant under every relabeling. Finally we vary the model through smooth families and differentiate the regularized value. All state and action spaces below are finite. The smooth variables are the rewards, the transition laws, the policy probabilities and the experimental parameters that determine them. For the orbit spaces and spaces of functions we use the constructions of Iglesias-Zemmour, Arts.~1.46--1.48, 1.57 and 7.4--7.5. In this model the optimal value factors through the orbit space. An equivariant policy must also satisfy the constraints imposed by each state stabilizer.

\section{Model and Bellman recursion}

Let $S$ be a nonempty finite set, and let $A_s$ be a nonempty finite action set for each $s\in S$. Write $E=\{(s,a):s\in S,\ a\in A_s\}$ and let $e:E\to S$ be the projection. At $(s,a)$ the expected one-step reward is $r(s,a)\in\mathbb R$, and the probability of next state $u\in S$ is $P(u\mid s,a)$. Fix $0<\gamma<1$. The return is the expected sum of rewards, with the reward at step $k$ weighted by $\gamma^k$ for $k\geq0$. For definiteness one may take the one-step reward to be the indicated deterministic scalar. A stationary randomized policy is a family of probability vectors $\pi_s\in\Delta(A_s)$ indexed by the states. Here $\Delta(A)$ is the standard closed probability simplex with its subset diffeology in $\mathbb R^A$.

For a continuation value $v\in\mathbb R^S$ write
\[
 Q_v(s,a)=r(s,a)+\gamma\sum_{u\in S}P(u\mid s,a)v(u),\qquad
 (Tv)(s)=\max_{a\in A_s}Q_v(s,a).
\]
The inequality $|\max_i x_i-\max_i y_i|\leq\max_i|x_i-y_i|$ and the fact that each row of $P$ sums to one give
$\|Tv-Tw\|_\infty\leq\gamma\|v-w\|_\infty$. Iterating from zero gives the optimal returns on successively longer finite horizons by backward induction. The absolute reward tail after $n$ steps is at most $\gamma^n\max|r|/(1-\gamma)$ uniformly over policies, including policies depending on the observed history. The unique fixed point $v^*$ therefore equals the optimal infinite-horizon return. A stationary policy attains it at every starting state exactly when each $\pi_s$ is supported on
\[
 M_s=\{a\in A_s:Q_{v^*}(s,a)=v^*(s)\}.
\]
Indeed, policy evaluation replaces the maximum in $T$ by a $\pi_s$-weighted average. Its evaluation operator is another contraction and its fixed point equals $v^*$ exactly when the average equals the maximum in every row.

A finite group $G$ acts on $S$ and on $E$ compatibly with $e$. An element $g$ transports actions by bijections $A_s\to A_{gs}$ written $a\mapsto ga$. Assume throughout the symmetry reduction that
\[
 r(gs,ga)=r(s,a),\qquad P(gu\mid gs,ga)=P(u\mid s,a).
\]
These conditions can be checked from the reward and transition tables before any optimization. They specify a symmetry of each individual model. Later we also encounter a relabeling that identifies experiments at two different parameter values.

\section{The Bellman recursion on state and action orbits}

Let $q:S\to S/G$ send a state to its orbit. Over an orbit $O$ let $B_O$ consist of the orbits of pairs $(s,a)$ with $s\in O$. Fixing any representative $s\in O$ identifies $B_O$ with the set of orbits of $A_s$ under $G_s=\{g:gs=s\}$. Surjectivity follows by transporting the state coordinate to $s$. Two pairs based at $s$ lie in the same orbit precisely when some element fixing $s$ carries their actions to one another. The sets $A_s$ may therefore vary with $s$.

\begin{theorem}[Exact orbit compression]\label{ai-compress}
For $b=[s,a]\in B_O$, put
\[
 \bar r(O,b)=r(s,a),\qquad
 \bar P(O'\mid O,b)=\sum_{u\in O'}P(u\mid s,a).
\]
These define a discounted decision process on $S/G$. Its optimal value $\bar v^*$ satisfies $v^*=\bar v^*\circ q$. The image in $B_O$ of the set of optimal actions at any $s\in O$ equals the set of optimal actions of this reduced process at $O$.
\end{theorem}
\begin{proof}
Replace $(s,a)$ by $(gs,ga)$. In the definition of $\bar P$, change the summation variable from $u$ to $gu$, since multiplication by $g$ permutes each $O'$. The reward is invariant by hypothesis. Thus the quotient rewards and transition probabilities are independent of the representatives. Nonnegativity is immediate, and summing over the partition of $S$ gives total mass one. For any $w:S/G\to\mathbb R$ we have
\[
 Q_{w\circ q}(s,a)=\bar r(O,b)+\gamma\sum_{O'}\bar P(O'\mid O,b)w(O').
\]
Every $b$ has a representative at $s$. Taking the maximum gives
$T(w\circ q)=(\bar T w)\circ q$. The pullback of the reduced fixed point is a fixed point of $T$. Uniqueness implies the value formula. In the displayed identity put $w=\bar v^*$. The two sides attain their respective row maxima at exactly the corresponding arguments.
\end{proof}

To use the reduction in an exact planner, form one transition row for each orbit of admissible pairs and keep the orbit totals of its successor probabilities. Run value iteration on that smaller array. If $\|\bar T w-w\|_\infty\leq\epsilon$, the contraction bound gives $\|w-\bar v^*\|_\infty\leq\epsilon/(1-\gamma)$. Pullback by the surjection $q$ preserves that norm, so the same bound holds for $w\circ q-v^*$. The saving depends on the input symmetry and on the cost of finding the orbits. A comparison of runtimes would require a separate experiment.

\section{Equivariant lifts of reduced policies}

The action groupoid has objects $s$ and arrows $g:s\to gs$. The assignments $s\mapsto A_s$ and $s\mapsto\Delta(A_s)$ are functors on this groupoid, the latter using pushforward of mass. An equivariant deterministic or randomized controller is a section satisfying the corresponding transport equations at every arrow. Equivalently, it is an element of the limit of the corresponding set-valued functor. In smooth sheaves one can take sections over a parameter plot, with smoothness required of the simplex coordinates. For each stabilizer arrow $h:s\to s$, the policy value at $s$ must equal its image under $h$. These stabilizer elements occur as loops in the nerve, with their compositions specified by its two-simplices. This is the groupoid part of higher descent in an example where the equations can be read directly from a transition table.

\begin{theorem}[Stabilizer criterion and randomized lifting]\label{ai-lift}
There is an optimal equivariant deterministic stationary policy precisely when, at each representative $s$ of a state orbit, $M_s$ contains an action fixed by all of $G_s$. Equivariant randomized stationary policies are in affine bijection with the policies on the reduced process. At a representative $s$, a probability $p_b$ on a reduced action lifts to mass $p_b/|b_s|$ on each element of its stabilizer orbit $b_s\subseteq A_s$. This bijection restricts to optimal policies on both sides. In particular, an equivariant optimal randomized policy always exists.
\end{theorem}
\begin{proof}
By Theorem~\ref{ai-compress}, $M_{gs}=gM_s$. At a representative, deterministic equivariance requires $ha_s=a_s$ for every $h\in G_s$. Conversely, take any such optimal choice at each representative, and set $a_{gs}=ga_s$. If $gs=g's$ then $(g')^{-1}g\in G_s$, so the two formulas agree. The transported choice lies in $M_{gs}$.

Applying the same construction to distributions, we obtain a unique equivariant policy from a $G_s$-invariant probability at each representative. Its masses are constant on each stabilizer orbit. Summing these masses gives $p_b$, and equal division within each orbit is the unique inverse. Both operations are affine, including at the boundary of the simplex. By the action correspondence in Theorem~\ref{ai-compress}, support on maximizing actions downstairs is equivalent to support on maximizing actions upstairs. Finite nonempty action sets admit a maximizing action downstairs, giving the final conclusion.
\end{proof}

\begin{example}[An interchangeable pair of stations]\label{ai-depot}
Let $d$ denote the depot and $l,r$ the two stations. A dispatch transition from $d$ to either station has reward zero. The wait transition from $d$ to itself has reward $w$. Each station has one service transition to $d$, with reward $2$. Reflection exchanges the stations and their dispatch actions and fixes the wait action. The state orbits are $D=\{d\}$ and $F=\{l,r\}$. Set $\gamma=1/2$. The recursions for the values $x,y$ on $D,F$ become
\[
 x=\max\{\tfrac12y,\ w+\tfrac12x\},\qquad y=2+\tfrac12 x.
\]
In the dispatch region these give $x=4/3$, $y=8/3$, which satisfy the maximizing inequality exactly when $w\leq2/3$. In the waiting region $x=2w$, $y=2+w$, valid when $w\geq2/3$. At $w=0$ either dispatch is deterministic and optimal at the depot. Neither dispatch is fixed by reflection. The only equivariant optimal probability at the depot gives each station mass $1/2$. At $w=2/3$ the entire segment $(p/2,p/2,1-p)$, $0\le p\le1$, consists of equivariant optima. Among these only $p=0$ is deterministic.
\end{example}

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth, every node/.style={font=\small}]
\node[draw,circle,minimum size=7mm] (d) at (0,0) {$d$};
\node[draw,circle,minimum size=7mm] (l) at (-1.75,1.05) {$l$};
\node[draw,circle,minimum size=7mm] (r) at (1.75,1.05) {$r$};
\draw[->] (d) to[bend left=15] node[below left] {$0$} (l);
\draw[->] (l) to[bend left=15] node[above right] {$2$} (d);
\draw[->] (d) to[bend right=15] node[below right] {$0$} (r);
\draw[->] (r) to[bend right=15] node[above left] {$2$} (d);
\draw[->] (d) to[loop below] node[below] {$w$} (d);
\end{tikzpicture}
\caption{Returns on the three-state model. Reflection fixes the depot and exchanges its two zero-reward dispatch arrows. The label $w$ is the reward for waiting.}
\label{aifig-depot}
\end{figure}

\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth, every node/.style={font=\small}]
\coordinate (a) at (-2.3,0); \coordinate (b) at (2.3,0); \coordinate (c) at (0,2.2);
\draw[thick] (a)--(b)--(c)--cycle;
\draw[very thick,dashed] (c)--(0,0);
\fill (0,0) circle (2pt);\fill (c) circle (2pt);
\node[left] at (a) {$l$};\node[right] at (b) {$r$};\node[above] at (c) {wait};
\node[below] at (0,0) {$(1/2,1/2,0)$};
\node[right] at (0.05,0.55) {$p_l=p_r$};
\end{tikzpicture}
\caption{The depot policy simplex. At the tie $w=2/3$ every point is optimal, while exactly the dashed median is equivariant. Below the tie, only the bottom edge is optimal, and its midpoint is the unique equivariant optimum.}
\label{aifig-simplex}
\end{figure}

\section{Smooth planning over a space of experiments}

Let $X$ be any diffeological space. Suppose $r_x(s,a)$ and $P_x(u\mid s,a)$ are smooth real-valued functions of $x\in X$, with stochastic rows for each $x$. A plot $U\to X$ is now a smooth family of experiments whose dimension and parametrization the experimenter can choose. A smooth map from $X$ to the policy space yields ordinary smooth functions of the laboratory coordinates on every such family. By the functional diffeology, evaluating a policy on an input state is smooth. Since the state space is finite and discrete this amounts to smoothness of the finite list of output probabilities. For example, $X$ may be a quotient of several coordinate descriptions of the same experiment.

Hard optimization can introduce a corner even for smooth reward tables. With one recurrent state, actions labelled $+$ and $-$, self-transition and rewards $t$ and $-t$, we have $v^*(t)=|t|/(1-\gamma)$. The restriction to the identity plot of $\mathbb R$ is nondifferentiable at $0$. A single-valued policy that is optimal for every $t$ cannot even be continuous as a simplex-valued map. The unique optimal distributions for $t>0$ and $t<0$ are the two different vertices of the simplex. Relabeling the actions takes the experiment at $t$ to the experiment at $-t$. At the central experiment the relabeling is an automorphism, and its fixed distribution is the midpoint.

For $\tau>0$ consider the entropy-regularized one-step objective $\sum_a p_aQ_a+\tau H(p)$ where $H(p)=-\sum_a p_a\log p_a$ and $0\log0=0$. If $Z=\sum_a\exp(Q_a/\tau)$ and $z_a=\exp(Q_a/\tau)/Z$, the objective equals $\tau\log Z-\tau\sum_a p_a\log(p_a/z_a)$. The second sum is nonnegative, with equality precisely at $p=z$, by the logarithm inequality. Consequently the regularized Bellman operator is
\[
 (T_{\tau,x}v)(s)=\tau\log\sum_{a\in A_s}\exp(Q_{x,v}(s,a)/\tau).
\]
The finite-horizon recursion for cumulative discounted reward plus discounted action entropy gives this same operator by backward induction. The tail estimate still holds because $0\leq H(p)\leq\log\max_s |A_s|$. The fixed point is thus the maximum expected discounted sum of reward and action entropy with coefficient $\tau$.

\begin{theorem}[Smooth value and policy on every plot]\label{ai-smooth}
Fix $\tau>0$. For the finite families above, $T_{\tau,x}$ has a unique fixed point $v_\tau(x)$, and both $x\mapsto v_\tau(x)$ and its maximizing stationary policy $x\mapsto\pi_{\tau,x}$ are smooth. For any plot and any tangent direction on its domain, dots denoting directional derivatives along that plot,
\begin{align*}
 (I-\gamma P_{\pi})\dot v_\tau &= b,\\
 b(s)&=\sum_a\pi_s(a)\left(\dot r(s,a)+\gamma\sum_u\dot P(u\mid s,a)v_\tau(u)\right),
\end{align*}
where $P_{\pi}(s,u)=\sum_a\pi_s(a)P(u\mid s,a)$. The outputs commute with smooth reparametrization and with simultaneous relabeling of states and actions.
\end{theorem}
\begin{proof}
Log-sum-exp is monotone and adding a common scalar to every input adds that scalar to its output. For $d=\|x-y\|_\infty$ we have $y_i-d\le x_i\le y_i+d$ for each $i$. By monotonicity and the shift identity, the row operation is $1$-Lipschitz. Thus $T_{\tau,x}$ is a $\gamma$-contraction. Pull a family back to an arbitrary plot with open domain $U\subseteq\mathbb R^m$. The equation $F(z,v)=v-T_{\tau,x(z)}v=0$ is a smooth Euclidean equation. Differentiating each row with respect to $v$ gives $D_v F=I-\gamma P_{\pi}$ at its solution because the gradient of log-sum-exp consists of the softmax probabilities. The inverse exists by the norm-convergent series $\sum_{k\geq0}\gamma^k P_{\pi}^k$. By the implicit function theorem there are smooth local solutions. By uniqueness each local solution equals the fixed point on its domain. The probabilities are smooth compositions by the softmax formula. Differentiating $F=0$ with respect to the plot yields the displayed system. The fixed-point equation is preserved by precomposition of the data with a smooth parameter map, and summation commutes with permuting indices. Uniqueness and the softmax formula give both compatibility statements.
\end{proof}

For the two-action experiment this produces
\[
 v_\tau(t)=\frac{\tau}{1-\gamma}\log(2\cosh(t/\tau)),\qquad
 \pi_{\tau,t}(+)=\frac{1}{1+\exp(-2t/\tau)}.
\]
In particular the value is even and factors smoothly through the quotient diffeology on $\mathbb R/(t\sim -t)$. Every quotient plot locally lifts, and the values computed on any two lifts agree. The probability of the specific label $+$ is generally different on the two representatives. The pair of probabilities transports by the swap, so it defines an equivariant output over the action groupoid. This difference between a value and a policy persists at positive temperature, even though both are now smooth.


\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=2.55cm,y=.94cm,>=stealth,every node/.style={font=\small}]
 \draw[->,gray] (-1.36,0)--(1.43,0) node[right] {$t$};
 \draw[->,gray] (0,-.09)--(0,2.82) node[above] {value};
 \foreach \x in {-1,1} {
   \draw[gray] (\x,.06)--(\x,-.06) node[below] {$\x$};}
 \foreach \y in {1,2} {
   \draw[gray] (-.024,\y)--(.024,\y);
   \node[left,font=\scriptsize] at (-.03,\y) {$\y$};}
 \node[below left,font=\scriptsize] at (0,0) {$0$};
 \draw[deep,line width=1.4pt,domain=-1.2:1.2,samples=95,smooth]
   plot (\x,{ln(exp(2*\x)+exp(-2*\x))});
 \draw[clay,densely dashed,line width=1.1pt] (-1.2,2.4)--(0,0)--(1.2,2.4);
 \fill[deep] (0,.693147) circle (1.7pt);
 \draw[deep,thin] (.03,.70)--(.27,1.15) node[above right,font=\scriptsize] {$\log 2$};
 \draw[clay,densely dashed,line width=1.1pt] (-1.18,-.62)--(-.95,-.62);
 \node[right] at (-.94,-.62) {hard maximum};
 \draw[deep,line width=1.4pt] (.10,-.62)--(.33,-.62);
 \node[right] at (.34,-.62) {regularized};
\end{tikzpicture}
\caption{One recurrent state with rewards $t,-t$, discount $\gamma=1/2$ and temperature $\tau=1/2$. The hard value $2|t|$ has a corner at the tie. The regularized value $\log(e^{2t}+e^{-2t})$ has derivative zero there and attains its greatest excess, $\log 2$, over the hard value.}
\label{aifig-soft-tie}
\end{figure}

\section{Orbit multiplicity in entropy-regularized planning}

At the symmetric depot, the two dispatch commands lie in a single abstract action orbit. Their combined probability occurs as one term of the entropy on abstract actions. The entropy on concrete commands has two separate terms. For uniform conditional probabilities within each orbit, the entropy difference depends on the orbit sizes and masses as follows.

\begin{theorem}[Multiplicity correction for the soft quotient]\label{ai-multiplicity}
For data invariant under $G$, let $m_{O,b}$ be the number of concrete actions representing $b$ at a single $s\in O$. The reduced regularized Bellman operator with row
\[
 (\bar T_\tau w)(O)=\tau\log\sum_{b\in B_O}m_{O,b}
 \exp\bigl(\bar Q_w(O,b)/\tau\bigr),
\]
where $\bar Q_w(O,b)=\bar r(O,b)+\gamma\sum_{O'}\bar P(O'\mid O,b)w(O')$, has the same fixed point after pullback as the full regularized planner. Its maximizing probabilities on reduced actions are proportional to $m_{O,b}\exp(\bar Q_w(O,b)/\tau)$ at that fixed point. Uniform lifting within each orbit gives the unique full regularized optimal policy.
\end{theorem}
\begin{proof}
Transport from $s$ to another representative is a bijection that conjugates the stabilizers, so $m_{O,b}$ is well-defined. For an invariant continuation value, Theorem~\ref{ai-compress} gives the same concrete action value on all $m_{O,b}$ actions over $b$. Grouping the exponential sum by these classes gives exactly the displayed operator and the intertwining identity. The row log-sum-exp is monotone and commutes with scalar shifts of its arguments, so the contraction and fixed-point argument apply. The concrete softmax is constant within each class. Summing it within each class gives its stated total probability, whose equal division restores the unique optimizing distribution. Equivalently, at the invariant lift of $p$, the full Shannon entropy is $H(p)+\sum_b p_b\log m_{O,b}$ by substitution. The reduced planner is therefore an ordinary soft planner with extra row reward $\tau\log m_{O,b}$.
\end{proof}

For a numerical comparison, consider one row update. At $w=0$ with zero continuation in the depot example, all three commands have score zero. The full row value is $\tau\log3$, and the total dispatch probability at its maximizer is $2/3$. Omitting the coefficient two produces $\tau\log2$ and mass $1/2$. This changes the objective itself. The Bellman iterates without the multiplicity factor converge to the fixed point for this altered objective.

\section{Exercises with solutions}

\begin{exercise}[Compute a policy value]\label{ai-ex1}
At $w=0$ use the depot probabilities $(p/2,p/2,1-p)$ for dispatch left, dispatch right and wait in Example~\ref{ai-depot}. Compute its value $x(p)$ at the depot and identify the maximizing $p$.
\end{exercise}
\begin{solution}
From $y=2+x/2$ and $x=p y/2+(1-p)x/2$ one obtains $x=p+(1/2-p/4)x$. Thus $x(p)=4p/(2+p)$, whose derivative $8/(2+p)^2$ is positive. The maximum is $4/3$ at $p=1$. The same formula holds with unequal splitting because the station returns coincide. Equivariance requires equal probabilities for the two stations.
\end{solution}

\begin{exercise}[Identify the obstruction]\label{ai-ex2}
A state is fixed by the cyclic group of order three. Its actions comprise a cyclically permuted triple and a fixed action. The triple has common optimal score $5$ and the fixed action has score $4$. Describe every equivariant maximizing probability. What changes if the fixed score becomes $5$?
\end{exercise}
\begin{solution}
The triple's coordinates are equal by invariance. With fixed score $4$ the fixed action is suboptimal, so its probability is zero. The solution is $(1/3,1/3,1/3,0)$. With score $5$ the solutions are $(p/3,p/3,p/3,1-p)$, $p\in[0,1]$. Exactly $p=0$ is a deterministic equivariant optimizer. A deterministic choice of the abstract triple orbit exists in the first model. The abstract triple orbit has no fixed concrete representative.
\end{solution}

\begin{exercise}[Differentiate a transition law]\label{ai-ex3}
At state $s$ the only action has reward zero. The next state is $s$ with probability $1-t$ and an absorbing state $u$ with probability $t$, where $0<t<1$. At $u$ the only action has reward one per step. Compute $dv(s)/dt$ by direct differentiation and recover it from Theorem~\ref{ai-smooth}.
\end{exercise}
\begin{solution}
Put $D=1-\gamma+\gamma t$. Then $v(u)=1/(1-\gamma)$ and $v(s)=\gamma t/((1-\gamma)D)$. Differentiation gives $dv(s)/dt=\gamma/D^2$. Since $\dot v(u)=0$, the theorem reduces to $D\dot v(s)=\gamma(v(u)-v(s))$. Subtraction gives $v(u)-v(s)=1/D$, which reproduces the derivative. A single available action has zero entropy for every $\tau$.
\end{solution}

\begin{exercise}[Prove a sharp uniform approximation bound]\label{ai-ex4}
Let $m=\max_s|A_s|$. Prove that $0\leq v_\tau(s)-v^*(s)\leq\tau\log m/(1-\gamma)$ at all states. Exhibit equality, and decide whether uniform convergence here implies convergence of first derivatives along smooth plots.
\end{exercise}
\begin{solution}
The row inequalities $\max_i z_i\leq\tau\log\sum_i e^{z_i/\tau}\leq\max_i z_i+\tau\log m$ imply $T_\tau v^*\geq v^*$. Monotone iteration gives $v_\tau\geq v^*$. Write $c=\tau\log m/(1-\gamma)$. Since a constant addition of $c$ to the continuation shifts each output by $\gamma c$, $T_\tau(v^*+c)\leq v^*+\tau\log m+\gamma c=v^*+c$. Taking the limit of the iterates, we obtain the stated upper bound. In a one-state model with $m$ self-loop actions and all rewards zero, $v^*=0$ and $v_\tau=\tau\log m/(1-\gamma)$, attaining equality. In the two-action experiment with rewards $\pm t$, the soft derivative is $\tanh(t/\tau)/(1-\gamma)$. Its limits on opposite sides of zero have opposite signs, and the hard limit value has no derivative at zero. Uniform convergence of values therefore provides no first-derivative convergence to a smooth limit.
\end{solution}

\paragraph{Further reading.}
The symmetry calculation is a finite group-action case of exact model abstraction. Ravindran and Barto place such reductions in a broader algebraic theory allowing semi-Markov dynamics. Geist, Scherrer and Pietquin develop regularized Bellman operators for a general class of convex regularizers. For finite actions and Shannon entropy, we computed the orbit multiplicities, derived the stabilizer condition and differentiated the value along each plot.
\href{https://ijcai.org/proceedings/2003/144}{Ravindran and Barto, IJCAI (2003), 1011--1017}.
\href{https://proceedings.mlr.press/v97/geist19a.html}{Geist, Scherrer and Pietquin, ICML (2019), 2160--2169}.



\chapter{The arithmetic of irrational quotients}
\label{nt-chapter}

A smooth map between irrational tori lifts locally to an affine map between real lines. Multiplication by its slope maps the source period group into the target period group. For a quadratic irrational, the slopes of pointed endomorphisms form an order in a quadratic field. For a nonconstant map, the cardinality of each fiber equals the absolute value of an integral determinant. We also relate the existence of smooth sections over an irrational rotation to the error in rational approximations of its angle.

Our starting point is the Kronecker foliation in Iglesias-Zemmour, \emph{Diffeology}, arts.~8.38--8.39. The classification of irrational tori is due to Donato and Iglesias. We work through the classification with local derivatives, compute the order for a general quadratic parameter, and use a second presentation of the same quotient to solve a descent equation by Fourier series. Integral changes of basis classify the quotients, while estimates on the Fourier coefficients determine whether the cocycle equation has a smooth solution.

\section{Period groups and the translation groupoid}

Fix $\alpha\in\R\setminus\mathbb Q$ and write
\[
 D_\alpha=\Z+\alpha\Z\subset\R,\qquad
 T_\alpha=\R/D_\alpha,\qquad q_\alpha(x)=[x]_\alpha .
\]
A plot $p:U\to T_\alpha$ admits a smooth real lift near each point of $U$. In particular, smooth paths through $[0]_\alpha$ locally have the form $t\mapsto [x(t)]_\alpha$ for smooth real functions $x$. The underlying set has uncountably many elements because each equivalence class is countable. Yet every nonempty open interval meets every class. To see density, divide the unit interval into $N$ equal pieces and consider the fractional parts of $0,\alpha,\ldots,N\alpha$. At least two belong to the same piece. Their difference gives a nonzero element of $D_\alpha$ of absolute value at most $1/N$. Integer multiples of arbitrarily small positive elements approximate any real number.

The $D$-topology has just two open sets. Indeed the preimage of a $D$-open set is an open union of cosets in $\R$. If this preimage contains an interval, it intersects every coset and therefore contains them all. A smooth real observable is constant, since its pullback to $\R$ is continuous and constant on a dense coset. We distinguish slopes using smooth maps to other quotients and periods of differential forms.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=3.5cm,y=3.5cm,>=stealth]
\draw[fill=blue!2] (0,0) rectangle (1,1);
\begin{scope}
\clip (0,0) rectangle (1,1);
\foreach \k in {0,...,4}{
\pgfmathsetmacro{\h}{mod(0.618034*\k,1)}
\draw[blue!70!black,thick] (0,\h) -- (1,{\h+0.618034});
\draw[blue!70!black,thick] (0,{\h-1}) -- (1,{\h-1+0.618034});
}
\end{scope}
\draw[->] (0,0) -- (1.08,0) node[right] {$x$};
\draw[->] (0,0) -- (0,1.08) node[above] {$y$};
\draw[red!65!black,very thick] (0,0) -- (0,1);
\node[anchor=west,align=left,font=\small] at (1.2,0.72) {First return on the\\vertical transversal};
\draw[->,red!65!black] (1.22,0.52) -- (1.82,0.52);
\node[anchor=west,font=\small] at (1.18,0.39) {$y\longmapsto y+\alpha\pmod 1$};
\end{tikzpicture}
\caption{Five consecutive unit-time segments of one orbit at $\alpha=(\sqrt{5}-1)/2$. Opposite edges of the square are identified. The left endpoint at the next step has vertical coordinate $y+\alpha\pmod 1$ if the current coordinate is $y$.}
\label{nt-flow}
\end{figure}

Here is the relation with the two-torus. On $\R^2$, the function $y-\alpha x$ is constant along the flow $(x,y)\mapsto(x+t,y+\alpha t)$. Changing $(x,y)$ by an integer vector changes the function by a member of $D_\alpha$. It induces a smooth map from the space of flow orbits on $\R^2/\Z^2$ to $T_\alpha$. Its smooth inverse sends $[u]_\alpha$ to the flow orbit of $(0,u)$. Shifting $u$ by an integer leaves that point unchanged on the torus, and shifting by $\alpha$ amounts to one unit of flow time. Both quotient-smoothness assertions follow by precomposing with the quotient projections.

For the higher-categorical description give $D_\alpha$ the discrete diffeology. This agrees with the subset diffeology, since a continuous real map on a connected ball taking values in a countable set is constant. In the groupoid presenting $T_\alpha$, an arrow $(x,d)$ goes from $x$ to $x+d$. More precisely,
\[
 \R\times D_\alpha\;\xrightarrow{\ \sim\ }\;
 \R\times_{T_\alpha}\R,\qquad (x,d)\longmapsto(x,x+d).
\]
To check the smooth inverse on a plot, subtract its two smooth real coordinates. The difference is locally constant. Iterated fiber products similarly give $\R\times D_\alpha^n$ in degree $n$ of the \v Cech nerve. The action is free. A plot in the quotient has local lifts, and two lifts have a unique transition arrow wherever they project to the same plot. The transition on a composite is the sum of the two transitions, as required by the cocycle condition. Thus the quotient stack for this action is equivalent to the sheaf of plots of $T_\alpha$, a $0$-truncated object. For a lifted loop, the difference of its endpoints is a period. For instance $t\mapsto [t]_\alpha$, $0\leq t\leq1$, lifts to a path whose endpoints differ by the period $1$.

\section{Rigid families and integral changes of basis}

Local real lifts of a smooth map between irrational tori have the same derivative on their common domain, since the lifts differ by a locally constant period. The resulting derivative on the real line is invariant under translation by both $1$ and $\alpha$. Density and continuity imply that it is constant.

\begin{theorem}[Affine rigidity of all smooth maps]
\label{nt-affine}
For irrational $\alpha,\beta$, every smooth $f:T_\alpha\to T_\beta$ is uniquely of the form
\[
 f([x]_\alpha)=[s x+b]_\beta,\qquad
 sD_\alpha\subset D_\beta,\quad [b]_\beta\in T_\beta .
\]
The scalar $s$ is an ordinary real number. In particular, the pointed smooth maps are precisely the smooth group homomorphisms, and composition of pointed maps multiplies their slopes.
\end{theorem}

\begin{proof}
Choose local smooth real lifts of $f q_\alpha$ on intervals covering $\R$. The difference of any two lifts is locally constant on their overlap because it belongs to $D_\beta$. Their derivatives thus define a single smooth function $h$ on $\R$. If $d\in D_\alpha$, translating the argument by $d$ gives another lift of the same projected map after restricting to a common interval. Therefore $h(x+d)=h(x)$. The density of $D_\alpha$ and continuity yield $h(x)=s$ everywhere. Subtracting $sx$ from every local lift now gives locally constant functions, whose classes in $T_\beta$ agree on overlaps. By connectedness their common class is a single $[b]_\beta$. Comparing the values at $x=0$ and $x=d$, we obtain $sD_\alpha\subset D_\beta$. Conversely this inclusion makes the formula well defined, and every local plot lift gives a smooth local lift of its image. The derivative of any local lift is $s$, and $f([0]_\alpha)=[b]_\beta$. Finally $[b]_\beta=0$ is exactly the condition for the displayed map to preserve zero, whereupon additivity follows from the formula.
\end{proof}

\begin{theorem}[Classification and finite fibers]
\label{nt-class}
The following conditions on two irrational parameters are equivalent.
\begin{enumerate}
\item The diffeological spaces $T_\alpha$ and $T_\beta$ are diffeomorphic.
\item There exists $s\ne0$ with $sD_\alpha=D_\beta$.
\item There are integers $a,b,c,d$ with $ad-bc=\pm1$ and
$\displaystyle\beta=(a\alpha+b)/(c\alpha+d)$.
\end{enumerate}
More generally every nonzero admissible slope $s$ gives a surjection. Its fiber cardinality is the index $[D_\beta:sD_\alpha]$, equal to the absolute determinant of the matrix of multiplication by $s$ in the two period bases.
\end{theorem}

\begin{proof}
The inverse of an affine diffeomorphism has slope $1/s$ by Theorem~\ref{nt-affine}, so $sD_\alpha=D_\beta$. Conversely equality gives a pointed inverse by division by $s$. If $sD_\alpha=D_\beta$, then $(1/s,\beta/s)$ is an integral basis of $D_\alpha$. Write its elements as $c\alpha+d$ and $a\alpha+b$. The determinant of a change of integral basis is a unit in $\Z$. Division gives the fraction in the statement. Conversely the numerator and denominator of that fraction form a basis of $D_\alpha$ and $s=(c\alpha+d)^{-1}$ works. The denominator cannot vanish for irrational $\alpha$ and a unimodular matrix.

For the pointed map, the image of $[y/s]_\alpha$ is $[y]_\beta$. Translation in the target preserves surjectivity and the cardinalities of the fibers. Its preimages differ by elements of $s^{-1}D_\beta/D_\alpha\simeq D_\beta/sD_\alpha$. The columns expressing $s$ and $s\alpha$ in the target basis are linearly independent over $\mathbb Q$, since $s\ne0$ and $\alpha$ is irrational. The index therefore equals the absolute determinant, by the elementary integer normal form for a full-rank subgroup of $\Z^2$.
\end{proof}

\begin{example}[An index-two map]
Take $\alpha=\sqrt2$, $\beta=2\sqrt2$ and $s=2$. The source period $1$ is sent to $2$ while $\sqrt2$ is sent to $\beta$. The matrix in the displayed bases is $\operatorname{diag}(2,1)$. Above zero we find $[0]_\alpha$ and $[1/2]_\alpha$. They are distinct because $1/2\notin D_\alpha$. For comparison, $\beta=1/(1+\alpha)$ produces an isomorphism with slope $1/(1+\alpha)$: the two vectors $1+\alpha$ and $1$ already form an integral basis before rescaling. The image period groups in these two cases have indices two and one, respectively.
\end{example}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1.02cm,y=.61cm,>=stealth]
\foreach \i in {0,...,4}{\draw[gray!30] (\i,0)--(\i,3);}
\foreach \j in {0,...,3}{\draw[gray!30] (0,\j)--(4,\j);}
\foreach \i in {0,...,4}{\foreach \j in {0,...,3}{\draw[black!55,fill=white] (\i,\j) circle (2.3pt);}}
\foreach \i in {0,2,4}{\foreach \j in {0,...,3}{\fill[blue!70!black] (\i,\j) circle (2.3pt);}}
\draw[red!70!black,thick] (0,0) rectangle (2,1);
\node[anchor=west,align=left,font=\small] at (4.4,2.4) {filled: image periods\\open: other coset};
\node[anchor=west,align=left,font=\small] at (4.4,.5) {rectangle: one cell\\of the image lattice};
\end{tikzpicture}
\caption{The map with slope $2$ in the index-two example. The axis coordinates are the integer coefficients in the basis $(1,2\sqrt2)$. This coefficient lattice is drawn in a plane even though its real period values lie densely on a line.}
\label{nt-index}
\end{figure}

\section{The multiplier order of a quadratic slope}

The pointed smooth endomorphisms form a ring under pointwise addition and composition. In coefficient language it is the multiplier order
\[
 E_\alpha=\{s\in\R:sD_\alpha\subset D_\alpha\}.
\]
The additive group $D_\alpha$ need not be closed under multiplication. A scalar $s$ belongs to $E_\alpha$ exactly when $s$ and $s\alpha$ both belong to $D_\alpha$.

\begin{theorem}[Multiplier order and degree]
\label{nt-order}
If $1,\alpha,\alpha^2$ are linearly independent over $\mathbb Q$, then $E_\alpha=\Z$. Otherwise let $A\alpha^2+B\alpha+C=0$ be the primitive quadratic equation with $A>0$ and let $\theta=A\alpha$. Then
\[
 E_\alpha=\Z+\Z\theta .
\]
For $u=m+n\theta\ne0$ its map on $T_\alpha$ has degree, in the sense of fiber cardinality, $|m^2-Bmn+ACn^2|$. The pointed automorphisms are precisely the units with that quantity equal to one.
\end{theorem}

\begin{proof}
Because $1$ is a period, $s$ must have the form $m+k\alpha$. Testing $s\alpha$ gives $k\alpha^2+(m-j)\alpha-i=0$ for two integers $i,j$. Under the linear independence hypothesis, $k=0$. In the quadratic case, substituting the primitive equation gives the two divisibilities $A\mid kB$ and $A\mid kC$. Since $A,B,C$ generate the unit ideal, an integral linear combination of them equals one, and multiplication by $k$ gives $A\mid k$. Conversely $k=nA$ satisfies both tests. Hence all the multipliers are the asserted elements. Multiplication by $m+nA\alpha$ sends $1$ and $\alpha$ to elements of the original period basis with columns $(m,nA)^t$ and $(-nC,m-nB)^t$. Its determinant is the claimed integer. By Theorem~\ref{nt-class}, this is a bijection exactly when the absolute value equals one. In that case the inverse real scalar also preserves $D_\alpha$. Thus the invertible multipliers are exactly the units.
\end{proof}

\begin{example}[A Fibonacci automorphism]
Let $\varphi=(1+\sqrt5)/2$. Since $\varphi^2=\varphi+1$, the image of the basis $(1,\varphi)$ under multiplication by $\varphi$ is $(\varphi,1+\varphi)$. Its matrix, determinant and inverse scalar are
\[
 M=\begin{pmatrix}0&1\\1&1\end{pmatrix},\qquad
 \det M=-1,\qquad \varphi^{-1}=\varphi-1 .
\]
For $k\ge1$, multiplying the period $1$ by $\varphi^k$ gives $F_{k-1}+F_k\varphi$, where $F_0=0$, $F_1=1$. The equality follows by induction using the preceding quadratic relation. The fifth iterate has first period $3+5\varphi$ and second period $5+8\varphi$. The coordinate determinant is $24-25=-1$, so the map is bijective. On $T_{\sqrt[3]{2}}$, by contrast, the only pointed automorphisms are multiplication by $1$ and by $-1$, since $1,\sqrt[3]{2},\sqrt[3]{4}$ are linearly independent over $\mathbb Q$.
\end{example}

\section{Small divisors in the cohomological equation}

The transversal in Figure~\ref{nt-flow} gives a second presentation $T_\alpha\simeq S^1/\Z$, with $S^1=\R/\Z$ and generator $x\mapsto x+\alpha$. Indeed composing $\R\to S^1$ with the orbit quotient identifies the same pairs as $q_\alpha$, and both quotient diffeologies admit precisely the same local real lifts. For a smooth real function $F$ on the circle, lift the generator to
\[
 (x,r)\longmapsto(x+\alpha,r+F(x))\qquad (x,r)\in S^1\times\R.
\]
The arrow indexed by $n\in\Z$ is the $n$th iterate of this map. The quotient $E_F$ projects to $T_\alpha$ and carries fiberwise addition by real numbers. Pullback to the transversal trivializes it. Indeed over a specified $x$ every class above $[x]$ has exactly one representative $(x,r)$. This assignment is smooth: locally lift a plot to a pair $(y,v)$, and the unique integer taking $y$ to $x$ is locally constant, since the circle difference $x-y$ takes values in the countable orbit of zero. A section of $E_F$ consequently amounts to a smooth function $G$ on the transversal satisfying
\[
 \Delta_\alpha G(x):=G(x+\alpha)-G(x)=F(x).
\]
Thus a coordinate change along the fibers eliminates the displacement precisely when $F$ is a coboundary. Integrating both sides and using translation invariance of circle measure, we obtain the necessary condition $\int_{S^1}F=0$. We use normalized length on the circle.

\begin{theorem}[Small divisors for smooth sections]
\label{nt-divisor}
Write $\|t\|$ for the distance from $t$ to the nearest integer. Suppose there are $c>0,\tau>0$ with $\|k\alpha\|\ge c|k|^{-\tau}$ for every nonzero integer $k$. Then every smooth mean-zero $F$ gives a smooth section of $E_F$, unique up to constant vertical translation. If $\alpha$ is Liouville, there exists a real smooth mean-zero $F$ for which the equation $\Delta_\alpha G=F$ has no continuous solution.
\end{theorem}

\begin{proof}
For a smooth periodic function, we bound its Fourier coefficients by a constant times $|k|^{-r}$ for each positive integer $r$ by integrating by parts $r$ times. Conversely that decay implies absolute uniform convergence of the series of derivatives of every order. Taking the $k$th Fourier coefficient in the equation for a section gives
\[
 (e^{2\pi i k\alpha}-1)\widehat G(k)=\widehat F(k).
\]
For $k\ne0$ the multiplier has absolute value $2\sin(\pi\|k\alpha\|)\ge4\|k\alpha\|$, by the chord bound on $[0,\pi/2]$. The reciprocal multiplier is bounded by $(4c)^{-1}|k|^\tau$. The resulting coefficients are rapidly decreasing. Set $\widehat G(0)=0$, and the series gives a smooth real solution because conjugate symmetry is preserved. Any two solutions differ by a continuous rotation-invariant function, hence a constant by density.

For Liouville $\alpha$, rational approximations with errors smaller than arbitrarily high inverse powers of the denominator allow us to select strictly increasing $q_j>2^j$ for which
$0<|e^{2\pi i q_j\alpha}-1|<q_j^{-2j}$. Here we have used $|e^{2\pi i t}-1|\le2\pi\|t\|$ and increased the approximation exponent to absorb the constant. Set
\[
 F(x)=\sum_{j\ge1}q_j^{-j}\cos(2\pi q_j x).
\]
The derivatives of order $r$ are bounded termwise by $(2\pi)^r q_j^{r-j}$, summable for every fixed $r$. The function is real, smooth and mean-zero. A continuous solution would have $|\widehat G(q_j)|>q_j^j/2$ by the coefficient equation. Fourier coefficients of a continuous function are bounded by its $L^1$ norm, giving a contradiction.
\end{proof}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1.3cm,y=1.3cm,>=stealth,font=\small]
\draw[->,gray!70] (-1.35,0)--(1.65,0) node[right] {$\operatorname{Re}$};
\draw[->,gray!70] (0,-1.15)--(0,1.24) node[above] {$\operatorname{Im}$};
\draw[blue!65!black] (0,0) circle (1);
\draw[dashed] (0,0)--(35:1);
\draw[red!70!black,very thick] (1,0)--(35:1);
\fill (1,0) circle (1.6pt) node[below right] {$1$};
\fill (35:1) circle (1.6pt) node[above right] {$e^{2\pi i k\alpha}$};
\draw[->] (.45,0) arc (0:35:.45);
\node[anchor=west,align=left] at (2.25,.20) {chord length\\$2\sin(\pi\|k\alpha\|)$};
\end{tikzpicture}
\caption{The chord length is $|e^{2\pi i k\alpha}-1|$. For $k\alpha$ close to an integer, division by this small length amplifies the $k$th Fourier coefficient when solving for $G$. The angle is schematic.}
\label{nt-chord}
\end{figure}

For a numerical example choose $F(x)=\cos(2\pi k x)$ at one nonzero frequency. Writing
$G(x)=\operatorname{Re}(e^{2\pi i kx}/(e^{2\pi i k\alpha}-1))$ solves the equation directly. With $k=13$ and $\alpha=(\sqrt5-1)/2$, the product $k\alpha$ is about $8.03444$ and the chord in Figure~\ref{nt-chord} has length about $0.216$. The resulting $G$ has amplitude about $4.63$. An unusually good rational approximation at a single frequency increases the amplitude by a finite factor. In the counterexample in Theorem~\ref{nt-divisor}, the reciprocal multipliers grow faster than every fixed power along a sequence of frequencies.
 
Under the stated Diophantine bound, a smooth change of fiber origin removes any smooth shear $F$ after subtraction of its average. For every Liouville angle there is a smooth mean-zero shear for which no such change of origin exists. The translation groupoid and its composition law have the same definitions for both kinds of angle. The estimates on rational approximations apply to the existence of a solution to the cocycle equation.

\section{Exercises with solutions}

\begin{exercise}[Compute a change of coordinates]
Let $\beta=(2\alpha+1)/(\alpha+1)$. Produce the slope of a pointed diffeomorphism $T_\alpha\to T_\beta$ and write the images of both source periods in the target basis.
\end{exercise}
\begin{solution}
The coefficient matrix of the fraction has determinant $2\cdot1-1\cdot1=1$. Choose $s=(\alpha+1)^{-1}$. Since $\beta=2-s$, one has $s=2-\beta$ and $s\alpha=1-s=\beta-1$. The two columns $(2,-1)^t$ and $(-1,1)^t$ have determinant $1$. Applying the inverse integral matrix to these relations expresses both target periods as integer combinations of $s$ and $s\alpha$, directly checking surjectivity on periods.
\end{solution}

\begin{exercise}[Distinguish two finite covers]
Find the kernels of multiplication by $2$ and by $2+\sqrt2$ on $T_{\sqrt2}$. Explain why their different sizes are compatible with the second multiplier having larger real absolute value.
\end{exercise}
\begin{solution}
The first kernel is $(\tfrac12D_{\sqrt2})/D_{\sqrt2}$ with representatives $0,1/2,\sqrt2/2,(1+\sqrt2)/2$. The second multiplier has norm $(2+\sqrt2)(2-\sqrt2)=2$. Its kernel has order two and contains the nonzero class $[\sqrt2/2]$, whose product is $[\sqrt2+1]=0$. Fiber cardinality equals the factor by which multiplication scales the area of a fundamental lattice cell. The two embeddings of the quadratic field give the factors $2+\sqrt2$ and $2-\sqrt2$ of that area change.
\end{solution}

\begin{exercise}[Recover differentials from local lifts]\label{nt-periods}
Compute all diffeological $1$-forms on $T_\alpha$ and their periods on the loops corresponding to $1$ and $\alpha$. Which homomorphisms $D_\alpha\to\R$ can be obtained this way?
\end{exercise}
\begin{solution}
Pull back a form along $q_\alpha$ and write it $h(x)\,dx$. Every translation by a period preserves the pullback, so $h(x)=a$ is constant by continuity and density. Conversely on a plot lifted by $u$ assign $a\,du$. On overlaps two lifts differ by a locally constant period so these forms agree, and compatibility with pullback along probes follows from the chain rule. Since plots locally lift, this also establishes uniqueness. Integrating along projected line segments from $0$ to $1$ and from $0$ to $\alpha$ gives $(a,a\alpha)$. Reparametrize with stationary ends if smooth concatenations are desired. A homomorphism with arbitrary values $(r,t)$ on the basis occurs exactly when $t=\alpha r$. Every resulting nonzero form is closed and non-exact, since smooth real functions on this quotient are constant.
\end{solution}

\begin{exercise}[Prove a complete unit classification]
Show that the full pointed automorphism group of $T_\varphi$ consists of the multipliers $\{\pm\varphi^k:k\in\Z\}$. As a consequence identify the full, unpointed diffeomorphism group as an abstract group.
\end{exercise}
\begin{solution}
By Theorem~\ref{nt-order}, the pointed automorphisms are the multiplications by units in $\Z[\varphi]$. Change sign to make a unit positive and multiply by an integral power of $\varphi$ to put its real value $u$ in $[1,\varphi)$. Its conjugate $u'$ satisfies $u'=1/u$ or $u'=-1/u$. If the norm is positive, the integral trace $u+1/u$ belongs to $[2,\varphi+1/\varphi)=[2,\sqrt5)$, hence equals $2$. The equation $(u-1)^2=0$ gives $u=1$. If the norm is negative, the integral trace $u-1/u$ belongs to $[0,\varphi-1/\varphi)=[0,1)$, hence vanishes and again $u=1$. This last value has norm positive, so no negative-norm unit lies in the specified interval. Undoing the sign and power adjustments, we obtain exactly the units $\pm\varphi^k$, since both $\varphi$ and $-1$ are units. By Theorem~\ref{nt-affine}, every diffeomorphism is uniquely a translation composed with a multiplier. Composition sends $([b],u),([c],v)$ to $([b+uc],uv)$, giving the semidirect product $T_\varphi\rtimes\{\pm\varphi^k:k\in\Z\}$ on underlying groups.
\end{solution}

\clearpage
\section{Period pairs of plotwise one-forms}
Apply Theorem~\ref{st:eff} to $\R\to T_\alpha$. In degree $k$ its nerve is $\R\times D_\alpha^k$: successive differences determine the lifts, and the subgroup $D_\alpha$ has discrete diffeology. Test the realization against $B\R_{\mathrm{disc}}$, the classifying stack of the additive reals with the discrete smooth structure. A torsor on the contractible atlas $\R$ is trivial because it is a covering with discrete group, and every plotwise change of trivialization on a connected copy of $\R$ is constant. Thus a descent object is determined, up to choice of frame, by one real constant $c_d$ for every $d\in D_\alpha$. The cocycle equation is $c_{d+e}=c_d+c_e$. A change of the frame is constant and conjugates trivially because the group is abelian. Consequently the set of isomorphism classes of these torsors is $\operatorname{Hom}(D_\alpha,\R)\cong\R^2$. By Exercise~\ref{nt-periods}, the image of integration of plotwise closed forms is the line $\{(a,\alpha a):a\in\R\}$. For example, the smooth torsor class with period pair $(0,1)$ lies outside that image. This gives an explicit quotient with a one-dimensional degree-one comparison cokernel, in agreement with the higher-stack calculation in reference [6].


\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=1.55cm,y=1.0cm,>=stealth]
\draw[->,gray] (-1.15,0)--(2.65,0) node[right]{$c_1$};
\draw[->,gray] (0,-1.15)--(0,2.27) node[above]{$c_{\varphi}$};
\draw[thick,deep] (-.67,-1.084)--(1.30,2.103);
\draw[clay,dashed] (0,1)--(.618,1);
\fill[clay] (0,1) circle (1.8pt);
\node[left,clay] at (-.05,1){$(0,1)$};
\node[right,deep] at (1.36,1.90){$c_{\varphi}=\varphi c_1$};
\fill[deep] (1,1.618) circle (1.8pt);
\end{tikzpicture}
\caption{For the golden ratio $\varphi$, every pair of period translations occurs for some discrete real torsor. The period pairs of plotwise forms lie on the sloping line. At the marked point, the translations corresponding to the first and second generators are zero and one, respectively.}
\end{figure}

\paragraph{Sources and further reading.}
The original classification and computation of diffeomorphisms appeared in P.~Donato and P.~Iglesias, \href{https://math.huji.ac.il/~piz/documents/EGDFIT.pdf}{\emph{Exemples de groupes diff\'eologiques: flots irrationnels sur le tore}} (1985). The number-field interpretation in higher rank is developed by P.~Iglesias and G.~Lachaud in \href{https://aif.centre-mersenne.org/articles/10.5802/aif.1231/}{\emph{Espaces diff\'erentiables singuliers et corps de nombres alg\'ebriques}} (1990). The interaction of the rotation difference operator with the group of flows is studied in P.~Iglesias-Zemmour, \href{https://arxiv.org/abs/2508.07460}{\emph{Diffeology and Arithmetic of Irrational Tori}}. Here we prove the section criterion for the explicitly presented family $E_F$.



\chapter{Sharing a secret over a smooth base}
\label{cr-chapter}

A dealer gives one field element to each of five custodians. Any three
custodians must be able to reconstruct the secret. For any two, the joint
distribution of their shares must be the same for all possible secrets.
When the shares are expressed in local coordinates, transport around a
loop can change the encoding of a fixed secret. We compute the resulting
translation of each coalition's shares and determine when the decoder
is independent of the local encoding coordinates.

Each coalition has a fixed set of coordinate indices. Each chart has an open domain in the parameter space. With enough shares, a coalition can reconstruct the secret by polynomial interpolation. On intersecting charts, the local encodings must satisfy a descent condition. The cryptographic construction is Shamir's
threshold scheme. The geometric application is a model of families whose
encoding coordinates can change by adding a mask polynomial.

\section{Observation as a quotient of a finite group}

Write finite abelian groups additively. Let $S$ be a group of secrets, $K$
a group of masks, and $V$ a group of observations. Choose homomorphisms
$A:S\to V$ and $B:K\to V$. For a secret $s$ and mask $k$, the observation is $As+Bk$. A uniform mask is chosen independently of the secret.
Translations by $K$ partition $V$ into cosets of the subgroup $B(K)$.
For the quotient map $\pi:V\to V/B(K)$ and any sample $v=As+Bk$, the deterministic statistic $\pi(v)$ equals $\pi(As)$.

\begin{theorem}[Exact observation quotient]\label{cr-observation}
For each secret $s$, the observation law is uniform on the coset
$As+B(K)$. Two secrets induce identical laws if and only if they have
the same image under $L=\pi A$. Distinct values of $L$ give disjoint
supports. A deterministic function $g:S\to D$ is recoverable with
certainty from one observation for every $s$ precisely when it factors
through $L:S\to L(S)$. For any prior on $S$, with Shannon entropy in
bits, the mutual information satisfies
\[
       I(S;V_{\rm obs})=H(L(S)).
\]
Here the occurrences of $S$ inside entropy expressions refer to the random
secret, and $V_{\rm obs}$ denotes the random observation.
\end{theorem}
\begin{proof}
For $v\in As+B(K)$ the set of compatible masks is $k_0+\ker B$
for any one solution $k_0$. Dividing their cardinality by $|K|$ gives
probability $1/|B(K)|$. For all other $v$ the probability is zero.
Two cosets of a subgroup are equal or disjoint. If $g$ has a decoder,
then applying the decoder to any observation in a shared coset gives
the same value of $g$ for every secret in its fiber. Thus $g$ factors
as stated. Conversely, if $g=\bar g\circ L$, then $g(s)=\bar g(\pi(v))$ for every compatible observation $v$. Finally $L(S)$ is determined both by the secret
and by the observation. Conditional on $L(S)$ the law of $V_{\rm obs}$
is the same for each secret in that fiber, so their conditional mutual
information is zero. The mutual-information identity follows by the chain rule.
\end{proof}

In particular, perfect privacy for every prior is equivalent to
$A(S)\subseteq B(K)$. We can test this subgroup inclusion without enumerating any probability distributions. For partial disclosure, the same quotient yields an entropy formula. If $S,K,V$ are vector spaces over $\mathbf F_q$, the maps $A,B$ are
$\mathbf F_q$-linear, and the secret is uniform, the information
is $\operatorname{rank}(L)\log_2 q$ bits. Both conclusions refer to the
specified observation channel. The sampling hypothesis matters even when
the algebraic supports remain unchanged.

\section{Polynomial encoding and the threshold}

Take a finite field $F=\mathbf F_q$, integers $2\le t\le n\le q-1$, and
distinct nonzero public nodes $a_1,\ldots,a_n$. Write $P$ for the additive
group of polynomials of degree less than $t$, including zero, and
$K=\{h\in P:h(0)=0\}$. A sharing of $s$ is a uniform element
of the affine space $P_s=s+K$. Custodian $i$ receives $f(a_i)$. For a
coalition $J$ of size $m$ let $E_J(f)=(f(a_i))_{i\in J}$, and put
$B_J=E_J|_K$. Translation is free and transitive on $P_s$. In geometric
language $P_s$ is a $K$-torsor. In these coordinates, the constant polynomial $s$ is a distinguished element of $P_s$.

\begin{theorem}[Privacy, multiplicities, and reconstruction]
\label{cr-threshold}
If $m<t$, every observation $y\in F^J$ occurs for each secret with
probability $q^{-m}$. Exactly $q^{t-1-m}$ encodings of a fixed secret
give that $y$. If $m\ge t$, then for each valid observation $y$ there is exactly one $f\in P$ with $E_J(f)=y$. For any $t$-element subset $D\subseteq J$, the value at zero of that polynomial is
\[
     s=\sum_{i\in D} f(a_i)
        \prod_{j\in D,\,j\ne i}\frac{-a_j}{a_i-a_j}.
\]
\end{theorem}
\begin{proof}
For $m<t$, prescribe value zero at $0$ and arbitrary values at the $m$
nodes. Interpolation at these $m+1$ distinct points produces a polynomial
of degree at most $m<t$. Hence $B_J:K\to F^J$ is surjective. Its kernel
has dimension $t-1-m$ by rank--nullity. Applying
Theorem~\ref{cr-observation} with $A(s)=(s)_{i\in J}$ gives the
counts and probabilities. For $m\ge t$, two polynomials agreeing at
$t$ nodes have a difference of degree less than $t$ with $t$ roots,
so they coincide. Interpolate at the nodes indexed by $D$ and evaluate
the resulting Lagrange basis at $0$ to obtain the displayed weights.
\end{proof}

There is a sharp change at $m=t-1$. Once a particular secret has been
specified, $t-1$ observations determine one encoding of it. Yet exactly
one encoding is possible for \emph{each} field element proposed as the
secret. With a uniform mask, the likelihood of the observations is the same for every possible secret. As we prove below, $t-1$ evaluations determine a change of mask along a loop, whereas a single vector of $t-1$ shares is independent of the secret.

\begin{example}[An explicit three-of-five sharing]\label{cr-example}
Work over $\mathbf F_7$ with nodes $1,2,3,4,5$. Let $t=3$ and
$f=4+2X+3X^2$. The shares in node order are $(2,6,2,4,5)$.
At nodes $1,2,3$ the reconstruction weights are $(3,-3,1)$, so the
weighted sum is $6-18+2=-10\equiv 4\pmod 7$. Suppose the data consist of the first two values $(2,6)$. The complete list of compatible
polynomials is
\[
       f_\lambda(X)=f(X)+\lambda(X-1)(X-2),
       \qquad \lambda\in\mathbf F_7 .
\]
The set of constant coefficients $4+2\lambda$ is the whole field. For example $f_5=X+X^2$ yields secret $0$ and the same
observed pair. At fixed $s$, precisely one of the $49$ equally likely masks is compatible with $(2,6)$. The likelihood of this observation is
therefore $1/49$ for both $s=4$ and $s=0$, and likewise for every
other possible secret.
\end{example}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=0.9cm,y=0.47cm,font=\small]
\draw[gray!27] (0,0) grid (5,6);
\draw[->] (-0.32,0)--(5.5,0) node[right] {$x$};
\draw[->] (0,-0.45)--(0,6.65) node[above] {$f_\lambda(x)$};
\foreach \x in {0,1,2,3,4,5} {\node[below] at (\x,-0.15) {\x};}
\foreach \y in {1,2,3,4,5,6} {\node[left] at (-0.10,\y) {\y};}
\foreach \x/\y in {0/4,1/2,2/6,3/2,4/4,5/5}
  {\fill[blue!70!black] (\x,\y) circle (1.8pt);}
\foreach \x/\y in {0/0,1/2,2/6,3/5,4/6,5/2}
  {\draw[orange!85!black,thick] (\x,\y) ++(-3pt,-3pt) rectangle ++(6pt,6pt);}
\foreach \x/\y in {0/6,1/2,2/6,3/4,4/3,5/3}
  {\draw[teal!70!black,thick] (\x,\y) ++(-4pt,-4pt) -- ++(8pt,8pt);
   \draw[teal!70!black,thick] (\x,\y) ++(-4pt,4pt) -- ++(8pt,-8pt);}
\end{tikzpicture}
\caption{Finite-field evaluations in Example~\ref{cr-example}. Discs denote values of $f_0$, squares those of $f_5$, and crosses those of $f_1$. All three markers coincide
at nodes $1$ and $2$. At zero the three values are distinct. Axis coordinates are the integer representatives of field elements.}
\label{cr-evaluations}
\end{figure}

\section{Descent of encodings in local coordinates}

Put the discrete diffeology on $F$, $P$, and $K$. For an open Euclidean
test domain $U$, a smooth $U$-family of elements in any of these sets is
a locally constant function. Use ordinary open covers of a smooth manifold
$M$ for the next construction. The same formulas hold after pullback to any smooth test domain. A locally specified encoding for
fixed $s$ has charts $U_i\times P_s$. On overlaps the permitted change
from coordinates $i$ to $j$ sends $f$ to $f+h_{ij}$, where
$h_{ij}:U_i\cap U_j\to K$ is locally constant. Compatibility requires
\[
 h_{ii}=0,\qquad h_{ik}=h_{ij}+h_{jk} \quad
 \text{on }U_i\cap U_j\cap U_k.
\]
A change of chart coordinates $f_i\mapsto f_i+b_i$, with $b_i$ locally
constant in $K$, gives $h'_{ij}=h_{ij}+b_j-b_i$. The $h_{ij}$ are the public changes of local frames. A random draw of
$f$ is a separate operation, conditional on its secret.

\begin{theorem}[Descent of encodings, uniform laws, and decoders]
\label{cr-descent}
The quotient of the charts by the specified transition functions is a smooth $K$-torsor over $M$. On the stated cover the groupoid of such presentations has as
arrows exactly the changes $\{b_i\}$ satisfying
$h'_{ij}=h_{ij}+b_j-b_i$. A global encoding section exists exactly
when the transition cocycle is a coboundary. Irrespective of this
condition the uniform probability law on each encoding fiber descends,
as do the induced share laws and the secret reconstructed by any
authorized coalition.
\end{theorem}
\begin{proof}
Form the quotient of the disjoint union of charts by
$(u,f)_i\sim(u,f+h_{ij}(u))_j$, with the quotient diffeology. The relation is transitive by $h_{ik}=h_{ij}+h_{jk}$ and symmetric by $h_{ji}=-h_{ij}$. In each chart the quotient has a smooth trivialization. On every overlapping chart the inverse coordinate function is translation by a locally constant mask. Fiberwise addition by $K$ commutes with
translations and remains free and transitive. An equivariant map between
the two trivial fibers is determined by the image of the element $s$,
so in chart $i$ it is translation by some $b_i$. Commuting with the
overlap identifications gives precisely the formula for $h'_{ij}$.
A section amounts to polynomials $s+k_i$ with
$k_j-k_i=h_{ij}$, which gives the coboundary criterion.

A translation of a finite set permutes the atoms of its uniform law.
Consequently equal local uniform laws correspond on overlaps, providing
a well-defined probability measure in each fiber. For coalition $J$,
form its observation bundle by gluing $U_i\times F^J$ with translations
$y\mapsto y+B_J h_{ij}$. The evaluation maps commute with these
translations, so their pushforward laws also glue. For $|J|\ge t$ the
weighted reconstruction map satisfies $r_D(E_J h)=h(0)=0$ for every
$h\in K$. Thus $r_D$ is invariant under all the observation transitions
and has value $s$ on the valid observations. For a locally constant secret $s(u)$, the reconstructed value at each $u$ equals $s(u)$.
\end{proof}

The groupoid in this proof is the finite abelian example of the
classifying stack $B\underline K$, where $\underline K$ denotes the
sheaf of locally constant $K$-valued functions. Allowing refinements
of the cover gives all locally trivial torsors. The isomorphism classes
are $H^1(M,\underline K)$. Even a trivial torsor has a group of
automorphisms, namely the locally constant $K$-valued functions on $M$.
Those automorphisms are morphisms in the groupoid. The corresponding set of isomorphism classes has one element per class. Conversely,
if a specific encoding is supplied as a global section, an equivariant
automorphism fixing it fixes its entire fiber at every point. An ordinary
single-chart dealer has indeed made the encoding coordinates global.
Local frames with a non-coboundary transition cocycle define a nontrivial class.

\section{The coalition threshold for mask monodromy}

Take $M=\R/\Z$. A loop with translation monodromy $h\in K$ is modeled
by $[0,1]\times P_s$ with its ends identified by
$(1,f)\sim(0,f+h)$, using the usual smooth mapping-torus structure.
For a constant lift on the interval, the endpoint represents $(0,f+h)$ in the quotient. The
corresponding return in the coalition observation space is translation
by $B_J h$. To determine whether the translation uniquely specifies $h$,
fix the node labels and additive frames, and take the full return translation in those coordinates as the data.

\begin{theorem}[Detection threshold for mask monodromy]\label{cr-holonomy}
For a coalition $J$ of size $m$, the induced translation is the identity
exactly when $h\in\ker B_J$. The dimension of this kernel is
$\max(t-1-m,0)$. Consequently $t-1$ nodes suffice to identify every
mask monodromy from its observation translation. At that size one
single-epoch observation with fresh uniform masks is perfectly private
for every prior on the secret.
\end{theorem}
\begin{proof}
Translation by a vector on $F^J$ acts trivially precisely when that
vector is zero. When $m<t-1$, masks vanishing at every observed node and
at zero have the form
\[
     X\prod_{i\in J}(X-a_i)\,g(X),\qquad \deg g<t-1-m,
\]
with $g=0$ allowed. This gives the claimed kernel dimension. When
$m\ge t-1$, a mask of degree less than $t$ with roots at zero and all $m$ nodes is the zero polynomial. For $m=t-1$ the map
from mask coefficients to the translation is therefore an isomorphism.
The last assertion is Theorem~\ref{cr-threshold} applied at a single
base point. For monodromy identification the data consist of a translation. For single-epoch privacy the data consist of a sample from a uniform affine fiber.
\end{proof}

For the parameters of Example~\ref{cr-example}, set $h=X(X-1)$.
At node $1$ the translation is $h(1)=0$. At nodes $1$ and $2$ the joint translation is $(0,2)$. Together with $h(0)=0$, these values uniquely determine $h$.
A global section of the encoding torsor would be represented by a
locally constant function on the connected interval that agrees with
its own translate at the ends. A nonzero translation has no fixed
point. Thus the uniform law and reconstructed secret are globally defined, and the encoding torsor has no global section.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[font=\small]
\foreach \i in {0,...,6}{
  \node[draw=teal!65!black,fill=teal!7,circle,inner sep=2.2pt]
   (crn\i) at ({90-360*\i/7}:1.65) {$\i$};
}
\foreach \i/\j in {0/1,1/2,2/3,3/4,4/5,5/6,6/0}
  {\draw[->,thick,teal!60!black] (crn\i) -- (crn\j);}
\node at (0,0) {$f+jh$};
\draw[->,thick] (2.15,0.35)--(3.15,0.35);
\node[font=\scriptsize,above] at (2.65,0.38) {node 1};
\node[circle,draw,inner sep=3pt] (crfixed) at (3.65,0.35) {$2$};
\draw[->] (crfixed) edge[loop above] (crfixed);
\node[align=center,font=\scriptsize] at (3.7,-0.5) {unchanged share};
\end{tikzpicture}
\caption{One seven-element orbit of the return map for $h=X(X-1)$
over $\mathbf F_7$. The vertex $j$ denotes the polynomial $f+jh$.
Evaluation at node $1$ sends the entire orbit to the fixed value $2$.
After one circuit the value at node $2$ increases by $2$ modulo seven.}
\label{cr-monodromy}
\end{figure}

On a chart overlap, the two coordinate descriptions correspond to the same local sample. Distinct coalitions generally have different sets of evaluation nodes. A one-epoch marginal law does not determine the joint distribution over several epochs. For instance, reusing one polynomial mask for
two scalar secrets makes subtraction of their shares equal to
subtraction of the secrets at every custodian. For single-epoch privacy we assumed one secret and an independent uniform mask. For several encodings we can sample a separate independent mask for each. The final exercise concerns joint privacy under this assumption.

\section{Exercises with solutions}

\begin{exercise}[Compute a different reconstruction]
In Example~\ref{cr-example}, use nodes $1,3,5$ instead of $1,2,3$.
Determine the weights at zero and verify the result from the three shares.
\end{exercise}
\begin{solution}
In $\mathbf F_7$ the three Lagrange coefficients are
$15/8=1$, $5/(-4)=4$, and $3/8=3$, respectively. Their sum is
$8\equiv 1$ as required for constant polynomials. The shares are
$(2,2,5)$, so the weighted sum equals $2+8+15=25\equiv4$.
\end{solution}

\begin{exercise}[Determine partial leakage]
Let $S=\mathbf F_5^2$, $K=\mathbf F_5$, and let the observation be
$(s_1+k,s_2+k)$. Determine a complete deterministic leakage function.
For uniform secrets compute its entropy. For arbitrary priors determine
the posterior on a compatible fiber.
\end{exercise}
\begin{solution}
Adding the mask vector $(k,k)$ is a diagonal translation. The difference $d=s_1-s_2$ is constant on each diagonal coset and distinct on different cosets. For a uniform secret, $d$ is uniform and the mutual information is $\log_2 5$ bits. At observation $y$ with
positive probability, the likelihood for a candidate secret is $1/5$
when $s_1-s_2=y_1-y_2$ and zero otherwise. By Bayes' rule the posterior equals the normalized restriction of the prior to this affine line. Any
nonuniformity of the prior within that line persists unchanged in
relative odds.
\end{solution}

\begin{exercise}[Classify the fibers over a loop]
For $q=7,t=3$, consider the full $49$-element fiber and the return
translation by $h=X(X-1)$. Determine the number of components of
the total encoding cover, their degrees, and the observed return
permutation for custodian $3$.
\end{exercise}
\begin{solution}
A nonzero vector in $\mathbf F_7^2$ has additive order seven. Its
translation therefore has $49/7=7$ orbits, each of length seven.
For each orbit, seven intervals are glued cyclically into one connected seven-fold circle cover. At node $3$ the return is addition by
$3(3-1)=6$ modulo seven, a single seven-cycle on the observed fiber.
Every one of the seven components projects onto this observed circle
cover, compatibly with continuation around the base.
\end{solution}

\begin{exercise}[Prove that local detection globalizes]
Let $M$ be any smooth manifold and let $|J|\ge t-1$. Prove that two
encoding $K$-torsors whose induced $F^J$-observation torsors are
isomorphic have the same isomorphism class. The isomorphism of
observation torsors must commute with the action of each translation.
\end{exercise}
\begin{solution}
Choose a common refinement trivializing the two encoding torsors.
Let $h,h'$ be the transition cocycles on it. An equivariant
isomorphism of observation torsors is locally translation by
$b_i:U_i\to F^J$, giving
$B_J(h'_{ij}-h_{ij})=b_j-b_i$. By
Theorem~\ref{cr-holonomy}, $B_J$ is an injection of finite-dimensional
vector spaces. Extend a basis of its image to a basis of $F^J$ to
obtain a linear left inverse $C:F^J\to K$. Applying $C$ yields
$h'_{ij}-h_{ij}=Cb_j-Cb_i$. Each $Cb_i$ is locally constant; the
resulting translations glue to the required isomorphism. Thus the
concrete observation map induces an injection on $H^1$ for every
such base.
\end{solution}

\begin{exercise}[Prove a composition criterion for repeated observations]
Let secrets $s=(s_1,\ldots,s_d)$ and observations $v=As+Bk$ be as
in Theorem~\ref{cr-observation} for an entire batch, using a uniform
mask in the declared group. Prove that independent masks for $d$
separately private encoders preserve joint privacy for every joint
secret prior. If instead a common uniform scalar mask is used for
$v_i=s_i+k$ in a finite abelian group $G$, determine the exact
joint leakage.
\end{exercise}
\begin{solution}
With independent masks the mask group is the product, with uniform
product law, and $B$ is the direct product of the individual observation
maps on masks. Separate privacy gives $A_i(S_i)\subseteq B_i(K_i)$
for every coordinate. Thus the product secret image lies inside
the product mask image. The batch quotient is constant on secrets, so
the observations are independent of the entire secret vector for any
prior, including correlated priors. In the common-mask case $B(G)$
is the diagonal of $G^d$. The homomorphism
$v\mapsto(v_2-v_1,\ldots,v_d-v_1)$ is surjective with exactly that
diagonal kernel. The observed differences therefore form a complete deterministic invariant. The mutual information equals their joint entropy for the chosen prior. For independent uniform secrets the
quantity is $(d-1)\log_2|G|$ bits.
\end{solution}

\paragraph{Sources and scope.}
Iglesias-Zemmour defines the discrete diffeology and treats principal bundles in \emph{Diffeology}, articles 1.20 and 8.11--8.14.
The finite threshold scheme is due to Adi Shamir,
\href{https://dspace.mit.edu/entities/publication/91c51bfc-5678-409c-80c5-44ce8fcdbadf}{\emph{How to Share a Secret} (1979)}.
The torsor interpretation of $H^1$ is recorded in the
\href{https://stacks.math.columbia.edu/tag/03AG}{Stacks Project, Tag 03AG}.
For principal bundles in an $\infty$-topos see
\href{https://arxiv.org/abs/1207.0248}{Nikolaus, Schreiber and Stevenson,
\emph{Principal $\infty$-bundles: general theory}}.
The comparison of the two thresholds is a deduction for the specified
translation model. Its probability space consists of the dealer's
masks. Errors in reported shares, participant authentication, and
physical observations require their own models.



\chapter{Calibrating a network of local frames}
\label{sys-chap}
In a telescope array, stellar directions are measured in the coordinates of individual instruments. Two corresponding noncollinear directions in each of two frames determine the relative rotation. Some pairs of instruments have no common stellar observations. When two teams reduce their observations in different frames, they must compare the frames of their shared instruments. If the product of relative rotations around a loop differs from the identity, no exact calibration exists. We derive a lower bound on the largest calibration error from this discrepancy.

On a triangle of instruments, local consistency means equality of the direct and the two-step changes of frame. For an absolute calibration, assign a frame to each vertex. To compare two such assignments, specify their relative changes of frame. We organize the labelings and changes of frame into a groupoid. Measurement families may depend smoothly on temperature, time, or fitting parameters. Reparametrization is then given by pullback.

\section{Measurements and reference frames}
Let $K$ be a finite connected simplicial complex of dimension at most two, with nonempty vertex set $V$. Vertices correspond to instruments, edges to relative measurements, and filled triangles to the stipulated composition relations. Three measured edges can form a triangle whose interior is absent. Take a diffeological group $G$. Examples include the additive circle of angles, the matrix group $\mathrm{SO}(3)$, and a discrete permutation group for local channel labels. Give finite products of $G$ their product diffeology and equation loci their subset diffeology.

Use the following convention throughout. An oriented edge from $i$ to $j$ has label $a_{ji}$, the change taking coordinates at $i$ to coordinates at $j$. For the reversed edge set $a_{ij}=a_{ji}^{-1}$. The product along $i\to j\to k$ is $a_{kj}a_{ji}$. A \emph{flat labeling on $K$} satisfies
\[
                     a_{ki}=a_{kj}a_{ji}
\]
on each filled triangle. Write $A(K,G)$ for its space. Reversing the orientation of a triangle or changing its initial vertex yields the same condition. A simultaneous change of local coordinates $h=(h_i)_{i\in V}$ takes a labeling to
\[
                   (h\cdot a)_{ji}=h_j a_{ji}h_i^{-1}.
\]
This is a smooth action on $A(K,G)$. Its action groupoid has labelings as objects and specified changes of frame as arrows. The edge product for a walk followed by its reverse is the identity. Replacing two sides of a filled triangle by the third leaves this product unchanged. Thus a labeling gives a functor from the edge-path groupoid of $K$ to the one-object groupoid of $G$. The arrows of the action groupoid are precisely natural isomorphisms between such functors.

In Art.~8.7 of \emph{Diffeology}, each arrow of the structure groupoid is a diffeomorphism between fibers of a smooth surjection. The arrow space itself has a diffeology. Here all instrument fibers have chosen local coordinates. We can compose the identifications explicitly. If the measurements are given by plots $a_{ji}:U\to G$, all identities hold as identities on the test domain $U$. For a smooth map $f:U'\to U$, the new measurements are the composites $a_{ji}\circ f$.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth,font=\small]
\fill[teal!12] (0,0)--(3,0)--(3,2)--cycle;
\draw[->,very thick] (0.16,0)--(2.83,0) node[midway,below] {$12^\circ$};
\draw[->,very thick] (3,.16)--(3,1.84) node[midway,right] {$23^\circ$};
\draw[->,very thick] (2.84,2)--(.16,2) node[midway,above] {$-10^\circ$};
\draw[->,dashed,thick] (0,.16)--(0,1.84) node[midway,left] {$32^\circ$};
\draw[->,dashed,thick] (.12,.10)--(2.86,1.90) node[pos=.56,above,sloped] {$35^\circ$};
\foreach \name/\xx/\yy in {A/0/0,B/3/0,C/3/2,D/0/2}
  {\node[draw,circle,fill=white,inner sep=2pt] at (\xx,\yy) {\name};}
\end{tikzpicture}
\caption{Measured differences in bearing are labeled along the oriented edges. The solid edges form a spanning tree. On the shaded triangle $ABC$, $12+23=35$ degrees. On the unshaded circuit $ACDA$, the sum is $35-10-32=-7$ degrees.}
\label{sys-square}
\end{figure}

\section{Classification by holonomy}
Choose a root $r$ and a spanning tree $T$ of the edge graph. For each vertex $i$ let $t_i$ be the transport along the unique simple tree path from $r$ to $i$, with $t_r=1$. Give each edge outside $T$ one orientation. Its \emph{fundamental holonomy} is
\[
                       L_{ji}=t_j^{-1}a_{ji}t_i .
\]
The factors correspond, from right to left, to the tree path from the root to $i$, the edge from $i$ to $j$, and the tree path back to the root. The same expression equals $1$ on tree edges. Changing coordinates by $h$ sends $t_i$ to $h_i t_i h_r^{-1}$, so every $L_{ji}$ changes by the same conjugation $h_r L_{ji} h_r^{-1}$. In particular, a numerical matrix for one loop depends on the root frame. The condition $L_{ji}=1$ and the eigenvalues of a rotation matrix are invariant under conjugation.

\begin{theorem}[Tree reduction in smooth families]
\label{sys-tree}
Choose $K,r,T$ as above. The action groupoid of flat edge labelings under $G^V$ is equivalent to the action groupoid
\[
  \operatorname{Hom}(\pi_1(|K|,r),G)\mathbin{/\mkern-6mu/}G ,
\]
where $G$ acts by conjugation. Give the representation space the subset diffeology in the product of copies of $G$ indexed by the oriented edges outside $T$, using the triangle relations. The equivalence and its natural isomorphisms are smooth. It therefore induces an equivalence on the associated smooth quotient stacks.
\end{theorem}
\begin{proof}
Apply the vertex change $h_i=t_i^{-1}$ to each labeling. The result is $1$ on every tree edge and is $L_{ji}$ on the others. A loop word can be rewritten by inserting the tree path to its current vertex and its reverse at each juncture. This expresses it as a product of the fundamental loops and their inverses. In the edge-path presentation of the fundamental group, walks represent the same class up to cancellation of successive reversals and replacement of two sides of a filled triangle by the third. After collapsing the tree this gives one generator per remaining edge and one relator per face. Consequently each representation specifies a unique normalized labeling, and each normalized labeling specifies a representation by evaluation of loop words.

A gauge arrow between normalized labelings has $h_j=h_i$ along every tree edge. Since the tree is connected, $h_i=g$ at every vertex for a single $g$. On the remaining labels the gauge change is simultaneous conjugation by $g$. Thus the inclusion of normalized labelings is fully faithful. Every labeling is isomorphic to a normalized one by the gauges $t_i^{-1}$. These isomorphisms are natural. Indeed, for an arrow $h:a\to b$, the normalizing gauges satisfy $t_i(b)^{-1}h_i=h_rt_i(a)^{-1}$. All formulas are finite products, projections, and inverses. They commute with pullback along any parameter plot. Applying descent to a smooth equivalence and its inverse preserves the equivalence.
\end{proof}

For connected $K$, the automorphisms of a labeling are therefore isomorphic to the centralizer of its holonomy image. At a trivial labeling this group is all of $G$. The set of equivalence classes contains a single point for this configuration and has no automorphism group attached to that point. For gluing, the teams must also specify comparison isomorphisms on overlaps. For a noncommutative group, separate conjugacy classes for the edges outside the tree need not specify the simultaneous conjugacy class of all loop measurements.

\begin{theorem}[Exact calibration and identifiability]
\label{sys-cal}
Suppose a connected graph has $G$-valued edge measurements with the reversal rule. A collection of frames $x_i\in G$ realizing $a_{ji}=x_jx_i^{-1}$ exists exactly when every fundamental holonomy for a chosen spanning tree is $1$. In that event all solutions are $x_i=t_i b$ with $b\in G$. Evaluation at the root is a diffeomorphism from the solution space to $G$. For a smooth family of realizable measurements the normalized solution $x_r=1$ varies smoothly.
\end{theorem}
\begin{proof}
In a realization, transport from $i$ to $j$ along a walk telescopes to $x_jx_i^{-1}$. This gives $t_i=x_ix_r^{-1}$ and identity holonomies. Conversely, triviality of a fundamental holonomy gives $a_{ji}=t_jt_i^{-1}$. This also holds on each tree edge by the tree construction. Replacing each $t_i$ by $t_i b$ preserves these equations. Conversely, for each solution $b=x_r$ and $x_i=t_i x_r$, so $b$ is unique. Evaluation, multiplication, and the finite tree products are smooth, including when the inputs are plots.
\end{proof}

On $n$ vertices and $m$ undirected edges, a connected graph has $m-n+1$ edges outside a spanning tree. After computing the $n-1$ tree transports, check the $m-n+1$ fundamental graph cycles. Additional face relations may reduce the number of checks. A disconnected network requires one root frame for each component. A single world coordinate frame shared across disconnected components is additional measurement information.

\section{Cycle constraints on a partially triangulated network}
In Figure~\ref{sys-square} use $G=\R/360\Z$, with degrees as the additive unit. The root $A$ and tree $AB,BC,CD$ give
\[
                (t_A,t_B,t_C,t_D)=(0,12,35,25)^\circ .
\]
The chord $A\to C$ has zero residual, since $35-35=0$. The chord $A\to D$ has residual $32-25=7$ degrees. Around the opposite orientation $A\to C\to D\to A$ the loop offset is $35-10-32=-7$ degrees. The $ABC$ face relation holds exactly. After collapsing the tree there are two loop generators. The face relation sets the $A\to C$ generator equal to the identity. The remaining fundamental group is infinite cyclic, with observed holonomy $7$ degrees for one choice of generator. The labeling is flat on the specified complex. No absolute calibration realizes all five measurements because the $ACDA$ loop sum is nonzero. On a complex containing the additional face $ACD$, the labeling would violate its triangle equation.

For rigid calibration, every fundamental loop product must equal the identity. For transport through a general configuration space, a nonidentity loop product may be the quantity of interest. Specifying a filled triangle adds a modeling assumption about the product of its three measured edge labels.

\section{Gluing calibrations on overlapping subnetworks}
Suppose two engineering teams model subcomplexes $K_1,K_2$ whose union is $K$. Every edge and every declared face lies in at least one of the subcomplexes. Write $J=K_1\cap K_2$. An overlap can have several components. For a test domain $U$, let $\mathcal A_U(K)$ be the groupoid of $U$-smooth families of flat labelings and $U$-smooth vertex gauges. The gluing data consist of objects $a_1,a_2$ and an isomorphism $c:a_1|_J\to a_2|_J$. A morphism between such triples consists of two gauges $f_1,f_2$ satisfying $f_2|_J\,c=c' f_1|_J$. These triples and arrows define a homotopy pullback of groupoids. In particular the overlap comparison is part of the input.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=stealth,font=\small]
\draw[rounded corners,fill=teal!8] (0,.45) rectangle (3.15,1.8);
\draw[rounded corners,fill=blue!6] (0,-1.8) rectangle (3.15,-.45);
\node at (1.58,1.52) {team 1};
\node at (1.58,-1.52) {team 2};
\node (i1) at (.5,.88) {$i_1$}; \node (j1) at (2.65,.88) {$j_1$};
\node (i2) at (.5,-.88) {$i_2$}; \node (j2) at (2.65,-.88) {$j_2$};
\draw[->] (i1)--node[above] {$a_{1,ji}$} (j1);
\draw[->] (i2)--node[below] {$a_{2,ji}$} (j2);
\draw[->,thick] (i1)--node[left] {$c_i$} (i2);
\draw[->,thick] (j1)--node[right] {$c_j$} (j2);
\end{tikzpicture}
\caption{Two teams report the same oriented edge in different coordinates. The square commutes exactly when $c_j a_{1,ji}=a_{2,ji}c_i$. The vertical arrows are the coordinate changes $c_i,c_j$ at the shared vertices.}
\label{sys-overlap}
\end{figure}

\begin{theorem}[Descent across a cut in the network]
\label{sys-cut}
Restriction induces an equivalence, natural in $U$,
\[
 \mathcal A_U(K)\ \simeq \mathcal A_U(K_1)\mathop{\times}\limits^h_{\mathcal A_U(J)}
 \mathcal A_U(K_2).
\]
\end{theorem}
\begin{proof}
Restriction sends a global labeling to its two restrictions with identity overlap comparison. An arrow between two objects in this image is a pair of vertex gauges agreeing at every shared vertex. Such a pair glues uniquely to a gauge on the union. The edge condition holds there since it holds on each member of the cover. Thus restriction is fully faithful.

For a triple $(a_1,a_2,c)$, define a change of frame $b$ on $K_2$ to equal $c^{-1}$ on the vertices of $J$ and $1$ on the other vertices of $K_2$. Each vertex is a separate index, so these choices remain smooth on $U$. The transformed object $b\cdot a_2$ agrees exactly with $a_1$ on the common edges. Glue the two edge labelings. Every triangle is contained in one piece, so its equation holds for the glued labeling. The pair of arrows $(1,b)$ identifies the given triple with the restrictions of the glued object. All choices commute with reparametrization of $U$.
\end{proof}

One can also vary the parameter chart. On an open cover of $U$, locally chosen vertex frames may have nonidentity changes of coordinates on chart intersections. In the stackification of the action groupoid, a family over $U$ can be specified by such local frames and their cocycles. At each vertex they define a smooth $G$-torsor over $U$, locally modeled by $U\times G$, and the edges give equivariant isomorphisms between these torsors. This follows by gluing the trivial torsors using the changes of frame. Conversely, on a common refinement we can trivialize all finitely many vertex torsors and compute their transition data. Theorem~\ref{sys-cut} concerns gluing along pieces of the network. The smooth stack also allows gluing over parameter charts. A global choice of a coordinate for the root over every parameter is a trivialization of its torsor. Local calibrations can be compared without choosing one.

For a concrete use of the cut theorem, let the two pieces be paths from $A$ to $C$ through $B$ and $D$, respectively. Their intersection consists only of the endpoints. In degree coordinates take the two path transports to be $35$ and $42$. The overlap contains no edges and hence there is no edge equation for its two vertex gauges. If a common coordinate convention fixes both overlap comparisons to zero, the glued loop has discrepancy $7$ up to orientation. Changing one endpoint comparison by $7$ with the appropriate sign can cancel that discrepancy. Both triples restrict to exactly the same path labelings. Computing the loop product on the union therefore requires both the path labels and their endpoint comparisons.

\section{Bounds on calibration error from cycle discrepancies}
Let $d$ be a bi-invariant metric on $G$, for example the shorter arc distance on rotations in the plane. Write $e=(i,j)$ for an oriented edge. The residual of frames $x$ is $d(a_{ji},x_jx_i^{-1})$. Reversing the edge preserves its residual. A residual is computed from a candidate calibration. The distance of a measured loop product to $1$ depends only on the data and is invariant under changes of local coordinates.

\begin{theorem}[Cycle certificate and tree propagation]
\label{sys-bound}
For every closed walk $C$ of positive length $k$ and every candidate set of frames $x$,
\[
 \max_{e\in C} d(a_{ji},x_jx_i^{-1})
 \ \geq\ k^{-1}d(a(C),1).
\]
If reference frames $y$ satisfy $d(a_{ji},y_j y_i^{-1})\leq\epsilon_e$ on each tree edge, the normalized tree estimate satisfies
\[
             d(t_i,y_i y_r^{-1})\leq\sum_{e\in [r,i]_T}\epsilon_e .
\]
On a chord $(i,j)$ the discrepancy for the tree estimate is exactly $d(L_{ji},1)$.
\end{theorem}
\begin{proof}
Bi-invariance and the triangle inequality give $d(ab,a'b')\leq d(a,a')+d(b,b')$ by inserting $a'b$. Induction bounds the distance of products by the sum of their factorwise distances. Use the candidate transports along the closed walk as the comparison product; they telescope to $1$. Count repeated edges with multiplicity and bound each summand by the maximum residual. Comparing the two transports along the root-to-$i$ tree path gives the second estimate. Finally multiply $a_{ji}$ and $t_jt_i^{-1}$ on the left by $t_j^{-1}$ and on the right by $t_i$ to obtain the chord identity.
\end{proof}

For the three edges of $ACDA$ in Figure~\ref{sys-square}, the measured loop offset has magnitude $7$ degrees. By Theorem~\ref{sys-bound} the maximum edge residual is therefore at least $7/3$ degrees for every calibration. The tree choice has worst residual $7$ degrees. An engineer can compare that bound with the angular tolerance independently of a numerical optimizer. To derive the bound we used invariance under left and right multiplication. Applying the same numeric bound to simultaneous rotations and translations would require a metric with the stated hypotheses or a separate distortion estimate. The edge measurements refer to a single configuration epoch. Event delivery, clock agreement across epochs, and progress of a distributed protocol require additional models.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=0.99cm,y=0.52cm,font=\small]
\foreach \row/\edge in {4/AB,3/BC,2/AC,1/CD,0/AD}{
  \node[anchor=east] at (-2.60,\row) {$\edge$};
  \draw[black!14] (-2.3333,\row)--(2.3333,\row);
}
\draw[dashed,black!55] (-2.3333,-.45)--(-2.3333,4.45);
\draw[dashed,black!55] (2.3333,-.45)--(2.3333,4.45);
\draw[black!50] (0,-.45)--(0,4.45);
\foreach \row/\value in {4/1.16667,3/1.16667,2/2.33333,1/2.33333,0/-2.33333}{
  \draw[teal!65!black,line width=1.4pt] (0,\row)--(\value,\row);
  \fill[teal!65!black] (\value,\row) circle (2.25pt);
}
\foreach \value/\tick in {-2.3333/{-7/3},0/0,1.1667/{7/6},2.3333/{7/3}}{
  \draw (\value,-.48)--(\value,-.64);
  \node[anchor=north,font=\scriptsize] at (\value,-.69) {$\tick$};
}
\node[anchor=north,font=\small] at (0,-1.43) {predicted minus measured angle (degrees)};
\end{tikzpicture}
\caption{Signed corrections for a calibration attaining the lower bound. Labels follow the directions in Figure~\ref{sys-square}. Traversing $AC$, $CD$, and the reverse of $AD$ adds $7/3+7/3-(-7/3)=7$ degrees, exactly canceling the measured $-7$ degrees. On $ABC$, the $7/6$-degree corrections on $AB$ and $BC$ sum to the $7/3$-degree correction on $AC$.}
\label{sys-sharp-figure}
\end{figure}

\section{Exercises with solutions}
\begin{exercise}[Compute a reference change]
With the data in Figure~\ref{sys-square}, change the local coordinate at $C$ by $+5^\circ$ and leave the other frames fixed. Compute the three measurements incident to $C$ and the loop offset around $ACDA$.
\end{exercise}
\begin{solution}
Adding $h_j-h_i$ to an edge gives $28^\circ$, $40^\circ$, and $-15^\circ$ respectively. The new loop offset is $40-15-32=-7$ degrees. The two occurrences of the change at $C$ cancel because the consecutive incident edges use opposite signs for the vertex correction.
\end{solution}

\begin{exercise}[Reach a minimax lower bound]
Construct frames on the four instruments whose maximum edge residual is exactly $7/3$ degrees. Prove their optimality.
\end{exercise}
\begin{solution}
Normalize $x_A=0$ and use degrees. Choose $x_C=35+7/3$, $x_D=32-7/3$, and $x_B=12+7/6$. The predicted measurements along $AB,BC$ each increase by $7/6$. The predictions along $AC,CD$ increase by $7/3$ each, and the prediction along $AD$ decreases by $7/3$. All changes have magnitude less than half a turn, so the stated magnitudes are their circular distances. Their maximum attains the lower bound from $ACDA$ in Theorem~\ref{sys-bound}. All five signed corrections appear in Figure~\ref{sys-sharp-figure}.
\end{solution}

\begin{exercise}[Recover an isotropy group]
Take $G=S_3$ with discrete diffeology and a graph with one independent loop. Suppose its normalized transport is the transposition $(12)$. Determine all automorphisms of this configuration. Repeat for transport equal to the identity. Explain how the two answers affect the choice of an overlap comparison in a gluing problem.
\end{exercise}
\begin{solution}
Normalization leaves a common group element $g$ at all vertices. The condition on the loop is $g(12)g^{-1}=(12)$. Since the conjugate is $(g(1)\ g(2))$, we have $g(3)=3$ and either $g(1)=1$, $g(2)=2$ or $g(1)=2$, $g(2)=1$. The centralizer has two elements. The identity transport commutes with every element of $S_3$, giving six automorphisms. For two isomorphic overlap objects, postcomposing a chosen isomorphism with each automorphism of the target yields all possible comparisons, exactly once. The two cases therefore have two and six possible comparisons, respectively. Additional gauges on the pieces can identify some choices after gluing.
\end{solution}

\begin{exercise}[Prove a two-team identifiability criterion]
Suppose each team measures one path from $A$ to $C$, with disjoint interiors, and their only shared vertices are $A,C$. In a possibly noncommutative $G$, let the path products in team coordinates be $P_1,P_2$. For specified overlap changes $c_A,c_C$ from team 1 to team 2, prove that the glued cycle can be calibrated exactly if and only if $P_2c_A=c_C P_1$. Given $c_A$, show that exactly one $c_C$ makes this possible. Describe the smooth dependence on the measurements.
\end{exercise}
\begin{solution}
Use the overlap changes to express the second path in the first team's endpoint frames. The transport of that path becomes $c_C^{-1}P_2 c_A$ because intermediate frame changes cancel. Follow the first path and return on the second. The loop product is $(c_C^{-1}P_2c_A)^{-1}P_1$. After collapsing a spanning tree, the fundamental group has one generator with this loop product. By Theorem~\ref{sys-cal} a calibration exists exactly when this expression is $1$, which rearranges to the stated identity. Solving for the endpoint change gives $c_C=P_2c_A P_1^{-1}$. Since multiplication and inversion in $G$ are smooth, the unique solution depends smoothly on the parameters.
\end{solution}

\paragraph{Sources and scope.}
The holonomy viewpoint for synchronization and its relation to flat bundles are developed by
\href{https://arxiv.org/abs/1610.09051}{T.~Gao, J.~Brodzki, and S.~Mukherjee, \emph{The Geometry of Synchronization Problems and Learning Group Actions}}.
For angular measurements and spectral or semidefinite estimators in noisy settings see
\href{https://arxiv.org/abs/0905.3174}{A.~Singer, \emph{Angular Synchronization by Eigenvectors and Semidefinite Programming}}.
For transport functors in differential geometry see
\href{https://arxiv.org/abs/0705.0452}{U.~Schreiber and K.~Waldorf, \emph{Parallel Transport and Functors}}.
The finite edge-path classification here specializes classical holonomy theory. For this finite engineering model we proved a gluing theorem and error bounds and computed an optimal calibration.



\chapter{Tracking two indistinguishable targets}
\label{cap:chapter}

Suppose two identical light sources move in the image plane of a camera. The localization output is an estimate of the unordered pair of positions. At initialization a user selects one light. Subsequent pointing errors are measured relative to the position of this light. Two distinct motions can give identical final images and place the selected light at opposite positions. We calculate the resulting pointing error when the pointing output is a function of the final image alone. We then derive a sampling condition for correct position updates from a labeled initial position.

\section{Image moments and unordered positions}

Represent the plane by $\C$ and write the two positions as $a=c+z$ and $b=c-z$. Exchanging their names fixes the center $c$ and sends $z$ to $-z$. Assume equal intensities, a known common isotropic Gaussian spot profile, and exact population moments. For a photon at position $Y$, the model is
\[
 Y=c+Ez+\eta,
\]
where $E$ is equally likely to be $1$ or $-1$, independent of the centered noise $\eta=\eta_1+i\eta_2$ with independent real coordinates of equal variance. The two measured complex moments are
\[
 \mathbb{E}Y=c,\qquad w=\mathbb{E}[(Y-c)^2]=z^2 .
\]
Indeed the mixed term vanishes by centering and independence, and $\mathbb{E}\eta^2=\mathbb{E}(\eta_1^2-\eta_2^2)+2i\mathbb{E}(\eta_1\eta_2)=0$. The square here is a complex square. The real part of $w$ equals the difference of the two directional variances. Its imaginary part equals twice the cross-covariance. The radial second moment $\mathbb{E}|Y-c|^2$ is invariant under rotations and hence does not determine the orientation. The moment identities also hold for centered noise with the same second-order isotropy and independence from $E$.

\begin{theorem}[Identifiability of the unordered scene]\label{cap:ident}
On distinct positions, the unordered mixture parameters form a diffeological space diffeomorphic to $\C\times\C^*$ through $(c,z)\mapsto(c,z^2)$, where $\C^*=\C\setminus\{0\}$. The ordered positions form a principal two-sheeted covering of this observation space. For the fixed Gaussian spot model the two moments determine the entire mixture distribution.
\end{theorem}
\begin{proof}
Every nonzero complex number has exactly two square roots, interchanged by $z\mapsto-z$. On any sufficiently small disk about $w_0\ne0$, the roots can be written as $\pm\exp(\tfrac12\log w)$ for a smooth branch of the logarithm. Hence the smooth moment map has local smooth sections and its fibers are precisely the swap orbits. Every smooth plot in ordinary moment coordinates lifts locally to a smooth plot of ordered pairs by composition with one of these sections. The two roots constitute two disjoint sheets locally. The unordered pair reconstructed as $\{c+z,c-z\}$ and the specified common Gaussian kernel determine the mixture law by averaging its two translates.
\end{proof}

Under the exact-moment assumption, $(c,w)$ determines the unordered positions at each time. Finite-count estimation would require a sampling model. For tracking a designated light, specify one of the two roots at the initial time. At later times its position is the center plus the continuous continuation of that root.

\section{Path lifting and expected pointing error}

Let the center be fixed at zero and set $w(t)=\rho^2\exp(2\pi i t)$ for $t\in[0,1]$ and $\rho>0$. The complex moment completes one circuit about zero. For the light initially at $+\rho$, the position is $z(t)=\rho\exp(\pi i t)$ and the final position is $-\rho$. In the stationary experiment $w(t)=\rho^2$ for all $t$ and the same light remains at $+\rho$. At time one the full photon distributions in the two experiments are identical.

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[font=\small,>=stealth,x=.87cm,y=.87cm]
\draw[gray!65,->] (-1.6,0)--(1.6,0);\draw[gray!65,->] (0,-1.45)--(0,1.5);
\draw[teal,thick,->] (1,0) arc (0:150:1);
\draw[teal,thick] ({cos(150)},{sin(150)}) arc (150:360:1);
\fill (1,0) circle (2pt);
\node at (0,-1.91) {sensor moment $w$};
\begin{scope}[xshift=4.5cm]
\draw[gray!65,->] (-1.6,0)--(1.6,0);\draw[gray!65,->] (0,-1.45)--(0,1.5);
\draw[teal,thick,->] (1,0) arc (0:145:1);
\draw[teal,thick] ({cos(145)},{sin(145)}) arc (145:180:1);
\draw[gray,dashed,->] (-1,0) arc (180:325:1);
\draw[gray,dashed] ({cos(325)},{sin(325)}) arc (325:360:1);
\fill (1,0) circle (2pt);\draw[thick,fill=white] (-1,0) circle (2pt);
\node at (0,-1.91) {two physical trajectories};
\end{scope}
\end{tikzpicture}
\caption{For $\rho=1$ and $c=0$, the complex second moment traces the unit circle (left). The designated light moves from $+1$ to $-1$ along the upper semicircle. The other moves from $-1$ to $+1$ along the lower semicircle (right). The final unordered pair is $\{-1,+1\}$ for both the stationary and moving sources.}\label{cap:two}
\end{figure}

\begin{theorem}[Expected loss from an endpoint observation]\label{cap:control}
Suppose the stationary and circulating histories above have equal prior probability. Let the loss be squared Euclidean error in pointing at the initially selected light at time one. Among pointing outputs computed from the endpoint snapshot alone, the minimum expected loss is $\rho^2$ for unrestricted positions and $2\rho^2$ for outputs restricted to the two detected positions. With the initial choice and the full continuous moment path as input, zero loss is attainable in both experiments.
\end{theorem}
\begin{proof}
The endpoint snapshot is identical in the two experiments, so a randomized output $D$ computed from it and an independent random variable has the same distribution in both. Averaging $|D-\rho|^2$ and $|D+\rho|^2$ gives $|D|^2+\rho^2$. Thus the unconstrained expected loss is at least $\rho^2$, with equality at $D=0$. If $D$ takes values in $\{-\rho,+\rho\}$, its squared magnitude is $\rho^2$ for either output, so the expected loss is $2\rho^2$. Given the moment path and the initialized position, take the continuous square root starting at $+\rho$. The lift exists by subdivision into disks with smooth root branches. On each next disk the branch matching the previous value is unique, and the resulting lift agrees with the explicit trajectories above.
\end{proof}

The unordered pair of positions is invariant under relabeling the lights. Under rotation of camera coordinates by $\theta$, the moments transform as $(c,w)\mapsto(e^{i\theta}c,e^{2i\theta}w)$. For a pointing rule $D$ expressed in camera coordinates, equivariance requires $D(e^{i\theta}c,e^{2i\theta}w)=e^{i\theta}D(c,w)$. At $c=0$, a half-turn leaves $(0,w)$ unchanged and exchanges the two positions. For $w\ne0$ neither position is fixed by the half-turn. Hence a deterministic equivariant choice from the pair is impossible from these moments alone. The uniform distribution on the pair is rotation-equivariant. Continuous tracking is also equivariant if the initialized position is rotated with the scene. These last two procedures have different inputs. For the identity-specific loss above, the inputs for continuous tracking are the initial label and the observed moment path.

Over the collision-free observation space, the fibers of the covering define a functor from the fundamental groupoid to two-element sets and bijections. For each path and each point in its initial fiber, the corresponding point in the final fiber is the endpoint of the unique lift from that initial point. This bijection for a concatenation is the composite of the two bijections. Homotopic paths with fixed endpoints induce the same bijection by homotopy lifting for coverings, or by the winding calculation below. In an incremental implementation, the stored state after each update consists of the current fiber point. Earlier sections of the path need not remain in storage. The expected pointing error for endpoint-only input is given in Theorem~\ref{cap:control}.

\section{Smooth reconstruction at collisions}

At $w=0$ the two spots coincide. The action groupoid on the ordered parameters now has an automorphism of order two fixing the coincident pair. The quotient set has just one coincident pair over the observed center. Even with the quotient diffeology on the orbits, the inverse moment map fails to be smooth at a collision.

\begin{theorem}[Nonsmooth inverse at coincident positions]\label{cap:collision}
Give the full orbit space of ordered pairs, including collisions, its quotient diffeology. Its moment map to $\C^2$ is a smooth bijection whose inverse fails to be smooth at every collision. On the collision-free locus the norm of the derivative of either local inverse displacement $w\mapsto z$ equals $1/(2\sqrt{|w|})$.
\end{theorem}
\begin{proof}
The polynomial moment coordinates are invariant and therefore descend smoothly. Every $w$ has a unique unordered set of roots, including the repeated root at zero, giving bijectivity. Fix a center $c$. Were the inverse smooth near $(c,0)$, the map $u\mapsto(c,u)$ from a disk of ordinary moment coordinates would lift locally through ordered pairs. The resulting smooth half-difference $z(u)$ would satisfy $z(u)^2=u$. Differentiating at zero gives the zero real-linear map on the left and the identity on the right. Away from zero, differentiating $z^2=w$ yields multiplication by $1/(2z)$ as the derivative of the inverse branch. Complex multiplication scales Euclidean lengths by the modulus of its multiplier, giving the asserted norm.
\end{proof}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}[x=1.52cm,y=.87cm,font=\small,>=stealth]
\foreach \v in {1,2,3,4} {
  \draw[gray!22] (0,\v)--(4.12,\v);
  \draw (0,\v)--(-.06,\v) node[left] {$\v$};
}
\foreach \h in {.5,1,2,3,4} {
  \draw (\h,0)--(\h,-.09) node[below] {$\h$};
}
\draw[->] (0,0)--(4.35,0);
\draw[->] (0,0)--(0,4.6);
\node[rotate=90] at (-.66,2.25) {root sensitivity (mm$^{-1}$)};
\node at (2.15,-.78) {light separation $d=|a-b|$ (mm)};
\draw[teal,very thick,domain=.235:4.1,samples=100] plot (\x,{1/\x});
\foreach \h/\v in {.25/4,.5/2,1/1,2/.5,4/.25}
  \fill[teal] (\h,\v) circle (2pt);
\node[anchor=west] at (1.6,2.25) {$\|D_w z\|=1/d$};
\end{tikzpicture}
\caption{Absolute local error amplification at fixed center, measured in millimeters of displacement per square millimeter of moment error. Halving the physical separation doubles the sensitivity. The curve is defined for positive separation.}\label{cap:gain}
\end{figure}

With $d=|a-b|$, the derivative norm is $1/d$ (Figure~\ref{cap:gain}). At a separation of $0.5$ mm, a sufficiently small complex moment error of magnitude $\epsilon$ mm$^2$ causes a first-order position error of $2\epsilon$ mm on the initialized branch. At $2$ mm separation the same moment error gives $\epsilon/2$ mm to first order. The sampling estimate in the final exercise depends on a positive lower bound on separation and an upper bound on speed. Through an exact collision, more than one continuous labeled trajectory can yield the same observations. For example, when $w(t)=t^2$ on the real interval $[-1,1]$, the displacements $z(t)=t$ and $z(t)=-|t|$ are equal for $t\le0$ and have opposite signs for $t>0$. Their squares agree for all $t$.

\section{Solved exercises}

\begin{exercise}[Calculation: moment decoding]
Two lights are located at $2+i$ and $-i$. Find $(c,w)$. Reconstruct their unordered positions.
\end{exercise}
\begin{solution}
Their center is $c=1$. The displacement from the center to the first point is $z=1+i$, giving $w=(1+i)^2=2i$. The two square roots are $\pm(1+i)$, so $\{c+z,c-z\}=\{2+i,-i\}$. Exchanging the two roots has no effect on this set.
\end{solution}

\begin{exercise}[Derivation: winding parity]
Suppose $w:[0,1]\to\C^*$ is a closed piecewise smooth path. Prove that the induced permutation on the two points of the fiber is a transposition exactly when the winding number of $w$ about zero is odd. Assume that the final center equals the initial center.
\end{exercise}
\begin{solution}
Choose a continuous argument $\theta(t)$ along the interval by matching local arguments on successive disks. A lift of the displacement is $z(t)=\sqrt{|w(t)|}\exp(i\theta(t)/2)$ up to the initial sign. Closedness gives $\theta(1)-\theta(0)=2\pi k$, where $k$ is the winding number. Hence $z(1)=(-1)^kz(0)$. For the same initial and final center, the final positions have their labels exchanged exactly for odd $k$. The integer $k$ is additive under concatenation and fixed by based homotopies because the normalized change in argument is continuous and integer-valued along a homotopy. Its parity therefore gives the monodromy homomorphism to the permutation group on two points.
\end{solution}

\begin{exercise}[Proof: a sampling rule for a tracker]
Assume an exact, differentiable path with $|w(t)|\ge\delta>0$ and $|\dot w(t)|\le L$, with $L>0$. Show that consecutive samples spaced by $h<\pi\delta/L$ and the known initial root suffice to compute the continuous lift at the sample times. Give two paths demonstrating the ambiguity of endpoint-only recovery in the absence of a speed bound.
\end{exercise}
\begin{solution}
A continuous local argument satisfies $|\dot\theta|=|\operatorname{Im}(\dot w/w)|\le L/\delta$. Hence the net argument change between consecutive samples has magnitude strictly below $\pi$. It is uniquely the principal argument of $w(t+h)/w(t)$. Multiply the previous root by the positive factor $\sqrt{|w(t+h)|/|w(t)|}$ and by the exponential of $i$ times half that principal argument. This matches the continuous root at the new sample. By induction, the equality holds at every sample. On an interval $[0,h]$ the constant moment $w=1$ and the moment $e^{2\pi i t/h}$ have identical endpoints and opposite root transports. Both stay unit distance from zero. Thus two motions with the same sampled moments and the same lower bound on separation can induce opposite label permutations.
\end{solution}

For the broader link between configuration spaces, braids, and autonomous systems, see \href{https://www2.math.upenn.edu/~ghrist/preprints/singaporetutorial.pdf}{Robert Ghrist, \emph{Configuration Spaces, Braids, and Robotics}}. The sensor law, pointing losses, and sampling rule above are explicit deductions for this idealized two-light model.


\backmatter

\chapter*{Definitions at a glance}
\markboth{Definitions at a glance}{}
\addcontentsline{toc}{chapter}{Definitions at a glance}
\begin{description}[style=nextline,leftmargin=0pt,labelsep=0pt,labelwidth=0pt,itemsep=6pt]
\item[Plot.] An allowed parametrization $U\to X$ from an ordinary Euclidean open set. Precomposition changes the parameters. The images of plots need not be open.
\item[Subduction.] A surjection through which plots downstairs locally lift upstairs. Locality here refers to the parameter domain of each plot.
\item[Concrete sheaf.] A sheaf of sets whose sections on $U$ are determined by their values at the points of $U$. For a diffeological space $X$, these sections are the plots of $X$.
\item[Functional diffeology.] A family of smooth maps $X\to Y$ is a plot if its evaluation $U\times X\to Y$ is smooth. This makes $C^\infty(X,Y)$ an internal hom.
\item[Quotient stack.] An object of $[M/G]$ over $U$ consists of a $G$-torsor $P\to U$ and an equivariant map $P\to M$. Arrows are isomorphisms of torsors that commute with the maps to $M$. A point represented by $m$ has automorphism group $G_m$.
\item[Torsor.] A family locally isomorphic, with its group action, to the group acting freely and transitively on itself. A section is a choice of frame. Local frames can exist even when a global section does not.
\item[Nerve and realization.] An $n$-simplex of the nerve of a groupoid is a string of $n$ composable arrows. Its geometric realization is the homotopy colimit of this simplicial diagram. In smooth sheaves, realization includes sheafification.
\item[Homotopy pullback.] For groupoids, an object of $A\times_C^h B$ consists of one object on each side and an isomorphism between their images in $C$. A morphism is a pair of arrows for which the comparison square commutes.
\item[Holonomy.] The composite transport around a closed path, measured in a chosen initial frame. Changing that frame conjugates the result.
\item[Higher coherence.] In higher descent, part of the data consists of identifications on double overlaps and homotopies between their composites on triple overlaps. For coefficient object $B^nA$ with $A$ discrete abelian, these data can be represented on a good cover by ordinary cochains in degrees through $n$ with a cocycle condition in the top degree.
\end{description}
\chapter*{References and mathematical provenance}
\markboth{References and mathematical provenance}{}
\addcontentsline{toc}{chapter}{References and mathematical provenance}
\noindent For references specific to each application, see its chapter notes. For the underlying diffeology, category theory, and topology, see the works below.
\begin{enumerate}[label={[\arabic*]},leftmargin=*,itemsep=7pt]
\item Patrick Iglesias-Zemmour. \emph{Diffeology}. Mathematical Surveys and Monographs 185, American Mathematical Society, 2013. All page references in the concordance refer to this edition. \href{https://doi.org/10.1090/surv/185}{Publisher record}.
\item John C. Baez and Alexander E. Hoffnung. \emph{Convenient Categories of Smooth Spaces}. Transactions of the American Mathematical Society 363 (2011), 5789--5825. Concrete sheaves and the categorical structure of smooth spaces. \href{https://arxiv.org/abs/0807.1704}{Author manuscript}.
\item Jordan Watts and Seth Wolbert. \emph{Diffeological Coarse Moduli Spaces of Stacks over Manifolds}. The distinction between the sheaf of components and its concretization is relevant to the reflected-line example in Chapter 3. \href{https://arxiv.org/abs/1406.1392}{Author manuscript}.
\item Emilio Minichiello. \emph{Diffeological Principal Bundles and Principal Infinity Bundles}. Comparison of models on smooth test sites and of their categories of bundles. \href{https://arxiv.org/abs/2202.11023}{Author manuscript}.
\item Jacob Lurie. \emph{Higher Topos Theory}. Annals of Mathematics Studies 170, Princeton University Press, 2009. See Chapters 5--6 on colimits, sheaves of spaces, and groupoid objects. \href{https://www.math.ias.edu/~lurie/papers/HTT.pdf}{Author's text}.
\item Emilio Minichiello. \emph{The Diffeological \v{C}ech-de Rham Obstruction}. A comparison with stack cohomology in degrees beyond those computed in Chapter 5. \href{https://arxiv.org/abs/2401.09400}{Author manuscript}.
\item The Stacks Project Authors. \emph{The Stacks Project}. \href{https://stacks.math.columbia.edu/tag/019D}{Section 14.24 on Dold--Kan}; \href{https://stacks.math.columbia.edu/tag/03AG}{Section 21.4 on torsors}.
\item Allen Hatcher. \emph{Algebraic Topology}. Cambridge University Press, 2002. For the good-cover nerve theorem used for constant coefficients in Chapter 4, see Corollary 4G.3. \href{https://pi.math.cornell.edu/~hatcher/AT/ATpage.html}{Author's text}.
\end{enumerate}


\end{document}

End of manuscript · Back to top ↑