AFTD Auto-Formalizing Theoretical Domains

differs_in_one_position

def

Two maximal chains M and M' in J(P) differ in position j if their j-th elements are distinct and all other elements agree.

Statement

def differs_in_one_position {P : Type*} [PartialOrder P] [Fintype P]
    (M M' : MaximalChainLowerSet P) (j : Fin (Fintype.card P + 1)) : 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 3
  • 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.…

Read back from the Lean

For a finite type P with a partial order, two maximal chains of lower sets M and M' of P (of type MaximalChainLowerSet P), and an index j : Fin (Fintype.card P + 1), differs_in_one_position M M' j is defined to assert that: 1. M.chain j ≠ M'.chain j, and 2. for all k : Fin (Fintype.card P + 1), if k ≠ j, then M.chain k = M'.chain k.

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

/-- Two maximal chains differ in exactly one position j. -/
def differs_in_one_position {P : Type*} [PartialOrder P] [Fintype P]
    (M M' : MaximalChainLowerSet P) (j : Fin (Fintype.card P + 1)) : Prop := M.chain j ≠ M'.chain j ∧ ∀ k : Fin (Fintype.card P + 1), k ≠ j → M.chain k = M'.chain k
See it in the graphDiscuss this resultChallenge it