Take a finite presentation . For a closed-manifold realization of a finitely presented fundamental group, begin with a five-dimensional ball and attach one-handles, giving a compact oriented five-manifold with fundamental group the free group on the . Represent the relators by disjoint embedded circles in its four-dimensional boundary. General position allows them to be embedded and disjoint, and their oriented normal bundles admit framings. Attach a two-handle along each such circle. The resulting compact five-manifold has
by the Seifert-van Kampen theorem. Now set . It is a compact connected smooth four-manifold without boundary. Turning this handle decomposition upside down gives a relative handle decomposition of with handles of indices three, four and five only. Attaching such handles does not change the fundamental group: there are no new one-handles or two-handle relations. Thus is an isomorphism and
These are the differential-topological handle facts used in the construction; the dimension-five thickening ensures the boundary retains the prescribed fundamental group.
Now assume finite. Choose any smooth Riemannian metric on and lift it to its universal cover . This cover is compact, since its degree is , and simply connected. Its deck transformations give a free isometric -action. For the two Gassmann equivalent subgroups put
Each is a closed Riemannian manifold, and is its simply connected universal cover, with deck transformation group . Consequently .
Here is the complete spectral argument behind the Sunada theorem in this situation. Each finite-dimensional upstairs eigenspace is a representation of , because the action is isometric and commutes with the Laplace-Beltrami operator. Functions downstairs correspond exactly to invariant functions upstairs, so their multiplicities are . Averaging the representation matrices over a subgroup is a projection onto its invariant subspace. Taking its trace gives
The character is constant on each conjugacy class of . Gassmann equivalence means for every such class ; summing these equalities also gives . The two averages are therefore equal for every . The quotients are isospectral, with .
If , the map is well defined, invertible and isometric because acts by an isometry upstairs. Conjugate subgroups give isometric quotients.
For an explicit example with different fundamental groups, use the order-sixteen Gassmann pair
Embed each in by left multiplication on its own sixteen elements, identified with the same sixteen-point set. These regular representations are faithful. Both groups have one identity element, three elements of order two, and twelve of order four: in the elements of order dividing two are precisely its four even-coordinate elements; in they are the four elements in . Every remaining element has order four.
In a regular action, an order- element is a product of disjoint -cycles. Thus each subgroup intersects the identity conjugacy class of in one element, the class of type in three, the class of type in twelve, and every other class in zero. They are Gassmann equivalent. However is abelian and is nonabelian, so they are not isomorphic. Apply the preceding construction with fundamental group and these subgroups. It produces
In particular they cannot even be homeomorphic, and therefore cannot be isometric.