AFTD Auto-Formalizing Theoretical Domains

chain_step_element_map_automorphism

theoremverifiedformalization

Let P be a finite partially ordered set with poset automorphism f : P ≃o P. For any maximal chain M : MaximalChainLowerSet P of order ideals, index i : Fin (Fintype.card P), and element x : P, chain_step_element M i x holds if and only if chain_step_element (maximal_chain_map_automorphism f M) i (f.symm x) holds.

Statement

theorem chain_step_element_map_automorphism {P : Type*} [PartialOrder P] [Fintype P]
    (f : P ≃o P) (M : MaximalChainLowerSet P) (i : Fin (Fintype.card P)) (x : P) :
    chain_step_element M i x ↔
      chain_step_element (maximal_chain_map_automorphism f M) i (f.symm x)
Formalizes
arXiv:2611.26888 Lemma 3.4
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • chain_step_elementAn 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}.
  • maximal_chain_map_automorphismGiven an order automorphism f : P ≃o P of a finite partially ordered set P and a maximal chain M : MaximalChainLowerSet P of order ideals,…
  • 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 1

Read back from the Lean

For any finite partially ordered type $P$, any order automorphism $f : P \simeq_o P$, any maximal chain of lower sets $M$ in $P$, any index $i : \mathrm{Fin}(\mathrm{card}(P))$, and any element $x : P$: $x$ satisfies chain_step_element M i x (that is, $x$ is not in the $i$-th lower set of $M$ and is in the $(i+1)$-th lower set of $M$) if and only if $f^{-1}(x)$ satisfies chain_step_element (maximal_chain_map_automorphism f M) i (f.symm x) (that is, $f^{-1}(x)$ is not in the $i$-th lower set of the maximal chain obtained by applying $f^{-1}$ to each lower set of $M$, and $f^{-1}(x)$ is in the $(i+1)$-th lower set of that mapped chain).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The equivalence is proved by unfolding the definitions of a step element and the mapped maximal chain of order ideals. An element x is the step element at index i if and only if it belongs to the (i + 1)-th lower set in the chain but not to the i-th lower set. Since the automorphism f is a bijection, an element x belongs to a lower set if and only if f⁻¹(x) belongs to its image under f⁻¹, which allows the simplifier to reduce both sides to identical conditions.

  1. An element x is the step element at index i of M if and only if f.symm x is the step element at index i of the chain transformed by f.

    Unfolding the definition of chain_step_element expresses both sides as conjunctions: x ∉ M.chain i.castSucc ∧ x ∈ M.chain i.succ on the left, and f.symm x ∉ LowerSet.map f.symm (M.chain i.castSucc) ∧ f.symm x ∈ LowerSet.map f.symm (M.chain i.succ) on the right. Because f.symm is a bijection (an order isomorphism), f.symm x ∈ LowerSet.map f.symm S simplifies directly to x ∈ S for any lower set S, and likewise for non-membership. The simplifier applies these definitions and equivalence rewrites to close the goal.

    line 6

    uses chain_step_element, maximal_chain_map_automorphism

      simp [chain_step_element, maximal_chain_map_automorphism]
chain_step_element
The predicate asserting that an element x belongs to the (i + 1)-th lower set of a maximal chain M but not to its i-th lower set.
maximal_chain_map_automorphism
The maximal chain of lower sets obtained by applying the inverse automorphism f.symm to each lower set in M.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- Poset automorphisms preserve the step elements of maximal chains of order ideals. -/theorem chain_step_element_map_automorphism {P : Type*} [PartialOrder P] [Fintype P]    (f : P ≃o P) (M : MaximalChainLowerSet P) (i : Fin (Fintype.card P)) (x : P) :    chain_step_element M i x ↔      chain_step_element (maximal_chain_map_automorphism f M) i (f.symm x) := by  simp [chain_step_element, maximal_chain_map_automorphism]
See it in the graphDiscuss this resultChallenge it