Documentation

Lightlike.Surfaces.Arc

Arcs in vertex links #

The link of a vertex of a closed surface is a connected edge set in which every vertex lies in exactly two edges, a cycle. This file proves the facts about such edge sets used to cut a surface along a curve:

Degrees in edge sets #

def Lightlike.Surfaces.edeg {V : Type u_1} [DecidableEq V] (S : Finset (Finset V)) (x : V) :

The number of edges of the edge set S containing the vertex x.

Equations
Instances For
    theorem Lightlike.Surfaces.even_sum_edeg {V : Type u_1} [DecidableEq V] {S : Finset (Finset V)} (hS : ∀ e ∈ S, e.card = 2) {C : Finset V} (hC : ∀ e ∈ S, ∀ x ∈ e, x ∈ C → e ⊆ C) :
    Even (∑ x ∈ C, edeg S x)

    Handshake on a closed vertex set. If every edge of S has two vertices and the vertex set C contains, with one vertex of an edge, the whole edge, then the degrees over C add up to an even number.

    theorem Lightlike.Surfaces.pair_cases {V : Type u_1} [DecidableEq V] {a b x y : V} (h : {x, y} = {a, b}) (hxy : x ≠ y) :
    x = a ∧ y = b ∨ x = b ∧ y = a

    Two equal two-element sets: the elements match in one of the two orders.

    theorem Lightlike.Surfaces.rtg_symm {V : Type u_1} {R : V → V → Prop} (hs : ∀ (a b : V), R a b → R b a) {a b : V} (h : Relation.ReflTransGen R a b) :

    The reflexive-transitive closure of a symmetric relation is symmetric.

    theorem Lightlike.Surfaces.ne_of_pair_card {V : Type u_1} [DecidableEq V] {x y : V} (h : {x, y}.card = 2) :
    x ≠ y

    A pair with two elements consists of distinct elements.

    theorem Lightlike.Surfaces.connEdges_erase_edge {V : Type u_1} [DecidableEq V] {S : Finset (Finset V)} (hc : PR.IsConnEdges S) (h2 : ∀ e ∈ S, e.card = 2) (hreg : ∀ x ∈ PR.verts2 S, edeg S x = 2) {a b : V} (hab : {a, b} ∈ S) :

    A connected 2-regular edge set minus one edge is connected. Removing the edge ab of a connected edge set in which every vertex lies in two edges leaves b reachable from a: the vertices reachable from a would otherwise have an odd degree sum.

    theorem Lightlike.Surfaces.other_edge {V : Type u_1} [DecidableEq V] {S : Finset (Finset V)} (h2 : ∀ e ∈ S, e.card = 2) {x y : V} (hreg : edeg S x = 2) (hxy : {x, y} ∈ S) :
    ∃ (z : V), z ≠ y ∧ z ≠ x ∧ {x, z} ∈ S ∧ ∀ e ∈ S, x ∈ e → e = {x, y} ∨ e = {x, z}

    In an edge set where x lies in two edges, an edge xy has a partner xz with z ≠ y.

    theorem Lightlike.Surfaces.connEdges_filter_notMem {V : Type u_1} [DecidableEq V] {S : Finset (Finset V)} (hc : PR.IsConnEdges S) (h2 : ∀ e ∈ S, e.card = 2) (hreg : ∀ x ∈ PR.verts2 S, edeg S x = 2) {p : V} (hp : p ∈ PR.verts2 S) :
    PR.IsConnEdges ({x ∈ S | p ∉ x})

    A connected 2-regular edge set minus one vertex is connected. The edges avoiding a vertex p of a connected edge set in which every vertex lies in two edges still form a connected edge set: remove one edge ps at p (connEdges_erase_edge), then contract the remaining edge pt at p onto t.

    theorem Lightlike.Surfaces.IsSurface.card_lk2 {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface L) {u : V} (e : Finset V) :
    e ∈ PR.lk2 L u → e.card = 2

    The edges of a vertex link of a closed surface have two vertices.

    theorem Lightlike.Surfaces.IsSurface.edeg_lk2 {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface L) {u x : V} (hx : x ∈ PR.verts2 (PR.lk2 L u)) :
    edeg (PR.lk2 L u) x = 2

    Vertex links of closed surfaces are 2-regular: every vertex of the link of u lies in exactly two of its edges.

    theorem Lightlike.Surfaces.rtg_fromRel {V : Type u_1} {R : V → V → Prop} {a b : V} (h : Relation.ReflTransGen R a b) :

    A chain of R-steps is a chain of adjacencies in the simple graph generated by R.

    theorem Lightlike.Surfaces.walk_support_avoid {V : Type u_1} {G : SimpleGraph V} {X : V → Prop} (hG : ∀ (a b : V), G.Adj a b → ¬X b) {a b : V} (w : G.Walk a b) :
    ¬X a → ∀ x ∈ w.support, ¬X x

    If no edge of G ends in the set X, a walk starting outside X stays outside X.

    theorem Lightlike.Surfaces.IsSurface.exists_arc {V : Type u_1} [DecidableEq V] {L : Finset (Finset V)} (hS : IsSurface L) {u p s q : V} (hτ : {u, p, s} ∈ L) (hq : q ∈ PR.verts2 (PR.lk2 L u)) (hqp : q ≠ p) :
    ∃ (l : List V), (p :: s :: l).Nodup ∧ u ∉ p :: s :: l ∧ List.IsChain (fun (a b : V) => {u, a, b} ∈ L) (p :: s :: l) ∧ (s :: l).getLast? = some q

    An arc in a vertex link. If {u, p, s} is a triangle of a closed surface and q ≠ p is another vertex of the link of u, there is a list p, s, …, q of distinct vertices, all different from u, with {u, a, b} a triangle for any two consecutive entries a, b.