AFTD Auto-Formalizing Theoretical Domains

op_1870_pairwise_cap_dim_one_exists

theoremverified

In dimension 1, there exist three mutually disjoint finsets $A_0, A_1, A_2 \subseteq \mathbb{F}_3^1$ such that each pairwise union $A_0 \cup A_1$, $A_0 \cup A_2$, and $A_1 \cup A_2$ is 3AP-free, and their total cardinality $|A_0| + |A_1| + |A_2| = 3$.

Statement

theorem op_1870_pairwise_cap_dim_one_exists :
    ∃ (A₀ A₁ A₂ : Finset (Fin 1 → ZMod 3)),
      Disjoint A₀ A₁ ∧
      Disjoint A₀ A₂ ∧
      Disjoint A₁ A₂ ∧
      ThreeAPFree (((A₀ ∪ A₁ : Finset _) : Set (Fin 1 → ZMod 3))) ∧
      ThreeAPFree (((A₀ ∪ A₂ : Finset _) : Set (Fin 1 → ZMod 3))) ∧
      ThreeAPFree (((A₁ ∪ A₂ : Finset _) : Set (Fin 1 → ZMod 3))) ∧
      A₀.card + A₁.card + A₂.card = 3
Source
arXiv:2611.19543 Lemma 4
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

Read back from the Lean

There exist three finite sets $A_0, A_1, A_2 \subseteq (\text{Fin } 1 \to \mathbb{Z}/3\mathbb{Z})$ such that: 1. $A_0$ and $A_1$ are disjoint, 2. $A_0$ and $A_2$ are disjoint, 3. $A_1$ and $A_2$ are disjoint, 4. the union $A_0 \cup A_1$ is 3-AP-free (contains no non-trivial three-term arithmetic progressions), 5. the union $A_0 \cup A_2$ is 3-AP-free, 6. the union $A_1 \cup A_2$ is 3-AP-free, and 7. the sum of their cardinalities is 3: $|A_0| + |A_1| + |A_2| = 3$.

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

The space $\mathbb{F}_3^1$ contains only three points. Partitioning it into three singleton sets $A_0, A_1, A_2$ yields mutually disjoint sets of total cardinality 3, whose pairwise unions each have cardinality 2. In $\mathbb{F}_3$, any non-trivial three-term arithmetic progression must contain all three elements, so every two-element set is automatically 3AP-free. Because the search space is finite and all properties are decidable, Lean verifies the claim by direct evaluation with `decide`.

  1. There exist three mutually disjoint subsets of $\mathbb{F}_3^1$ summing to cardinality 3 whose pairwise unions are 3AP-free. automation

    The space $\mathrm{Fin}\ 1 \to \mathbb{Z}/3$ contains only $3^1 = 3$ elements. All conditions—disjointness, cardinality summation, and the property of being 3AP-free—are decidable on finsets of a finite type. The `decide` tactic checks the existential statement by finite search (which succeeds on the partition into three singletons, whose pairwise unions of size 2 cannot contain a 3-term arithmetic progression).

    line 11

      decide

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- In dimension one, there exist three mutually disjoint sets whose pairwise unions are 3AP-free with total cardinality 3. -/theorem op_1870_pairwise_cap_dim_one_exists :    ∃ (A₀ A₁ A₂ : Finset (Fin 1 → ZMod 3)),      Disjoint A₀ A₁ ∧      Disjoint A₀ A₂ ∧      Disjoint A₁ A₂ ∧      ThreeAPFree (((A₀ ∪ A₁ : Finset _) : Set (Fin 1 → ZMod 3))) ∧      ThreeAPFree (((A₀ ∪ A₂ : Finset _) : Set (Fin 1 → ZMod 3))) ∧      ThreeAPFree (((A₁ ∪ A₂ : Finset _) : Set (Fin 1 → ZMod 3))) ∧      A₀.card + A₁.card + A₂.card = 3 := by  decide
See it in the graphDiscuss this resultChallenge it