AFTD Auto-Formalizing Theoretical Domains

op_2378_nat_sInf_eq_of_mem_of_le

theoremverified

For a nonempty set S of natural numbers with a least element m (given as a member m ∈ S that minorizes S), the infimum sInf S equals m.

Statement

theorem op_2378_nat_sInf_eq_of_mem_of_le (S : Set ℕ) (m : ℕ) (hm : m ∈ S) (h : ∀ n ∈ S, m ≤ n) : sInf S = m
Source
step towards op_2378_partial_r_two
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 3

The proof, explained

The identity sInf S = m is proved by antisymmetry of ≤. Because m belongs to S, the infimum sInf S is at most m. Conversely, because S is nonempty (witnessed by m) and m is a lower bound for every element of S, m is at most sInf S. Combining both bounds gives sInf S = m.

  1. sInf S = m

    By antisymmetry of the partial order on ℕ (`le_antisymm`), it suffices to show both sInf S ≤ m and m ≤ sInf S. The first inequality holds by `Nat.sInf_le` because m ∈ S (`hm`). The second inequality holds by `le_csInf` because S is nonempty (witnessed by ⟨m, hm⟩) and m minorizes S by the hypothesis h.

    line 2

    uses le_antisymm, Nat.sInf_le, le_csInf

    theorem op_2378_nat_sInf_eq_of_mem_of_le (S : Set ℕ) (m : ℕ) (hm : m ∈ S) (h : ∀ n ∈ S, m ≤ n) : sInf S = m := le_antisymm (Nat.sInf_le hm) (le_csInf ⟨m, hm⟩ h)
le_antisymm
If a ≤ b and b ≤ a in a partial order, then a = b.
Nat.sInf_le
For any set s of natural numbers and any element m ∈ s, sInf s ≤ m.
le_csInf
In a conditionally complete lattice, if a set s is nonempty and a is a lower bound of s (a ≤ b for all b ∈ s), then a ≤ sInf s.

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

/-- Bookkeeping lemma computing `sInf` of a set of naturals from a member that minorizes it; used to evaluate `simple_graph_resistance` and `simple_graph_weak_oddness`. -/theorem op_2378_nat_sInf_eq_of_mem_of_le (S : Set ℕ) (m : ℕ) (hm : m ∈ S) (h : ∀ n ∈ S, m ≤ n) : sInf S = m := le_antisymm (Nat.sInf_le hm) (le_csInf ⟨m, hm⟩ h)
See it in the graphDiscuss this resultChallenge it