Left to Solve
Problems / MathOverflow (not formalized)

An extremal problem for graphs having every edge contained in a 4-clique

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

This is a follow-up to Graphs with many triangles but few complete graphs on 4 vertices

I'm looking for an upper bound for the difference between the number of edges and the number of 4-cliques in a graph on vertices subject to the condition that every edge is contained in a 4-clique. The best construction I know gives

\text{#edges} - \text{#4-cliques} = \frac{(3+o(1))n^2}{16}\approx 0.1875n^2

(take a complete bipartite graph with equal parts and add a matching in each part) and my guess is that this is best possible. But annoyingly, I can only prove

\text{#edges} - \text{#4-cliques} \leqslant \left(\frac{2(39+\sqrt{21})}{375}+o(1)\right)n^2\approx 0.232441n^2,

and even this weak bound requires a bit of work (and the removal lemma). Note that the -result would follow (at least asymptotically) if one could prove that the number of triangles in an extremal graph is , which was the motivation of my previous question.

• Has this type of problem been considered somewhere in the literature?

• Do I miss something obvious, either in terms of a better construction or a better upper bound?

• Are there reasons indicating that improving the bound is hard …

Posed by Thomas Kalinowski · graph-theory, extremal-graph-theory, co.combinatorics

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-58128.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-58128.lean

import Mathlib

/-!
# An extremal problem for graphs having every edge contained in a 4-clique

Source: https://mathoverflow.net/questions/58128
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_58128

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_58128