Documentation

FormalConjecturesForMathlib.Combinatorics.SimpleGraph.GraphConjectures.Definitions

noncomputable def SimpleGraph.Ls {α : Type u_1} [Fintype α] (G : SimpleGraph α) [DecidableRel G.Adj] :

Ls G is the maximum number of leaves over all spanning trees of G. It is defined to be 0 when G is not connected.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def SimpleGraph.n {α : Type u_1} [Fintype α] :

    n G is the number of vertices of G as a real number.

    Equations
    Instances For
      noncomputable def SimpleGraph.m {α : Type u_1} [Fintype α] (G : SimpleGraph α) [DecidableRel G.Adj] :

      m G is the size of a maximum matching of G.

      Equations
      Instances For
        noncomputable def SimpleGraph.aprime {α : Type u_1} [Fintype α] [DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] :

        The maximum cardinality among all independent sets s that maximize the quantity |s| - |N(s)|, where N(s) is the neighborhood of the set s.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def SimpleGraph.largestInducedForestSize {α : Type u_1} (G : SimpleGraph α) :

          largestInducedForestSize G is the size of a largest induced forest of G.

          Equations
          Instances For
            noncomputable def SimpleGraph.degreeSequence {α : Type u_1} [Fintype α] (G : SimpleGraph α) [DecidableRel G.Adj] :

            The degree sequence of a graph, sorted in nondecreasing order.

            Equations
            Instances For
              noncomputable def SimpleGraph.degreeSequenceMultiplicity {α : Type u_1} [Fintype α] (G : SimpleGraph α) [DecidableRel G.Adj] :

              The maximum number of occurrences of any term of the degree sequence of G.

              Equations
              Instances For

                largestInducedBipartiteSubgraphSize G is the size of a largest induced bipartite subgraph of G.

                Equations
                Instances For
                  noncomputable def SimpleGraph.b {α : Type u_1} (G : SimpleGraph α) :

                  b G is the number of vertices of a largest induced bipartite subgraph of G. Returned as a real number.

                  Equations
                  Instances For
                    noncomputable def SimpleGraph.indepNeighborsCard {α : Type u_1} (G : SimpleGraph α) (v : α) :

                    Independence number of the neighbourhood of v.

                    Equations
                    Instances For
                      noncomputable def SimpleGraph.indepNeighbors {α : Type u_1} (G : SimpleGraph α) (v : α) :

                      The same quantity as a real number.

                      Equations
                      Instances For
                        noncomputable def SimpleGraph.averageIndepNeighbors {α : Type u_1} [Fintype α] (G : SimpleGraph α) :

                        Average of indepNeighbors over all vertices.

                        Equations
                        Instances For

                          A unit distance graph in ℝ²: A graph where the vertices V are a collection of points in ℝ² and there is an edge between two points if and only if the distance between them is 1.

                          Equations
                          Instances For
                            def SimpleGraph.InternallyDisjoint {V : Type u_2} {G : SimpleGraph V} {u v x y : V} (p : G.Walk u v) (q : G.Walk x y) :

                            Two walks are internally disjoint if they share no vertices other than their endpoints.

                            Equations
                            Instances For

                              We say a graph is infinitely connected if any two vertices are connected by infinitely many pairwise disjoint paths. Note that graphs with at most one vertex are not classed as infinitely connected.

                              Equations
                              Instances For
                                noncomputable def SimpleGraph.edegree {V : Type u_2} (G : SimpleGraph V) (v : V) :

                                Infinite graphs: definitions for max degree and clique number so that the maximum degree (resp. clique number) of a graph with unbounded degree (resp. clique size) is rather than 0.

                                Equations
                                Instances For
                                  noncomputable def SimpleGraph.emaxDegree {V : Type u_2} (G : SimpleGraph V) :
                                  Equations
                                  Instances For
                                    noncomputable def SimpleGraph.ecliqueNum {V : Type} (G : SimpleGraph V) :
                                    Equations
                                    Instances For
                                      def SimpleGraph.bfs_expand {α : Type u_1} [Fintype α] [DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] (S : Finset α) :

                                      BFS expansion: add all neighbors of S to S.

                                      Equations
                                      Instances For
                                        def SimpleGraph.bfs_dist_aux {α : Type u_1} [DecidableEq α] [Fintype α] (G : SimpleGraph α) [DecidableRel G.Adj] (target : α) :
                                        Finset α
                                        Equations
                                        Instances For
                                          def SimpleGraph.computable_dist {α : Type u_1} [Fintype α] [DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] (u v : α) :

                                          Computable graph distance via BFS. Returns 0 if u = v or if v is unreachable from u.

                                          Equations
                                          Instances For

                                            Computable independence number via powerset enumeration.

                                            Equations
                                            Instances For

                                              Computable domination number via powerset enumeration.

                                              Equations
                                              Instances For

                                                Computable Wiener index: half the sum of all ordered pairwise distances.

                                                Equations
                                                Instances For

                                                  Computable average distance as a rational.

                                                  Equations
                                                  Instances For
                                                    def SimpleGraph.computable_szeged_aux {α : Type u_1} [Fintype α] [DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] (u v : α) :

                                                    Computable Szeged auxiliary: count vertices closer to u than v.

                                                    Equations
                                                    Instances For

                                                      Computable Szeged index.

                                                      Equations
                                                      Instances For