Checked surgery on closed surfaces #
Several steps of the classification cut a small region out of a closed surface and glue in a
different one with the same boundary: removing a tube, capping a band, forming a connected sum. The
region X and its replacement Y are concrete complexes on natural-number labels, placed in the
surface K by an embedding f of the labels. This file proves once and for all that the result
surg K f X Y = (K \ f(X)) ∪ f(Y) is again a closed connected surface, provided a finite,
decidable list of conditions on X and Y holds (SurgOK, checked by decide +kernel) and the
placement satisfies a few conditions in K (SurgCtx).
The template conditions are local:
- every pair of labels of
Ylies in as many triangles ofXas ofY, or in two ofXand none ofY(an edge that disappears), or in none ofXand two ofY(a new edge, which must be safe: a new label, or a pair known to span no triangle ofK); - at a label of
X, the link inYtogether with the old link vertices that keep their edge is connected (reachability by a finite closure,reachAll); at a new label, the link inYis connected.
Links in the result are then connected by a projection argument (connEdges_of_proj), and the
Euler characteristic changes by χ(Y) − χ(X) (euler2_surg).
Reachability by a finite closure #
The labels reached from a in n closure steps along the edges of E.
Equations
- Lightlike.Surfaces.reach E a 0 = {a}
- Lightlike.Surfaces.reach E a n.succ = Lightlike.Surfaces.reachStep E (Lightlike.Surfaces.reach E a n)
Instances For
The labels reached from a along the edges of E (as many steps as E has vertices).
Equations
Instances For
Connectivity by projection #
Connectivity by projection. Let S be a connected edge set and N another one. Call the
vertices satisfying k kept. If every edge of S between kept vertices is joined in N, every
edge of S from a kept vertex to a removed one has its kept end joined in N to an anchor a of
S, and every vertex of N is a kept vertex of S or joined in N to a, then N is
connected. (Project each vertex of S to itself if kept, to a otherwise.)
Counting triangles at an edge #
The number of triangles of X containing e.
Equations
- Lightlike.Surfaces.cnt X e = {x ∈ X | e ⊆ x}.card
Instances For
A vertex of a relabelled triangle at f n, other than f n, is the image of a label in
the link of n.
Reachability in the link of n in Z lifts to the link of f n in any complex containing
the image of Z.
The template conditions and the placement #
The template conditions for replacing the region X by Y. Labels of X are boundary
labels and must all occur in Y; labels of Y only are new. S lists pairs of boundary labels
that span no triangle of the surrounding surface.
XandYare nonempty and the triangles ofYhave three labels;- each pair of labels of
Ylies in as many triangles ofXas ofY, or in two ofXand none ofY, or in none ofXand two ofYand is safe; - at each label
nofYthere is an anchorathat every vertex of the link ofninYreaches inside that link; at a boundary label the anchor is in the link ofninX, and so is reached by every vertexmof that link withnmin fewer or more than two triangles ofX.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The placement conditions for the surgery in K through the labelling f: the region lies
in K, new labels go to vertices outside K, the pairs of S span no triangle of K, and no
triangle of the replacement is already in K.
- sub : liftK f X ⊆ K
- new (t : Finset ℕ) : t ∈ Y → Finset.map f t ∉ K
Instances For
The result of the surgery: remove the image of X from K and add the image of Y.
Equations
- Lightlike.Surfaces.surg K f X Y = K \ Lightlike.Surfaces.liftK f X ∪ Lightlike.Surfaces.liftK f Y
Instances For
Triangle counts grow with the complex.
An edge with an end outside the image of Y lies in no relabelled triangle of Z.
The result of a checked surgery on a closed complex is closed.
Links in the result of a checked surgery on a surface are connected.
Paths along the edges of an edge set can be reversed.
The result of a checked surgery on a surface is connected, provided the labels of Y are
joined to each other in it.
Checked surgery. Replacing a region X of a surface K by Y, under the template
conditions SurgOK and the placement conditions SurgCtx, gives a surface, provided the labels
of Y are joined to each other in the result.
The connectivity hypothesis of IsSurface.surgery holds when Y itself is connected (every
label of Y is reached from one label along the edges of Y).
The Euler characteristic #
Vertices grow with the complex.
The Euler characteristic under checked surgery: χ(result) = χ(K) − χ(X) + χ(Y).