Documentation

FormalConjectures.WrittenOnTheWallII.Test

Testing Graph Invariants #

This file contains tests for graph invariants on 5 specific concrete graphs:

  1. HouseGraph: A graph on 5 vertices.
  2. K4: The complete graph on 4 vertices.
  3. PetersenGraph: The Petersen graph on 10 vertices.
  4. C6: The cycle graph on 6 vertices.
  5. Star5: The star graph with 5 leaves (6 vertices total).

Tests cover: independence_number, dominationNumber, average_distance, diameter, radius, girth, order, size, szeged_index, wiener_index, min_degree, max_degree, average_degree, matching_number, residue, annihilation_number, cvetkovic.

Graph Definitions #

House Graph: Square 0-1-2-3-0 with roof 4 connected to 2,3.

Equations
Instances For
    @[reducible, inline]
    abbrev K4 :

    K4: Complete graph on 4 vertices.

    Equations
    Instances For

      Petersen Graph on 10 vertices.

      Equations
      Instances For
        @[reducible, inline]
        abbrev C6 :

        C6: Cycle graph on 6 vertices.

        Equations
        Instances For

          Star5: Star graph with center 0 and 5 leaves.

          Equations
          Instances For

            House Graph Tests #

            K4 Tests #

            theorem K4_indep :
            K4.a = 1
            theorem K4_order :
            K4.n = 4
            theorem K4_matching :
            K4.m = 2

            Petersen Graph Tests #

            C6 Tests #

            theorem C6_indep :
            C6.a = 3
            theorem C6_order :
            C6.n = 6
            theorem C6_matching :
            C6.m = 3

            Star5 Tests #