Documentation

Lightlike.Surfaces.Dual

The dual graph of a closed surface #

Two triangles of a complex are dual-adjacent (DAdj) when they are distinct and share an edge. For a closed surface the dual graph is connected:

These are used to move a gluing site or the end of a tube from one triangle to another, one dual edge at a time. tri_of_two and DAdj.split write two adjacent triangles as {w, x, y} and {x, y, z}.

def Lightlike.Surfaces.DAdj {V : Type u_1} (M : Finset (Finset V)) (s t : Finset V) :

Two triangles s and t of M are dual-adjacent: they are distinct and share two distinct vertices.

Equations
Instances For
    theorem Lightlike.Surfaces.DAdj.symm {V : Type u_1} {M : Finset (Finset V)} {s t : Finset V} (h : DAdj M s t) :
    DAdj M t s

    Dual adjacency is symmetric.

    theorem Lightlike.Surfaces.dconn_of_two {V : Type u_1} [DecidableEq V] {M : Finset (Finset V)} {s t : Finset V} (hs : s ∈ M) (ht : t ∈ M) {x y : V} (hxy : x ≠ y) (hxs : x ∈ s) (hys : y ∈ s) (hxt : x ∈ t) (hyt : y ∈ t) :

    Two triangles of M with two common vertices are joined by a dual path (of length 0 or 1).

    theorem Lightlike.Surfaces.exists_ne_of_tri {V : Type u_1} [DecidableEq V] {s : Finset V} (hs : s.card = 3) {v : V} (hv : v ∈ s) :
    ∃ p ∈ s, p ≠ v

    A triangle containing v has another vertex.

    theorem Lightlike.Surfaces.IsSurface.dconn_vertex {V : Type u_1} [DecidableEq V] {M : Finset (Finset V)} (hS : IsSurface M) {v : V} {s t : Finset V} (hs : s ∈ M) (ht : t ∈ M) (hvs : v ∈ s) (hvt : v ∈ t) :

    Triangles at a common vertex are dual-connected. In a closed surface, two triangles through the vertex v are joined by a path of dual edges.

    theorem Lightlike.Surfaces.IsSurface.dconn {V : Type u_1} [DecidableEq V] {M : Finset (Finset V)} (hS : IsSurface M) {s t : Finset V} (hs : s ∈ M) (ht : t ∈ M) :

    The dual graph of a closed surface is connected. Any two triangles are joined by a path of dual edges.

    theorem Lightlike.Surfaces.IsSurface.exists_path_avoid {V : Type u_1} [DecidableEq V] {M : Finset (Finset V)} (hS : IsSurface M) {σ t : Finset V} (hσ : σ ∈ M) (ht : t ∈ M) (htσ : t ≠ σ) :
    ∃ (e : Finset V), DAdj M e σ ∧ Relation.ReflTransGen (fun (a b : Finset V) => DAdj M a b ∧ a ≠ σ ∧ b ≠ σ) t e

    A dual path avoiding a triangle. In a closed surface, a triangle t ≠ σ is joined to a dual neighbour e of σ by a path of dual edges none of whose triangles is σ.

    theorem Lightlike.Surfaces.tri_of_two {V : Type u_1} [DecidableEq V] {s : Finset V} (hs : s.card = 3) {x y : V} (hxy : x ≠ y) (hx : x ∈ s) (hy : y ∈ s) :
    ∃ (w : V), w ≠ x ∧ w ≠ y ∧ s = {w, x, y}

    A triangle s through two distinct vertices x, y is {w, x, y} for a third vertex w.

    theorem Lightlike.Surfaces.DAdj.split {V : Type u_1} [DecidableEq V] {M : Finset (Finset V)} (hT : PR.IsTri2 M) {s t : Finset V} (h : DAdj M s t) :
    ∃ (w : V) (x : V) (y : V) (z : V), s = {w, x, y} ∧ t = {x, y, z} ∧ w ≠ z ∧ x ≠ y ∧ w ≠ x ∧ w ≠ y ∧ z ≠ x ∧ z ≠ y

    Two dual-adjacent triangles of a complex of triangles are {w, x, y} and {x, y, z} with x, y, z, w such that w ≠ z, x ≠ y and w, z ∉ {x, y}.