Abstract
We propose a high-dimensional generalisation of the standard Klein bottle extending beyond those considered previously. We address the problem of generating continuous scalar fields (distributions) and dynamical systems (flows) on such state spaces, which can provide a rich source of examples for future investigations. We consider a class of high-dimensional dynamical systems that model distributed information processing within the human cortex, which may be capable of exhibiting some Klein bottle symmetries. We deploy topological data analytic methods in order to analyse their resulting dynamical behaviour and suggesting future challenges.
1. Introduction
Data science typically presents observations (in the form of data) from some implied dynamical system of interest and demands that we character the underlying relevant processes and system behaviour. This includes differentiating one source from another, and other related questions regarding their observed state variables’ mutual dependencies and mutual information.
Here, we consider the problem of characterising finite dimensional manifolds that contain such attractors. The most basic problem is to consider a wide range of the possible finite dimensional manifolds which may be present. This leads us naturally to ask what kind of compact closed manifolds exist and whether we may recognise scalar fields (smooth distributions and potentials) or vector fields (flows) flows defined over them, respecting their inherent topologies.
For low-dimensional state spaces, there is a limited set of possible compact closed manifolds. In two dimensions, for example, we have the two-sphere, the two-torus, the Klein bottle and the real projective plane. In higher dimensions, these manifolds may generalise to other objects. Generalising spheres and tori is straightforward.
In this paper, we introduce a generalisation of the Klein bottle, extending beyond those given previously [1]. In k dimensions, this relies on a partition of independent coordinates into periodic coordinates that may be flipped or swapped (as if from moving clockwise to moving anticlockwise, for example) and active periodic components which cause the various flips (such that ).
By doing so, we access a wide range of compact closed manifolds over which we may define, or there may be discovered, dynamical systems.
We introduce an inverse problem in the form of the observation of a large-scale spiking system, including those carrying out information processing within the cortex of the human brain [2], where the dimension of the attractor may be estimated yet the topological nature of the attractor is elusive. Such problems may become common as high-throughput science enables the complete observation of such large-scale dynamical systems which appear to approach unknown attractors of relatively high dimension that require characterisation. Working from observed time series, such as the spike trains as here, requires an analytical pipeline. The very high state space dimension of such a complex system means that the dimension and topology of the manifold holding the attractor is essential in gaining an understanding of what is occurring and how the system responds to incoming stimuli.
The detailed and rigorous mathematical considerations are deferred to Appendices.
2. Generalised Klein Bottles
For and , we let denote an irreducible binary matrix.
We consider with independent coordinates, and , subject to the following set of symmetries:
where is a b-dependent automorphism defined by the Hadamard (elementwise) product
and extended to . So, depending on the parity of the ith term of the vector , the sign of the ith coordinate, , is either flipped (reflected) or else left unchanged.
The symmetries in (1) imply the quotient space is the cube, , with no boundaries and endowed locally with the Euclidean metric. We refer to the coordinates as toroidal coordinates, since they are 1-periodic. We refer to the coordinates as Klein coordinates since they are one-periodic and when incremented by one they also flip, or reflect, some of the toroidal coordinates (those for which ). The result is a generalised Klein bottle, which we denote by .
B specifies a bipartite graph indicating which of the toroidal coordinates are flipped by which of the Klein coordinates; see Figure 1. The adjacency matrix, A, for the associated bipartite graph is given in block matrix form by
Since we have assumed B is irreducible, the corresponding bipartite graph cannot be decomposed into disjoint connected graphs. Necessarily, every Klein coordinate flips at least one toroidal coordinate, and every toroidal coordinate is flipped by at least one Klein coordinate (for if this were not the case, any marooned coordinates could be discarded).
Figure 1.
Left: Space is specified by a bipartite graph indicating which of the toroidal coordinates is flipped by which of the Klein coordinates. It must be strongly connected (irreducible). Centre: as defined in [1] (with only one possibility for B). Right: (again with only one possibility for B).
If , then we have the standard Klein bottle ( in that case), a closed non-orientable two-dimensional surface. If , then the -dimensional torus. For spaces , for , there is but one valid choice of bipartite graph, B. Those spaces are distinct from the Klein bottle generalisations previously considered in [1] (and its descendants), which are , for some , where again there is but one valid choice for B; see Figure 1.
When two Klein variables only affect the same toroidal variable, there is a hidden torus. We let denote the unit vectors in the direction of the ith Klein coordinate in . We consider, for example, for . For any distinct pair of the n Klein coordinate symmetries, we say those in and (where without loss of generality ), we deduce
Hence, there is a two-dimensional torus, with coordinate directions , and periodicities , within the -subspace of .
An inference of the this type is true more generally within , provided that the subsets of the toroidal coordinates that are flipped by each of a pair and (and hence the i and jth columns of B) are identical. Such a situation might occur in scenarios where there is some symmetry within the application, meaning that some of that state variables which are represented by Klein coordinates are permutable (exchangeable) and thus may cause similar effects (transformations of finite order) on a common subset of the toroidal coordinates. More generally, this type of hidden symmetry is a consequence of the dimension of the range of B, spanned by its columns, and is strictly less than .
3. More Symmetries
For the general case of , we rewrite this to consider (since only parity of the elements of B matter), and also set , extended to be defined on , via matrix multiplication
where we introduce the diagonal matrix (containing diagonal elements in ) given by
Then, (as before).
So far is subordinate to the choice of B. Yet it might be generalised further.
We consider a group automorphism whose image subgroup in is of finite order. The automorphism group is the general linear group ; that is, the group of matrices with integer entries and determinant . The image of is an abelian subgroup of , and the homomorphism can be represented by picking matrices that commute with each other:
In the diagonal special case for (4), given by (2) and (3) and leading to the space , we have
where each is a diagonal matrix with a sequence of s down the diagonal. Equation (5) represents the natural factorisation of as given in (3).
We let denote the space defined by modulo the following equivalence relation: for any pair of integers ,
This equivalence relation is in fact the quotient of by action of the semi-direct product , on which multiplication is given by
The group acts on in the following manner:
One can easily verify this action is compatible with the group multiplication ⋄.
We make some observations about the group action. The action is free: if and only if , the identity element in G. Furthermore, because any non-identity element of G changes in the coordinates of by a non-zero, integer amount, the action is a covering space action on , and the covering of of is a regular covering.
Example 1.
We give an example where the image of φ in (4) is not the subgroup of diagonal matrices. For and , we can have the following homomorphism: , where
The action of on is then given by
We note that in this case the parity of b controls whether the and coordinates are swapped (i.e., a reflection across the diagonal of the first two components), whereas previously it controlled the reflection of one or more component coordinates.
3.1. Reduction of Symmetries
Since the equivalence relations on are due to a quotient by a group action, it suffices to write down the equivalence relations generated by the generators of the group, as they imply all of the other equivalence relations. Since the group is generated by the set where s and s are unit coordinate vectors in and , respectively, we can express the equivalence relations in Equation (6) as follows: for all ,
We can also choose the set of generators to be those that generate the kernel and co-image of . We consider in particular the diagonal case Equation (3), where
Regardless of the choice of B, if , then . We now analyse how the choice of B affects the action. Since as well, we can trivially write
In other words, we regard the binary matrix B as a linear transformation of -vector spaces. The image of are -dimensional diagonal matrices with entries. The set of such matrices forms a subgroup of isomorphic to . The isomorphism is given by
Thus, we can express as the composition that factors through
The kernel consists of even integers and integers (mod 2) in the kernel of B; the image of is isomorphic to the image of B in . Computationally, the basis vectors of the kernel and image of B can be easily inferred by performing Gaussian elimination on matrices derived from B over the field . We let be the rank of B, and suppose columns of B form a basis for the image of B. We can express the equivalence relations as
We note that c is a vector in , realised as a real vector with entries in . The first two symmetry conditions is a toroidal symmetry on the whole space. The latter two equivalence relations can be expressed as a action on the torus obtained by imposing the first two equivalence relations on . We expound on this point of view in Appendix A.
Example 2.
We consider the full coupling case, where B is the binary matrix with entries all equal to one. The kernel of B is spanned by -vectors
and the image of B is simply vector . Thus, the equivalence relations are generated by
3.2. Functions on Klein Bottles
We can specify scalar functions on uniquely with functions that satisfy condition
for all . Because is a quotient of , any function admits a lift to a function on the covering space. Alternatively, since is the orbit space of the group action of on , any function F that is constant on the orbits descends to function f on , such that .
We begin by demonstrating a simple, practical method of construction for a wide range of functions, F, with the desired properties.
We consider , as before. Suppose that we for each have two non-negative smooth functions, and , defined for , such that
and if , then and exchange their values each time is incremented by one. Clearly, and must be two-periodic in all arguments.
Then, for , we have
We consider the following ansatz:
Here, the , for , are arbitrary smooth one-periodic functions, and the pair and switch, or interpolate, the corresponding term in the product between and its flipped form as the s are incremented. Hence, being a constant along orbit, descends to a function defined on . It is separable, and such that, at , we have
The switching functions, , and , depend on B and may be defined as follows. First, we consider and define function depending on the ith row of B:
This product of the sum expression for may be expanded out as a sum of product terms, with each term containing a product of exactly factors. Then, we define to be the sum of all the positive terms within that sum (those terms having an even number of negative factors each of the form for which ), and to be the sum of all the negative terms within that sum (those terms having an odd number of negative factors each of the form for which ). Then, by definition, , and are two-periodic in all of their arguments, and we have
expressing as the difference between two non-negative continuous functions, where and .
Note that we may also write
Hence, when each of the s for which are independently incremented by one, must change sign, and consequently and must exchange their values. The pair thus subsumes the Klein symmetries of .
Defined in this way or otherwise, the pair and implies that function F, given by the ansatz in (18), descends to a scalar field on , as required.
In Appendix A, we consider the necessary and sufficient conditions for scalar fields satisfying the symmetry condition and derive a Fourier basis for such scalar fields. The condition is expressed as F being in the kernel of a linear operator on scalar fields, which we describe in Equation (A6). This operator can be interpreted as a graph Laplacian; the technical details are briefly summarised in Remark A3.
Using the Fourier transform (which is natural given the periodicities), the symmetry requirements imposed on F imply constraints on the Fourier coefficients of F. These constraints are expressed, once again, linearly: the coefficients are in the kernel of operator on the vector space of Fourier coefficients, which is dual to (Equation (A7)). By taking the inverse Fourier transform on coefficients in the kernel of , we can find a Fourier basis for scalar functions that satisfy the symmetry constraints.
Example 3.
We plot some Fourier modes of scalar fields on the standard Klein bottle in Figure 2 as an illustration. These are formed by linear combinations of Fourier basis functions of the form
These are derived in Example A4 in Appendix A. We can verify that these functions satisfy the symmetry conditions: for integers , if ζ is even,
On the other hand, if ζ is odd,
The calculations in Example A4 show that these functions form a basis for any function admitting a Fourier transform while satisfying the symmetry conditions for the Klein bottle.
Figure 2.
Examples of two scalar fields on the standard Klein bottle . The Klein bottle is illustrated here as a unit square domain where the top and bottom sides are identified with opposite orientation, and the left and right hand sides are identified with the same orientation. The scalar fields are written as linear combinations of Fourier bases functions compatible with the group action on that has the Klein bottle as the quotient. The heat maps of these functions are coloured such that white indicates where the function is zero; the colour scale from red to white then blue moves from positive to negative.
3.3. Vector Fields on Klein Bottles
In this section, we offer a parameterisation for continuous vector fields on the Klein bottle, . Unlike Euclidean space, where vector fields can be expressed by any smooth maps to , on a Klein bottle we can transport a local coordinate frame around one of the non-contractible loops of that flips it. In concrete terms, the non-orientability prevents us from expressing vectors at different points on with a consistently defined set of global coordinates: we require a flip. In contrast, on the flat torus we can indeed parallel transport a local coordinate frame from one point to any other point and express vectors at different locations with the a coordinate system that is periodic in each toroidal coordinate.
However, we can lift (pull back) vectors on the Klein bottle to its universal covering space where we have a global coordinate frame. By matching the origin of and the coordinate system to the local coordinate system of a point in , the explicit coordinate expression of the vector field lifted in should reflect the change in the orientation of the coordinate system in . We derive the following symmetry condition on lifted vector fields in Appendix B. Writing the lifted vector field V in components where and , we have, for ,
We begin by demonstrating this possibility via a simplifying ansatz (that subsumes the required Klein symmetries above). We provide a more exhaustive and abstract approach in Appendix B.
First, we consider and let and be defined as before, in Section 3.2.
Then, we consider the following ansatz:
for
for
The form in (21) allows for any of the -coordinate dependencies of to be reversed by suitably incrementing the appropriate y-coordinates, and it also induces a change in sign in whenever is reversed. The form in (22) allows for the -coordinate dependencies of to be reversed by suitably incrementing the appropriate y-coordinates.
The vector field given in (21) and (22) respects the appropriate symmetries for , which are inherited from the fact of the swapping of and values as appropriate coordinates are incremented by one. Hence, it defines a separable vector field over .
We can, of course, linearly combine similar separable fields to obtain more general flows on . This ansatz establishes existence and provides an accessible way to generate fields.
In Figure 3 and Figure 4, we depict the streamlines for two example flows that were generated in this manner, on and , respectively.
Figure 3.
(Left): Streamlines for an example flow on , the standard Klein bottle, with a saddle point and stable focus. (Right): The same flow showing the Klein bottle symmetries on an extended part of the plane, : the flow is 1-periodic in the toroidal coordinate, x, and 2-periodic in the Klein coordinate, y, due to the flip symmetry. Streamlines coloured by norm of the vector field (light blue/fast through yellow then orange then purple/slow).
Figure 4.
(Left): Streamlines for an example flow on , with one toroidal and two Klein coordinates, containing a vortex filament. (Right): the same flow showing the symmetries on an extended volume, : The flow is 1-periodic in the toroidal coordinate, x, and 2-period in both Klein coordinates, and , due to the flip symmetries. Streamlines coloured by norm of the vector field (light blue/fast, through yellow then orange then purple/slow).
In Appendix B, we find a Fourier basis for vector fields on . Similar to the approach in Appendix A, we first formulate the symmetry condition as being in the kernel of an operator on the vector space of vector fields. This correspondingly induces a constraint on the Fourier coefficients of the vector fields, expressed as being in the kernel of the dual of the aforementioned operator. We present an example of a vector field on the standard Klein bottle in Figure 5, constructed on a Fourier basis.
Figure 5.
An example of a vector field on the Klein bottle, illustrated here as a unit square domain where the top and bottom sides are identified with opposite orientation, and the left and right hand are identified with the same orientation. Here, , and . Note that vectors on the top and bottom edges of the square which are identified with opposite orientation have an extra flip in the x-coordinate of the vector field, reflecting the fact that the Klein bottle is not orientable. The colour scale indicates the magnitude of the vector field, increasing from blue (zero) to green.
4. A Challenge: Spiking Dynamical Systems Modelling Neural Columns
Here, we discuss an application of dynamical systems with attractors set within compact manifolds having topological structures that need to be determined. This raises a number of challenges.
Human brains have evolved both architectures and dynamics to enable effective information processing with around neurons. These spiking dynamical systems (SDSs) represent challenges of large-scale state spaces containing many possible cyclic interactions between neurons. Such brains exhibit a directed network-of-networks architecture, with the inner, densely connected, networks of neurons called neural columns (see [3] and the references therein). Near-neighbouring neural columns have relatively sparse directed connections compared to the outer network (between pairs of neurons, one from each).
Following [4] (and subsequent very large-scale simulations [5]), we consider the dynamics of information processing within SDSs representing neural columns, with nodes representing the neurons. Each node is both excitable and refractory: if the node is in its ready state when it receives an incoming spike, from an upstream neighbour, then it instantaneously fires and emits an outgoing signal spike along the directed edges to each of its downstream neighbours, which takes a small time to arrive. Once it fires, there must be a short refractory period whilst the node recovers its local chemical equilibrium. During this time, it cannot re-fire and just ignores any further incoming spike signals. Once the refractory period is complete, the node returns to the ready state. The refractory time period prevents arbitrarily fast bursting (rapid repeat firing) phenomena.
We consider sparse directed networks that are irreducible, so that all nodes may be influenced by all others. The whole network should exhibit a relatively small diameter. We set an appropriate set of transit times for each directed edge, independently and identically drawn from a uniform distribution, and a common refractory period time, , for all nodes. Then, the whole SDS may be kick-started with a single spike at at a particular node, while all other nodes begin in their ready resting state. The dynamic results in a firing sequence for each node: a list of firing times at which that node instantaneously spikes. The SDS begins to chatter amongst itself and, after a burn-in period, it settles down to some very long-term pattern (see [6] for an observed instance). It is deterministic and possibly chaotic: see Figure 6 and Figure 7 for typical examples.
Figure 6.
(Left): An adjacency matrix for a directed graph on nodes, with density ≈ 2.525% and network diameter 8. (Right): The successive inter-spike intervals (ISIs) at a single node. After a burn-in period of around 1500 spikes, the whole settles down to a long periodic orbit (with 267 successive ISIs) possibly containing many quasi-periodic features due to cycles within the network. Here, the edge transit times are independent and identically distributed random variables in and .
Figure 7.
(Left): An adjacency matrix for a directed graph on nodes, with density ≈ 1.010% and network diameter 7. (Right): The successive inter-spike intervals (ISIs) at a single node, after a burn-in period of around 3500 spikes the whole settles down to quasi-periodic (possibly chaotic) behaviour, with no long period observed, containing many quasi-periodic features due to cycles within the network. The edge transit times are independent and identically distributed random variables in and .
Since the network is irreducible, we cannot consider sub-networks of the nodes; and not all independent walks from one specific node to another may be viable: two such walks may result in spike arrival times less that apart, with the latter one ignored. However, the irredicibility does mean that in order to examine the dynamical behaviour of the whole system, it is enough to examine a single node. Furthermore, as the spikes are instantaneous, it is conventional within spike sequence analysis to examine the corresponding sequence of successive inter-spike intervals (ISIs) [6]. By definition, these are real and are bounded below by . The SDS model timescale is arbitrary: results depend only on the size of relative to the range of the independent and identically distributed random variable edge transit time.
The SDS examples in Figure 6 and Figure 7 illustrate these features. The ISI sequences suggest dynamics within a bounded attractor, that lies within some manifold, , say, of unknown dimension and topology. Generalised Klein bottles and tori are candidates for .
We embed the observed ISI sequence as a point cloud within by discarding the ISI burn-in and moving a window of length L successively along the sequence. Then, we estimate the dimension, , of the curved manifold, , on which that point cloud lives, from the set of all pairwise distances between points within the cloud via the 2NN (two nearest neighbour) method [7]. For a small L, the point cloud (and ) merely fills up the available dimensions, so . As L increases further, we have estimates .
Considering a post burn-in ISI sequence of length 1900 from the example given in Figure 7, we need to take to avoid any duplicate points from windows along the sequence (which we know to be non-periodic). For lower values of L, we remove any duplicates from the point cloud (which otherwise interfere with the 2NN algorithm).
We apply this method to the post burn-in ISI sequence, of length 1900, given in Figure 7 in Figure 8 (Left, Green). This suggests dimension, , of 5 to 7 at the first obvious plateau, embedded in to 11 dimensions. If L is increased further, then increases rather slowly as the attractor fills in somewhat. For comparison, we show the result for the 267-periodic case given in Figure 6 (left, red) where, necessarily, we have 267 windowed points. This suggests a dimension, , between four and six.
Figure 8.
(Left): Plot of versus L using the 2NN method applied to the moving windows of length L, taken from a post burn-in ISI sequence. Green: from a sequence of 1900 points from the non-periodic SDS given in Figure 7. Red: from a sequence of 267 points from the 267-periodic SDS given in Figure 6. (Right): A persistent homology analysis for the point cloud representing the (post-burn-in) 267-periodic SDS given in Figure 6, for , using the Rips filtration (based on pairwise distances between the points). Red points show the () features of connected components as the filtration scale increases, while green points show the () features corresponding to distinct rings around holes through the cloud: such features close to the diagonal are non-persistent and represent sampling noise.
It is clear that this class of SDSs gives rise to highish dimensional compact attractors. What is required is a pipeline that begins from a suitable embedding of the post-burn-in ISIs into some (just as above, which determined the dimension, , of the manifold, , containing the attractor), followed by a computational method (most likely based on persistent homology) that can determine (a) the main topological features of the manifold containing the point cloud, and subsequently (much more challenging) (b) the topological symmetries that can differentiate between various generalised Klein bottles of given dimensions ().
Following Figure 8 (left) and embedding the 267-periodic ISI from Figure 6 into dimensions (whence the estimate ), a persistent homology (PH) analysis is shown in Figure 8 (right). It is somewhat inconclusive, possibly due to the variations in the localised cloud density. This issue is the subject of active research.
It is this characterisation of the SDS’s unknown attracting manifolds that drives the permissive generalisation of Klein bottles presented in this paper. This is the subject of active ongoing research.
5. Discussion
In this paper, we introduced a generalisation of the standard Klein bottle to higher dimensions, beyond those previously considered. We focused on a subclass where the automorphisms are diagonal, inducing flips (reflections) of some independent coordinates.
For all such Klein bottles, we produced both a simple (practical) method and a rigorous argument for the definition of scalar fields (such as smooth probability distributions and potentials) as well as vector fields (flows) that are well defined. These constructions are useful when we wish to consider winding flows over Klein bottles and possibly couple them together.
This class of Klein bottles can be extended to include automorphisms that induce swaps (permutations) between toroidal coordinates (diagonal reflections rather than individual coordinate reflections). In future work, we will extend this approach to consider an even wider class of compact manifolds without boundaries, including real projective geometries, for which there is not a partition of coordinates into Klein variables (controlling the automorphisms), and toroidal variables (acted on by the automorphisms). Since spheres are the universal covering spaces of projective spaces, we would consider lifts of vector fields on the projective plane to its universal covering sphere to parametrise them and express their Fourier basis with spherical harmonics that respect the required symmetries.
Finally, we set out a challenging application where high-dimensional spiking dynamical systems result in attractors over unknown compact manifolds which require characterisation. This is highly problematic when the dimension of such spiking systems is very large and the resulting ISI sequences have to be embedded within a suitable space. The identification of the dimension and the topological properties of resultant attractor manifolds is both a theoretical and a computational challenge.
Author Contributions
All authors have contributed to the conceptualization, derivations, analysis, numerical simulations and analysis, writing the original draft, reviewing and editing. All authors have read and agreed to the published version of the manuscript.
Funding
PG was funded by EPSRC grant number EP/Y007484/1. KMY is supported by a UKRI Future Leaders Fellowship [grant number MR/W01176X/1; PI: J. Harvey]. For the purpose of open access, the authors have applied a CC BY public copyright licence to any Author Accepted Manuscript version arising from this submission.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Acknowledgments
We are pleased to acknowledge the advice received from Clive E. Bowman and Des J. Higham. KMY thanks John Harvey for his mentorship.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Fourier Modes of Scalar Fields on Klein Bottles
We recall the Klein group action on described above. Given homomorphism , we have the action of group on , where for and ,
Note that the action of G on is a covering space action—for any element not equal to identity , the action shifts at least one coordinate by an integer, so there is a sufficiently small neighbourhood U of any point such that for .
If for all , then is a normal subgroup of . Thus, we can factor the quotient of by G into two successive quotients:
The first quotient is the quotient of by the action of subgroup on , where due to ,
Thus, is diffeomorphic to the n-torus where the aspect ratio of any of the first coordinates to the last coordinates is 1:2. Because the action of G on is a covering space action and H is a normal subgroup, the quotient is a covering obtained by the quotient of by a covering space action of group on . Writing elements of as , the action of element on such an element is given by
If we consider functions , they lift to a function on the torus , defined by function sending elements of to K by q and evaluating f on the image of those points. The lifted function is called the pull back of f. Since q is surjective, is an injection of -valued functions on K into those of . Function is the lift of some function on K, if for every , function h is constant on , that is, the orbit of a representative
We invoke Lemma A2, which implies h satisfies the symmetry above if it is in the kernel of a linear operator on the vector space of of complex valued functions on , where
If h admits a Fourier transform, then h satisfies the symmetry if the Fourier coefficients of h are in the kernel of linear operator
This is a consequence of Lemma A1. We further remark that while is an operator on an infinite dimensional space, it can be expressed as a direct sum of countably many finite dimensional operators (Remark A2).
We offer some examples below.
Example A1
(The standard Klein bottle). The standard Klein bottle has . The induced homomorphism is given by . The dual operator , Equation (A7), is given by
The kernel is given by
In other words, admits a basis of indicator functions on ,
Taking the inverse Fourier transform of these basis functions, we obtain the Fourier basis of functions lifted from the Klein bottle to the torus,
We can verify that these basis functions are invariant under action .
Example A2
(Transpose and Flip). We take , and set to be the following homomorphism expressed in matrix form as
We let denote the Fourier variables. Let us consider Fourier coefficients with . We also restrict to the subspace of coefficients where . Setting as a shorthand, the dual operator acts on the the vector of coefficients by the following matrix:
The blocks correspond to λ’s in on the same orbit of the the action of automorphisms on :
The orbits are illustrated in Figure A1.
Figure A1.
The orbits (labelled orange) of the action of automorphisms of , parametrised by Equation (A14), on .
Figure A1.
The orbits (labelled orange) of the action of automorphisms of , parametrised by Equation (A14), on .

We can then compute the kernel of on the subspace of coefficients, which is two-dimensional in a subspace of Dimension 9, and admits an orthogonal basis
Taking the inverse Fourier transform of the basis vectors above, we obtain a basis for the kernel of restricted to these Fourier modes :
We can then check that these are a basis for the functions that are invariant under the automorphisms restricted to the Fourier modes above.
Example A3
(Double Flip). We consider the generalised Klein bottle , where B Set , to be the following homomorphism expressed in matrix form as
As with the example above, let us restrict to Fourier modes with , and . Repeating the same procedure, we obtain a basis for the kernel of restricted to these Fourier modes:
We can then check that these are a basis for the functions that are invariant under the automorphisms restricted to the Fourier modes above.
Appendix B. Fourier Modes of Vector Fields on Klein Bottles
We now apply the same treatment to vector fields. We first consider local coordinate transformations along orbits of the group action on . Note that the tangent bundle of the torus is simply a trivial bundle , and vectors can be parallel translated around as in Euclidean space since we are working with the flat torus. This allows us to fix a global Euclidean coordinate frame across all of the tangent spaces in the tangent bundle and write vector fields as function .
We now consider how our -group action on induces a group action on . We recall that diffeomorphisms between smooth manifolds induce diffeomorphisms between their respective tangent bundles. We recall the -action is a subgroup of the group of diffeomorphism of . Action induces a transformation that sends vector to vector . Since vectors transform via matrix multiplication by the Jacobian, and is the Jacobian of the transformation, we have
Note that . Vector field V on the torus is invariant with respect to our group action, if for all ,
We can express any vector field on as a vector field on satisfying Equation (A21), and any vector field on satisfying Equation (A21) represents a vector field on . We recall is a local diffeomorphism. For and , we can choose a sufficiently small neighbourhood U of z such that . Because q is a smooth covering, the restriction is a diffeomorphism, and induces isomorphisms of vector fields defined on U and . Because the group action sends U diffeomorphically to all other disjoint copies in , any vector field defined on pulls back to a vector field on , satisfying Equation (A21); conversely, any vector field on U satisfying Equation (A21) pushes forward to a well-defined vector field on . Because this holds on every element of a sufficiently fine open cover of , we deduce that any vector field W on pulls back to a vector field on , satisfying Equation (A21), and any vector field V on satisfying Equation (A21) pushes forward to a vector field on ; we also note that if W can be pulled back, then ; and similarly, if V can be pushed forward, then .
Applying Lemma A2, vector field satisfies Equation (A21) if it is in the kernel of operator
Writing where and , condition can be rewritten as follows, since is block diagonal:
Note that the condition on each Y coordinate is simply the scalar field condition. We focus on the X coordinates of the vector field. If X admits a Fourier transform, then Lemma A1 implies the Fourier coefficients are given by the kernel of the following operator:
Example A4
(The standard Klein bottle). For the Klein bottle , the operator (Equation (A25)) on the Fourier coefficient of the X component of the vector field V is
By solving for the kernel of , the X component admits a Fourier basis,
Because the Y coordinate satisfies the same constraints as the scalar field case,
Thus, vector fields on with the following Fourier series pushes forward to a vector field on the Klein bottle :
Appendix C. Technical Lemmas for Group Actions and Symmetries
We consider the group of affine transformations on . For and an invertible matrix, we have an affine action on given by
The affine group is a semi-direct product , where
We can check that this is the choice of product structure such that it is compatible with the composition of affine transformations, satisfying
Suppose we restrict to a subgroup of affine transformations, parametrised over another group G. In other words, we have a group homomorphism , which we write as
where and are functions. The group homomorphism condition on enforces that A is a group homomorphism. As for b, since
unless A maps every element of G to the identity matrix, b is notably not a homomorphism.
Remark A1.
In the case of the generalised Klein bottle, we consider to be the semi-direct product between and , specified by . Writing an element of G as where , and , we set where and simply embeds the integer tuple as real coordinates. Thus,
Since these relations hold for arbitrary , we conclude that , . Thus,
Lemma A1.
We let be an n-torus equipped with a G-action, where G is a finite group and acts on by transformation
where is a homomorphism, and satisfies
so that the above transformation is a group action. We consider the dual operator of in Equation (A44), defined via
Then, is explicitly given on , by
Proof.
We consider .
where we have the last equality due to linearity. Thus,
Applying the on both sides,
□
Remark A2.
Operator in Equation (A42) is block diagonal: partitioning into the space of orbits under the induced group action on the dual Fourier space,
and writing as a direct sum over the finite dimensional subspaces , operator can be written as a direct sum of finite dimensional matrices on each subspace .
Lemma A2.
We let X be a set equipped with a G-action, where G is a finite group. We also consider to be a group homomorphism, such that . Then, function satisfies for all , if it is in the kernel of the following linear operator on -valued functions on X:
Proof.
We suppose . Then,
Thus, , i.e., .
Conversely, if , then for all ,
□
Remark A3.
If , then operator in Equation (A44) can be interpreted as a graph Laplacian. For each orbit , we construct a multigraph where the vertex set consists of the . For each group element , we attach an edge between every and such that . Edges can thus be unambigously indexed by . While this graph is presented here as a purely combinatorial construction, we note that this graph can be viewed as a categorical object called the action groupoid [8]. The coboundary operator d of the multigraph (interpreted as a cellular complex) sends vertex functions to an edge-valued function. Since the graph is complete, for any edge , the image of the coboundary operator evaluated at that edge is . Vertex functions in the kernel of the coboundary operator corresponds to functions that satisfy . Since the Laplacian is defined as , we leave it as an exercise for the reader to verify that the Laplacian is proportional to in Equation (A44) up to a constant.
In the more general case where is unitary for all g, operator can be interpreted as a cellular sheaf graph Laplacian [9], following a similar construction.
References
- Davis, D.M. An n-dimensional Klein bottle. Proc. R. Soc. Edinb. Sect. A Math. 2019, 149, 1207–1221. [Google Scholar] [CrossRef]
- Yamazaki, K.; Vo-Ho, V.K.; Bulsara, D.; Le, N. Spiking Neural Networks and Their Applications: A Review. Brain Sci. 2022, 12, 863. [Google Scholar] [CrossRef] [PubMed]
- Grindrod, P. On human consciousness: A mathematical perspective. Netw. Neurosci. 2018, 2, 23–40. [Google Scholar] [CrossRef] [PubMed]
- Grindrod, P.; Lee, T.E. On strongly connected networks with excitable-refractory dynamics and delayed coupling. R. Soc. Open Sci. 2017, 4, 160912. [Google Scholar] [CrossRef] [PubMed]
- Grindrod, P.; Lester, C. Cortex-Like Complex Systems: What Occurs Within? Front. Appl. Math. Stat. 2021, 7, 627236. [Google Scholar] [CrossRef]
- Taube, J.S. Interspike Interval Analyses Reveal Irregular Firing Patterns at Short, But Not Long, Intervals in Rat Head Direction Cells. J. Neurophysiol. 2010, 104, 1635–1648. [Google Scholar] [CrossRef] [PubMed]
- Facco, E.; d’Errico, M.; Rodriguez, A.; Laio, A. Estimating the intrinsic dimension of datasets by a minimal neighborhood information. Sci. Rep. 2017, 7, 12140. [Google Scholar] [CrossRef] [PubMed]
- Brown, R. From groups to groupoids: A brief survey. Bull. Lond. Math. Soc 1987, 19, 113–134. [Google Scholar] [CrossRef]
- Hansen, J.; Ghrist, R. Toward a spectral theory of cellular sheaves. J. Appl. Comput. Topol. 2019, 3, 315–358. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).







