Documentation

CslibFrontier.Computability.Complexity.Problems.Graph.PolygonalDrawing

Polygonal drawings of listed multigraphs #

Each listed edge occurrence has its own finite polygonal route in the real plane ℂ. Both ends of a loop remain distinct route parameters. Repeated declarations of the same natural number name the same point; only distinct declared names must have distinct points. There is no constraint on undeclared names and no degree bound.

Embedding is expressed entirely by actual real segment intersections and route parameters. It excludes self-intersections, visits to unrelated vertices and intersections of different edge interiors. It does not contain a rotation, numerical genus or a drawing provider.

Main definitions #

An actual finite polygonal drawing of the existing indexed listed graph. The endpoint equations hold even before requiring the endpoints to be among the declared names.

Instances For

    An actual outgoing end-segment vector, with both germs retained at a loop.

    Instances For

      The actual direction of an outgoing segment in the oriented real plane.

      Instances For

        Geometric embedding of the indexed multigraph. Every intersection below is tested at arbitrary real parameters of actual straight segments. Endpoint closure of an individual loop is permitted by simple; different edge routes may meet only at common named ends.

        Instances For

          A geometric embedding has nonzero outgoing end segments.

          theorem Cslib.Complexity.Graph.PolygonalDrawing.IsEmbedding.vertex_ne {G : Graph} {D : G.PolygonalDrawing} (hD : D.IsEmbedding) {u v : ℕ} (hu : u ∈ G.vertices) (hv : v ∈ G.vertices) (huv : u ≠ v) :
          D.vertex u ≠ D.vertex v

          Declared isolated vertices are separated just like all other distinct declared names.