Documentation

Seymour.Matroid.Graphicness

Graphicness #

Here we study graphic and cographic matroids.

def IsIncidenceMatrixColumn {m : Type u_1} [DecidableEq m] (v : m) :

Column of a node-edge incidence matrix is either all 0, or has exactly one +1 entry, exactly one -1 entry, and all other elements 0.

Equations
Instances For
    def Matrix.IsGraphic {m : Type u_1} {n : Type u_2} [DecidableEq m] (A : Matrix m n ) :

    Matrix is called graphic iff it is a node-edge incidence matrix of a (directed) graph.

    Equations
    Instances For
      theorem Matrix.IsGraphic.elem_in_signTypeCastRange {m : Type u_1} {n : Type u_2} [DecidableEq m] {A : Matrix m n } (hA : A.IsGraphic) (i : m) (j : n) :
      A i j SignType.cast.range

      Every element of a graphic matrix is 1, 0, or -1.

      theorem Matrix.IsGraphic.col_zero_or_two_nonzeros {m : Type u_1} {n : Type u_2} [DecidableEq m] {A : Matrix m n } (hA : A.IsGraphic) (y : n) :
      (fun (x : m) => A x y) = 0 ∃ (i₁ : m) (i₂ : m), i₁ i₂ ∀ (i : m), i i₁i i₂(fun (x : m) => A x y) i = 0

      Column of a node-edge incidence matrix has either zero or two non-zero entries.

      theorem Matrix.IsGraphic.cols_sum_zero {m : Type u_1} {n : Type u_2} [Fintype n] [Fintype m] [DecidableEq m] {A : Matrix m n } (hA : A.IsGraphic) :
      x : m, A x = 0

      The sum of the columns in a graphic matrix is 0.

      def Matroid.IsGraphic {α : Type u_1} [DecidableEq α] (M : Matroid α) :

      Matroid is graphic iff it can be represented by a graphic matrix.

      Equations
      Instances For
        def Matroid.IsCographic {α : Type u_1} [DecidableEq α] (M : Matroid α) :

        Matroid is cographic iff its dual is graphic.

        Equations
        Instances For
          theorem Matrix.IsGraphic.isTotallyUnimodular {α : Type u_1} [DecidableEq α] {X Y : Set α} {A : Matrix X Y } (hA : A.IsGraphic) :

          Node-edge incidence matrix is totally unimodular.

          theorem Matroid.IsGraphic.isRegular {α : Type u_1} [DecidableEq α] {M : Matroid α} (hM : M.IsGraphic) :

          Graphic matroid is regular.