AFTD Auto-Formalizing Theoretical Domains

DiamondPoset

inductive

For a natural number j, DiamondPoset j is the type consisting of a bottom element bot, a top element top, and j middle elements indexed by Fin j.

Statement

inductive DiamondPoset (j : ℕ) : Type
Defined in
arXiv:2610.20545, The k-color poset Ramsey number of the diamond is 2k
Verified
18 Oct 2026
Axioms
none listed
Used by 11

Read back from the Lean

Defines an inductive type family DiamondPoset parameterized by a natural number j : ℕ. For a given j, the type DiamondPoset j has three constructors: - bot, taking no arguments; - mid, taking an element of Fin j; - top, taking no arguments. The type automatically derives instances for DecidableEq and Fintype.

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 j-diamond poset with a minimum, a maximum, and an antichain of j middle elements. -/
inductive DiamondPoset (j : ℕ) : Type | bot : DiamondPoset j
  | mid : Fin j → DiamondPoset j
  | top : DiamondPoset j
  deriving DecidableEq, Fintype
See it in the graphDiscuss this resultChallenge it