Checking finite chains of 2D moves inside a larger surface #
Many steps of the classification replace a small region of a surface by another one with the same
boundary. The region and the replacement are concrete complexes on natural-number labels, and the
chain of moves between them is found by computer (scripts/pl/surf_search.py). This file checks
such a chain once and for all: checkChain B S X ms runs the moves ms on X, checking each one,
and checkChain_sound lifts every checked chain into any surrounding complex A, through any
embedding f of the labels.
The labels in B are the boundary labels; f sends the others to vertices outside A. The
pairs in S are pairs of boundary labels whose images lie in no triangle of A. A move is
accepted only if every edge it flips or creates has a non-boundary endpoint or is a pair of S,
and every triangle it creates with three boundary vertices contains such a pair. Then no triangle
of A interferes, and the move lifts (Move2 on A ∪ f(K)).
Moves on concrete complexes #
A 2D move on a complex with natural-number labels: subdivide the triangle bcd by x; flip the
edge bc (triangles bcd, bce) to de; or remove x, whose triangles are bcx, cdx, bdx,
replacing them by bcd.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.sub b c d x_2) (Lightlike.Surfaces.Mv.flip b_1 c_1 d_1 e) = isFalse ⋯
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.sub b c d x_2) (Lightlike.Surfaces.Mv.unsub b_1 c_1 d_1 x_3) = isFalse ⋯
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.flip b c d e) (Lightlike.Surfaces.Mv.sub b_1 c_1 d_1 x_2) = isFalse ⋯
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.flip b c d e) (Lightlike.Surfaces.Mv.unsub b_1 c_1 d_1 x_2) = isFalse ⋯
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.unsub b c d x_2) (Lightlike.Surfaces.Mv.sub b_1 c_1 d_1 x_3) = isFalse ⋯
- Lightlike.Surfaces.instDecidableEqMv.decEq (Lightlike.Surfaces.Mv.unsub b c d x_2) (Lightlike.Surfaces.Mv.flip b_1 c_1 d_1 e) = isFalse ⋯
Instances For
The complex after subdividing bcd by x (as in Move2.sub13).
Equations
Instances For
The complex after flipping bc to de (as in Move2.flip22).
Equations
Instances For
The complex before subdividing bcd by x: remove the three triangles at x, add bcd.
Equations
Instances For
Equations
- Lightlike.Surfaces.instDecidableOkSub B K b c d x = id inferInstance
One checked move: the resulting complex, or none if the move is not accepted.
Equations
- Lightlike.Surfaces.stepMv B S K (Lightlike.Surfaces.Mv.sub b c d x_1) = if Lightlike.Surfaces.OkSub B K b c d x_1 then some (Lightlike.Surfaces.subRes K b c d x_1) else none
- Lightlike.Surfaces.stepMv B S K (Lightlike.Surfaces.Mv.flip b c d e) = if Lightlike.Surfaces.OkFlip B S K b c d e then some (Lightlike.Surfaces.flipRes K b c d e) else none
- Lightlike.Surfaces.stepMv B S K (Lightlike.Surfaces.Mv.unsub b c d x_1) = if Lightlike.Surfaces.OkUnsub B S K b c d x_1 then some (Lightlike.Surfaces.unsubRes K b c d x_1) else none
Instances For
A checked chain of moves: the final complex, or none if some move is not accepted.
Equations
- Lightlike.Surfaces.checkChain B S x✝ [] = some x✝
- Lightlike.Surfaces.checkChain B S x✝ (m :: ms) = (Lightlike.Surfaces.stepMv B S x✝ m).bind fun (K' : Finset (Finset ℕ)) => Lightlike.Surfaces.checkChain B S K' ms
Instances For
Lifting checked moves #
A concrete complex placed in V by an embedding of the labels.
Equations
- Lightlike.Surfaces.liftK f K = Finset.image (Finset.map f) K
Instances For
The invariant: no triangle of the region lies in A.
Equations
- Lightlike.Surfaces.Disj A f K = ∀ t ∈ K, Finset.map f t ∉ A
Instances For
Soundness of the checker: a chain of moves accepted by checkChain from X to Y is a
chain of 2D bistellar moves from A ∪ f(X) to A ∪ f(Y), for every surrounding complex A and
embedding f satisfying the context conditions, provided no triangle of f(X) lies in A.