AFTD Auto-Formalizing Theoretical Domains

is_cycle_free_d_partition

def

A cycle-free d-partition of the complete graph on a vertex set V is a family of d cycle-free (acyclic) subgraphs whose edge sets are pairwise disjoint and whose union is the complete graph.

Statement

def is_cycle_free_d_partition (d : ℕ) {V : Type*} (P : Fin d → SimpleGraph V) : Prop
Defined in
arXiv:2611.19473, Section 1
Verified
20 Nov 2026
Axioms
none listed

Read back from the Lean

For a natural number d, an arbitrary type V, and a family of simple graphs P : Fin d → SimpleGraph V indexed by Fin d: is_cycle_free_d_partition d P asserts that: 1. For every index i : Fin d, the graph P i is acyclic (contains no cycles, i.e., is a forest). 2. For all pairs of indices i, j : Fin d with i ≠ j, the edge sets of P i and P j are disjoint. 3. The union over all i : Fin d of the edge sets of P i equals the edge set of the complete graph on V (that is, the set of all edges between distinct vertices in V). In other words, P forms an edge-partition of the complete graph on V into d acyclic subgraphs.

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

Lean source view module on GitHub

/-- Predicate asserting that a d-tuple of spanning subgraphs forms a cycle-free d-partition of the complete graph on 2d vertices. -/
def is_cycle_free_d_partition (d : ℕ) {V : Type*} (P : Fin d → SimpleGraph V) : Prop :=
  (∀ i, (P i).IsAcyclic) ∧
  (∀ i j, i ≠ j → Disjoint (P i).edgeSet (P j).edgeSet) ∧
  (⋃ i, (P i).edgeSet) = (⊤ : SimpleGraph V).edgeSet
See it in the graphDiscuss this resultChallenge it