Documentation

LeanPool.RegtsSevenster.RS.Novel.Coordinates.StarPeel

Peeling the multi-star into vertex stars #

The block-sorted multi-star over a degree list is the iterated tensor of vertex stars: blockAssign sends each slot to its block, starTensor is the iterated tensor, and the peel induction identifies them.

def RS.blockAssign (ds : List ℕ) :
Fin ds.sum → Fin ds.length

The block of a slot in a degree list.

Equations
Instances For
    noncomputable def RS.starTensor (ds : List ℕ) :

    The iterated tensor of vertex stars over a degree list.

    Equations
    Instances For
      noncomputable def RS.multiStarNil (c : ℕ) :

      The empty multi-star is the empty fragment.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def RS.peelVertexFun (n : ℕ) (v : Fin (n + 1)) :

        The head-vertex splitting map.

        Equations
        Instances For
          def RS.peelVertexInv (n : ℕ) :
          Unit ⊕ Fin n → Fin (n + 1)

          The head-vertex merging map.

          Equations
          Instances For
            def RS.peelVertexEquiv (n : ℕ) :
            Fin (n + 1) ≃ Unit ⊕ Fin n

            The head-vertex split.

            Equations
            Instances For
              theorem RS.peelVertexEquiv_zero (n : ℕ) (h : 0 < n + 1) :

              The peel splits off the first vertex.

              And leaves the rest in order.

              def RS.peelFlagEquiv (d S : ℕ) :
              Fin (d + S) ⊕ Fin (d + S) ≃ (Fin d ⊕ Fin d) ⊕ Fin S ⊕ Fin S

              The slot shuffle of the peel.

              Equations
              Instances For
                theorem RS.peelFlagEquiv_inl_low (d S : ℕ) (i : Fin d) :

                On the left side, the first block's flags go to the peeled star.

                theorem RS.peelFlagEquiv_inl_high (d S : ℕ) (j : Fin S) :

                And the remaining left flags to the rest.

                theorem RS.peelFlagEquiv_inr_low (d S : ℕ) (i : Fin d) :

                On the right side, the first block's flags go to the peeled star.

                theorem RS.peelFlagEquiv_inr_high (d S : ℕ) (j : Fin S) :

                And the remaining right flags to the rest.

                noncomputable def RS.multiStarPeel {n : ℕ} (d S c : ℕ) (rest : Fin S → Fin n) (a : Fin (d + S) → Fin (n + 1)) (ha_low : ∀ (i : Fin d), a (Fin.castAdd S i) = ⟨0, ⋯⟩) (ha_high : ∀ (j : Fin S), a (Fin.natAdd d j) = (rest j).succ) :

                The peel step, generically: a multi-star whose assignment splits blockwise is the head vertex star tensored with the tail multi-star.

                Equations
                Instances For
                  noncomputable def RS.tensorAddCirclesRight {s t u v : ℕ} (A : Fragment (Fin (s + t))) (B : Fragment (Fin (u + v))) (c : ℕ) :

                  Circles migrate out of the second tensor factor.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def RS.multiStarBlocks (ds : List ℕ) (c : ℕ) :

                    The block factorization: a block-sorted multi-star is the iterated tensor of vertex stars with the circles split off.

                    Equations
                    Instances For