Left to Solve
Problems / MathOverflow (not formalized)

Maximum density of a double-node-colored graph

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

Statement

Let be a graph with the following properties. is a set of colors. The nodes of are . For any node , the neighborhood of is rainbow -- that is, for any two nodes adjacent to , the two colors of are different from the two colors of .

What is the maximum number of edges might have (up to constant factors -- big O is fine)? Have these graphs been studied before?

Posed by GMB · co.combinatorics, graph-theory, graph-colorings, extremal-graph-theory

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-248192.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-248192.lean

import Mathlib

/-!
# Maximum density of a double-node-colored graph

Source: https://mathoverflow.net/questions/248192
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_248192

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

theorem main : sorry := by
  sorry

end OMA.S_mo_248192