AFTD Auto-Formalizing Theoretical Domains

lowerSet_preimage_isLowerSet

theoremverifiedformalization

If I is an order ideal of a poset P and f is a poset automorphism of P, then the preimage f⁻¹(I) is an order ideal of P.

Statement

theorem lowerSet_preimage_isLowerSet {P : Type*} [PartialOrder P]
    (f : P ≃o P) (I : LowerSet P) :
    IsLowerSet (f ⁻¹' (I : Set P))
Formalizes
arXiv:2611.26888 Proposition 3.2
Verified
23 Nov 2026
Axioms
Quot.soundpropext

Read back from the Lean

For any partially ordered type $P$, any order isomorphism $f : P \simeq_o P$, and any lower set $I$ of $P$, the preimage of $I$ under $f$ is a lower set in $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

The proof relies on the fact that any order isomorphism is monotone, and the preimage of an order ideal (lower set) under a monotone map is always an order ideal. Combining these two facts directly shows that f⁻¹(I) is a lower set.

  1. The preimage f⁻¹(I) of the lower set I under f is a lower set.

    The order isomorphism f is monotone (via `monotone`), and the preimage of any lower set under a monotone map is a lower set (via `preimage`). Applying this to the hypothesis that I is a lower set (`I.lower'`) shows that f⁻¹(I) is a lower set.

    line 5

    uses preimage, monotone

      I.lower'.preimage f.monotone
preimage
The preimage of a lower set under a monotone function is a lower set.
monotone
An order isomorphism between preorders is monotone.

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

/-- The preimage of an order ideal under a poset automorphism is an order ideal. -/theorem lowerSet_preimage_isLowerSet {P : Type*} [PartialOrder P]    (f : P ≃o P) (I : LowerSet P) :    IsLowerSet (f ⁻¹' (I : Set P)) :=  I.lower'.preimage f.monotone
See it in the graphDiscuss this resultChallenge it