Documentation

Lightlike.Surfaces.Contract

Contracting an edge by bistellar moves #

contract L y v renames the vertex y to v and drops the triangles that become degenerate (the two triangles at the edge yv). If the only common neighbours of y and v are the two apexes of yv (the edge lies in no other 3-cycle), and those apexes do not span a triangle with v, the contraction is a composite of 2D bistellar moves (IsSurface.contract_eqvGen).

The proof flips the edges at y one by one: if yvw₁ and yw₁w₂ are consecutive triangles at y and vw₂ is not an edge, flipping yw₁ to vw₂ lowers the degree of y by one and does not change the contraction. When vw₂ is an edge, y has degree 3 and an inverse 1-3 move removes it, which is the contraction.

def Lightlike.Surfaces.rn {V : Type u_1} [DecidableEq V] (y v u : V) :
V

Renaming the vertex y to v.

Equations
Instances For
    def Lightlike.Surfaces.contract {V : Type u_1} [DecidableEq V] (L : Finset (Finset V)) (y v : V) :

    Contracting y into v: rename y to v in every triangle and keep the triangles that still have three vertices.

    Equations
    Instances For
      theorem Lightlike.Surfaces.image_rn_of_notMem {V : Type u_1} [DecidableEq V] {t : Finset V} {y v : V} (h : y ∉ t) :
      Finset.image (rn y v) t = t
      theorem Lightlike.Surfaces.image_rn_tri {V : Type u_1} [DecidableEq V] {y v a b : V} (ha : a ≠ y) (hb : b ≠ y) :
      Finset.image (rn y v) {y, a, b} = {v, a, b}
      theorem Lightlike.Surfaces.filter_image_rn_of_notMem {V : Type u_1} [DecidableEq V] {E : Finset (Finset V)} {y v : V} (hE : PR.IsTri2 E) (hy : ∀ t ∈ E, y ∉ t) :
      {x ∈ Finset.image (Finset.image (rn y v)) E | x.card = 3} = E

      The contraction of a complex whose triangles avoid y (apart from listed ones).

      theorem Lightlike.Surfaces.card_tri_dup {V : Type u_1} [DecidableEq V] {v w : V} (h : v ≠ w) :
      {v, v, w}.card ≠ 3
      theorem Lightlike.Surfaces.card_tri_dup' {V : Type u_1} [DecidableEq V] {v w : V} (h : v ≠ w) :
      {v, w, v}.card ≠ 3
      theorem Lightlike.Surfaces.card_tri {V : Type u_1} [DecidableEq V] {a b c : V} (hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c) :
      {a, b, c}.card = 3
      theorem Lightlike.Surfaces.IsSurface.contract_deg3 {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hL : IsSurface L) {y v w₁ w₂ : V} (h1 : {y, v, w₁} ∈ L) (h2 : {y, w₁, w₂} ∈ L) (h3 : {y, w₂, v} ∈ L) (hn : {v, w₁, w₂} ∉ L) :
      PR.Move2 (contract L y v) L

      Removing a vertex of degree 3 is its contraction: if the triangles at y are yvw₁, yw₁w₂, yw₂v and vw₁w₂ is not a face, subdividing vw₁w₂ in the contraction gives back L.

      theorem Lightlike.Surfaces.IsSurface.contract_eqvGen {V : Type u_1} [DecidableEq V] (n : ℕ) {L : Finset (Finset V)} {y v : V} :
      PR.deg2 L y = n → IsSurface L → {y, v} ∈ PR.edges2 L → (∀ (w : V), {y, w} ∈ PR.edges2 L → {v, w} ∈ PR.edges2 L → {y, v, w} ∈ L) → (∀ (w₁ w₂ : V), {y, v, w₁} ∈ L → {y, v, w₂} ∈ L → w₁ ≠ w₂ → {v, w₁, w₂} ∉ L) → Relation.EqvGen PR.Move2 L (contract L y v)

      Contracting an edge is a composite of 2D bistellar moves. If every common neighbour w of y and v spans a triangle yvw with them (the edge yv lies in no other 3-cycle) and the two apexes of yv do not span a triangle with v, then L and contract L y v are related by bistellar moves (n is the degree of y, for the induction).