Graph theory
Warm-upHumanA graph has seven vertices with degrees . How many edges does it have?
A graph has seven vertices with degrees . How many edges does it have?
A connected plane graph has vertices and edges. How many faces does it have (counting the unbounded face)?
What is the largest number of edges in a triangle-free graph on vertices?
Which of these graphs are planar? (Select all that apply.)
Corollary 5 says: a planar graph with vertices has . Which of the hypotheses are genuinely needed, in the sense that dropping one of them gives a counterexample? (Select all that apply.)
The proof that every red–blue colouring of has a monochromatic triangle starts: "a vertex has five edges, so three of them share a colour". If we try the same proof on , where does it break down?
The Erdős–Szekeres bound says . What upper bound does it give for ?
Edges of are unordered pairs s(a, b) : Sym2 (Fin 6), and a red–blue colouring is a function c : Sym2 (Fin 6) → Bool. Which Lean statement says that every colouring has a monochromatic triangle?
A bipartite graph is given as a list adj, where adj[i] is the set of neighbours (in ) of vertex of . Write hall_violator(adj) that returns a smallest set , as a sorted tuple of indices, with , or None if Hall's condition holds (so that, by Hall's theorem, a matching covering exists).