AFTD Auto-Formalizing Theoretical Domains

chain_step_element

def

An element x of P is the step element at index i of a maximal chain M of order ideals if x is not in M_i but is in M_{i+1}.

Statement

def chain_step_element {P : Type*} [PartialOrder P] [Fintype P]
    (M : MaximalChainLowerSet P) (i : Fin (Fintype.card P)) (x : P) : Prop
Defined in
arXiv:2611.26888 Section 2.2
Verified
23 Nov 2026
Axioms
none listed
Built on 1
  • MaximalChainLowerSetA maximal chain in the lattice of order ideals J(P) of a finite poset P of size n is a sequence of n+1 order ideals from ∅ to P with each…
Used by 4
  • not_diamond_move_selfNo maximal chain of order ideals M of type MaximalChainLowerSet P has a diamond move to itself under any labeling l : P → Fin…
  • diamond_moveGiven a finite partially ordered set P, a labeling l : P → Fin (Fintype.card P), and maximal chains of order ideals M and M' of type…
  • poset_automorphism_induces_isomorphic_mcdoLet P be a finite partially ordered set with linear extension l : P → Fin (Fintype.card P), and let f : P ≃o P be a poset automorphism.…
  • chain_step_element_map_automorphismLet P be a finite partially ordered set with poset automorphism f : P ≃o P. For any maximal chain M : MaximalChainLowerSet P of order…

Read back from the Lean

Given a finite partially ordered type P, an element M : MaximalChainLowerSet P, an index i : Fin (Fintype.card P), and an element x : P, chain_step_element M i x is the proposition that x does not belong to the lower set M.chain i.castSucc (viewed as a set) and x does belong to the lower set M.chain i.succ (viewed as a set).

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 unique element of P added at step i of a maximal chain of order ideals. -/
def chain_step_element {P : Type*} [PartialOrder P] [Fintype P]
    (M : MaximalChainLowerSet P) (i : Fin (Fintype.card P)) (x : P) : Prop := x ∉ (M.chain i.castSucc : Set P) ∧ x ∈ (M.chain i.succ : Set P)
See it in the graphDiscuss this resultChallenge it