Documentation

FormalConjecturesForMathlib.Combinatorics.SimpleGraph.Coloring

The chromatic number of a graph is the minimal number of colors needed to color it. This is (infinity) iff G isn't colorable with finitely many colors.

If G is colorable, then ENat.toNat G.chromaticNumber is the -valued chromatic number.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem SimpleGraph.le_chromaticNumber_iff_colorable {V : Type u_1} {G : SimpleGraph V} {n : } :
    n G.chromaticNumber ∀ (m : ), G.Colorable mn m
    theorem SimpleGraph.le_chromaticNumber_iff_coloring {V : Type u_1} {G : SimpleGraph V} {n : } :
    n G.chromaticNumber ∀ (m : ) (a : G.Coloring (Fin m)), n m
    theorem SimpleGraph.Coloring.injective_comp_of_pairwise_adj {V : Type u_1} {α : Type u_2} {ι : Type u_3} {G : SimpleGraph V} (C : G.Coloring α) (f : ιV) (hf : Pairwise fun (i j : ι) => G.Adj (f i) (f j)) :
    theorem SimpleGraph.Colorable.card_le_of_pairwise_adj {V : Type u_1} {ι : Type u_3} {G : SimpleGraph V} {n : } (hG : G.Colorable n) (f : ιV) (hf : Pairwise fun (i j : ι) => G.Adj (f i) (f j)) :
    theorem SimpleGraph.le_chromaticNumber_of_pairwise_adj {V : Type u_1} {ι : Type u_3} {G : SimpleGraph V} {n : } (hn : n Nat.card ι) (f : ιV) (hf : Pairwise fun (i j : ι) => G.Adj (f i) (f j)) :
    instance SimpleGraph.instSymmAdj_formalConjecturesForMathlib {V : Type u_1} {ι : Type u_3} {G : SimpleGraph V} (f : ιV) :
    Std.Symm fun (i j : ι) => G.Adj (f i) (f j)
    def SimpleGraph.IsCriticalEdges {V : Type u_1} (G : SimpleGraph V) (edges : Set (Sym2 V)) :

    A set of edges is critical if deleting them reduces the chromatic number.

    Equations
    Instances For
      def SimpleGraph.IsCriticalEdge {V : Type u_1} (G : SimpleGraph V) (e : Sym2 V) :

      An edge is critical if deleting it reduces the chromatic number.

      Equations
      Instances For
        def SimpleGraph.Subgraph.IsCriticalVerts {V : Type u_1} {G : SimpleGraph V} (verts : Set V) (G' : G.Subgraph) :

        A set of vertices is critical if deleting them reduces the chromatic number.

        Equations
        Instances For
          def SimpleGraph.Subgraph.IsCriticalVertex {V : Type u_1} {G : SimpleGraph V} (v : V) (G' : G.Subgraph) :

          A vertex is critical if deleting it reduces the chromatic number.

          Equations
          Instances For
            def SimpleGraph.IsCritical {V : Type u_1} (G : SimpleGraph V) (k : ) :

            A graph G is k-critical (or vertex-critical) if its chromatic number is k, and deleting any single vertex reduces the chromatic number.

            Equations
            Instances For
              theorem SimpleGraph.colorable_iff_induce_eq_bot {V : Type u_1} (G : SimpleGraph V) (n : ) :
              G.Colorable n ∃ (coloring : VFin n), ∀ (i : Fin n), induce {v : V | coloring v = i} G =
              def SimpleGraph.Cocolorable {V : Type u_1} (G : SimpleGraph V) (n : ) :
              Equations
              Instances For
                noncomputable def SimpleGraph.cochromaticNumber {V : Type u_1} (G : SimpleGraph V) :

                The chromatic number of a graph is the minimal number of colors needed to color it. This is (infinity) iff G isn't colorable with finitely many colors.

                If G is colorable, then ENat.toNat G.chromaticNumber is the -valued chromatic number.

                Equations
                Instances For
                  noncomputable def SimpleGraph.chromaticCardinal {V : Type u} (G : SimpleGraph V) :

                  The chromatic cardinal is the minimal number of colors need to color it. In contrast to chromaticNumber, which assigns ⊤ : ℕ∞ to all non-finitely colorable graphs, this definition returns a Cardinal and can therefore distinguish between different infinite chromatic numbers.

                  Equations
                  Instances For
                    noncomputable def SimpleGraph.indepNumK {V : Type u_1} (G : SimpleGraph V) (k : ) :

                    The maximum size of the union of k finite independent sets.

                    Equations
                    Instances For
                      def SimpleGraph.CDSColorable {α : Type u_2} [Fintype α] {G : SimpleGraph α} :

                      A finite graph is CDS-colorable if it has a proper coloring by natural numbers such that for all k > 0, the number of vertices with color < k equals the maximum size of the union of k independent sets.

                      Equations
                      Instances For
                        def SimpleGraph.IsRainbow {α : Type u_4} {V : Type u_5} {H : SimpleGraph α} {G : SimpleGraph V} (f : H →g G) {C : Type u_6} (c : Sym2 VC) :

                        A homomorphism is rainbow if it maps distinct edges to distinct colors.

                        Equations
                        Instances For
                          noncomputable def SimpleGraph.antiRamseyNum {α : Type u_4} [Fintype α] (H : SimpleGraph α) (n : ) :

                          The anti-Ramsey number $\mathrm{AR}(n, H)$: maximum colors to edge-color $K_n$ without rainbow $H$.

                          Equations
                          Instances For