Commit 2026-06-09 16:55 97d811a4
View on Github →feat(Order/SuccPred/CompleteLinearOrder): generalize csSup_mem_of_not_isSuccLimit (#38142)
Given s.Nonempty and BddAbove s we can conclude sSup s ∈ s using either:
csSup_mem_of_not_isSuccPrelimit, givenConditionallyCompleteLinearOrderand¬IsSuccPrelimit (sSup s)csSup_mem_of_not_isSuccLimit, givenConditionallyCompleteLinearOrderBotand¬IsSuccLimit (sSup s)We generalize both to a theorem that requiresConditionallyCompleteLinearOrderand¬IsSuccLimit (sSup s). This creates 8 theorems that require¬IsSuccPrelimitbut are now easily proved with the¬IsSuccLimittheorems, we replacecsSup_mem_of_not_isSuccPrelimit/exists_eq_ciSup_of_not_isSuccPrelimitwith their primedConditionallyCompleteLinearOrderBottheorems, and deprecates the other 6. Tags a randomto_dual(inConditionallyCompleteLattice/Basic.lean) to let usto_dualize the new lemmas.