Documentation

LeanPool.ClassificationOfSurfaces.FiniteCyclicWordReductionCore

Recursive reduction of finite cyclic one-face words #

The face-merging recursion deliberately retains each deleted separator as a cyclically adjacent inverse pair. This file supplies the next normalization phase: repeatedly cancel every such pair while preserving a validity-bundled normalization chain. If the final pair is the whole word, the result is the agreed ordinary-valid two-monogon sphere presentation.

@[reducible]

Rewrite an arbitrary one-face presentation using its unique stored boundary word.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Every presentation with one stored face is signed-isomorphic to its explicit one-word spelling.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Relabel a finished Fin-indexed one-face word directly to the existing typed one-face adapter. This is the final bridge used by canonical normalization; it does not introduce a second spelling of any Lean-Eval representative.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.oneFaceSignedIsoToOfOneFaceWordRelabeling {n : } {Edge : Type} [Fintype Edge] (sourceWord : List (SurfaceCellComplex.SignedDart (Fin n))) (typedWord : List (SurfaceCellComplex.SignedDart Edge)) (edgeRelabeling : EdgeRelabeling (Fin n) Edge) (rotated : List.map edgeRelabeling.mapDart sourceWord ~r typedWord) :

        Signed version of the finished one-face adapter. In addition to renaming edge names, this allows each finished block edge to be reversed independently before landing at the single project-owned canonical word.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          A finished orientable word, up to its explicit edge relabeling and cyclic rotation, gives a normalization result at the exact existing orientable canonical presentation.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            A finished nonorientable word, up to its explicit edge relabeling and cyclic rotation, gives a normalization result at the exact existing nonorientable canonical presentation.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Signed finished orientable word adapter, permitting independent orientation normalization of every handle and boundary-loop edge.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Signed finished nonorientable word adapter, permitting independent orientation normalization of every crosscap and boundary-loop edge.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The two possible signed spellings of an adjacent inverse pair.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Data exposing a cyclically adjacent inverse pair in a one-face word.

                    Instances For

                      A one-face word has no cyclically adjacent inverse pair.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        A word with fewer than two darts cannot contain a cyclically adjacent inverse pair.

                        Validity forces the displayed inverse pair's edge to be absent from its remaining tail.

                        If deleting a displayed pair leaves the empty word, there were no other edge names.

                        A reduced non-spherical endpoint reached after inverse-pair cancellation.

                        Instances For

                          Cancellation either reaches the canonical sphere presentation or a pair-reduced one-face word.

                          Instances For

                            Transport a cancellation result backward through a normalization equivalence.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              Finish a cancellation result once pair-reduced one-face words have a canonical normalizer.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[irreducible]

                                Fuel-bounded implementation of repeated inverse-pair cancellation.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Repeatedly cancel cyclically adjacent inverse pairs in an ordinary-valid one-face word.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For

                                    Merge a connected valid presentation to one face, rewrite that face explicitly as a cyclic word, and cancel every adjacent inverse pair.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For

                                      The remaining proof obligation after face merging and inverse-pair cancellation: normalize an arbitrary pair-reduced valid one-face word.

                                      Instances For

                                        A normalizer for pair-reduced words completes the faithful finite-cyclic Gallier--Xu normalization theorem for every connected valid presentation.

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For

                                          Certified occurrence decompositions for the remaining pairing reduction #

                                          An edge equivalence equipped with an explicit source-orientation normalization function.

                                          Equations
                                          Instances For
                                            @[simp]
                                            theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.signedRelabeling_edgeEquiv {α : Type u_1} {β : Type u_2} (edgeEquiv : α β) (reverse : αBool) :
                                            (signedRelabeling edgeEquiv reverse).edgeEquiv = edgeEquiv
                                            @[simp]
                                            theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.signedRelabeling_reverse {α : Type u_1} {β : Type u_2} (edgeEquiv : α β) (reverse : αBool) (a : α) :
                                            (signedRelabeling edgeEquiv reverse).reverse a = reverse a
                                            @[simp]
                                            theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.signedRelabeling_mapDart_dart_self {α : Type u_1} {β : Type u_2} (edgeEquiv : α β) (reverse : αBool) (a : α) :
                                            (signedRelabeling edgeEquiv reverse).mapDart (dart a (reverse a)) = SurfaceCellComplex.SignedDart.pos (edgeEquiv a)

                                            A signed relabeling whose reversal bit is the displayed dart orientation sends that dart to the positive orientation of its renamed edge.

                                            @[simp]

                                            The opposite displayed orientation is normalized to the negative renamed dart.

                                            Exact signed spelling of one boundary loop before final edge-name and sign normalization.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.map_boundaryLoopWord_normalized {α : Type u_1} {β : Type u_2} (edgeEquiv : α β) (reverse : αBool) (carrier hole : α) (carrierNegative holeNegative : Bool) (hcarrier : reverse carrier = carrierNegative) (hhole : reverse hole = holeNegative) :
                                              List.map (signedRelabeling edgeEquiv reverse).mapDart (boundaryLoopWord carrier hole carrierNegative holeNegative) = [SurfaceCellComplex.SignedDart.pos (edgeEquiv carrier), SurfaceCellComplex.SignedDart.pos (edgeEquiv hole), SurfaceCellComplex.SignedDart.neg (edgeEquiv carrier)]

                                              Independent sign normalization sends an arbitrary boundary-loop spelling to the positive carrier, positive hole, negative carrier convention used by the canonical representatives.

                                              The four occurrence patterns allowed for one edge of a valid one-face word.

                                              Instances For

                                                Every edge name actually used by a residual word still has a surface multiplicity. Unlike IsSurfaceValid, this predicate permits the ambient Fin type to contain already-grouped edge names which no longer occur in the residual word.

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For

                                                  Residual surface multiplicities force the edge of a displayed inverse pair to occur nowhere else in its tail.

                                                  Deleting a displayed inverse pair preserves the count of every edge which remains in the tail.

                                                  Proof-relevant trace of the residual inverse-pair recursion. Keeping the selected pair at each step is essential when the same reduction is later lifted through an ambient marked word: the erased residual endpoint alone does not say which protected token interval the pair crossed.

                                                  Instances For

                                                    Certified result of repeatedly deleting adjacent inverse pairs from a residual word. The ambient edge type is intentionally retained: names belonging to already-extracted blocks may be absent from both the input and output residual words. Its trace records the exact recursion choices for subsequent marked execution.

                                                    Instances For
                                                      @[irreducible]

                                                      Fuel-bounded residual inverse-pair cancellation.

                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For

                                                        Repeatedly delete every adjacent inverse pair from a residual word while retaining its ambient edge namespace and the surface multiplicities of all surviving names.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For

                                                          Every name surviving residual cancellation occurred in the input residual word.

                                                          A known surface multiplicity classifies the two signed counts of an edge.

                                                          Surface validity classifies every edge as boundary, equally oriented, or oppositely oriented.

                                                          A list in which a occurs exactly once can be split at that occurrence, with certified absence on both sides.

                                                          Cyclic data exposing the two occurrences of a twice-used edge.

                                                          Instances For

                                                            Every edge of multiplicity two in a one-face word has a certified cyclic two-occurrence decomposition.

                                                            In a pair-reduced word, oppositely oriented occurrences cannot be cyclically adjacent.

                                                            A twice-used edge displayed with equal orientations.

                                                            Instances For

                                                              An oppositely used edge displayed positive first and negative second.

                                                              Instances For

                                                                An orientation-symmetric directed arc between the two opposite occurrences of an edge. Unlike OppositeOccurrenceForm, this form permits either sign at the beginning, which is the right induction invariant when descending to a shorter nested pair.

                                                                Instances For

                                                                  Forget the positive-first convention of an opposite occurrence form.

                                                                  Equations
                                                                  • form.toArc = { firstNegative := false, between := form.between, remainder := form.remainder, rotated := , edge_not_mem_between := , edge_not_mem_remainder := }
                                                                  Instances For

                                                                    Pair reduction makes the directed interval of every opposite arc nonempty.

                                                                    Two oppositely oriented edge pairs whose endpoints interleave cyclically. The first distinguished pair is displayed positive then negative. The Boolean records whether the occurrence of b inside that pair is negative; a signed relabeling will reverse b when necessary before applying handle extraction.

                                                                    Instances For

                                                                      A once-used boundary edge displayed at the cyclic head.

                                                                      Instances For

                                                                        A pairing feature on which the normalization recursion can immediately act.

                                                                        Instances For

                                                                          Delete the darts of the extracted block, retaining the exact residual order produced by the proof-generating rewrite endpoint.

                                                                          Equations
                                                                          Instances For

                                                                            Lower an edge name after moving a distinguished, unused name to the last position.

                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For

                                                                              Re-embed a lowered edge into the old namespace, undoing the move-to-last relabeling.

                                                                              Equations
                                                                              • One or more equations did not get rendered due to their size.
                                                                              Instances For

                                                                                The lowerDart declaration.

                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For

                                                                                  Re-embed a lowered dart into the old namespace.

                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For

                                                                                    Lower a word which avoids a distinguished edge, preserving its exact dart order.

                                                                                    Equations
                                                                                    Instances For

                                                                                      Lowering a word explicitly agrees with moving the removed name last and applying P1 contraction.

                                                                                      Removing an absent ambient edge name does not turn a nonempty word into the empty word.

                                                                                      Re-embedding all names in a lowered word recovers the source edge-name list exactly.

                                                                                      The combinatorial block contributed by one actionable extraction. Orientations on boundary and crosscap blocks are retained until the final signed relabeling; handle extraction has already normalized both distinguished edge orientations.

                                                                                      Instances For

                                                                                        Exact signed word contributed by an extracted block.

                                                                                        Equations
                                                                                        • One or more equations did not get rendered due to their size.
                                                                                        Instances For

                                                                                          Block obtained by reading an extracted block backwards with every dart reversed.

                                                                                          Equations
                                                                                          • One or more equations did not get rendered due to their size.
                                                                                          Instances For

                                                                                            Relabel every ambient edge name in an extracted block.

                                                                                            Equations
                                                                                            • One or more equations did not get rendered due to their size.
                                                                                            Instances For

                                                                                              Remove an ambient edge name known not to occur in an extracted block.

                                                                                              Equations
                                                                                              • One or more equations did not get rendered due to their size.
                                                                                              Instances For
                                                                                                theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.ExtractedBlock.map_word_boundary_normalized {n : } {Edge : Type u_1} (edgeEquiv : Fin n Edge) (reverse : Fin nBool) (a : Fin n) (negative : Bool) (horientation : reverse a = negative) :
                                                                                                List.map (signedRelabeling edgeEquiv reverse).mapDart (boundary a negative).word = [SurfaceCellComplex.SignedDart.pos (edgeEquiv a)]

                                                                                                A boundary singleton is positive after reversing precisely its recorded input orientation.

                                                                                                theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.ExtractedBlock.map_word_crosscap_normalized {n : } {Edge : Type u_1} (edgeEquiv : Fin n Edge) (reverse : Fin nBool) (a : Fin n) (negative : Bool) (horientation : reverse a = negative) :

                                                                                                A crosscap square is positive after reversing precisely its recorded input orientation.

                                                                                                An extracted handle already has the canonical commutator orientation whenever neither of its two edge names is reversed by the final signed relabeling.

                                                                                                Expanding a lowered block agrees with renaming its old spelling and contracting the unused last edge.

                                                                                                Re-embedding the edge names of a lowered block recovers its original edge list.

                                                                                                Concatenate a sequence of extracted blocks into its exact signed boundary word.

                                                                                                Equations
                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                Instances For

                                                                                                  Reverse a block sequence in the order induced by reversing its full signed word.

                                                                                                  Equations
                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                  Instances For

                                                                                                    A completed normalization block. Boundary singletons are absent: a boundary block enters this type only after a residual carrier pair has closed it into the three-dart loop required by the canonical representatives.

                                                                                                    Instances For

                                                                                                      Exact signed word represented by a completed block.

                                                                                                      Equations
                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                      Instances For

                                                                                                        Reverse a completed block as one atomic cyclic-word segment.

                                                                                                        Equations
                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                        Instances For

                                                                                                          Relabel every edge of a completed block.

                                                                                                          Equations
                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                          Instances For

                                                                                                            Remove an ambient edge name known not to occur in a completed block.

                                                                                                            Equations
                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                            Instances For

                                                                                                              Expanding a lowered completed block agrees with word-level cancellation lowering.

                                                                                                              Re-embedding the edge names of a lowered completed block recovers the old edge list.

                                                                                                              Re-embedding the distinct names of a lowered block recovers its old name spine.

                                                                                                              Concatenate a completed block sequence into its exact signed one-face word.

                                                                                                              Equations
                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                              Instances For

                                                                                                                Concatenate the distinct-name spines owned by a completed block sequence.

                                                                                                                Equations
                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                Instances For

                                                                                                                  Normal-form parameters selected by a completed block sequence.

                                                                                                                  Equations
                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                  Instances For

                                                                                                                    Every completed block belongs to exactly one normal-form block class.

                                                                                                                    A nonempty completed block sequence selects an Eval-admissible normal form.

                                                                                                                    A completed positive-carrier boundary loop lying inside an opposite residual pair.

                                                                                                                    Equations
                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                    Instances For

                                                                                                                      Move the completed loop outside the residual pair, leaving the residual pair around the strictly shorter protected interval.

                                                                                                                      Equations
                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                      Instances For

                                                                                                                        The same contextual loop with its carrier displayed negative first.

                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                        Instances For

                                                                                                                          Negative-carrier target spelling.

                                                                                                                          Equations
                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                          Instances For
                                                                                                                            theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryBlockCommute.exists_positiveNormalizationEquivalent {n : } (outer carrier hole : Fin n) (outerNegative holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                            ∃ (validTarget : (Dyck.oneFace (targetWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord outer carrier hole outerNegative holeNegative insideTail outsideTail), valid := validTarget }

                                                                                                                            Positive-carrier boundary-loop commuting is exactly one LoopGrouping rewrite between two cyclic rotations.

                                                                                                                            def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryBlockCommute.negativeSourceSignedIso {n : } (outer carrier hole : Fin n) (outerNegative holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) :
                                                                                                                            (Dyck.oneFace (negativeSourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (sourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail))

                                                                                                                            Reversing only the loop carrier identifies the negative and positive source spellings.

                                                                                                                            Equations
                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                            Instances For
                                                                                                                              def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryBlockCommute.negativeTargetSignedIso {n : } (outer carrier hole : Fin n) (outerNegative holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) :
                                                                                                                              (Dyck.oneFace (negativeTargetWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (targetWord outer carrier hole outerNegative holeNegative insideTail outsideTail))

                                                                                                                              Reversing only the loop carrier identifies the negative and positive target spellings.

                                                                                                                              Equations
                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                              Instances For
                                                                                                                                theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryBlockCommute.exists_negativeNormalizationEquivalent {n : } (outer carrier hole : Fin n) (outerNegative holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (negativeSourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                ∃ (validTarget : (Dyck.oneFace (negativeTargetWord outer carrier hole outerNegative holeNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (negativeSourceWord outer carrier hole outerNegative holeNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (negativeTargetWord outer carrier hole outerNegative holeNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                Negative-carrier boundary-loop commuting reduces to the positive theorem by a signed presentation isomorphism at each endpoint.

                                                                                                                                A raw boundary dart already lying between adjacent opposite carrier occurrences, followed by two contextual tails.

                                                                                                                                Equations
                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                Instances For

                                                                                                                                  Close the raw boundary dart into a completed loop and move the remaining protected interval past that loop.

                                                                                                                                  Equations
                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                  Instances For
                                                                                                                                    theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundarySingletonClosure.exists_positiveNormalizationEquivalent {n : } (carrier hole : Fin n) (holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord carrier hole false holeNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                    ∃ (validTarget : (Dyck.oneFace (targetWord carrier hole false holeNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord carrier hole false holeNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord carrier hole false holeNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                    Positive-carrier contextual boundary closure is exactly one LoopGrouping rewrite.

                                                                                                                                    def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundarySingletonClosure.negativeSourceSignedIso {n : } (carrier hole : Fin n) (holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) :
                                                                                                                                    (Dyck.oneFace (sourceWord carrier hole true holeNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (sourceWord carrier hole false holeNegative insideTail outsideTail))

                                                                                                                                    Reversing the carrier identifies negative- and positive-carrier contextual sources.

                                                                                                                                    Equations
                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                    Instances For
                                                                                                                                      def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundarySingletonClosure.negativeTargetSignedIso {n : } (carrier hole : Fin n) (holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) :
                                                                                                                                      (Dyck.oneFace (targetWord carrier hole true holeNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (targetWord carrier hole false holeNegative insideTail outsideTail))

                                                                                                                                      Reversing the carrier identifies negative- and positive-carrier contextual targets.

                                                                                                                                      Equations
                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                      Instances For
                                                                                                                                        theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundarySingletonClosure.exists_negativeNormalizationEquivalent {n : } (carrier hole : Fin n) (holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord carrier hole true holeNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                        ∃ (validTarget : (Dyck.oneFace (targetWord carrier hole true holeNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord carrier hole true holeNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord carrier hole true holeNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                        Negative-carrier contextual boundary closure reduces to the positive theorem through signed presentation isomorphisms at both endpoints.

                                                                                                                                        A raw boundary atom followed by a nonempty protected interval inside an opposite pair.

                                                                                                                                        Equations
                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                        Instances For

                                                                                                                                          Move the raw boundary atom to the end of the protected interval, exposing its next atom.

                                                                                                                                          Equations
                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                          Instances For
                                                                                                                                            theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryAtomRotate.exists_normalizationEquivalent {n : } (carrier hole : Fin n) (carrierNegative holeNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierHole : carrier hole) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord carrier hole carrierNegative holeNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                            ∃ (validTarget : (Dyck.oneFace (targetWord carrier hole carrierNegative holeNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord carrier hole carrierNegative holeNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord carrier hole carrierNegative holeNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                            Rotating a raw boundary atom through a protected interval is one signed Dyck rewrite.

                                                                                                                                            A positive completed crosscap lying at the head of a positive/negative residual pair.

                                                                                                                                            Equations
                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                            Instances For

                                                                                                                                              Commute the completed crosscap through the residual pair. The old residual carrier becomes the completed crosscap, while the old crosscap carrier becomes the residual pair around the strictly shorter protected interval.

                                                                                                                                              Equations
                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                              Instances For

                                                                                                                                                Contextual crosscap source with arbitrary orientations on both distinguished edges.

                                                                                                                                                Equations
                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                Instances For

                                                                                                                                                  Arbitrarily oriented contextual crosscap target.

                                                                                                                                                  Equations
                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                  Instances For

                                                                                                                                                    Reverse exactly the displayed orientations of the two distinguished edges.

                                                                                                                                                    Equations
                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                    Instances For
                                                                                                                                                      @[simp]
                                                                                                                                                      theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.orientationRelabeling_mapDart_outer {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) :
                                                                                                                                                      (orientationRelabeling outer carrier outerNegative carrierNegative).mapDart (dart outer outerNegative) = SurfaceCellComplex.SignedDart.pos outer
                                                                                                                                                      @[simp]
                                                                                                                                                      @[simp]
                                                                                                                                                      theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.orientationRelabeling_mapDart_carrier {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (hcarrierOuter : carrier outer) :
                                                                                                                                                      (orientationRelabeling outer carrier outerNegative carrierNegative).mapDart (dart carrier carrierNegative) = SurfaceCellComplex.SignedDart.pos carrier
                                                                                                                                                      @[simp]
                                                                                                                                                      theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.orientationRelabeling_mapDart_carrier_opposite {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (hcarrierOuter : carrier outer) :
                                                                                                                                                      (orientationRelabeling outer carrier outerNegative carrierNegative).mapDart (dart carrier !carrierNegative) = SurfaceCellComplex.SignedDart.neg carrier
                                                                                                                                                      theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.orientationRelabeling_word {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (word : List (SurfaceCellComplex.SignedDart (Fin n))) (houter : outerList.map edgeOfDart word) (hcarrier : carrierList.map edgeOfDart word) :
                                                                                                                                                      List.map (orientationRelabeling outer carrier outerNegative carrierNegative).mapDart word = word

                                                                                                                                                      The two-edge orientation normalization fixes every word avoiding both distinguished names.

                                                                                                                                                      def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.sourceSignedIso {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) :
                                                                                                                                                      (Dyck.oneFace (sourceWord outer carrier outerNegative carrierNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (positiveSourceWord outer carrier insideTail outsideTail))

                                                                                                                                                      Independent sign normalization identifies the generic and positive source spellings.

                                                                                                                                                      Equations
                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                      Instances For
                                                                                                                                                        def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.targetSignedIso {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) :
                                                                                                                                                        (Dyck.oneFace (targetWord outer carrier outerNegative carrierNegative insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (positiveTargetWord outer carrier insideTail outsideTail))

                                                                                                                                                        Independent sign normalization identifies the generic and positive target spellings.

                                                                                                                                                        Equations
                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                        Instances For
                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.exists_positiveNormalizationEquivalent {n : } (outer carrier : Fin n) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (positiveSourceWord outer carrier insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                                          ∃ (validTarget : (Dyck.oneFace (positiveTargetWord outer carrier insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (positiveSourceWord outer carrier insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (positiveTargetWord outer carrier insideTail outsideTail), valid := validTarget }

                                                                                                                                                          The positive contextual crosscap commute is an adjacent-crosscap rewrite followed by an ordinary crosscap grouping, with cyclic rotations between the displayed spellings.

                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.CrosscapBlockCommute.exists_normalizationEquivalent {n : } (outer carrier : Fin n) (outerNegative carrierNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hcarrierOuter : carrier outer) (hcarrierInside : carrierList.map edgeOfDart insideTail) (hcarrierOutside : carrierList.map edgeOfDart outsideTail) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord outer carrier outerNegative carrierNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                                          ∃ (validTarget : (Dyck.oneFace (targetWord outer carrier outerNegative carrierNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord outer carrier outerNegative carrierNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord outer carrier outerNegative carrierNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                                          Contextual crosscap commuting supports arbitrary orientations on both distinguished edges.

                                                                                                                                                          A completed handle at the head of a positive/negative residual pair.

                                                                                                                                                          Equations
                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                          Instances For

                                                                                                                                                            The same completed handle commuted outside the residual pair.

                                                                                                                                                            Equations
                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                            Instances For

                                                                                                                                                              The contextual handle source with its residual carrier displayed negative first.

                                                                                                                                                              Equations
                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                              Instances For

                                                                                                                                                                Negative-residual-carrier target spelling.

                                                                                                                                                                Equations
                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                Instances For

                                                                                                                                                                  Contextual handle source with arbitrary residual-carrier orientation.

                                                                                                                                                                  Equations
                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                  Instances For

                                                                                                                                                                    Contextual handle target with arbitrary residual-carrier orientation.

                                                                                                                                                                    Equations
                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                    Instances For
                                                                                                                                                                      def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.HandleBlockCommute.negativeSourceSignedIso {n : } (outer first second : Fin n) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hfirstOuter : first outer) (hsecondOuter : second outer) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) :
                                                                                                                                                                      (Dyck.oneFace (negativeSourceWord outer first second insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (positiveSourceWord outer first second insideTail outsideTail))

                                                                                                                                                                      Reversing only the residual carrier identifies negative and positive handle sources.

                                                                                                                                                                      Equations
                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                      Instances For
                                                                                                                                                                        def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.HandleBlockCommute.negativeTargetSignedIso {n : } (outer first second : Fin n) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hfirstOuter : first outer) (hsecondOuter : second outer) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) :
                                                                                                                                                                        (Dyck.oneFace (negativeTargetWord outer first second insideTail outsideTail)).SignedPresentationIso (Dyck.oneFace (positiveTargetWord outer first second insideTail outsideTail))

                                                                                                                                                                        Reversing only the residual carrier identifies negative and positive handle targets.

                                                                                                                                                                        Equations
                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                        Instances For
                                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.HandleBlockCommute.exists_positiveNormalizationEquivalent {n : } (outer first second : Fin n) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hfirstSecond : first second) (hfirstOuter : first outer) (hsecondOuter : second outer) (hfirstInside : firstList.map edgeOfDart insideTail) (hfirstOutside : firstList.map edgeOfDart outsideTail) (hsecondInside : secondList.map edgeOfDart insideTail) (hsecondOutside : secondList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (positiveSourceWord outer first second insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                                                          ∃ (validTarget : (Dyck.oneFace (positiveTargetWord outer first second insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (positiveSourceWord outer first second insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (positiveTargetWord outer first second insideTail outsideTail), valid := validTarget }

                                                                                                                                                                          Commuting a completed handle through a residual pair is a four-Dyck chain.

                                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.HandleBlockCommute.exists_normalizationEquivalent {n : } (outer first second : Fin n) (outerNegative : Bool) (insideTail outsideTail : List (SurfaceCellComplex.SignedDart (Fin n))) (hfirstSecond : first second) (hfirstOuter : first outer) (hsecondOuter : second outer) (hfirstInside : firstList.map edgeOfDart insideTail) (hfirstOutside : firstList.map edgeOfDart outsideTail) (hsecondInside : secondList.map edgeOfDart insideTail) (hsecondOutside : secondList.map edgeOfDart outsideTail) (houterInside : outerList.map edgeOfDart insideTail) (houterOutside : outerList.map edgeOfDart outsideTail) (validSource : (Dyck.oneFace (sourceWord outer first second outerNegative insideTail outsideTail)).IsSurfaceValid) :
                                                                                                                                                                          ∃ (validTarget : (Dyck.oneFace (targetWord outer first second outerNegative insideTail outsideTail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord outer first second outerNegative insideTail outsideTail), valid := validSource } { presentation := Dyck.oneFace (targetWord outer first second outerNegative insideTail outsideTail), valid := validTarget }

                                                                                                                                                                          Contextual handle commuting supports either orientation of the residual carrier.

                                                                                                                                                                          Two consecutive extracted boundary darts with arbitrary independent orientations.

                                                                                                                                                                          Equations
                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                          Instances For

                                                                                                                                                                            Contract the second boundary edge and retain one positively normalized boundary dart.

                                                                                                                                                                            Equations
                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                            Instances For

                                                                                                                                                                              P1 expansion is just edge-name retention on a word avoiding the subdivided edge.

                                                                                                                                                                              def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryPairContraction.sourceSignSignedIso {n : } (first second : Fin (n + 1)) (firstNegative secondNegative : Bool) (tail : List (SurfaceCellComplex.SignedDart (Fin (n + 1)))) (hfirstSecond : first second) (hfirstTail : firstList.map edgeOfDart tail) (hsecondTail : secondList.map edgeOfDart tail) :
                                                                                                                                                                              (Dyck.oneFace (sourceWord first second firstNegative secondNegative tail)).SignedPresentationIso (Dyck.oneFace (sourceWord first second false false tail))

                                                                                                                                                                              Independent sign normalization identifies the generic and positive adjacent-boundary spellings.

                                                                                                                                                                              Equations
                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                              Instances For
                                                                                                                                                                                def LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryPairContraction.positiveSourceSignedIso {n : } (first second : Fin (n + 1)) (tail : List (SurfaceCellComplex.SignedDart (Fin (n + 1)))) (hfirstSecond : first second) (hfirstTail : firstList.map edgeOfDart tail) (hsecondTail : secondList.map edgeOfDart tail) :
                                                                                                                                                                                (Dyck.oneFace (sourceWord first second false false tail)).SignedPresentationIso (P1.expand (Dyck.oneFace (targetWord first second hfirstSecond tail)) (Cancellation.lowerEdge second first hfirstSecond))

                                                                                                                                                                                The positive adjacent-boundary spelling is exactly a P1 expansion after moving the second edge to the fresh-last name.

                                                                                                                                                                                Equations
                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                Instances For
                                                                                                                                                                                  theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryPairContraction.exists_normalizationEquivalent {n : } (first second : Fin (n + 1)) (firstNegative secondNegative : Bool) (tail : List (SurfaceCellComplex.SignedDart (Fin (n + 1)))) (hfirstSecond : first second) (hfirstTail : firstList.map edgeOfDart tail) (hsecondTail : secondList.map edgeOfDart tail) (validSource : (Dyck.oneFace (sourceWord first second firstNegative secondNegative tail)).IsSurfaceValid) :
                                                                                                                                                                                  ∃ (validTarget : (Dyck.oneFace (targetWord first second hfirstSecond tail)).IsSurfaceValid), NormalizationEquivalent { presentation := Dyck.oneFace (sourceWord first second firstNegative secondNegative tail), valid := validSource } { presentation := Dyck.oneFace (targetWord first second hfirstSecond tail), valid := validTarget }

                                                                                                                                                                                  Contracting two adjacent once-used boundary darts is a signed isomorphism followed by one inverse P1 move.

                                                                                                                                                                                  @[reducible]

                                                                                                                                                                                  A one-face word before a fresh opposite carrier pair is introduced.

                                                                                                                                                                                  Equations
                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                  Instances For

                                                                                                                                                                                    The fresh carrier name in the enlarged edge type.

                                                                                                                                                                                    Equations
                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                    Instances For

                                                                                                                                                                                      Enclose a retained word in a fresh positively oriented carrier pair.

                                                                                                                                                                                      Equations
                                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                                      Instances For
                                                                                                                                                                                        @[reducible]

                                                                                                                                                                                        The target declaration.

                                                                                                                                                                                        Equations
                                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                                        Instances For

                                                                                                                                                                                          The one-sided source split creates the carrier as a face separator.

                                                                                                                                                                                          Equations
                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                          Instances For

                                                                                                                                                                                            Split the enveloped target between its two carrier occurrences.

                                                                                                                                                                                            Equations
                                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                                            Instances For

                                                                                                                                                                                              The separator edge selected for P1 expansion in the source split.

                                                                                                                                                                                              Equations
                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                              Instances For

                                                                                                                                                                                                The retained half of the expanded source separator.

                                                                                                                                                                                                Equations
                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                Instances For

                                                                                                                                                                                                  Reverse the retained separator when identifying the two common subdivisions.

                                                                                                                                                                                                  Equations
                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                    The subdivisionFaceEquiv declaration.

                                                                                                                                                                                                    Equations
                                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                      Expanding the source separator and splitting the enveloped target give signed-isomorphic two-face presentations.

                                                                                                                                                                                                      Equations
                                                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                      Instances For

                                                                                                                                                                                                        The enveloping carrier adds one twice-used name and retains all old multiplicities.

                                                                                                                                                                                                        theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.BoundaryEnvelope.normalizationEquivalent {n : } (word : List (SurfaceCellComplex.SignedDart (Fin n))) (hne : word []) (validSource : (source word).IsSurfaceValid) :
                                                                                                                                                                                                        NormalizationEquivalent { presentation := source word, valid := validSource } { presentation := target word, valid := }

                                                                                                                                                                                                        Add a fresh opposite carrier pair around a nonempty one-face word. A one-sided P2 split followed by P1 has the same subdivision as a genuine split of the enveloped target.

                                                                                                                                                                                                        One non-residual atom allowed in a classified marked execution state.

                                                                                                                                                                                                        Instances For

                                                                                                                                                                                                          Retain a completed block when one fresh ambient carrier name is added.

                                                                                                                                                                                                          Equations
                                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                            Retain a protected atom when one fresh ambient carrier name is added.

                                                                                                                                                                                                            Equations
                                                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                              Reverse one protected atom.

                                                                                                                                                                                                              Equations
                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                              Instances For

                                                                                                                                                                                                                Concatenate a protected atom sequence into its exact signed word.

                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                  Concatenate the distinct-name spines owned by a protected atom sequence.

                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                    Reverse a protected atom sequence at atom granularity.

                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                                      Number of raw once-used boundary darts. Terminal normalization groups and contracts every such dart to one representative of the remaining outer boundary component.

                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                      Instances For

                                                                                                                                                                                                                        Number of boundary components selected by a terminal atom sequence. Completed loops are already distinct boundary components. All remaining raw boundary darts lie on the one outer boundary component and therefore contribute one component collectively, rather than one each.

                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                        Instances For

                                                                                                                                                                                                                          Normal-form parameters selected by a terminal protected-atom sequence. Completed boundary loops contribute individually; any remaining raw boundary darts collectively contribute the one outer boundary component and will be grouped during terminal normalization.

                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                                            Every protected atom is raw boundary data or belongs to exactly one completed block class.

                                                                                                                                                                                                                            A nonempty terminal protected-atom sequence selects an Eval-admissible normal form.

                                                                                                                                                                                                                            A protected atom sequence with no raw boundary singleton consists entirely of completed blocks.

                                                                                                                                                                                                                            A marked normalization word. Residual darts are still available to subsequent pairing reductions; extracted blocks are atomic tokens whose exact dart succession must be preserved.

                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                              Embed a classified protected atom as one marked token.

                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                              Instances For

                                                                                                                                                                                                                                Reverse a token while preserving an extracted block as one atomic token.

                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                                  Relabel every edge name represented by a marked token.

                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                    Lower a marked token known not to use the removed ambient edge.

                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                                                      Lowering one marked token agrees with word-level cancellation lowering.

                                                                                                                                                                                                                                      Re-embedding protected edge names after lowering one token recovers the old protected names.

                                                                                                                                                                                                                                      Re-embedding a lowered token's distinct protected names recovers its old name spine.

                                                                                                                                                                                                                                      Expand a marked word to the exact signed word on which normalization moves act.

                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                      Instances For

                                                                                                                                                                                                                                        Erase extracted blocks and retain only the darts still available to pairing reduction.

                                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                        Instances For

                                                                                                                                                                                                                                          All edge names protected inside extracted block tokens.

                                                                                                                                                                                                                                          Equations
                                                                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                                                            Distinct-name spine of all protected tokens. Each token contributes each of its edge names once, so global Nodup expresses disjoint ownership of protected names.

                                                                                                                                                                                                                                            Equations
                                                                                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                                              Residual darts and already-extracted blocks use disjoint ambient edge names.

                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                              Instances For

                                                                                                                                                                                                                                                Reverse a marked word at token granularity.

                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                                                  Initially every dart is still residual.

                                                                                                                                                                                                                                                  Equations
                                                                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                                    A finished marked word contains only extracted block tokens.

                                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                    Instances For

                                                                                                                                                                                                                                                      A classified token list with no residual darts is exactly a list of typed protected atoms.

                                                                                                                                                                                                                                                      Canonical atom-level view of a classified marked word whose residual contribution is empty.

                                                                                                                                                                                                                                                      Equations
                                                                                                                                                                                                                                                      Instances For

                                                                                                                                                                                                                                                        The distinct-name spine and occurrence-level protected list have identical membership.

                                                                                                                                                                                                                                                        Lower every token in a marked word which avoids the removed edge.

                                                                                                                                                                                                                                                        Equations
                                                                                                                                                                                                                                                        Instances For

                                                                                                                                                                                                                                                          Marked cancellation lowering distributes over token concatenation.

                                                                                                                                                                                                                                                          Expanding a lowered marked word gives exactly the ordinary cancellation target word.

                                                                                                                                                                                                                                                          Re-embedding all residual edge names after lowering a marked word recovers the source residual namespace exactly.

                                                                                                                                                                                                                                                          Lowering an absent ambient edge preserves the number of residual darts.

                                                                                                                                                                                                                                                          Re-embedding all protected edge names after lowering a marked word recovers the source protected namespace exactly.

                                                                                                                                                                                                                                                          Re-embedding all distinct protected names after lowering recovers the source name spine.

                                                                                                                                                                                                                                                          Injective cancellation lowering preserves separation of residual and protected names.

                                                                                                                                                                                                                                                          An edge occurs in the expanded word exactly when it is residual or protected in an extracted block token.

                                                                                                                                                                                                                                                          A name absent from a token's protected part has the same multiplicity in its exact word and its residual contribution.

                                                                                                                                                                                                                                                          A name absent from every protected token has the same multiplicity in the expanded word and the erased residual word.

                                                                                                                                                                                                                                                          Flattening preserves a cyclic rotation of a list of lists.

                                                                                                                                                                                                                                                          Expanding atomic marked tokens preserves cyclic rotation.

                                                                                                                                                                                                                                                          Protected edge names rotate with their atomic marked tokens.

                                                                                                                                                                                                                                                          Distinct protected-name spines rotate with their atomic marked tokens.

                                                                                                                                                                                                                                                          Residual edge names rotate with their atomic marked tokens.

                                                                                                                                                                                                                                                          Separation of residual and protected edge names is invariant under cyclic rotation.

                                                                                                                                                                                                                                                          Separation depends only on the multiset of atomic marked tokens.

                                                                                                                                                                                                                                                          Permuting atomic marked tokens permutes their distinct protected-name spines.

                                                                                                                                                                                                                                                          Duplicate-freeness of protected names depends only on the multiset of marked tokens.

                                                                                                                                                                                                                                                          Permuting marked tokens preserves nonemptiness of the protected-name spine.

                                                                                                                                                                                                                                                          Permuting atomic marked tokens preserves the number of residual darts.

                                                                                                                                                                                                                                                          Lowering an absent ambient edge preserves duplicate-freeness of all protected names.

                                                                                                                                                                                                                                                          A separated marked word cannot protect an edge that still occurs residually.

                                                                                                                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.ReductionToken.exists_split_of_residualDarts_eq_append_cons {n : } (tokens : List (ReductionToken n)) (left right : List (SurfaceCellComplex.SignedDart (Fin n))) (dart : SurfaceCellComplex.SignedDart (Fin n)) (hresidual : residualDarts tokens = left ++ dart :: right) :
                                                                                                                                                                                                                                                          ∃ (tokenLeft : List (ReductionToken n)) (tokenRight : List (ReductionToken n)), tokens = tokenLeft ++ residual dart :: tokenRight residualDarts tokenLeft = left residualDarts tokenRight = right

                                                                                                                                                                                                                                                          Lift a displayed residual dart occurrence to an exact split of the marked token list.

                                                                                                                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.ReductionToken.exists_split_of_residualDarts_eq_append {n : } (tokens : List (ReductionToken n)) (left right : List (SurfaceCellComplex.SignedDart (Fin n))) (hresidual : residualDarts tokens = left ++ right) :
                                                                                                                                                                                                                                                          ∃ (tokenLeft : List (ReductionToken n)) (tokenRight : List (ReductionToken n)), tokens = tokenLeft ++ tokenRight residualDarts tokenLeft = left residualDarts tokenRight = right

                                                                                                                                                                                                                                                          Lift an arbitrary residual-word cut to a cut of the marked token list.

                                                                                                                                                                                                                                                          Every cyclic rotation of the residual darts is induced by a cyclic rotation of the marked tokens.

                                                                                                                                                                                                                                                          theorem LeanEval.Topology.ClassificationOfSurfaces.FiniteCyclicPresentation.WordReduction.Pairing.ReductionToken.exists_isRotated_residual_cons {n : } (tokens : List (ReductionToken n)) (dart : SurfaceCellComplex.SignedDart (Fin n)) (remainder : List (SurfaceCellComplex.SignedDart (Fin n))) (hrotated : residualDarts tokens ~r dart :: remainder) :
                                                                                                                                                                                                                                                          ∃ (tokenRemainder : List (ReductionToken n)), tokens ~r residual dart :: tokenRemainder residualDarts tokenRemainder = remainder

                                                                                                                                                                                                                                                          Lift a residual rotation which displays one dart at its head to a marked-token rotation with that exact residual token at its head.

                                                                                                                                                                                                                                                          Type-valued packaging of a marked split, suitable for recursive normalization data.

                                                                                                                                                                                                                                                          Instances For

                                                                                                                                                                                                                                                            Type-valued packaging of a marked split at one displayed residual dart.

                                                                                                                                                                                                                                                            Instances For

                                                                                                                                                                                                                                                              Choose a marked split above a displayed residual-word split.

                                                                                                                                                                                                                                                              Equations
                                                                                                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                              Instances For

                                                                                                                                                                                                                                                                Choose a marked split at a displayed residual dart.

                                                                                                                                                                                                                                                                Equations
                                                                                                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                                Instances For

                                                                                                                                                                                                                                                                  Type-valued packaging of a marked rotation with one residual dart at its head.

                                                                                                                                                                                                                                                                  Instances For

                                                                                                                                                                                                                                                                    Choose the marked rotation above a residual rotation with one displayed head dart.

                                                                                                                                                                                                                                                                    Equations
                                                                                                                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                                                                                                                    Instances For