First realize the free isometric action. Choose generators of the finitely presented group . In every dimension , the connected sum
has fundamental group the free group . Map its generators onto the and take the connected regular covering corresponding to the kernel. Its deck transformation group is . Lift any Riemannian metric on to . Deck transformations are then Riemannian isometries, and a deck transformation fixing one point is the identity by uniqueness of lifts. This gives the free isometric realization of a finitely generated group. For the trivial group use . If is infinite the covering manifold need not be compact, which is allowed in this first construction. Simple connectivity of is not being asserted here.
The requested nonhomeomorphism conclusion needs an extra hypothesis. For a counterexample even with distinct subgroups, take , and . They are conjugate and therefore Gassman equivalent. For every free isometric action of , the conjugating element induces a Riemannian isometry . These quotients cannot be nonhomeomorphic. Identical subgroups give an even simpler obstruction. Thus the stated equivalence condition alone cannot imply the claimed topology.
A sufficient version is: for a finite with Gassmann equivalent, nonisomorphic subgroups , there are closed isospectral manifolds with fundamental groups , and hence they are not homeomorphic. To prove it, realize as the fundamental group of a closed smooth manifold of dimension four. Here is the needed closed-manifold realization of a finitely presented fundamental group. Start with a four-dimensional zero-handle and one one-handle for each generator. Attach two-handles along disjoint embedded boundary circles representing the relators, with arbitrary framings. The boundary is three-dimensional, so finitely many such loops can be chosen disjoint. The resulting compact handle manifold has by the Seifert-van Kampen theorem.
The inclusion is surjective on fundamental groups: relative to the boundary the dual handle decomposition uses only handles of indices two, three and four, none of which introduces a fundamental-group generator. Double along its boundary. In the amalgamated product for the double, both boundary maps are the same surjection onto , so the two copies of are identified completely and . The double is closed, connected and smooth after smoothing its collar. This construction works in any dimension at least four; it does not claim that every finitely presented group is a closed three-manifold group.
Let now be the universal cover of with the lifted metric. Since is finite, is compact and simply connected, with a free isometric deck action of . By Sunada theorem, are isospectral. Because is their universal cover, . Nonisomorphic fundamental groups rule out a homeomorphism. For an infinite the same qualified argument applies to finite-index subgroups with equal coset characters: divide first by the intersection of their finite-index subgroup cores, producing a compact intermediate cover and a finite isometry group to which Sunada applies.
For explicit nonhomeomorphic examples, let be an odd prime. Let , and let be the Heisenberg group over a prime field, whose elements are triples with multiplication
Both have order , and every nonidentity element has order . For , induction gives
so the assertion follows at , since is odd. But is abelian and is not: and do not commute.
Embed both groups regularly in . Every nonidentity element in either regular representation has cycle type . Hence both embedded subgroups meet the identity class once, the class of that cycle type times, and all other classes zero times. They are nonisomorphic Gassmann equivalent regular subgroups. Taking and using the closed four-manifold construction with gives an explicit pair of isospectral nonhomeomorphic quotients, completing the intended construction under a sufficient hypothesis.
Finally choose distinct odd primes and take
Conjugacy classes in a direct product are products of classes, so their intersection counts factor. Thus all subgroups are Gassmann equivalent. They are pairwise nonisomorphic: the unique Sylow -subgroup of is its th factor, and whether it is abelian records . Realize as the fundamental group of a closed four-manifold and quotient its universal cover by these subgroups. The binary family of nonhomeomorphic Sunada quotients gives
This existence statement is valid; the earlier universal nonhomeomorphism assertion from Gassmann equivalence alone is not.
Let , and . Cut the Riemann sphere along arcs joining three marked points, say , so the complement is simply connected. Take copies labeled by the elements of and glue the slit banks with monodromies given by left multiplication by . The product relation ensures consistency. The surface is connected because generate . At a puncture with monodromy order , fill each cycle using the local complex coordinate ; use the analogous charts at the other two punctures. This constructs the three-branch-point regular surface cover .
Right multiplication by inverses defines a left action of , commutes with the monodromy gluing and extends holomorphically over the filled points. Average a compatible metric over this finite group to obtain a metric for which acts by Riemannian isometries. When the genus is at least two, the unique compatible curvature-minus-one metric from the uniformization theorem is an invariant choice. Away from the three marked fibers the action is free. The nontrivial stabilizer subgroups are the conjugates of , and , of orders , omitting order-one groups.
There are , , points over the corresponding branch points. The Riemann-Hurwitz formula gives
This construction also covers the spherical and toroidal cases. If one monodromy has order one it is simply an unbranched marked fiber, with no nontrivial stabilizer.
For the supplied coset actions, faithfulness gives . Compose permutations with the rightmost factor acting first. The two products have cycle decompositions
Thus . The index is twelve and each subgroup has order eight, so . Consequently
All cycles of on each coset set have the full orders . No nontrivial power of any of these branch monodromies fixes a coset. The fixed-coset criterion means that each has trivial intersection with every conjugate of each cyclic branch stabilizer. Since these are all stabilizers on , both act freely. Their quotient surfaces are therefore smooth closed surfaces, not cone-point orbifolds. Sunada theorem supplies isospectrality, and the unbranched Euler characteristic formula gives
Choose the hyperbolic metric for these surfaces and their common genus-nine cover.
In this natural construction the two genus-two surfaces are isometric, by an orientation-reversing map. Define the sheet permutation
Direct composition verifies
Complex conjugation of the base sphere fixes its three real branch points and reverses the two chosen generating loops, so their monodromies become the inverses. These identities supply a lift, after relabeling sheets by , to an anticonformal map between the two branched covers. It extends across the branch points by the local power charts. An anticonformal map between closed hyperbolic Riemann surfaces is a Riemannian isometry, by uniqueness of the compatible hyperbolic metric.
Equivalently, take the hyperbolic triangle group of signature . Reflection in the side joining the two order-three vertices conjugates its two vertex rotations to their inverses. The displayed sheet permutation identifies the reflected subgroup for the first covering with the subgroup for the second, up to an irrelevant change of base sheet. This is the orientation-reversing equivalence of branched-cover monodromy. The exhibited isometry is anticonformal, so the conclusion is about Riemannian isometry, without asserting that this map is holomorphic. Merely knowing the subgroups were almost conjugate would not have settled isometry; the explicit inverse-monodromy symmetry does. Nor does the data force this symmetry for every arbitrarily chosen invariant deformation of the cover's metric: it is present for the constructed hyperbolic metric.
Cyclic periodicity on implies that the least positive period divides : the shifts preserving the function form a subgroup of the cyclic group. Injectivity within one period says that distinct residue classes modulo have distinct function values. Write .
Prepare the uniform superposition state by applying the quantum Fourier transform to , and evaluate reversibly into a second quantum register. This is efficient because the given classical Boolean circuit can be converted into a reversible circuit, with its workspace cleaned by uncomputation. The resulting quantum state is
Measuring the function quantum register leaves a uniform coset state for some . The amplitude at after a quantum Fourier transform is
The finite geometric series is zero unless is a multiple of , and then equals . Thus a computational-basis measurement produces a uniform Fourier sample
The exact period recovery from a Fourier sample computes
A greatest common divisor is computable in time polynomial in . The candidate is always a divisor of the true period, and equals it precisely when is coprime to .
For the success flag, compute and compare with . If , injectivity within the first period makes these unequal. If , periodicity makes them equal, including . Hence accept and output exactly when this comparison succeeds; otherwise report failure. This is heralded exact quantum period finding when the period divides the register size, with no false acceptance. The case succeeds even on the sample .
The exact success probability is
where is the Euler totient function. For , the prime-product formula gives . A Rosser–Schoenfeld totient bound supplies the needed lower bound for large . Every single attempt, including verification, has the assumed polynomial-in- gate cost. Repeating times gives constant success probability with a certified result whenever one is found.
The printed in the totient hint should be a lower-bound statement, . Literally, is false: at primes , . Likewise the exact single-sample success probability need not be ; for prime period it tends to one. The useful intended guarantee is the displayed inverse-log-log lower bound, not a universal upper bound. If an algorithm satisfying the literal success upper bound is desired, one can additionally accept an otherwise certified run only when independent fair bits are all zero. This retains a detectable failure flag and polynomial runtime, and has success at most , but deliberately weakens the useful guarantee. The standard unsuppressed algorithm above gives the stronger intended performance. Small can be handled directly. Primary evidence for the totient lower bound is Theorem 15, equations (3.41)–(3.42), in denisevellachemla.eu/Rosser-Schoenfeld-1962.pdf .
Lagrange's theorem states that for a subgroup of a finite group , . In particular divides ; the equal-sized cosets partition .
Apply the theorem to inside both subgroups. Its order divides both coprime orders, so . For and , the group commutator lies in by being a normal subgroup, and in because . It is therefore the identity. Thus every element of commutes with every element of .
Define by . The cross-commutation just proved gives , so this is a group homomorphism from the direct product of groups. The product assumption makes it surjective. If , then , so both entries are the identity and the kernel of a group homomorphism is trivial. Hence
This proves the internal direct product theorem in the present coprime-order setting, rather than merely matching the numbers of elements.
Place the cube's vertices at . Its full symmetry group of a cube consists of signed permutation matrices. To see completeness, a cube symmetry fixes its center of a group and permutes the six face normals, so it sends coordinate axes to signed coordinate axes; conversely every such matrix preserves the cube. Coordinate permutations and sign changes take any edge to any other edge, so this is a transitive group action on edges.
Choose the edge . A symmetry stabilizing it must preserve its axis direction and its midpoint . It can swap the first two coordinates and independently reverse the third coordinate, but cannot change the signs of the two fixed coordinates. Hence
There are twelve edges and four elements of the stabilizer subgroup. The orbit-stabiliser theorem therefore gives , including orientation-reversing symmetries, not just the twenty-four rotations.
The action defines a group homomorphism . If an element fixes every edge as a set, it fixes every vertex, since each vertex is the unique common point of its three incident edges. A cube isometry fixing all vertices is the identity. Thus this is a faithful group action, and the cube symmetry action on edges embeds as a subgroup with
It is not a normal subgroup. Central inversion belongs to and swaps the twelve edges in six opposite pairs. In , all permutations of cycle type are conjugate, and their number is
If were a normal subgroup, it would contain this entire conjugacy class, impossible for a group of order forty-eight. This avoids relying on a classification of normal subgroups of the symmetric group.
Write the matrix as . Direct multiplication and inversion give
The identity is and all determinants are one, so these formulas verify the subgroup criterion inside . This is the real Heisenberg group.
The map is a surjective group homomorphism to the additive group of real numbers; its kernel is exactly . Hence is normal and the first isomorphism theorem gives
Two matrices commute exactly when . Requiring that relation for every forces , while is unrestricted. Therefore
Finally is a surjective group homomorphism to the additive group with precisely this kernel of a group homomorphism, giving . The central coordinate records noncommutativity: the group commutator is .
Use the dihedral group presentation . Every element is or . A nonidentity rotation has order two only when its exponent is , while for every . Thus the complete list is
The half-turn is central, so its conjugacy class is the singleton and its normal closure is .
For reflections, and . Hence the conjugacy class is exactly the reflections whose exponents have the same parity as :
The subgroup generated by this class contains , as the product of two consecutive listed reflections, and contains . Conversely those two generators contain every listed reflection. Their subgroup is invariant under conjugation by both and , so the smallest normal subgroup containing is
of order and index two. This involutions in an even dihedral group classification distinguishes the two reflection classes from the central half-turn.
If one subgroup contains the other, their union is the larger subgroup. Conversely, if neither contains the other, choose and . If the union were a subgroup it would contain . If , then , a contradiction; if , then , again a contradiction. Thus
The union of two subgroups cannot generally be treated like their generated subgroup.
For a prime , a diagonal matrix with two distinct nonzero eigenvalues exists. The same common-eigenspace argument makes the normalizer of a diagonal subgroup of GL2 precisely the monomial matrices. There are choices of nonzero entries for each of two permutation patterns, giving
At , however, the invertible diagonal subgroup is trivial. Every invertible matrix normalizes it, so
The first factor chooses a nonzero first column and the second chooses a column outside its one-dimensional span. The exceptional answer is necessary because the printed question permits every prime.
Write the finite abelian group additively. A character of a finite abelian group is a group homomorphism . We first prove that there are exactly such characters of a finite abelian group, without assuming a structure theorem.
Use extension of a character across a cyclic quotient. Given a subgroup and , let be the least positive integer with . The subgroup has cosets of . If is a character of a finite abelian group on , choose any of the roots and define
This is well-defined: two representations differ by an integer multiple of , and the root equation exactly cancels that difference. It is a character of a finite abelian group, and every extension arises from one of the choices of . Build a chain from the trivial subgroup to by adjoining elements. The character of a finite abelian group count multiplies by the same factor as the subgroup order at every step, so .
For a nontrivial character of a finite abelian group , choose with . Translating the group sum shows
so the sum is zero. Applied to , this proves
The orthogonal nonzero characters of a finite abelian group therefore form a basis of all complex functions on , a vector space of dimension .
With the unnormalized Fourier coefficients , expansion in that basis gives the Fourier inversion on a finite group
Under a normalized forward-transform convention the prefactor would instead be one. Thus the unspecified constant is determined by the convention, and the inversion itself follows directly from character of a finite abelian group counting and orthogonality.