Skip to content

Commit

Permalink
Clarifying documentation for Chern-Simons and complex volume.
Browse files Browse the repository at this point in the history
  • Loading branch information
unhyperbolic committed Jul 6, 2024
1 parent b6e1af7 commit 49c1396
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
3 changes: 2 additions & 1 deletion cython/core/manifold.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,8 @@ cdef class Manifold(Triangulation):

def chern_simons(self, accuracy = False):
"""
Returns the Chern-Simons invariant of the manifold, if it is known.
Returns the Chern-Simons invariant of the manifold (normalized by
dividing it by 2 pi^2), if it is known.
>>> M = Manifold('m015')
>>> M.chern_simons() # doctest: +NUMERIC6
Expand Down
45 changes: 29 additions & 16 deletions python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,22 +541,35 @@ def cusp_translations(manifold, policy='unbiased',
def complex_volume(manifold, verified_modulo_2_torsion=False,
bits_prec=None):
"""
Returns the complex volume, i.e.
volume + i 2 pi^2 (chern simons)
>>> M = Manifold('5_2')
>>> M.complex_volume() # doctest: +NUMERIC6
2.82812209 - 3.02412838*I
>>> c = M.chern_simons()
>>> M.dehn_fill((1,2))
>>> M.complex_volume() # doctest: +NUMERIC6
2.22671790 + 1.52619361*I
>>> M = Manifold("3_1")
>>> cvol = M.complex_volume()
>>> cvol.real() # doctest: +NUMERIC6
0
>>> cvol.imag() # doctest: +NUMERIC6
-1.64493407
Returns the complex volume.
The complex volume is
volume + i Chern-Simons
and defined modulo i pi^2.
>>> M = Manifold('5_2')
>>> M.complex_volume() # doctest: +NUMERIC6
2.82812209 - 3.02412838*I
Note that M.chern_simons() normalizes the Chern-Simons
invariant by dividing it by 2 pi^2 = 19.7392... ::
>>> M.chern_simons() # doctest: +NUMERIC6
-0.153204133297152
More examples::
>>> M.dehn_fill((1,2))
>>> M.complex_volume() # doctest: +NUMERIC6
2.22671790 + 1.52619361*I
>>> M = Manifold("3_1")
>>> cvol = M.complex_volume()
>>> cvol.real() # doctest: +NUMERIC6
0
>>> cvol.imag() # doctest: +NUMERIC6
-1.64493407
If no cusp is filled or there is only one cusped (filled or
unfilled), the complex volume can be verified up to multiples
Expand Down

0 comments on commit 49c1396

Please sign in to comment.