AFTD Auto-Formalizing Theoretical Domains

min_even_quartets_count_four

theoremverified

The minimum number of even quartets on 4 vertices is 0.

Statement

theorem min_even_quartets_count_four : min_even_quartets_count 4 = 0
Source
scout/2611-32833-even-quartets-and-the-maximum-density-of-a-simplical-3-cocy.md:110
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • min_even_quartets_countThe minimum number TC(n) of even quartets over all 2-colorings of triples on n vertices, where an even quartet has an even number of red…

Read back from the Lean

The minimum count of even quartets for $n = 4$ (min_even_quartets_count 4) is equal to 0. That is, there exists a 2-coloring (or subset) of the 3-element subsets of a 4-element set such that no 4-element subset has an even sum of colors (i.e., the unique 4-element subset contains an odd number of chosen 3-element subsets).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

On 4 vertices, there is only one quartet (the whole set), which contains 4 triples. A quartet is even when the sum of the colors of its triples is 0 modulo 2; coloring exactly one triple with 1 and the other three with 0 gives a sum of 1 modulo 2, so the quartet is not even. Thus, the minimum number of even quartets is 0, which Lean confirms by finite evaluation via reflexivity (`rfl`).

  1. min_even_quartets_count 4 = 0

    The claim holds by definitional equality (`rfl`). On 4 vertices, there is only $\binom{4}{4} = 1$ quartet, consisting of $\binom{4}{3} = 4$ triples. A coloring assigning 1 to a single triple and 0 to the other three gives a sum of $1 \not\equiv 0 \pmod 2$, meaning there are 0 even quartets under this coloring. Since the count of even quartets is non-negative and achieves 0, the minimum is 0. Lean verifies this directly by evaluating the finite definition.

    line 2

    theorem min_even_quartets_count_four : min_even_quartets_count 4 = 0 := rfl

Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- On 4 vertices, the minimum number of even quartets is 0. -/theorem min_even_quartets_count_four : min_even_quartets_count 4 = 0 := rfl
See it in the graphDiscuss this resultChallenge it