table of contents
RETRIANGULATE(1) | The Regina Handbook | RETRIANGULATE(1) |
NAME¶
retriangulate - Exhaustively search through triangulations or knot/link diagrams using local moves
SYNOPSIS¶
retriangulate [ -h, --height=height ] [ -t, --threads=threads ] [ -3, --dim3 | -4, --dim4 | -k, --knot ] [ -l, --all ] [ -a, --anysig ] [ -c, --classical | -V, --virtual ] [ -- ] signature
retriangulate { -v, --version | -?, --help }
DESCRIPTION¶
Given a 3-manifold triangulation, 4-manifold triangulation or link diagram, this utility uses local moves to exhaustively search for other triangulations/diagrams of the same manifold/link that are the same size or smaller. Here "local moves" means Pachner moves for triangulations, or Reidemeister moves for links.
Specifically, suppose the input triangulation or link diagram contains n tetrahedra/pentachora/crossings (for a 3-manifold, 4-manifold or link respectively). Then this utility will exhaustively modify the triangulation or link diagram using local moves, without ever exceeding n + height tetrahedra/pentachora/crossings in total. Moreover, all such triangulations/diagrams are guaranteed to be found, each once and only once (up to an appropriate notion of combinatorial isomorphism).
Regarding what constitutes a "local move":
- •
- For 3-manifold triangulations, this utility will only attempt 2-3 and 2-3 Pachner moves, never 1-4 or 4-1 moves.
- •
- For 4-manifold triangulations, this utility will use all types of Pachner moves.
- •
- For link diagrams, this utility will use all of the classical (planar) Reidemeister moves. There is also the option to use the virtual (non-planar) type II move, which adds two crossings by pushing any two strands over one another from any direction, and which could thereby add a handle to the surface in which the diagram is embedded. By default, the virtual type II move is considered only if the input diagram has positive virtual genus (i.e., is not a classical diagram); this behaviour can be modified using the options --classical and --virtual.
The input is assumed to represent a 3-manifold triangulation unless one of the options --dim4 or --knot is passed.
The program will output each triangulation or link diagram that it finds of the same size n (including the original input triangulation/diagram). If it ever finds a smaller triangulation or diagram (thereby proving the original to be non-minimal), it will output that smaller triangulation/diagram and then stop immediately. Otherwise it will continue outputting triangulations or diagrams of size n until no more can be found. Although the program also finds larger triangulations/diagrams as part of its exhaustive search using local moves, these larger triangulations/diagrams (of which there are typically many) will not be output unless the option --all is passed.
All triangulations or link diagrams, both input and output, are described using isomorphism signatures and knot/link signatures respectively. These are short text strings that identify a triangulation or link diagram uniquely up to combinatorial isomorphism (which includes relabellings of tetrahedra/pentachora/crossings, relabellings of the vertices of tetrahedra/pentachora vertices, and various rotation/reflection/reversal operations on link diagrams).
To view the isomorphism signature of a triangulation: in Regina's graphical user interface you can find this in the Composition tab in the triangulation viewer, and in Python you can call t.isoSig() for a triangulation t. To view a knot/link signature: in Regina's graphical user interface this is available through the Codes tab in the knot/link viewer, and in Python you can call d.sig() for a link diagram d.
For a full and precise specification of isomorphism signatures for 3-manifolds, see Simplification paths in the Pachner graphs of closed orientable 3-manifold triangulations, Burton, 2011, arXiv:1110.6080.
example$ retriangulate -h1 -- -b-LLvALwvM...
OPTIONS¶
- -h, --height=height
- Specifies the number of additional tetrahedra, pentachora or crossings
(for a 3-manifold, 4-manifold or link respectively) that we allow during
intermediate stages of retriangulation. That is, if the input
triangulation or link diagram has n
tetrahedra/pentachora/crossings, then this utility will exhaustively
search through all triangulations or link diagrams that it can reach via
local moves that do not exceed n + height
tetrahedra/pentachora/crossings in total.
Note that these larger intermediate triangulations or diagrams will not be written to output; however, a larger height may allow the program to access additional smaller triangulations or diagrams that were otherwise inaccessible.
The given height must be a non-negative integer. In addition, for 3-manifolds it must be strictly positive, and for 4-manifolds it must be even.
If not specified, this option defaults to 1 when working with 3-manifolds or link diagrams, and it defaults to 2 when working with 4-manifolds.
- -t, --threads=threads
- Specifies the degree to which this utility uses parallel processing.
Specifically, this program will use threads simultaneous threads of
execution as it works its way through the different retriangulations or
diagrams of the input manifold or link.
This program is typically able to use parallelism effectively, and so running with k threads should approximately divide the running time by k.
If not specified, this option defaults to 1 (i.e., single-threaded processing, with no parallelism).
- -3, --dim3 (default)
- Indicates that the given signature is the isomorphism signature of a
3-manifold triangulation. The local moves used will be 2-3 and 3-2 Pachner
moves.
This is the default if none of the arguments --dim3, --dim4 or --knot is passed.
- -4, --dim4
- Indicates that the given signature is the isomorphism signature of a 4-manifold triangulation. The local moves used will be 1-5, 2-4, 3-3, 4-2 and 5-1 Pachner moves.
- -k, --knot
- Indicates that the given signature is a knot/link signature. The local moves used will be the Reidemeister moves, possibly including the virtual type II move; see --classical and --virtual for details.
- -l, --all
- Output the signatures of all triangulations or link diagrams that are
visited, including those that are larger than the original.
By default, larger triangulations or link diagrams (of which there may be very many) are not included in the output.
- -a, --anysig
- Indicates that the output is not required to be classic isomorphism
signatures.
Regina 7.0 introduced alternate types of isomorphism signatures. Like the original isomorphism signatures that were introduced many years earlier, each type of signature uniquely identifies a triangulation up to combinatorial isomorphism. Moreover, Regina can reconstruct a triangulation or link from a signature of any type.
Internally, this utility uses one of the newer, alternate types of signature that is faster to compute. However, it still outputs classic signatures; that is, the same isomorphism signatures that were originally introduced back in 2011. This conversion from alternate to classic signatures adds extra overhead to the running time.
If you pass the option --anysig, Regina will not convert its output back to classic signatures; instead it will output whatever alternate signature type it uses internally. This will be faster, and you can still use these alternate signatures to reconstruct triangulations; the only reason not to do this is if you neeed to ensure compatibility with the original classical signatures (e.g., for matching against a list of signatures that was generated elsewhere).
- -c, --classical
- For link diagrams, only use the classical type I, II and III
Reidemeister moves. This is the default behaviour when the input is a
classical (planar) link diagram.
This option can only be used with --knot.
- -V, --virtual
- For link diagrams, use the classical type I, II and III
Reidemeister moves as well as the virtual type II move. The virtual
type II move is like the classical type II move to add two
crossings, except that we are allowed to push any two strands over
one another from any direction; as a consequence, this could add a handle
to the surface in which the link diagram is embedded. This option is the
default behaviour when the input is a link diagram with positive virtual
genus (i.e., a non-classical link diagram).
This option can only be used with --knot.
- --
- Indicates that all other options have finished, and whatever comes next on
the command line should be treated as the input signature.
This is useful when your signature begins with a dash, to avoid confusing your input signature with a regular command line option.
- -v, --version
- Show which version of Regina is being used, and exit immediately.
- -?, --help
- Display brief usage information, and exit immediately.
EXAMPLES¶
The following 3-manifold triangulation is non-minimal, but it requires a bit of work to see this:
example$ retriangulate -h2 hLLAAkbdceefggdonxdjxn
hLLAAkbdceefggdonxdjxn
hLALPkbcbefgfghxwnxark
Found 2 triangulation(s).
example$ retriangulate -h3 hLLAAkbdceefggdonxdjxn
hLLAAkbdceefggdonxdjxn
hLALPkbcbefgfghxwnxark
hLLMMkbcdfefgglcghtchj
gLLPQcdcefffqsjpunw
Triangulation is non-minimal!
Smaller triangulation: gLLPQcdcefffqsjpunw
example$
Although the program stopped as soon as it found a smaller triangulation, this can be simplified even further:
example$ retriangulate gLLPQcdcefffqsjpunw
gLLPQcdcefffqsjpunw
fLAMcbbcdeedhwhxn
Triangulation is non-minimal!
Smaller triangulation: fLAMcbbcdeedhwhxn
example$
A little more probing shows this to be the cusped hyperbolic manifold m112:
example$ censuslookup fLAMcbbcdeedhwhxn
fLAMcbbcdeedhwhxn: 1 hit
m112 : #2 -- Cusped hyperbolic census (orientable)
example$
MACOS USERS¶
If you downloaded a drag-and-drop app bundle, this utility is shipped inside it. If you dragged Regina to the main Applications folder, you can run it as /Applications/Regina.app/Contents/MacOS/retriangulate.
WINDOWS USERS¶
The command-line utilities are installed beneath the Program Files directory; on some machines this directory is called Program Files (x86). You can start this utility by running c:\Program Files\Regina\Regina 7.4\bin\retriangulate.exe.
SEE ALSO¶
regina-gui.
AUTHOR¶
This utility was written by Benjamin Burton <bab@maths.uq.edu.au>. Many people have been involved in the development of Regina; see the users' handbook for a full list of credits.
25 August 2025 |