Documentation

LeanPool.Erdos81PaperIIIContrib.SimpleGraph

Simple graph interface for the sum-zero triangle packing #

This file translates the finite edge-set formulation of the sum-zero construction into Mathlib's SimpleGraph API. It leaves the constructive implementation in SumZeroTriangles.lean while providing graph-valued triangles, their union, and a complete-graph corollary stated using graph disjointness and degree.

The simple graph consisting of the edges spanned by the vertices in t.

Equations
Instances For

    The simple graph consisting of all edges covered by the triples in P.

    Equations
    Instances For
      theorem SumZeroTriangles.exists_simpleGraph_triangle_packing {V : Type u_1} [DecidableEq V] [Fintype V] :
      ∃ (P : Finset (Finset V)), (∀ tP, .IsNClique 3 t) (∀ tP, t'P, t t'Disjoint (triangleGraph t) (triangleGraph t')) ∀ (v : V), ( \ packingGraph P).degree v 3

      Every finite complete graph has a packing by edge-disjoint triangles whose uncovered graph has maximum degree at most three.