linear_extension_comp_automorphism
If l is a linear extension of a finite poset P and f is a poset automorphism of P, then l ∘ f is a linear extension of P.
Statement
theorem linear_extension_comp_automorphism {P : Type*} [PartialOrder P] [Fintype P] (l : P → Fin (Fintype.card P)) (hl : is_poset_linear_extension l) (f : P ≃o P) : is_poset_linear_extension (l ∘ f)
- Formalizes
- arXiv:2611.26888 Proposition 3.1
- Verified
- 23 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- is_poset_linear_extensionA function l from a finite partially ordered set P to Fin |P| is a linear extension if it is bijective and order-preserving.
- Used by 1
- 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 any finite partially ordered type $P$, any map $l : P \to \mathrm{Fin}(|P|)$ that is a poset linear extension of $P$ (is_poset_linear_extension l), and any order automorphism $f : P \simeqo P$, the composite map $l \circ f$ is also a poset linear extension of $P$.
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
To show that l ∘ f is a linear extension of P, we verify the two defining properties: bijectivity and order-preservation. Bijectivity holds because both the linear extension l and the poset automorphism f are bijective, and their composition is therefore bijective. Order-preservation holds because f is an order isomorphism and thus monotonic, and l is monotonic by assumption, so their composition preserves the partial order.
The composite l ∘ f is a linear extension of P.
By definition, a linear extension must be bijective and order-preserving. First, l ∘ f is bijective because it is the composition of the bijection l (from hl.1) with the bijective order isomorphism f. Second, l ∘ f is order-preserving: for any x, y ∈ P with x ≤ y, the order isomorphism f preserves the relation, so f(x) ≤ f(y), and then l preserves this inequality (from hl.2) to yield l(f(x)) ≤ l(f(y)).
is_poset_linear_extension (l ∘ f) := ⟨hl.1.comp f.bijective, fun _ _ hxy => hl.2 (f.monotone hxy)⟩
Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
/-- Composition of a linear extension with a poset automorphism is a linear extension. -/theorem linear_extension_comp_automorphism {P : Type*} [PartialOrder P] [Fintype P] (l : P → Fin (Fintype.card P)) (hl : is_poset_linear_extension l) (f : P ≃o P) : is_poset_linear_extension (l ∘ f) := ⟨hl.1.comp f.bijective, fun _ _ hxy => hl.2 (f.monotone hxy)⟩