OrderedSetPartition
For a finite type α equipped with [DecidableEq α] and [Fintype α], an ordered set partition of α is a structure with fields: blocks, a list of finite subsets of α (List (Finset α)); nonempty_blocks, asserting that each block B in blocks is nonempty (B.Nonempty); pairwise_disjoint, asserting that blocks is pairwise disjoint (blocks.Pairwise Disjoint); and union_eq, asserting that the union of the blocks in blocks (blocks.toFinset.biUnion id) equals the universal set Finset.univ.
Statement
structure OrderedSetPartition (α : Type*) [DecidableEq α] [Fintype α] where blocks : List (Finset α) nonempty_blocks : ∀ B ∈ blocks, B.Nonempty pairwise_disjoint : blocks.Pairwise Disjoint union_eq : blocks.toFinset.biUnion id = Finset.univ
- Defined in
- arXiv:2611.34537 Section 1
- Verified
- 27 Nov 2026
- Axioms
- none listed
- Used by 2
- ordered_set_partition_singleFor any natural number n, the ordered set partition of Fin (n + 1) whose list of blocks consists solely of the universal set Finset.univ.
- is_child_ofFor a finite type α with decidable equality and ordered set partitions a and b of α, b is a child of a (is_child_of b a) if there exists…
Read back from the Lean
A structure OrderedSetPartition parameterized by a type α with decidable equality ([DecidableEq α]) and finite cardinality ([Fintype α]), consisting of:
1. blocks: a list of finite subsets of α (List (Finset α)).
2. nonempty_blocks: a hypothesis that every block B occurring in blocks is nonempty (∀ B ∈ blocks, B.Nonempty).
3. pairwise_disjoint: a hypothesis that blocks is pairwise disjoint (blocks.Pairwise Disjoint), meaning any two elements at distinct indices in the list are disjoint.
4. union_eq: a hypothesis that the union of all blocks in blocks (blocks.toFinset.biUnion id) equals the entire universe Finset.univ of α, equipped with a default proof of by sorry.
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
/-- An ordered set partition of a finite type is a list of non-empty, pairwise disjoint blocks whose union is the universal set. -/ structure OrderedSetPartition (α : Type*) [DecidableEq α] [Fintype α] where blocks : List (Finset α) nonempty_blocks : ∀ B ∈ blocks, B.Nonempty pairwise_disjoint : blocks.Pairwise Disjoint union_eq : blocks.toFinset.biUnion id = Finset.univ