import Spa.Lattice

namespace Spa

lemma boundedChains_of_subsingleton (α : Type*) [Preorder α] [Subsingleton α]
    (n : ℕ) : BoundedChains α n := fun c => by
  by_contra hc
  push_neg at hc
  exact (c.step ⟨0, by omega⟩).ne (Subsingleton.elim _ _)

instance : FiniteHeightLattice PUnit where
  toLattice := inferInstance
  longestChain := RelSeries.singleton _ PUnit.unit
  chains_bounded := boundedChains_of_subsingleton PUnit 0

end Spa
