An 81/29 upper bound for Tuza's conjecture
In a graph, let ν be the most triangles with no shared edge and τ the fewest edges whose deletion leaves no triangle. Lean proves 29τ ≤ 81ν for every finite graph, so τ is at most about 2.7931 times ν, while Tuza conjectured that τ ≤ 2ν always.
For every finite simple graph G, 29·τ(G) ≤ 81·ν(G) and 250·τ(G) ≤ 699·ν(G). The six cover inequalities behind the 81/29 bound, extended to every depth and read as conditions on numbers t and n in place of τ and ν, allow exactly t = (81/29)·n, at a single point up to scaling. For the six inequalities written with t alone on the left, the only weights that prove 81/29 are (10, 4, 8, 1, 2, 4)/29. With (4″) written as 4τ + 4c ≤ …, as in the chapter "Random colourings and the opposite edges", they become 10, 1, 8, 1, 2 and 4. The stage-one inequalities allow exactly 699/250. For every k, k separate copies of K₄ or of K₅ have τ = 2ν.
Tuza (1981) conjectured that τ(G) ≤ 2ν(G) for every graph, which would be best possible. Keeping all edges of a largest packing gives τ ≤ 3ν; Haxell (1999) reached 66/23, and Sichen Wang (2026) 165/59 ≈ 2.7966, with a Lean library this proof extends. Lean checks 81/29 ≈ 2.7931.
K₄ by hand
Take K₄: four vertices 0, 1, 2 and 3, with every two of them joined by an edge. Its triangles are the four sets of three vertices. Any two of them share two vertices, and so share an edge, so a packing holds only one triangle: ν = 1. Deleting the edge from 0 to 1 and the edge from 2 to 3 leaves no triangle, since every three of the four vertices include both 0 and 1 or both 2 and 3. One edge is not enough, since it lies in only two of the four triangles. So τ = 2, and 29τ = 58 ≤ 81 = 81ν, as the bound says. Here τ = 2ν, the most that Tuza's conjecture allows. Lean proves both counts.
Packings, covers, ν and τ
A triangle is three vertices joined in pairs. A packing is a set of triangles with no shared edge, and a cover is a set of edges that meets every triangle. ν(G) is the size of a largest packing and τ(G) the size of a smallest cover; the three edges of each triangle of a largest packing always cover, so τ(G) ≤ 3ν(G).
- ν(G), the most edge-disjoint triangles
- τ(G), the fewest edges that meet every triangle
- The triangle on three vertices
- A triangle
- The triangles inside a set of edges
- The edges of a graph
- The triangles of a graph
- The edges used by a family
- A packing
- A largest packing
- A cover
- What is left after deleting edges
- One largest packing
- The packing number
- The cover number
- A packing that favours a subfamily
Choosing five packings
The proof fixes a largest packing P, whose n triangles give the old edges, and then four more packings: A, P′, Q and Q₁. P′ marks some edges red, and Q and Q₁ are packings of the family S of triangles with exactly one red edge. All the counts a, b, c, d, h, ĥ, h₀ and h₁ refer to these choices.
P, A and P′ can always be chosen
For every finite set of edges, packings P, A and P′ as above exist.
theorem TuzaBound.exists_construction {V : Type u_1} [Fintype V] [DecidableEq V] (edges : Finset (Sym2 V)) : Nonempty (Construction edges)Q and Q₁ can always be chosen
For every choice of P, A and P′, packings Q and Q₁ as above exist.
theorem TuzaBound.exists_refinedConstruction {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) : Nonempty (RefinedConstruction c)- Triangles with exactly one red edge
- The three packings P, A and P′
- The old edges
- The edges left after A
- The old edges left after A
- The triangles of P′ with two old edges
- The red edges
- The family S
- Triangles with exactly j old edges
- The red edges of a family
- The blue edges of a family
- Members with a private red edge
- The two packings Q and Q₁ inside S
Covers built from books
A book is one, two or three triangles on a shared edge. Gathering triangles into books and covering each book cheaply gives four of the inequalities: (3) τ + a ≤ 3n, (5) τ + c + d ≤ 3n, and the two coloured covers (6a) and (6b), which also use the private red edges h and h₁. Each holds for every choice of the five packings.
Inequality (3): τ + a ≤ 3n
For every choice, the cover number of the triangles plus a is at most 3n.
theorem TuzaBound.Construction.first_cover {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) : transversalNumber (trianglesOn edges) + c.first.card ≤ 3 * c.initial.cardInequality (5): τ + c + d ≤ 3n
For every choice of P, A, P′, Q and Q₁, the cover number of the triangles plus c plus d is at most 3n, where n is the size of P.
theorem TuzaBound.Construction.full_book_cover {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + r.second.card + r.third.card ≤ 3 * c.initial.cardInequality (6a): τ + b + 2d + h ≤ 3n + 3c + h₁
For every choice, τ + b + 2d + h is at most 3n + 3c + h₁, where h and h₁ count the members of Q and of Q₁ with a private red edge.
theorem TuzaBound.Construction.unmerged_cover_6a {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + c.typeTwo.card + 2 * r.third.card + (privateRedPages c.specialFamily c.newEdges r.second).card ≤ 3 * c.initial.card + 3 * r.second.card + (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).cardInequality (6b): τ + b + h₁ ≤ 3n + 2c + 3d
For every choice, τ + b + h₁ is at most 3n + 2c + 3d.
theorem TuzaBound.Construction.unmerged_cover_6b {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + c.typeTwo.card + (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).card ≤ 3 * c.initial.card + 2 * r.second.card + 3 * r.third.cardInequalities (6a) and (6c)
For every choice, (6a) holds and so does 3τ + 3b + 2h₁ ≤ 9n + 6c + 8d.
theorem TuzaBound.Construction.unmerged_colored_covers {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + c.typeTwo.card + 2 * r.third.card + (privateRedPages c.specialFamily c.newEdges r.second).card ≤ 3 * c.initial.card + 3 * r.second.card + (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).card ∧ 3 * transversalNumber (trianglesOn edges) + 3 * c.typeTwo.card + 2 * (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).card ≤ 9 * c.initial.card + 6 * r.second.card + 8 * r.third.card
Random colourings and the opposite edges
Colour every vertex one of two colours at random and build a cover from the colouring; its average size gives (4″): 4τ + 4c ≤ 6n + 10a + 6b + ĥ. A helper map between two-page books, whose trees end in ĥ sink books, decides which opposite edges are needed. Removing the opposite edges that are not needed gives (5″): τ + 2c ≤ 3n + ĥ + 2h₀, with ĥ + h₀ = h.
Inequality (4″): 4τ + 4c ≤ 6n + 10a + 6b + ĥ
For every choice of P, A, P′ and Q, 4τ + 4c is at most 6n + 10a + 6b + ĥ, where ĥ is the number of sink books.
theorem TuzaBound.Construction.helper_arborescence_random_cover_unrelaxed {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : 4 * transversalNumber (trianglesOn edges) + 4 * r.second.card ≤ 6 * c.initial.card + 10 * c.first.card + 6 * c.typeTwo.card + (HelperArborescence.helperRoots c ⋯).cardInequality (5″): τ + 2c ≤ 3n + ĥ + 2h₀
For every choice of P, A, P′ and Q, τ + 2c is at most 3n + ĥ + 2h₀.
theorem TuzaBound.Construction.opposite_elimination_cover {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + 2 * r.second.card ≤ 3 * c.initial.card + (HelperArborescence.helperRoots c ⋯).card + 2 * (OppositeElimination.privZeroPages c ⋯).cardĥ + h₀ = h for the chosen Q
For the chosen Q, the sink books and the other private pages together number h.
theorem TuzaBound.Construction.helperRoots_add_privZeroPages_card {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : (HelperArborescence.helperRoots c ⋯).card + (OppositeElimination.privZeroPages c ⋯).card = (privateRedPages c.specialFamily c.newEdges r.second).card- The sink books
The random cover with ĥ
For every packing Q from S, 4τ + 4|Q| ≤ 6n + 10a + 6b + ĥ.
theorem TuzaBound.HelperArborescence.helper_arborescence_random_cover_unrelaxed {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) {Q : Finset (Finset (Sym2 V))} (hQ : IsPacking c.specialFamily Q) : 4 * transversalNumber (trianglesOn edges) + 4 * Q.card ≤ 6 * c.initial.card + 10 * c.first.card + 6 * c.typeTwo.card + (helperRoots c hQ).cardThe random cover with h
For every packing Q from S, 4τ + 4|Q| ≤ 6n + 10a + 6b + h.
theorem TuzaBound.HelperArborescence.helper_arborescence_random_cover {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) {Q : Finset (Finset (Sym2 V))} (hQ : IsPacking c.specialFamily Q) : 4 * transversalNumber (trianglesOn edges) + 4 * Q.card ≤ 6 * c.initial.card + 10 * c.first.card + 6 * c.typeTwo.card + (privateRedPages c.specialFamily c.newEdges Q).cardInequality (4′): 4τ + 4c ≤ 6n + 10a + 6b + h
For every choice, 4τ + 4c is at most 6n + 10a + 6b + h.
theorem TuzaBound.Construction.helper_arborescence_random_cover {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : 4 * transversalNumber (trianglesOn edges) + 4 * r.second.card ≤ 6 * c.initial.card + 10 * c.first.card + 6 * c.typeTwo.card + (privateRedPages c.specialFamily c.newEdges r.second).card- The private pages
- The private pages in sink books
- The other private pages
ĥ + h₀ = h
The sink books and the other private pages together number h.
theorem TuzaBound.OppositeElimination.helperRoots_add_privZeroPages_card {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) {Q : Finset (Finset (Sym2 V))} (hQ : IsPacking c.specialFamily Q) : (HelperArborescence.helperRoots c hQ).card + (privZeroPages c hQ).card = (privPages c Q).card
Adding the six inequalities
For one choice of the five packings, Lean puts the six inequalities side by side. Multiplied by 10, 1, 8, 1, 2 and 4 and added, they leave 29τ + 2h₁ ≤ 81n, and since P is a largest packing, n = ν. The earlier stage, from (3), (4′), (5), (6a) and (6c), gives 250τ ≤ 699ν.
Every finite graph has 29τ(G) ≤ 81ν(G)
For every finite simple graph G, 29·τ(G) ≤ 81·ν(G), so τ(G) is at most 81/29 ≈ 2.7931 times ν(G).
theorem TuzaBound.tuza_bound_81_29_nat {V : Type u_1} [Fintype V] [DecidableEq V] (G : SimpleGraph V) : 29 * tau G ≤ 81 * nu GEvery finite graph has 250τ(G) ≤ 699ν(G)
For every finite simple graph G, 250·τ(G) ≤ 699·ν(G), so τ(G) is at most 2.796 times ν(G).
theorem TuzaBound.tuza_bound_nat {V : Type u_1} [Fintype V] [DecidableEq V] (G : SimpleGraph V) : 250 * tau G ≤ 699 * nu G29τ ≤ 81ν for the triangles of any edge set
For every finite set of edges, 29 times the cover number of its triangles is at most 81 times its packing number.
theorem TuzaBound.triangles_bound_81_29 {V : Type u_1} [Fintype V] [DecidableEq V] (edges : Finset (Sym2 V)) : 29 * transversalNumber (trianglesOn edges) ≤ 81 * packingNumber (trianglesOn edges)The six inequalities for 81/29
For the same choices of P, A, P′, Q and Q₁, (3), (4″), (5), (5″), (6a) and (6b) all hold.
theorem TuzaBound.Construction.six_covers_81_29 {V : Type u_1} [Fintype V] [DecidableEq V] {edges : Finset (Sym2 V)} (c : Construction edges) (r : RefinedConstruction c) : transversalNumber (trianglesOn edges) + c.first.card ≤ 3 * c.initial.card ∧ 4 * transversalNumber (trianglesOn edges) + 4 * r.second.card ≤ 6 * c.initial.card + 10 * c.first.card + 6 * c.typeTwo.card + (HelperArborescence.helperRoots c ⋯).card ∧ transversalNumber (trianglesOn edges) + r.second.card + r.third.card ≤ 3 * c.initial.card ∧ transversalNumber (trianglesOn edges) + 2 * r.second.card ≤ 3 * c.initial.card + (HelperArborescence.helperRoots c ⋯).card + 2 * (OppositeElimination.privZeroPages c ⋯).card ∧ transversalNumber (trianglesOn edges) + c.typeTwo.card + 2 * r.third.card + (privateRedPages c.specialFamily c.newEdges r.second).card ≤ 3 * c.initial.card + 3 * r.second.card + (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).card ∧ transversalNumber (trianglesOn edges) + c.typeTwo.card + (privateRedPages (residual c.specialFamily (blueEdges c.newEdges r.second)) c.newEdges r.third).card ≤ 3 * c.initial.card + 2 * r.second.card + 3 * r.third.cardAdding six inequalities
If ĥ + h₀ = h, t + a ≤ 3n, 4t + 4c ≤ 6n + 10a + 6b + ĥ, t + c + d ≤ 3n, t + 2c ≤ 3n + ĥ + 2h₀, t + b + 2d + h ≤ 3n + 3c + h₁ and t + b + h₁ ≤ 3n + 2c + 3d, then 29t + 2h₁ ≤ 81n.
theorem TuzaBound.six_bounds_arithmetic_29_81 {t : ℕ} {n : ℕ} {a : ℕ} {b : ℕ} {c : ℕ} {d : ℕ} {h : ℕ} {h_hat : ℕ} {h0 : ℕ} {h1 : ℕ} (hh : h_hat + h0 = h) (hb3 : t + a ≤ 3 * n) (hb4pp : 4 * t + 4 * c ≤ 6 * n + 10 * a + 6 * b + h_hat) (hb5 : t + c + d ≤ 3 * n) (hb5pp : t + 2 * c ≤ 3 * n + h_hat + 2 * h0) (hb6a : t + b + 2 * d + h ≤ 3 * n + 3 * c + h1) (hb6b : t + b + h1 ≤ 3 * n + 2 * c + 3 * d) : 29 * t + 2 * h1 ≤ 81 * nFive inequalities give 250t ≤ 699n
The same five inequalities give 250t ≤ 699n.
Six inequalities give 29t ≤ 81n
The same six inequalities give 29t ≤ 81n.
The five inequalities for 699/250
For the same choices, (3), (4′), (5), (6a) and (6c) all hold.
250τ ≤ 699n for the chosen packings
For every choice, 250 times the cover number is at most 699n.
29τ ≤ 81n for the chosen packings
For every choice, 29 times the cover number is at most 81n.
250τ ≤ 699ν for the triangles of any edge set
For every finite set of edges, 250 times the cover number of its triangles is at most 699 times its packing number.
How far these inequalities can go
Lean also studies the inequalities as a list of conditions on numbers, extended to every depth of the construction, with numbers t and n in place of τ and ν. Every point that satisfies them has t ≤ (81/29)·n, one point reaches it, that point is the only one up to scaling. For the six inequalities alone, the weights 10, 4, 8, 1, 2, 4 over 29 are the only ones that prove it (in the chapter "Adding the six inequalities", (4″) is written with 4τ, so its weight there is 1). The stage-one list allows exactly 699/250.
The 81/29 inequalities allow exactly 81/29
Every point satisfying the 81/29 inequalities at every depth has t ≤ (81/29)·n, and some point with n > 0 has t = (81/29)·n.
theorem TuzaBound.infinite_depth_lp_81_29_exact : (∀ (n t a m b h_hat h0 : ℚ) (p u : ℕ → ℚ), IsValidInfiniteHierarchyPoint8129 n t a m b h_hat h0 p u → t ≤ 81 / 29 * n) ∧ ∃ n t a m b h_hat h0 p u, 0 < n ∧ IsValidInfiniteHierarchyPoint8129 n t a m b h_hat h0 p u ∧ t = 81 / 29 * n
Only one point reaches 81/29
If a point satisfies the 81/29 inequalities and t = (81/29)·n, then a = 6n/29, m = 23n/29, b = 18n/29, p₀ = ĥ = u₀ = 6n/29, h₀ = 0, and every later term of p and u is 0.
theorem TuzaBound.infinite_depth_lp_81_29_primal_unique {n : ℚ} {t : ℚ} {a : ℚ} {m : ℚ} {b : ℚ} {h_hat : ℚ} {h0 : ℚ} {p : ℕ → ℚ} {u : ℕ → ℚ} (h : IsValidInfiniteHierarchyPoint8129 n t a m b h_hat h0 p u) (ht : t = 81 / 29 * n) : a = 6 / 29 * n ∧ m = 23 / 29 * n ∧ b = 18 / 29 * n ∧ p 0 = 6 / 29 * n ∧ h_hat = 6 / 29 * n ∧ h0 = 0 ∧ u 0 = 6 / 29 * n ∧ ∀ (k : ℕ), p (k + 1) = 0 ∧ u (k + 1) = 0Only one choice of weights works
If weights y₁ to y₆ for the six inequalities, written with t alone on the left, add up to 1, are such that, after adding, a, b, c, d and h₀ each end with a coefficient of at most 0 on the right, and give t ≤ (81/29)·n, then they are 10/29, 4/29, 8/29, 1/29, 2/29 and 4/29.
theorem TuzaBound.dual_certificate_81_29_unique {y3 : ℚ} {y4 : ℚ} {y5 : ℚ} {y5p : ℚ} {y6a : ℚ} {y6b : ℚ} (hsum : y3 + y4 + y5 + y5p + y6a + y6b = 1) (h_a : -y3 + 5 / 2 * y4 ≤ 0) (h_b : 3 / 2 * y4 - y6a - y6b ≤ 0) (h_c : -y4 - y5 - 2 * y5p + 3 * y6a + 2 * y6b ≤ 0) (h_d : -y5 - 2 * y6a + 3 * y6b ≤ 0) (h_h0 : 2 * y5p - y6a ≤ 0) (h_obj : 3 * y3 + 3 / 2 * y4 + 3 * y5 + 3 * y5p + 3 * y6a + 3 * y6b ≤ 81 / 29) : y3 = 10 / 29 ∧ y4 = 4 / 29 ∧ y5 = 8 / 29 ∧ y5p = 1 / 29 ∧ y6a = 2 / 29 ∧ y6b = 4 / 29The stage-one inequalities allow exactly 699/250
Every point satisfying the stage-one inequalities at every depth has t ≤ (699/250)·n, and some point with n > 0 has t = (699/250)·n.
theorem TuzaBound.infinite_depth_lp_exact_699_250 : (∀ (n t a m b : ℚ) (p u : ℕ → ℚ), IsValidInfiniteHierarchyPoint n t a m b p u → t ≤ 699 / 250 * n) ∧ ∃ n t a m b p u, 0 < n ∧ IsValidInfiniteHierarchyPoint n t a m b p u ∧ t = 699 / 250 * n
- The blue edges deleted before depth r
- The stage-one inequalities at every depth
- A sequence 42, 9, 3, 0, 0, …
- A sequence 0, 0, 3, 0, 0, …
- The 81/29 inequalities at every depth
The 81/29 inequalities with their slack
Every such point has 29t + 45(n − a − m) + 2u₁ ≤ 81n.
- A sequence 6, 0, 0, …
- The same sequence 6, 0, 0, …
Graphs where τ = 2ν
Packings and covers add up over separate copies of a graph, so k copies of G have ν = k·ν(G) and τ = k·τ(G). K₄ has ν = 1 and τ = 2, and K₅ has ν = 2 and τ = 4, the second by Mantel's theorem on 5 vertices. So for every k, k copies of K₄ or of K₅ have τ = 2ν, and the constant 2 in Tuza's conjecture could not be lowered.
k copies of K₄ have τ = 2ν
For every k, k separate copies of K₄ have τ = 2ν, with ν = k.
theorem TuzaBound.tuza_tight_disjointK4 (k : ℕ) : tau (disjointK4 k) = 2 * nu (disjointK4 k)
k copies of K₅ have τ = 2ν
For every k, k separate copies of K₅ have τ = 2ν, with ν = 2k.
theorem TuzaBound.tuza_tight_disjointK5 (k : ℕ) : tau (disjointK5 k) = 2 * nu (disjointK5 k)
- k separate copies of a graph
- Putting an edge in copy i
- Putting a triangle in copy i
ν of k copies is k·ν(G)
For every finite simple graph G and every k, ν of k separate copies of G is k·ν(G).
τ of k copies is k·τ(G)
For every finite simple graph G and every k, τ of k separate copies of G is k·τ(G).
- k copies of K₄
ν(K₅) = 2
The most edge-disjoint triangles in K₅ is 2.
theorem TuzaBound.nu_complete5 : nu ⊤ = 2
Mantel's theorem on 5 vertices
A set of edges of K₅ with no triangle has at most 6 edges.
τ(K₅) = 4
The fewest edges of K₅ that meet every triangle is 4.
theorem TuzaBound.tau_complete5 : tau ⊤ = 4
- k copies of K₅