Documentation

Lightlike.Surfaces.Sum

Connected sums #

The connected sum csum L σ P τ₀ f removes the triangle σ from L and the triangle τ₀ from a piece P with natural-number labels, and glues the rest of P, placed in V by the embedding f, along the boundary of σ. The gluing conditions (IsGlue): f sends τ₀ onto σ and the other vertices of P outside L.

def Lightlike.Surfaces.csum {V : Type u_1} [DecidableEq V] (L : Finset (Finset V)) (σ : Finset V) (P : Finset (Finset ℕ)) (τ₀ : Finset ℕ) (f : ℕ ↪ V) :

The connected sum of L (at its triangle σ) and the piece P (at its triangle τ₀), the piece placed in V by f.

Equations
Instances For
    structure Lightlike.Surfaces.IsGlue {V : Type u_1} [DecidableEq V] (L : Finset (Finset V)) (σ : Finset V) (P : Finset (Finset ℕ)) (τ₀ : Finset ℕ) (f : ℕ ↪ V) :

    The gluing conditions for a connected sum: σ and τ₀ are triangles, f sends τ₀ onto σ, and the other vertices of P outside L.

    Instances For

      Vertices and edges #

      theorem Lightlike.Surfaces.exists_other_tri {W : Type u_2} [DecidableEq W] {L : Finset (Finset W)} (hc : PR.IsClosed2 L) {σ : Finset W} (hσ : σ ∈ L) {e : Finset W} (he : e ⊆ σ) (he2 : e.card = 2) :
      ∃ t ∈ L, t ≠ σ ∧ e ⊆ t

      In a closed complex, every vertex and every edge of a triangle σ lies in another triangle.

      theorem Lightlike.Surfaces.edges2_erase {W : Type u_2} [DecidableEq W] {L : Finset (Finset W)} (hc : PR.IsClosed2 L) {σ : Finset W} (hσ : σ ∈ L) :
      theorem Lightlike.Surfaces.verts2_erase {W : Type u_2} [DecidableEq W] {L : Finset (Finset W)} (hc : PR.IsClosed2 L) (hT : PR.IsTri2 L) {σ : Finset W} (hσ : σ ∈ L) :
      theorem Lightlike.Surfaces.verts2_csum {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hLc : PR.IsClosed2 L) (hLt : PR.IsTri2 L) (hPc : PR.IsClosed2 P) (hPt : PR.IsTri2 P) (hg : IsGlue L σ P τ₀ f) :
      PR.verts2 (csum L σ P τ₀ f) = PR.verts2 L ∪ Finset.map f (PR.verts2 P)

      The Euler characteristic of a connected sum #

      theorem Lightlike.Surfaces.euler2_csum {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hLc : PR.IsClosed2 L) (hLt : PR.IsTri2 L) (hPc : PR.IsClosed2 P) (hPt : PR.IsTri2 P) (hg : IsGlue L σ P τ₀ f) :
      PR.euler2 (csum L σ P τ₀ f) = PR.euler2 L + PR.euler2 P - 2

      The Euler characteristic of a connected sum: χ(L # P) = χ(L) + χ(P) − 2.

      Orientations of a connected sum #

      noncomputable def Lightlike.Surfaces.pushO {V : Type u_1} (f : ℕ ↪ V) (o : ℕ → ℕ → ℕ → ℤ) (x y z : V) :

      An orientation of a piece, placed in V by f (0 off the image of f).

      Equations
      Instances For
        theorem Lightlike.Surfaces.pushO_apply {V : Type u_1} {f : ℕ ↪ V} {o : ℕ → ℕ → ℕ → ℤ} (a b c : ℕ) :
        pushO f o (f a) (f b) (f c) = o a b c
        theorem Lightlike.Surfaces.pushO_eq_zero {V : Type u_1} {f : ℕ ↪ V} {o : ℕ → ℕ → ℕ → ℤ} {x y z : V} (h : ¬(x ∈ Set.range ⇑f ∧ y ∈ Set.range ⇑f ∧ z ∈ Set.range ⇑f)) :
        pushO f o x y z = 0
        theorem Lightlike.Surfaces.pushO_rot {V : Type u_1} {f : ℕ ↪ V} {o : ℕ → ℕ → ℕ → ℤ} (hrot : ∀ (x y z : ℕ), o y z x = o x y z) (x y z : V) :
        pushO f o y z x = pushO f o x y z
        theorem Lightlike.Surfaces.pushO_swap {V : Type u_1} {f : ℕ ↪ V} {o : ℕ → ℕ → ℕ → ℤ} (hswap : ∀ (x y z : ℕ), o y x z = -o x y z) (x y z : V) :
        pushO f o y x z = -pushO f o x y z
        theorem Lightlike.Surfaces.otri_map {V : Type u_1} [DecidableEq V] {f : ℕ ↪ V} (a b c x y z : ℕ) :
        otri (f a) (f b) (f c) (f x) (f y) (f z) = otri a b c x y z
        theorem Lightlike.Surfaces.tri_map {V : Type u_1} [DecidableEq V] (f : ℕ ↪ V) (a b c : ℕ) :
        Finset.map f {a, b, c} = {f a, f b, f c}
        theorem Lightlike.Surfaces.isOrientable_csum {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hLc : PR.IsClosed2 L) (hLt : PR.IsTri2 L) (hPc : PR.IsClosed2 P) (hPt : PR.IsTri2 P) (hg : IsGlue L σ P τ₀ f) (hL : IsOrientable L) (hP : IsOrientable P) :
        IsOrientable (csum L σ P τ₀ f)

        A connected sum of orientable closed surfaces is orientable, for any gluing (the piece's orientation is reversed if necessary).

        A connected sum of closed complexes is closed #

        theorem Lightlike.Surfaces.IsGlue.land {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hg : IsGlue L σ P τ₀ f) {n : ℕ} (hn : n ∈ PR.verts2 P) (hL : f n ∈ PR.verts2 L) :
        n ∈ τ₀
        theorem Lightlike.Surfaces.IsGlue.sub_of_mem {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hg : IsGlue L σ P τ₀ f) {t : Finset ℕ} (ht : t ∈ P) (hL : ∀ n ∈ t, f n ∈ PR.verts2 L) :
        t ⊆ τ₀

        A triangle of the piece whose image lies in L is the gluing triangle.

        theorem Lightlike.Surfaces.isTri2_csum {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hLt : PR.IsTri2 L) (hPt : PR.IsTri2 P) :
        PR.IsTri2 (csum L σ P τ₀ f)

        A connected sum of two complexes of triangles is a complex of triangles.

        theorem Lightlike.Surfaces.isClosed2_csum {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} {σ : Finset V} {P : Finset (Finset ℕ)} {τ₀ : Finset ℕ} {f : ℕ ↪ V} (hLc : PR.IsClosed2 L) (hPc : PR.IsClosed2 P) (hPt : PR.IsTri2 P) (hg : IsGlue L σ P τ₀ f) :
        PR.IsClosed2 (csum L σ P τ₀ f)

        A connected sum of closed complexes is closed: an edge of the gluing triangle keeps one triangle on each side, the other edges keep both of theirs.