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
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.
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→X and a smooth map h:V→U, the composite p∘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.
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 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.
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 U of some finite-dimensional Rn. We allow n=0, so the one-point space ∗ is a test. A diffeology on a set X consists of specified functions p:U→X, its 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→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.
Proposition 1.1 (Generation test). Let pi:Ui→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 pih for an ordinary smooth h. A set map out of X is smooth for this diffeology exactly when all its composites with pi 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 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⊂X is a plot exactly when its composite into X is a plot. For a surjection q:X→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 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→Q and a diffeological space Y, pullback is a bijection from C∞(Q,Y) onto the equalizer of the two maps of sets from C∞(X,Y) to C∞(X×QX,Y) induced by the two projections. Pulling q back along any smooth map gives another subduction.
Proof. The equalizer condition holds exactly when f:X→Y is constant on each fiber. There is a unique set function g with gq=f. For any plot p:U→Q, choose local lifts ai; then gp∣Ui=fai is smooth. Thus g is smooth by locality. Conversely, the two pullbacks of gq to X×QX are equal. For stability take v:T→Q. Given a plot r:U→T, locally lift vr to ai. Each pair (r∣Ui,ai) gives a plot in the pullback lifting r. ◻
For example, normalize an angle by reducing modulo 2π. A smooth phase observable f(t) on unwrapped readings defines a smooth observable on the circle precisely if f(t+2π)=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π at each parameter value. Their sines are therefore equal on the overlap.
In the D-topology, a subset O⊂X is open when p−1O is open for every plot. For a quotient, O is D-open precisely when q−1O is D-open. If O is D-open, its inverse image is D-open by smoothness of q. Conversely, test openness of p−1O 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.
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 ∑j=1kfj(u)vj, where vj are fixed on the neighborhood and fj 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.
Proposition 1.3 (The free smooth structure on a vector space). With this diffeology addition and scalar multiplication on V are smooth. Every linear map V→W to a diffeological vector space is smooth. This is the smallest vector-space diffeology on V.
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 gfj. For a linear map L, replace each vector vj by L(vj) 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. ◻
The 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 Rn, 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.
On Ui, the lift ai gives gp∣Ui=fai. For any two lifts the values of f coincide because f 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 D, generated by its constant functions. Describe the plots R→D and give a nonconstant plot from an open subset of 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) choose a different value on each interval.
Exercise 1.2 (Find a quotient obstruction). Let Q=R/(x∼−x) and identify its underlying set with [0,∞) by [x]↦x2. Decide whether s↦s on Q is smooth as a real-valued function.
Solution. The composite with the quotient projection is ∣x∣, which lacks a derivative at zero. Thus s↦s is not smooth on Q, by Theorem 1.2. In the same coordinates s itself is smooth because its pullback is x2.
Exercise 1.3 (Build a fine-vector-space plot test). Let V have countable basis e1,e2,…. Prove that a plot p:U→V for the fine diffeology has image p(K) contained in a finite-dimensional linear subspace for each compact subset K⊂U.
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.
Exercise 1.4 (Prove a gluing theorem). Let q:X→Q be a subduction and S⊂Q have the subset diffeology. Prove that a parametrization of S is a plot precisely when it locally lifts to plots in q−1S, with its subset diffeology from X. Deduce a criterion for a function S→Y to be smooth.
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−1S. 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 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 1-forms is one such example.
The site and the concrete sheaf condition
Let E have as objects all open subsets of finite-dimensional Euclidean spaces, including ∗=R0, 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)→F(V) to each h:V→U, such that id∗=id and (h∘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∞(V,U). The representable presheaf is a sheaf because smoothness of maps into U is local on their domain.
A point u∈U is an arrow iu:∗→U. Hence each s∈F(U) determines a function ϵU(s):U⟶F(∗),u⟼iu∗s. Call Fconcrete if ϵU is injective for every U. A diffeological space X gives a sheaf X sending U to the set of its plots on U. Restriction along h is precomposition with h. In this case ϵU sends each plot to its underlying function.
Theorem 1.1 (Concrete sheaves and diffeological spaces). The functor X↦X is an equivalence from Diff to the full subcategory of concrete objects in Sh(E,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 is a sheaf. For a concrete sheaf F, use F(∗) as the set of points and the images of ϵU as the plots. Pulling back a section along the unique map U→∗ 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)≃imϵU.
For morphisms, a transformation η:X→Y has a component f=η∗:X→Y. On each plot p naturality at iu gives η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. ◻
In the sheaf U↦Ω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 dtt on TtR takes the value 1 on the unit tangent vector. These two evaluations have different targets. Thus Ω1 is an object of the full sheaf topos for which ϵR is not injective.
The category of plots as a presentation
For any presheaf F, its category of elements ∫F has objects (U,s) with s∈F(U). An arrow (V,t)→(U,s) is an h:V→U such that t=h∗s. With F=X, an arrow is exactly a smooth reparametrization relating two plots. The diagram ∫F→Sh(E,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.
Theorem 1.2 (Presentation by test domains). For a sheaf F, the diagram of represented domains indexed by ∫F has colimit canonically isomorphic to F. Consequently, a map F→H to a sheaf H amounts to an assignment s↦as∈H(U) for each s∈F(U) satisfying ah∗s=h∗as for every reparametrization.
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→U. Send it to h∗s∈F(V). For each composition h∘k, the identity (h∘k)∗s=k∗h∗s gives equal values for the two corresponding representatives in the colimit. Every t∈F(V) has the representative (V,t,idV). Moreover h gives an arrow (V,h∗s)→(U,s) in ∫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→H correspond to a∈H(U) by evaluating on idU in one direction and taking the pullbacks h∗a for h:V→U in the other. Compatibility of this cone is exactly the asserted formula. ◻
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 1.2.
For F=X and H=Ω1, a map F→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 ∫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.
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∞(X,Y), a map p:U→C∞(X,Y) is a plot when (u,x)↦p(u)(x) is smooth on U×X. Equivalently, for every plot a:V→X, the map (u,v)↦p(u)(a(v)) on U×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.
Theorem 1.3 (Exponential law). The functional diffeology defines an exponential YX in Diff. For each Z there is a natural bijection C∞(Z×X,Y)≃C∞(Z,YX). With the functional diffeologies on both sides it is a diffeomorphism. Composition ZY×YX→ZX is smooth.
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×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×U and then restrict to the diagonal.
Let f:Z×X→Y be smooth. For a plot b:U→Z, the function (u,x)↦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×Z×X→Y. Finally, twice applying evaluation gives the smooth map (g,f,x)↦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/2, so it is not jointly continuous there.
Exercises with solutions
Exercise 1.1 (Evaluation at the identity map). If U⊂Rn is open, determine the natural transformation yU→Ω1 that takes idU to ∑aj(x)dxj. Compute its value on a curve c:I→U.
Solution. By naturality the component on h:V→U must be ∑(aj∘h)dhj. This formula is natural under further pullback by the chain rule. For c, it is (∑jaj(c(t))cj′(t))dt. The coefficient of dt is the pairing of the covector at c(t) with the velocity c′(t).
Exercise 1.2 (Separate tests). Set F(u,x)=ux/(u2+x2) off the origin and F(0,0)=0. For p(u)(x)=F(u,x), decide whether p is a plot in RR, where the exponential denotes the smooth mapping space.
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=0 and F(0,0)=0. The joint evaluation map is discontinuous at the origin, so p is not a plot.
Exercise 1.3 (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.
Solution. For f:X→R give p:U→X the form d(fp). By the chain rule, d(fph)=h∗d(fp) for h:V→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.
Exercise 1.4 (Prove a uniqueness theorem for differentiation). For every Euclidean domain U let DU:C∞(U,R)→Ω1(U) be additive and natural under pullback by every smooth map of domains. Prove that DUf=cdf for one real constant c independent of U.
Solution. Write DR(id)=a(t)dt. Apply naturality to the smooth map f:U→R to get DUf=a(f)df. Take U=R2, 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 DU.
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 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=0 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.
From a cover to an effective groupoid
Write H=Sh∞(E) for the ∞-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 F has restriction maps with coherent composition. For an open cover U=⋃iUi, 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]→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:∗→R have no arrow between them in the sheaf R(∗), while the smooth path t↦t joins their values. Smooth homotopy is developed with differential forms in Chapter 5.
For a subduction q:E→X, put E[k]=E×X⋯×XE with k factors. The Č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.
A subduction and the first levels of its nerve. The arrows shown are face maps. For a triple (e0,e1,e2) the short comparisons are (e0,e1) and (e1,e2), and their composite is (e0,e2).
Theorem 1.1 (Descent from a subduction). In H, the geometric realization of the Čech nerve of a subduction q:E→X is equivalent to X. Consequently for every smooth higher stack F, MapH(X,F)≃[n]∈ΔholimMapH(E[n+1],F).
Proof. Pullbacks of these concrete sheaves are computed plotwise. Over a plot p:U→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 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. ◻
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.
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→gm. Its nerve has level n equal to Gn×M. Realizing it in H gives the quotient stack [M/G]. Equivalently, an object over U is a right G-torsor P→U locally trivial on test domains, with a map a:P→M satisfying a(ph)=h−1a(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 Ui×G by the transition functions. The local maps to M agree under these identifications by equivariance and therefore define a global map.
Proposition 1.2 (Comparison with the orbit space). Write Q=M/G for the set of orbits equipped with the quotient diffeology. For every diffeological space Y, maps [M/G]→Y are the invariant smooth functions M→Y, hence are exactly smooth maps Q→Y. If G×M⟶M×QM,(g,m)⟼(m,gm) is a diffeomorphism, then [M/G]≃Q in 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 Gm.
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→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 1.1. 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. ◻
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, τ≤0[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.
Proposition 1.3 (Distinct smooth germs with equal pointwise orbits). The canonical comparison τ≤0[R/G]→Q is not injective on sections over any interval containing zero.
Proof. Define a(t)=exp(−1/t2) for t=0 with a(0)=0, and b(t)=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. ◻
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.
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 S3 permute the coordinates of R3. Find the automorphisms of the object of [R3/S3](∗) at (1,2,3), (1,1,2), and (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 S3.
Exercise 1.2 (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.
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⊂R, which has discrete diffeology. Thus (a,b)↦(b−a,a) is the smooth inverse required in Proposition 1.2.
Exercise 1.3 (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].
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.
Exercise 1.4 (Prove an equivalence criterion). Show that if the canonical map [M/G]→Q is an equivalence in H, then the division-map condition in Proposition 1.2 is necessary.
Solution. Pull back M→[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 p1,p2:U→M, such an isomorphism is precisely a smooth map g:U→G with p2=gp1. There are no additional morphisms after the two trivializations have been specified. Hence the pullback is the concrete sheaf G×M. After replacing the middle by the equivalent Q, the pullback is the concrete sheaf M×QM. 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=gik. 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⟶1 with discrete central kernel A and with ρ a covering homomorphism. We write A additively for cohomology and multiplicatively inside 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 gij, with gijgjk=gik. Choose lifts hij on double overlaps, possible because a covering over a contractible domain is trivial. Use hji=hij−1. The discrepancy on a triple overlap is cijk=hijhjkhik−1∈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 2-cocycle. Its class in Hˇ2(U;A) is independent of the lifts. It vanishes exactly when the G-bundle admits a 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), and automorphisms over the identification form H0(M;A).
Proof. Evaluate hijhjkhkl in two ways. By centrality, cijkcikl=cjklcijl, the cocycle law. Replacing hij by bijhij adds bjk−bik+bij to cijk in additive notation. If the class vanishes, choose a 1-cochain b with δb=−c. The corrected lifts then satisfy the transition equation on every triple overlap. Glue the local products with G via these transitions. Conversely a lift restricts on each contractible Ui to a trivializable bundle. Sections can be chosen above the prescribed G-frames: their preimages form A-torsors, trivial on Ui. 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. ◻
Changing the initial G-frames by ui has no effect on the class. Lift ui on the contractible Ui 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.
Degree-two cohomology of the sphere
For a discrete abelian group A, write B2A=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 B2A. 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 aijk at each triangle. Pasting these comparisons around a tetrahedron gives ajkl−aikl+aijl−aijk=0. Changing the comparisons at edges by bij changes a by δb. A further change of frame at the vertices by di changes b by δd. Thus components are H2, automorphisms up to 2-isomorphism are H1, and 2-automorphisms of the identity are H0 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=δb, and a 2-arrow to b′ is a 0-cochain d with b′−b=δ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.
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.
Proposition 1.2 (A complete surface invariant). Use a good cover of S2 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 Φ(a)=a123−a023+a013−a012∈A. In particular there is a nontrivial B2(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, 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 b0i=0 and bij=a0ij for 0<i<j. The cochain a−δb is zero on the three faces containing 0 and has value Φ(a) on face 123. Thus two cochains are equivalent exactly when their values of Φ agree. After deletion of one face, label its opposite vertex 0. The cochain a−δb is then zero on every remaining face. ◻
Delooping in arbitrarily high degrees
The calculation extends to all n≥1. On a good cover, a map into BnA=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 πjMap(M,BnA)≅Hn−j(M;A),0≤j≤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 BnA. 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 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 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⟶{1,−1}⟶SU(2)pSO(3)⟶1. Its kernel is central. A rotation through angle θ about the unit imaginary axis u lifts to ±(cos(θ/2)+usin(θ/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) system on the torus has holonomy given by an ordered commuting pair (R,S). Choose arbitrary lifts A,B of R,S and put ε(R,S)=ABA−1B−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 ε=1. In that case the set of lifting representations is a torsor for Hom(Z2,{1,−1}). For smooth parameter families of commuting rotations, ε is locally constant on every parameter plot.
Proof. From the presentation π1(T2)=⟨a,b∣aba−1b−1=1⟩, 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 Z2, 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 R and S to be the half turns about perpendicular coordinate axes. Their matrices are diag(1,−1,−1) and 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−1j−1=−1. All four choices (±i,±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 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.
There is also a description in terms of descent. On a good open cover of the torus, the transition rotations gij between locally parallel frames are constant on connected overlaps, with gijgjk=gik in the transition convention of Theorem 1.1. Choose lifts aij there. On triple intersections the defects aijajkaik−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)-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. Here we use discreteness of the kernel.
Exercise 1.1 (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.
Solution. Choose B=1 so every commutator is 1. On 0≤t≤1 the lift starting at 1 is A(t)=cos(πt)+usin(π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 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=Z and labels a012=2, a013=4, a023=1, a123=−1. Find a representative supported on one face.
Solution. The invariant is −1−1+4−2=0. Taking b12=2, b13=4, b23=1 and all b0i=0 gives δb=a, including (δb)123=1−4+2=−1. The zero labeling represents this class.
Exercise 1.3 (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.
Solution. Their difference b satisfies δb=0. Set d0=0 and di=b0i. On a triangle 0ij the cocycle equation gives bij=dj−di. Thus b=δd. The vertex correction is unique up to adding a constant element of A on all four vertices.
Exercise 1.4 (Recover one higher symmetry). For the trivial section of B2A over a circle, compute the groups of isomorphism classes of its automorphisms and of 2-automorphisms of its identity.
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.
Exercise 1.5 (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≥1.
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 bJ=a0J and set b zero on faces containing 0. Then (δb)0J=a0J for every n-face containing 0 (here J lists its other n vertices). Subtracting δ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.
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) for ordinary smooth differential k-forms on an open Euclidean domain U. On a diffeological space X, an element α∈Ωk(X) consists of forms αp∈Ωk(U) indexed by plots p:U→X, subject to αp∘h=h∗αp for every smooth reparametrization h:V→U. Thus α 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→Y put (f∗α)p=αfp. These operations make Ω∙ a contravariant functor to differential graded algebras. A zero-form comes from the function x↦αx obtained by testing the one-point plots. For a function f:X→R, the composite fp is smooth for every plot p exactly when f∈C∞(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∧dy)=udu∧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∧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→X is a subduction, so every plot of X locally lifts to Y. Write Y[2]=Y×XY with its fiber product diffeology. There is a natural equalizer of differential graded algebras Ω∙(X)q∗Ω∙(Y)pr1∗pr2∗Ω∙(Y[2]).
Proof. Any pullback has equal further pullbacks since qpr1=qpr2. Conversely, take β in the equalizer. To assign a form to a plot p:U→X, choose a covering by domains Ui and lifts pi:Ui→Y. On an intersection (pi,pj) is a plot of Y[2]. By the equalizer condition, pi∗β=pj∗β 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 β. 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]. 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 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) of the relation space over the strip W. For a form in the equalizer, pi∗β=pj∗β on W.
Cohomology of the line with two origins
Take copies L+,L− of the real line and identify (+,x) with (−,x) for every x=0. Give L the quotient diffeology. Write o+,o− for the remaining origins and r:L→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.
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) is an isomorphism. Nevertheless the ordinary singular cohomology of its D-topological space satisfies Hsing1(L;R)≅R.
Proof. By descent a form is a pair of ordinary forms equal on R∖{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))=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 R2⟶R2⟶Hsing1(L;R)⟶0. The first map is (a,b)↦(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) 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→Y and write fi(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→X yields an ordinary smooth form on R×U; write it uniquely as at+dt∧bt, with both coefficients forms in the U variables. Define a degree −1 linear operator KH on positive-degree forms by (KHα)p=∫01btdt,KH∣Ω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.
Theorem 1.3 (Path integration gives a chain homotopy). dKH+KHd=f1∗−f0∗ on the global plotwise de Rham complex of Y. In particular smoothly homotopic maps induce identical pullbacks on its cohomology.
Proof. On R×U the derivative of the displayed decomposition is dUat+dt∧(∂tat−dUbt). Consequently the integrands of dKHα and KHdα add to ∂tat. Integration gives a1−a0. 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), contraction of H∗(dx∧dy) in time gives t(xdy−ydx). Integration gives the familiar primitive (xdy−ydx)/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 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 back under p(s,t)=(scost,ssint). Explain what happens at s=0.
Solution. Differentiation gives dx=costds−ssintdt and dy=sintds+scostdt. Their product is sds∧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.
Exercise 1.2 (Check descent across a fold). Let q:R→R/{x∼−x} be the sign quotient. Which functions descend? Show that xdx 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/2. Then q∗dF=xdx. The equality also holds when the relative sign of two lifts changes at a zero.
Exercise 1.3 (Construct a period obstruction). On S1⊂R2 restrict xdy−ydx to a form η. Show that η 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η=0. On t↦(cost,sint) the pullback is dt, and its integral from 0 to 2π is 2π. 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 S1: 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≥2 real lines by identifying equal nonzero coordinates in every copy. Prove that H1 of the global plotwise forms is zero whereas the first real singular cohomology of the D-topology has dimension m−1.
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 Lm=Lm−1∪Um with Um 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. The intersection has zero first cohomology. Exactness now gives a short exact sequence 0→R→H1(Lm;R)→H1(Lm−1;R)→0. By induction from L1=R, the dimension is m−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 G be a diffeological group. A right principal G-bundle over X in this chapter is a subduction q:P→X with a smooth right action such that P×G⟶P×XP,(p,g)⟼(p,pg) is a diffeomorphism. The inverse has a group-valued component δ(p,p′) characterized by pδ(p,p′)=p′. Thus the group element taking p to p′ depends smoothly on the pair. If p:U→X is a plot, lift it locally to s:V→P. On V, (v,g)↦(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→X, write Y[k] for the k-fold fiber product over X. A trivialization of a∗P is equivalently a smooth section s:Y→P covering a. For (y,z)∈Y[2] write s(z)=s(y)g(y,z). These transition functions satisfy g(y,y)=e,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→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.
Proof. For a cocycle g, form the quotient diffeology on Pg=(Y×G)/((z,h)∼(y,g(y,z)h)),a(y)=a(z). The cocycle identities give an equivalence relation and right multiplication descends. The structural map Pg→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−1g(y,z)k, a smooth expression which agrees for all representatives. The map y↦[y,e] trivializes the pullback to Y. Conversely a section s of a∗P gives the cocycle by smooth division, and [y,h]↦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:Pg→Pg′ must take [y,e] to [y,b(y)] for a unique smooth b:Y→G. By the quotient relation, g′(y,z)b(z)=b(y)g(y,z). Conversely this equation makes [y,h]↦[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. ◻
The cocycle is a function on the arrows of the Čech groupoid Y[2]⇉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→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). The product of the two transition factors equals the direct transition g(y,w).
Phase, curvature, and transport
Use G=S1 with real angular form η characterized by (t↦eit)∗η=dt. Thus dη=0, ∫S1η=2π, and multiplication m satisfies m∗η=pr1∗η+pr2∗η. In a local frame an angular connection is described by a real one-form A on the base. Upstairs the connection is A+η in this frame, with product projections implicit. Parallel transport in the section along a path x(t) sends a starting phase eiθ(0) to eiθ(t)=eiθ(0)exp(−i∫0tAx(u)(x˙(u))du). 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+η to the lifted path is zero. In a new frame s′=sk the form becomes A′=A+k∗η and the phase coordinate becomes k−1eiθ. 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∫DdA) by Stokes’ theorem.
Proposition 1.2 (Connection and curvature descent). For a circle cocycle g on a:Y→X, suppose A∈Ω1(Y) satisfies pr2∗A−pr1∗A=g∗ηon Y[2]. There is a unique one-form on Pg pulling back to A+η on Y×S1. Its derivative is q∗F for the unique closed F∈Ω2(X) with a∗F=dA.
Proof. For equivalent representatives (z,h) and (y,g(y,z)h) the latter group coordinate contributes g∗η+h∗η when evaluated on plots. The assumed equation makes the two pullbacks of A+η coincide. Apply Theorem Theorem 1.1 to the subduction onto Pg. Differentiation of the equation and dη=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×S1, proving equality. ◻
Hamiltonian period obstructions and symplectic reduction
On a finite-dimensional symplectic manifold (M,ω), use the sign convention d⟨μ,ξ⟩=−ιξMω. Here ξM is the fundamental vector field of an action of a Lie group G by symplectomorphisms. For each ξ, −ιξMω 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 R2/Z2 its unit area form dx∧dy. The circle translating the x coordinate has infinitesimal generator ∂x, and the candidate differential is −dy. Its period on the positive y loop is −1. Modulo the period lattice the coordinate −ymodZ 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∗-valued moment map.
Theorem 1.3 (Regular symplectic reduction). Let a Lie group G act symplectically on (M,ω) with equivariant moment map μ. Assume 0 is a regular value and G acts freely and properly on the nonempty level N=μ−1(0). With j:N↪M and q:N→N/G there is a unique symplectic form ωred such that q∗ωred=j∗ω. Moreover the quotient stack [N/G] is represented by the smooth manifold N/G.
Proof. By equivariance the zero level is G-invariant, and by the regular level theorem TxN=kerdμx. Write Vx={ξM(x)}, the orbit directions. By the moment identities, TxN=Vxω; also Vx⊂TxN by invariance of N. Nondegeneracy in the ambient finite-dimensional space now gives ker(j∗ω)x=TxN∩(TxN)ω=Vx. 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∗ω, 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/Vx is zero because the kernel on TxN is Vx.
For the stack statement an object over a test domain U consists of a principal bundle P→U and equivariant map to N (using compatible left or right conventions). It determines f:U→N/G. The induced map P→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. ◻
Symplectic area of the projective line
Let eit act by simultaneous multiplication on C2 with the standard form ω=∑j=12dxj∧dyj. Contraction against ∑j(−yj∂xj+xj∂yj) gives −d(∥z∥2/2). Take μ=(∥z∥2−R2)/2 for R>0. The circle action on the level SR3 is free. The projection SR3→CP1 is z↦Cz. The fibers are exactly circle orbits. If w=z2/z1=u+iv, a smooth section is s(w)=1+∣w∣2R(1,w). In the second chart use z1/z2. By these local sections the quotient diffeology is the manifold diffeology on the projective line. To compute the reduced form, take λ=21Im∑jzjdzj so dλ=ω. Terms involving the derivative of the real normalizing factor have zero imaginary part, giving s∗λ=2R21+u2+v2udv−vdu,ωred=(1+u2+v2)2R2du∧dv. For the disk Dt={w:∣w∣≤t} in this coordinate chart, integrate in polar coordinates first up to a finite radius: Area(Dt)=2πR2∫0t(1+r2)2rdr=πR21+t2t2. The omitted projective point has zero area. Sending t to infinity gives total area πR2. 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.
Reduced area in the projective chart w=u+iv. The shaded unit disk contains half the area of CP1. The disk of radius two contains four fifths of the total area. The curve is t2/(1+t2) for every sphere radius R>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/2. The restriction of 2λ/R2 to the level is an angular connection, and its curvature has total integral 2π. 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θ 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>1 keeps the same orbits on a fixed sphere. For the weight-k action a valid shifted moment map is k(∥z∥2−R2)/2. Every point of the level has a stabilizer of order k. Thus the coarse smooth quotient remains CP1 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η on a trivial circle bundle. Change the frame by k(z)=zn. Compute the new potential and the transport around a positive unit winding.
Solution. Writing z=eit gives k∗η=ndt and hence A′=(c+n)η. The holonomy of the loop is e−2πic in the first frame and e−2π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.
Exercise 1.2 (Locate a missing Hamiltonian). On R2/Z2 translate with velocity (a,b). Determine exactly which velocities admit a globally real Hamiltonian for the area form.
Solution. The required closed form is bdx−ady. 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.
Exercise 1.3 (Compute the function on an overlap). On the overlap w=0 in the Hopf example, take s1=R(1,w)/1+∣w∣2 and s2=R(1/w,1)/1+∣1/w∣2. Find k in s2=s1k and compare the local connection potentials on the unit equator w=eit.
Solution. Simplifying the normalizations gives k=∣w∣/w. On the equator k=e−it, so k∗η=−dt. The angular potential in the first frame is (2/R2)s1∗λ=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.
Exercise 1.4 (Prove a criterion for lifting through a period quotient). Let M be a connected manifold, β a closed real one-form, and Λ a discrete subgroup of R. Prove that there is a smooth h:M→R/Λ pulling the descended one-form dt back to β exactly when every loop period belongs to Λ. Show that, with a basepoint value fixed, h is unique.
Solution. If h exists, lift its composite with a loop along the covering R→R/Λ starting at any representative. The endpoint differs from the starting point by an element of Λ, and this displacement is the integral of β. Conversely fix a basepoint image, integrate β on a path from the basepoint, and add the result modulo Λ. 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/Λ 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 P, X and Y be diffeological spaces of parameters, inputs and outputs. A smooth architecture is a smooth map e:P×X→Y. The prediction of p is the function ep(x)=e(p,x). For the standard functional diffeology, p↦ep 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→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∞(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→Z is identifiable from the predictor when ep=ep′ implies h(p)=h(p′). There is then a unique function hˉ:Q→Z such that h=hˉq. 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 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) and take X=Rn, Y=Rm. A hidden layer of width r implements x↦ABx. Here A is an m×r matrix of column rank r and B is an r×n matrix of row rank r. Denote this open parameter manifold by P and the rank-r matrices by Mr, with their subset diffeology. Put G=GLr(R). A change of hidden basis acts on the right by (A,B)g=(Ag,g−1B). 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→Mr, (A,B)↦AB, has smooth local sections and is a principal G-bundle. It identifies the quotient diffeology on P/G with the subset diffeology on Mr 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 Mr.
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 imA=imA′. Thus A′=Ag for a unique invertible g and injectivity of A gives B′=g−1B. To choose factors smoothly near a given M, choose row and column index sets I,J of size r with MI,J invertible. On the open pivot region take A0=M:,J,B0=(MI,J)−1MI,:. The selected columns span the column space. We obtain their coefficients by restriction to rows I, whence A0B0=M. The entries of this section are smooth rational functions. Each (A,B) over the pivot region has the expression (A0,B0)g with g=(MI,J)−1AI,:, 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→Mr pulls back the principal bundle to f∗P, with its equivariant projection to P. Conversely a right G-torsor T→U equipped with an equivariant map h:T→P determines f by descent of qh. The map t↦(π(t),h(t)) is an isomorphism T→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. ◻
On overlapping pivot regions i,j, local sections are related by sj=sigij. Uniqueness of the relating element implies gijgjk=gik. Thus the transition maps implement coherent changes of coordinates among trained models. The k-simplices of the corresponding action nerve have the form P×Gk: 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.
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.
Gauge directions and the kernel of the training Hessian
Write V=Rn and W=Rm. 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=kerB=ker(AB) and U=imA. The conditions below also give the tangent geometry used for fixed-rank optimization.
Theorem 1.2 (Gauge kernel and predictor tangent space). At M=AB one has kerJTMMr=imJ={(AH,−HB):H∈Rr×r},={L:V→W linear:L(K)⊂U}. In particular the parameter redundancy has dimension r2 and the predictor tangent space has dimension r(m+n−r).
Proof. If DB+AE=0, then D(Bx)=−AEx∈U for every x, and B is onto. Thus imD⊆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)⊂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 Rr→W/U. Choose a linear lift D:Rr→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 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′ in a matrix (CE′D′F) with C invertible determine the fourth by F=E′C−1D′. There are r(m+n−r) independent entries in the free blocks, in agreement with rank–nullity for J. ◻
Let the columns of X0∈Rn×N be the observed inputs. Put S=imX0, s=dimS, and let Y0∈Rm×N be the measured outputs. Train using the total square loss L(A,B)=21∥ABX0−Y0∥F2. At an exact fit the residual vanishes. The Hessian along weight directions v,w is then ⟨J(v)X0,J(w)X0⟩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=Y0 and let t=dimB(S). The parameter Hessian has rank and nullity rank∇2Ldimker∇2L=rs+(m−r)t,=r2+r(n−s)+(m−r)(r−t). After quotienting parameters by G, the first summand r2 in the nullity disappears. For s=n the quotient Hessian is positive definite.
Proof. The Gram form above has kernel exactly those v with J(v)∣S=0 because the columns of X0 span S. Fix a linear complement U′ of U. The U-component of J(v)∣S ranges freely over 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′:Rr→U′. Such maps are in bijection with Hom(B(S),U′), since every map on B(S) extends to Rr. 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 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 r2 kernel directions. When S=V, surjectivity of B gives t=r, and the remaining nullity vanishes. ◻
Dimensions of the freely variable blocks of J∣S. Choose S=S1⊕(S∩K) so that B identifies S1 with B(S). The lower right block vanishes because J(D,E)k=AEk∈U for every k∈K.
For instance take m=n=2, r=1, A=(1,2)T and B=(3,−1). The observable matrix and the output on (2,1)T are M=(36−1−2),M(21)=(510). Taking X0=I2 and Y0=M gives an exact fit. In the weight order (a1,a2,b1,b2) the Hessian is 1003−10106−23650−1−205. Its kernel is spanned by (1,2,−3,1)T, the derivative of (euA,e−uB) at u=0. The rank is three. If e1 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)T, s=1 still, but B(1,3)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.
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=2 and r=1, no continuous section of q:P→M1 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] let v(u)=(cosπu,sinπu)T and M(u)=v(u)v(u)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 Rv(u). Write a(u)=c(u)v(u), where c(u)=v(u)Ta(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 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). Give an identifiable and an unidentifiable scalar statistic and evaluate each on both representatives.
Solution. The pivot gives A0=(3,6)T, B0=(1,−1/3), so g=3 carries (A,B) to (A0,B0). The statistic e1TABe1 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.
Exercise 1.2 (Calculation: apparent sharpness). For the scalar predictor x↦abx, use training input x=1 with target y=0. At an exact fit compute both Euclidean Hessian eigenvalues. Describe their dependence on (a,b)↦(ga,b/g) for g>0.
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 a2+b2. A kernel vector is (a,−b). After the change the positive eigenvalue becomes g2a2+g−2b2, arbitrarily large as g→∞ with a=0. 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.
Exercise 1.3 (Derivation: testing a proposed new input). For the numerical model above the only training input is initially x0=(1,3)T. Determine the Hessian rank increase caused by (i) adding 2x0 and (ii) adding e2. Assume the new targets come from the same model.
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=R2 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.
Exercise 1.4 (Proof: when are all linear predictions determined?). For a fixed exact rank-r model M with r≥1, 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.
Solution. If S=V, equality on S is equality of maps. Otherwise choose a nonzero linear functional λ annihilating S and a nonzero z∈Rr. Write M=AB with the stipulated full ranks and set Mϵ=A(B+ϵzλ). For small ∣ϵ∣ a nonzero r-minor of B stays nonzero by continuity. The second factor remains onto, so Mϵ has rank r and the family is smooth. It agrees with M on S for every such ϵ. The difference is ϵ(Az)λ, nonzero for every nonzero ϵ since A 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), (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 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/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 S be a nonempty finite set, and let As be a nonempty finite action set for each s∈S. Write E={(s,a):s∈S,a∈As} and let e:E→S be the projection. At (s,a) the expected one-step reward is r(s,a)∈R, and the probability of next state u∈S is P(u∣s,a). Fix 0<γ<1. The return is the expected sum of rewards, with the reward at step k weighted by γk for k≥0. 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) indexed by the states. Here Δ(A) is the standard closed probability simplex with its subset diffeology in RA.
For a continuation value v∈RS write Qv(s,a)=r(s,a)+γu∈S∑P(u∣s,a)v(u),(Tv)(s)=a∈AsmaxQv(s,a). The inequality ∣maxixi−maxiyi∣≤maxi∣xi−yi∣ and the fact that each row of P sums to one give ∥Tv−Tw∥∞≤γ∥v−w∥∞. 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 γnmax∣r∣/(1−γ) 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 πs is supported on Ms={a∈As:Qv∗(s,a)=v∗(s)}. Indeed, policy evaluation replaces the maximum in T by a π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 As→Ags written a↦ga. Assume throughout the symmetry reduction that r(gs,ga)=r(s,a),P(gu∣gs,ga)=P(u∣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/G send a state to its orbit. Over an orbit O let BO consist of the orbits of pairs (s,a) with s∈O. Fixing any representative s∈O identifies BO with the set of orbits of As under Gs={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 As may therefore vary with s.
Theorem 1.1 (Exact orbit compression). For b=[s,a]∈BO, put rˉ(O,b)=r(s,a),Pˉ(O′∣O,b)=u∈O′∑P(u∣s,a). These define a discounted decision process on S/G. Its optimal value vˉ∗ satisfies v∗=vˉ∗∘q. The image in BO of the set of optimal actions at any s∈O equals the set of optimal actions of this reduced process at O.
Proof. Replace (s,a) by (gs,ga). In the definition of 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→R we have Qw∘q(s,a)=rˉ(O,b)+γO′∑Pˉ(O′∣O,b)w(O′). Every b has a representative at s. Taking the maximum gives T(w∘q)=(Tˉw)∘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=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∥∞≤ϵ, the contraction bound gives ∥w−vˉ∗∥∞≤ϵ/(1−γ). Pullback by the surjection q preserves that norm, so the same bound holds for w∘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 s and arrows g:s→gs. The assignments s↦As and s↦Δ(As) 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→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.
Theorem 1.2 (Stabilizer criterion and randomized lifting). There is an optimal equivariant deterministic stationary policy precisely when, at each representative s of a state orbit, Ms contains an action fixed by all of Gs. Equivariant randomized stationary policies are in affine bijection with the policies on the reduced process. At a representative s, a probability pb on a reduced action lifts to mass pb/∣bs∣ on each element of its stabilizer orbit bs⊆As. This bijection restricts to optimal policies on both sides. In particular, an equivariant optimal randomized policy always exists.
Proof. By Theorem 1.1, Mgs=gMs. At a representative, deterministic equivariance requires has=as for every h∈Gs. Conversely, take any such optimal choice at each representative, and set ags=gas. If gs=g′s then (g′)−1g∈Gs, so the two formulas agree. The transported choice lies in Mgs.
Applying the same construction to distributions, we obtain a unique equivariant policy from a Gs-invariant probability at each representative. Its masses are constant on each stabilizer orbit. Summing these masses gives pb, 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 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 γ=1/2. The recursions for the values x,y on D,F become x=max{21y,w+21x},y=2+21x. In the dispatch region these give x=4/3, y=8/3, which satisfy the maximizing inequality exactly when w≤2/3. In the waiting region x=2w, y=2+w, valid when w≥2/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≤p≤1, consists of equivariant optima. Among these only p=0 is deterministic.
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.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.
Smooth planning over a space of experiments
Let X be any diffeological space. Suppose rx(s,a) and Px(u∣s,a) are smooth real-valued functions of x∈X, with stochastic rows for each x. A plot U→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−γ). The restriction to the identity plot of 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 τ>0 consider the entropy-regularized one-step objective ∑apaQa+τH(p) where H(p)=−∑apalogpa and 0log0=0. If Z=∑aexp(Qa/τ) and za=exp(Qa/τ)/Z, the objective equals τlogZ−τ∑apalog(pa/za). The second sum is nonnegative, with equality precisely at p=z, by the logarithm inequality. Consequently the regularized Bellman operator is (Tτ,xv)(s)=τloga∈As∑exp(Qx,v(s,a)/τ). 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)≤logmaxs∣As∣. The fixed point is thus the maximum expected discounted sum of reward and action entropy with coefficient τ.
Theorem 1.4 (Smooth value and policy on every plot). Fix τ>0. For the finite families above, Tτ,x has a unique fixed point vτ(x), and both x↦vτ(x) and its maximizing stationary policy x↦πτ,x are smooth. For any plot and any tangent direction on its domain, dots denoting directional derivatives along that plot, (I−γPπ)v˙τb(s)=b,=a∑πs(a)(r˙(s,a)+γu∑P˙(u∣s,a)vτ(u)), where Pπ(s,u)=∑aπs(a)P(u∣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∥∞ we have yi−d≤xi≤yi+d for each i. By monotonicity and the shift identity, the row operation is 1-Lipschitz. Thus Tτ,x is a γ-contraction. Pull a family back to an arbitrary plot with open domain U⊆Rm. The equation F(z,v)=v−Tτ,x(z)v=0 is a smooth Euclidean equation. Differentiating each row with respect to v gives DvF=I−γPπ 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. 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. ◻
For the two-action experiment this produces vτ(t)=1−γτlog(2cosh(t/τ)),πτ,t(+)=1+exp(−2t/τ)1. In particular the value is even and factors smoothly through the quotient diffeology on R/(t∼−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,−t, discount γ=1/2 and temperature τ=1/2. The hard value 2∣t∣ has a corner at the tie. The regularized value log(e2t+e−2t) has derivative zero there and attains its greatest excess, log2, 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 G, let mO,b be the number of concrete actions representing b at a single s∈O. The reduced regularized Bellman operator with row (Tˉτw)(O)=τlogb∈BO∑mO,bexp(Qˉw(O,b)/τ), where Qˉw(O,b)=rˉ(O,b)+γ∑O′Pˉ(O′∣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)/τ) at that fixed point. Uniform lifting within each orbit gives the unique full regularized optimal policy.
Proof. Transport from s to another representative is a bijection that conjugates the stabilizers, so mO,b is well-defined. For an invariant continuation value, Theorem 1.1 gives the same concrete action value on all mO,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)+∑bpblogmO,b by substitution. The reduced planner is therefore an ordinary soft planner with extra row reward τlogmO,b. ◻
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 τlog3, and the total dispatch probability at its maximizer is 2/3. Omitting the coefficient two produces τ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.
Exercises with solutions
Exercise 1.1 (Compute a policy value). At w=0 use the depot probabilities (p/2,p/2,1−p) for dispatch left, dispatch right and wait in Example 1.3. Compute its value x(p) at the depot and identify the maximizing p.
Solution. From y=2+x/2 and x=py/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.
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 5 and the fixed action has score 4. Describe every equivariant maximizing probability. What changes if the fixed score becomes 5?
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∈[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.
Exercise 1.3 (Differentiate a transition law). 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 1.4.
Solution. Put D=1−γ+γt. Then v(u)=1/(1−γ) and v(s)=γt/((1−γ)D). Differentiation gives dv(s)/dt=γ/D2. Since v˙(u)=0, the theorem reduces to Dv˙(s)=γ(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 τ.
Exercise 1.4 (Prove a sharp uniform approximation bound). Let m=maxs∣As∣. Prove that 0≤vτ(s)−v∗(s)≤τlogm/(1−γ) at all states. Exhibit equality, and decide whether uniform convergence here implies convergence of first derivatives along smooth plots.
Solution. The row inequalities maxizi≤τlog∑iezi/τ≤maxizi+τlogm imply Tτv∗≥v∗. Monotone iteration gives vτ≥v∗. Write c=τlogm/(1−γ). Since a constant addition of c to the continuation shifts each output by γc, Tτ(v∗+c)≤v∗+τlogm+γ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τ=τlogm/(1−γ), attaining equality. In the two-action experiment with rewards ±t, the soft derivative is tanh(t/τ)/(1−γ). 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 and write Dα=Z+αZ⊂R,Tα=R/Dα,qα(x)=[x]α. A plot p:U→Tα admits a smooth real lift near each point of U. In particular, smooth paths through [0]α locally have the form t↦[x(t)]α 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,α,…,Nα. At least two belong to the same piece. Their difference gives a nonzero element of Dα 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.
Five consecutive unit-time segments of one orbit at α=(5−1)/2. Opposite edges of the square are identified. The left endpoint at the next step has vertical coordinate y+α(mod1) if the current coordinate is y.
Here is the relation with the two-torus. On R2, the function y−αx is constant along the flow (x,y)↦(x+t,y+αt). Changing (x,y) by an integer vector changes the function by a member of Dα. It induces a smooth map from the space of flow orbits on R2/Z2 to Tα. Its smooth inverse sends [u]α to the flow orbit of (0,u). Shifting u by an integer leaves that point unchanged on the torus, and shifting by α 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α 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α, an arrow (x,d) goes from x to x+d. More precisely, R×Dα∼R×TαR,(x,d)⟼(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 in degree n 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α, a 0-truncated object. For a lifted loop, the difference of its endpoints is a period. For instance t↦[t]α, 0≤t≤1, lifts to a path whose endpoints differ by the period 1.
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 α. Density and continuity imply that it is constant.
Theorem 1.1 (Affine rigidity of all smooth maps). For irrational α,β, every smooth f:Tα→Tβ is uniquely of the form f([x]α)=[sx+b]β,sDα⊂Dβ,[b]β∈Tβ. 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.
Proof. Choose local smooth real lifts of fqα on intervals covering R. The difference of any two lifts is locally constant on their overlap because it belongs to Dβ. Their derivatives thus define a single smooth function h on R. If d∈Dα, 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α and continuity yield h(x)=s everywhere. Subtracting sx from every local lift now gives locally constant functions, whose classes in Tβ agree on overlaps. By connectedness their common class is a single [b]β. Comparing the values at x=0 and x=d, we obtain sDα⊂Dβ. 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]α)=[b]β. Finally [b]β=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.
The diffeological spaces Tα and Tβ are diffeomorphic.
There exists s=0 with sDα=Dβ.
There are integers a,b,c,d with ad−bc=±1 and β=(aα+b)/(cα+d).
More generally every nonzero admissible slope s gives a surjection. Its fiber cardinality is the index [Dβ:sDα], equal to the absolute determinant of the matrix of multiplication by s in the two period bases.
Proof. The inverse of an affine diffeomorphism has slope 1/s by Theorem 1.1, so sDα=Dβ. Conversely equality gives a pointed inverse by division by s. If sDα=Dβ, then (1/s,β/s) is an integral basis of Dα. Write its elements as cα+d and aα+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α and s=(cα+d)−1 works. The denominator cannot vanish for irrational α and a unimodular matrix.
For the pointed map, the image of [y/s]α is [y]β. Translation in the target preserves surjectivity and the cardinalities of the fibers. Its preimages differ by elements of s−1Dβ/Dα≃Dβ/sDα. The columns expressing s and sα in the target basis are linearly independent over Q, since s=0 and α is irrational. The index therefore equals the absolute determinant, by the elementary integer normal form for a full-rank subgroup of Z2. ◻
Example 1.3 (An index-two map). Take α=2, β=22 and s=2. The source period 1 is sent to 2 while 2 is sent to β. The matrix in the displayed bases is diag(2,1). Above zero we find [0]α and [1/2]α. They are distinct because 1/2∈/Dα. For comparison, β=1/(1+α) produces an isomorphism with slope 1/(1+α): the two vectors 1+α and 1 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 2 in the index-two example. The axis coordinates are the integer coefficients in the basis (1,22). 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α}. The additive group Dα need not be closed under multiplication. A scalar s belongs to Eα exactly when s and sα both belong to Dα.
Theorem 1.4 (Multiplier order and degree). If 1,α,α2 are linearly independent over Q, then Eα=Z. Otherwise let Aα2+Bα+C=0 be the primitive quadratic equation with A>0 and let θ=Aα. Then Eα=Z+Zθ. For u=m+nθ=0 its map on Tα has degree, in the sense of fiber cardinality, ∣m2−Bmn+ACn2∣. The pointed automorphisms are precisely the units with that quantity equal to one.
Proof. Because 1 is a period, s must have the form m+kα. Testing sα gives kα2+(m−j)α−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∣kB and A∣kC. Since A,B,C generate the unit ideal, an integral linear combination of them equals one, and multiplication by k gives A∣k. Conversely k=nA satisfies both tests. Hence all the multipliers are the asserted elements. Multiplication by m+nAα sends 1 and α 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 1.2, this is a bijection exactly when the absolute value equals one. In that case the inverse real scalar also preserves Dα. Thus the invertible multipliers are exactly the units. ◻
Example 1.5 (A Fibonacci automorphism). Let φ=(1+5)/2. Since φ2=φ+1, the image of the basis (1,φ) under multiplication by φ is (φ,1+φ). Its matrix, determinant and inverse scalar are M=(0111),detM=−1,φ−1=φ−1. For k≥1, multiplying the period 1 by φk gives Fk−1+Fkφ, where F0=0, F1=1. The equality follows by induction using the preceding quadratic relation. The fifth iterate has first period 3+5φ and second period 5+8φ. The coordinate determinant is 24−25=−1, so the map is bijective. On T32, by contrast, the only pointed automorphisms are multiplication by 1 and by −1, since 1,32,34 are linearly independent over Q.
Small divisors in the cohomological equation
The transversal in Figure 1.1 gives a second presentation Tα≃S1/Z, with S1=R/Z and generator x↦x+α. Indeed composing R→S1 with the orbit quotient identifies the same pairs as qα, 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)⟼(x+α,r+F(x))(x,r)∈S1×R. The arrow indexed by n∈Z is the nth iterate of this map. The quotient EF projects to Tα 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 EF consequently amounts to a smooth function G on the transversal satisfying ΔαG(x):=G(x+α)−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 ∫S1F=0. We use normalized length on the circle.
Theorem 1.6 (Small divisors for smooth sections). Write ∥t∥ for the distance from t to the nearest integer. Suppose there are c>0,τ>0 with ∥kα∥≥c∣k∣−τ for every nonzero integer k. Then every smooth mean-zero F gives a smooth section of EF, unique up to constant vertical translation. If α is Liouville, there exists a real smooth mean-zero F for which the equation ΔαG=F has no continuous solution.
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 kth Fourier coefficient in the equation for a section gives (e2πikα−1)G(k)=F(k). For k=0 the multiplier has absolute value 2sin(π∥kα∥)≥4∥kα∥, by the chord bound on [0,π/2]. The reciprocal multiplier is bounded by (4c)−1∣k∣τ. The resulting coefficients are rapidly decreasing. Set 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 α, rational approximations with errors smaller than arbitrarily high inverse powers of the denominator allow us to select strictly increasing qj>2j for which 0<∣e2πiqjα−1∣<qj−2j. Here we have used ∣e2πit−1∣≤2π∥t∥ and increased the approximation exponent to absorb the constant. Set F(x)=j≥1∑qj−jcos(2πqjx). The derivatives of order r are bounded termwise by (2π)rqjr−j, summable for every fixed r. The function is real, smooth and mean-zero. A continuous solution would have ∣G(qj)∣>qjj/2 by the coefficient equation. Fourier coefficients of a continuous function are bounded by its L1 norm, giving a contradiction. ◻
The chord length is ∣e2πikα−1∣. For kα close to an integer, division by this small length amplifies the kth Fourier coefficient when solving for G. The angle is schematic.
For a numerical example choose F(x)=cos(2πkx) at one nonzero frequency. Writing G(x)=Re(e2πikx/(e2πikα−1)) solves the equation directly. With k=13 and α=(5−1)/2, the product kα is about 8.03444 and the chord in Figure 1.3 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 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 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.
Exercises with solutions
Exercise 1.1 (Compute a change of coordinates). Let β=(2α+1)/(α+1). Produce the slope of a pointed diffeomorphism Tα→Tβ 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=1. Choose s=(α+1)−1. Since β=2−s, one has s=2−β and sα=1−s=β−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α, directly checking surjectivity on periods.
Exercise 1.2 (Distinguish two finite covers). Find the kernels of multiplication by 2 and by 2+2 on T2. Explain why their different sizes are compatible with the second multiplier having larger real absolute value.
Solution. The first kernel is (21D2)/D2 with representatives 0,1/2,2/2,(1+2)/2. The second multiplier has norm (2+2)(2−2)=2. Its kernel has order two and contains the nonzero class [2/2], whose product is [2+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+2 and 2−2 of that area change.
Exercise 1.3 (Recover differentials from local lifts). Compute all diffeological 1-forms on Tα and their periods on the loops corresponding to 1 and α. Which homomorphisms Dα→R can be obtained this way?
Solution. Pull back a form along qα 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 adu. 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 α gives (a,aα). Reparametrize with stationary ends if smooth concatenations are desired. A homomorphism with arbitrary values (r,t) on the basis occurs exactly when t=α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φ consists of the multipliers {±φk:k∈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[φ]. Change sign to make a unit positive and multiply by an integral power of φ to put its real value u in [1,φ). 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,φ+1/φ)=[2,5), 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,φ−1/φ)=[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 ±φk, since both φ and −1 are units. By Theorem 1.1, 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φ⋊{±φk:k∈Z} on underlying groups.
Period pairs of plotwise one-forms
Apply Theorem Theorem 1.1 to R→Tα. In degree k its nerve is R×Dαk: successive differences determine the lifts, and the subgroup Dα has discrete diffeology. Test the realization against BRdisc, 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 cd for every d∈Dα. The cocycle equation is cd+e=cd+ce. 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. By Exercise 1.3, the image of integration of plotwise closed forms is the line {(a,αa):a∈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].
For the golden ratio φ, 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.
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 S be a group of secrets, K a group of masks, and V a group of observations. Choose homomorphisms A:S→V and B:K→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 π:V→V/B(K) and any sample v=As+Bk, the deterministic statistic π(v) equals π(As).
Theorem 1.1 (Exact observation quotient). 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=πA. Distinct values of L give disjoint supports. A deterministic function g:S→D is recoverable with certainty from one observation for every s precisely when it factors through L:S→L(S). For any prior on S, with Shannon entropy in bits, the mutual information satisfies I(S;Vobs)=H(L(S)). Here the occurrences of S inside entropy expressions refer to the random secret, and Vobs denotes the random observation.
Proof. For v∈As+B(K) the set of compatible masks is k0+kerB for any one solution k0. 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=gˉ∘L, then g(s)=gˉ(π(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 Vobs 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). 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 Fq, the maps A,B are Fq-linear, and the secret is uniform, the information is rank(L)log2q 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=Fq, integers 2≤t≤n≤q−1, and distinct nonzero public nodes a1,…,an. Write P for the additive group of polynomials of degree less than t, including zero, and K={h∈P:h(0)=0}. A sharing of s is a uniform element of the affine space Ps=s+K. Custodian i receives f(ai). For a coalition J of size m let EJ(f)=(f(ai))i∈J, and put BJ=EJ∣K. Translation is free and transitive on Ps. In geometric language Ps is a K-torsor. In these coordinates, the constant polynomial s is a distinguished element of Ps.
Theorem 1.2 (Privacy, multiplicities, and reconstruction). If m<t, every observation y∈FJ occurs for each secret with probability q−m. Exactly qt−1−m encodings of a fixed secret give that y. If m≥t, then for each valid observation y there is exactly one f∈P with EJ(f)=y. For any t-element subset D⊆J, the value at zero of that polynomial is s=i∈D∑f(ai)j∈D,j=i∏ai−aj−aj.
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 BJ:K→FJ is surjective. Its kernel has dimension t−1−m by rank–nullity. Applying Theorem 1.1 with A(s)=(s)i∈J gives the counts and probabilities. For m≥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. ◻
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 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.
Example 1.3 (An explicit three-of-five sharing). Work over F7 with nodes 1,2,3,4,5. Let t=3 and f=4+2X+3X2. 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≡4(mod7). Suppose the data consist of the first two values (2,6). The complete list of compatible polynomials is fλ(X)=f(X)+λ(X−1)(X−2),λ∈F7. The set of constant coefficients 4+2λ is the whole field. For example f5=X+X2 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.
Finite-field evaluations in Example 1.3. Discs denote values of f0, squares those of f5, and crosses those of f1. 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.
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 Ui×Ps. On overlaps the permitted change from coordinates i to j sends f to f+hij, where hij:Ui∩Uj→K is locally constant. Compatibility requires hii=0,hik=hij+hjkon Ui∩Uj∩Uk. A change of chart coordinates fi↦fi+bi, with bi locally constant in K, gives hij′=hij+bj−bi. The hij are the public changes of local frames. A random draw of f 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 K-torsor over M. On the stated cover the groupoid of such presentations has as arrows exactly the changes {bi} satisfying hij′=hij+bj−bi. 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, with the quotient diffeology. The relation is transitive by hik=hij+hjk and symmetric by hji=−hij. 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 bi. Commuting with the overlap identifications gives precisely the formula for hij′. A section amounts to polynomials s+ki with kj−ki=hij, 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 Ui×FJ with translations y↦y+BJhij. The evaluation maps commute with these translations, so their pushforward laws also glue. For ∣J∣≥t the weighted reconstruction map satisfies rD(EJh)=h(0)=0 for every h∈K. Thus rD 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). ◻
The groupoid in this proof is the finite abelian example of the classifying stack BK, where K denotes the sheaf of locally constant K-valued functions. Allowing refinements of the cover gives all locally trivial torsors. The isomorphism classes are H1(M,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.
The coalition threshold for mask monodromy
Take M=R/Z. A loop with translation monodromy h∈K is modeled by [0,1]×Ps with its ends identified by (1,f)∼(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 BJh. 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.
Theorem 1.5 (Detection threshold for mask monodromy). For a coalition J of size m, the induced translation is the identity exactly when h∈kerBJ. 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.
Proof. Translation by a vector on FJ acts trivially precisely when that vector is zero. When m<t−1, masks vanishing at every observed node and at zero have the form Xi∈J∏(X−ai)g(X),degg<t−1−m, with g=0 allowed. This gives the claimed kernel dimension. When m≥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 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). 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.
One seven-element orbit of the return map for h=X(X−1) over F7. 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.
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,5 instead of 1,2,3. Determine the weights at zero and verify the result from the three shares.
Solution. In F7 the three Lagrange coefficients are 15/8=1, 5/(−4)=4, and 3/8=3, respectively. Their sum is 8≡1 as required for constant polynomials. The shares are (2,2,5), so the weighted sum equals 2+8+15=25≡4.
Exercise 1.2 (Determine partial leakage). Let S=F52, K=F5, and let the observation be (s1+k,s2+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) is a diagonal translation. The difference d=s1−s2 is constant on each diagonal coset and distinct on different cosets. For a uniform secret, d is uniform and the mutual information is log25 bits. At observation y with positive probability, the likelihood for a candidate secret is 1/5 when s1−s2=y1−y2 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=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.
Solution. A nonzero vector in F72 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.
Exercise 1.4 (Prove that local detection globalizes). Let M be any smooth manifold and let ∣J∣≥t−1. Prove that two encoding K-torsors whose induced FJ-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′ be the transition cocycles on it. An equivariant isomorphism of observation torsors is locally translation by bi:Ui→FJ, giving BJ(hij′−hij)=bj−bi. By Theorem 1.5, BJ is an injection of finite-dimensional vector spaces. Extend a basis of its image to a basis of FJ to obtain a linear left inverse C:FJ→K. Applying C yields hij′−hij=Cbj−Cbi. Each Cbi is locally constant; the resulting translations glue to the required isomorphism. Thus the concrete observation map induces an injection on H1 for every such base.
Exercise 1.5 (Prove a composition criterion for repeated observations). Let secrets s=(s1,…,sd) and observations v=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 d separately private encoders preserve joint privacy for every joint secret prior. If instead a common uniform scalar mask is used for vi=si+k in a finite abelian group G, determine the exact joint leakage.
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 Ai(Si)⊆Bi(Ki) 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 Gd. The homomorphism v↦(v2−v1,…,vd−v1) 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)log2∣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 H1 is recorded in the Stacks Project, Tag 03AG. For principal bundles in an ∞-topos see Nikolaus, Schreiber and Stevenson, Principal ∞-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 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 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 aji, the change taking coordinates at i to coordinates at j. For the reversed edge set aij=aji−1. The product along i→j→k is akjaji. A flat labeling on K satisfies aki=akjaji 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=(hi)i∈V takes a labeling to (h⋅a)ji=hjajihi−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 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→G, all identities hold as identities on the test domain U. For a smooth map f:U′→U, the new measurements are the composites aji∘f.
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.
Classification by holonomy
Choose a root r and a spanning tree T of the edge graph. For each vertex i let ti be the transport along the unique simple tree path from r to i, with tr=1. Give each edge outside T one orientation. Its fundamental holonomy is Lji=tj−1ajiti. 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 ti to hitihr−1, so every Lji changes by the same conjugation hrLjihr−1. In particular, a numerical matrix for one loop depends on the root frame. The condition Lji=1 and the eigenvalues of a rotation matrix are invariant under conjugation.
Theorem 1.1 (Tree reduction in smooth families). Choose K,r,T as above. The action groupoid of flat edge labelings under GV is equivalent to the action groupoid Hom(π1(∣K∣,r),G)//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.
Proof. Apply the vertex change hi=ti−1 to each labeling. The result is 1 on every tree edge and is Lji 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=hi along every tree edge. Since the tree is connected, hi=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 ti−1. These isomorphisms are natural. Indeed, for an arrow h:a→b, the normalizing gauges satisfy ti(b)−1hi=hrti(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 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.
Theorem 1.2 (Exact calibration and identifiability). Suppose a connected graph has G-valued edge measurements with the reversal rule. A collection of frames xi∈G realizing aji=xjxi−1 exists exactly when every fundamental holonomy for a chosen spanning tree is 1. In that event all solutions are xi=tib with b∈G. Evaluation at the root is a diffeomorphism from the solution space to G. For a smooth family of realizable measurements the normalized solution xr=1 varies smoothly.
Proof. In a realization, transport from i to j along a walk telescopes to xjxi−1. This gives ti=xixr−1 and identity holonomies. Conversely, triviality of a fundamental holonomy gives aji=tjti−1. This also holds on each tree edge by the tree construction. Replacing each ti by tib preserves these equations. Conversely, for each solution b=xr and xi=tixr, so b is unique. Evaluation, multiplication, and the finite tree products are smooth, including when the inputs are plots. ◻
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.
Cycle constraints on a partially triangulated network
In Figure 1.1 use G=R/360Z, with degrees as the additive unit. The root A and tree AB,BC,CD give (tA,tB,tC,tD)=(0,12,35,25)∘. The chord A→C has zero residual, since 35−35=0. The chord A→D has residual 32−25=7 degrees. Around the opposite orientation A→C→D→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→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.
Gluing calibrations on overlapping subnetworks
Suppose two engineering teams model subcomplexes K1,K2 whose union is K. Every edge and every declared face lies in at least one of the subcomplexes. Write J=K1∩K2. An overlap can have several components. For a test domain U, let AU(K) be the groupoid of U-smooth families of flat labelings and U-smooth vertex gauges. The gluing data consist of objects a1,a2 and an isomorphism c:a1∣J→a2∣J. A morphism between such triples consists of two gauges f1,f2 satisfying f2∣Jc=c′f1∣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,jici. The vertical arrows are the coordinate changes ci,cj at the shared vertices.
Theorem 1.3 (Descent across a cut in the network). Restriction induces an equivalence, natural in U, AU(K)≃AU(K1)AU(J)×hAU(K2).
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), define a change of frame b on K2 to equal c−1 on the vertices of J and 1 on the other vertices of K2. Each vertex is a separate index, so these choices remain smooth on U. The transformed object b⋅a2 agrees exactly with a1 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. ◻
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×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 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.
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(aji,xjxi−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.
Theorem 1.4 (Cycle certificate and tree propagation). For every closed walk C of positive length k and every candidate set of frames x, e∈Cmaxd(aji,xjxi−1)≥k−1d(a(C),1). If reference frames y satisfy d(aji,yjyi−1)≤ϵe on each tree edge, the normalized tree estimate satisfies d(ti,yiyr−1)≤e∈[r,i]T∑ϵe. On a chord (i,j) the discrepancy for the tree estimate is exactly d(Lji,1).
Proof. Bi-invariance and the triangle inequality give d(ab,a′b′)≤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 aji and tjti−1 on the left by tj−1 and on the right by ti to obtain the chord identity. ◻
For the three edges of ACDA in Figure 1.1, the measured loop offset has magnitude 7 degrees. By Theorem 1.4 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.
Signed corrections for a calibration attaining the lower bound. Labels follow the directions in Figure 1.1. 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.
Exercises with solutions
Exercise 1.1 (Compute a reference change). With the data in Figure 1.1, change the local coordinate at C by +5∘ and leave the other frames fixed. Compute the three measurements incident to C and the loop offset around ACDA.
Solution. Adding hj−hi to an edge gives 28∘, 40∘, and −15∘ 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.
Exercise 1.2 (Reach a minimax lower bound). Construct frames on the four instruments whose maximum edge residual is exactly 7/3 degrees. Prove their optimality.
Solution. Normalize xA=0 and use degrees. Choose xC=35+7/3, xD=32−7/3, and xB=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 1.4. All five signed corrections appear in Figure 1.3.
Exercise 1.3 (Recover an isotropy group). Take G=S3 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.
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 S3, 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 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 P1,P2. For specified overlap changes cA,cC from team 1 to team 2, prove that the glued cycle can be calibrated exactly if and only if P2cA=cCP1. Given cA, show that exactly one cC 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−1P2cA because intermediate frame changes cancel. Follow the first path and return on the second. The loop product is (cC−1P2cA)−1P1. 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 1, which rearranges to the stated identity. Solving for the endpoint change gives cC=P2cAP1−1. Since multiplication and inversion in G are smooth, the unique solution depends smoothly on the parameters.
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 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+η, where E is equally likely to be 1 or −1, independent of the centered noise η=η1+iη2 with independent real coordinates of equal variance. The two measured complex moments are EY=c,w=E[(Y−c)2]=z2. Indeed the mixed term vanishes by centering and independence, and Eη2=E(η12−η22)+2iE(η1η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 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.
Theorem 1.1 (Identifiability of the unordered scene). On distinct positions, the unordered mixture parameters form a diffeological space diffeomorphic to C×C∗ through (c,z)↦(c,z2), where C∗=C∖{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↦−z. On any sufficiently small disk about w0=0, the roots can be written as ±exp(21logw) 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. ◻
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.
Path lifting and expected pointing error
Let the center be fixed at zero and set w(t)=ρ2exp(2πit) for t∈[0,1] and ρ>0. The complex moment completes one circuit about zero. For the light initially at +ρ, the position is z(t)=ρexp(πit) and the final position is −ρ. In the stationary experiment w(t)=ρ2 for all t and the same light remains at +ρ. At time one the full photon distributions in the two experiments are identical.
For ρ=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.
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 for unrestricted positions and 2ρ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 D computed from it and an independent random variable has the same distribution in both. Averaging ∣D−ρ∣2 and ∣D+ρ∣2 gives ∣D∣2+ρ2. Thus the unconstrained expected loss is at least ρ2, with equality at D=0. If D takes values in {−ρ,+ρ}, its squared magnitude is ρ2 for either output, so the expected loss is 2ρ2. Given the moment path and the initialized position, take the continuous square root starting at +ρ. 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 θ, the moments transform as (c,w)↦(eiθc,e2iθw). For a pointing rule D expressed in camera coordinates, equivariance requires D(eiθc,e2iθw)=eiθD(c,w). At c=0, a half-turn leaves (0,w) unchanged and exchanges the two positions. For w=0 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=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 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↦z equals 1/(2∣w∣).
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↦(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 z2=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. ◻
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∣, the derivative norm is 1/d (Figure 1.2). At a separation of 0.5 mm, a sufficiently small complex moment error of magnitude ϵ mm2 causes a first-order position error of 2ϵ mm on the initialized branch. At 2 mm separation the same moment error gives ϵ/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)=t2 on the real interval [−1,1], the displacements z(t)=t and z(t)=−∣t∣ are equal for t≤0 and have opposite signs for t>0. Their squares agree for all t.
Solved exercises
Exercise 1.1 (Calculation: moment decoding). Two lights are located at 2+i and −i. Find (c,w). Reconstruct their unordered positions.
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 ±(1+i), so {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∗ 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.
Solution. Choose a continuous argument θ(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) up to the initial sign. Closedness gives θ(1)−θ(0)=2π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.
Exercise 1.3 (Proof: a sampling rule for a tracker). Assume an exact, differentiable path with ∣w(t)∣≥δ>0 and ∣w˙(t)∣≤L, with L>0. Show that consecutive samples spaced by h<πδ/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/δ. Hence the net argument change between consecutive samples has magnitude strictly below π. It is uniquely the principal argument of w(t+h)/w(t). Multiply the previous root by the positive factor ∣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 e2πit/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→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 U are determined by their values at the points of U. For a diffeological space X, these sections are the plots of X.
A family of smooth maps X→Y is a plot if its evaluation U×X→Y is smooth. This makes C∞(X,Y) an internal hom.
An object of [M/G] over U consists of a G-torsor P→U and an equivariant map P→M. Arrows are isomorphisms of torsors that commute with the maps to M. A point represented by m has automorphism group Gm.
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 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.
For groupoids, an object of A×ChB 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.
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 BnA 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.
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.
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}