AFTD Auto-Formalizing Theoretical Domains

ordered_set_partition_single

def

For any natural number n, the ordered set partition of Fin (n + 1) whose list of blocks consists solely of the universal set Finset.univ.

Statement

def ordered_set_partition_single (n : ℕ) : OrderedSetPartition (Fin (n + 1))
Defined in
arXiv:2611.34537 Section 1
Verified
27 Nov 2026
Axioms
none listed
Built on 1
  • OrderedSetPartitionFor a finite type α equipped with [DecidableEq α] and [Fintype α], an ordered set partition of α is a structure with fields: blocks, a…

Read back from the Lean

For any natural number n, ordered_set_partition_single n is the ordered set partition of Fin (n + 1) whose list of blocks is [Finset.univ] (the singleton list containing the whole universe of Fin (n + 1)).

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

/-- The single-block ordered set partition of Fin (n + 1). -/
def ordered_set_partition_single (n : ℕ) : OrderedSetPartition (Fin (n + 1)) where
  blocks := [Finset.univ]
  nonempty_blocks := by
    intro B hB
    simp only [List.mem_singleton] at hB
    subst hB
    exact Finset.univ_nonempty
  pairwise_disjoint := by simp
  union_eq := by simp
See it in the graphDiscuss this resultChallenge it