Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-06-26 21:36 f2b108e8

View on Github →

refactor(set_theory/cardinal/*): cardinal.supsupr (#14569) We remove cardinal.sup in favor of supr. We tweak many other theorems relating to cardinal suprema in the process. A noteworthy consequence is that there's no longer universe constraints on the domain and codomain of the functions one takes the supremum of. When one does still have this constraint, one can use bdd_above_range to immediately prove their range is bounded above.

<!-- Lemmas `lift_sup_le`, `lift_sup_le_iff`, `lift_sup_le_lift_sup`, and `lift_sup_le_lift_sup'` have been removed by virtue of being trivial consequences of basic lemmas on suprema and `lift_supr`. -->

The result of this PR is the following replacements:

  • cardinal.supsupr
  • cardinal.le_suple_csupr
  • cardinal.sup_lecsupr_le'
  • cardinal.sup_le_supcsupr_mono
  • cardinal.sup_le_sumcardinal.supr_le_sum
  • cardinal.sum_le_supcardinal.sum_le_supr
  • cardinal.sum_le_sup_liftcardinal.sum_le_supr_lift
  • cardinal.sup_eq_zerocardinal.supr_of_empty
  • cardinal.le_sup_iffle_csupr_iff'
  • cardinal.lift_supcardinal.lift_supr
  • cardinal.lift_sup_lecardinal.lift_supr + csupr_le'
  • cardinal.lift_sup_le_iffcardinal.lift_supr + csupr_le_iff
  • cardinal.lift_sup_le_lift_supcardinal.lift_supr + csupr_le_iff'
  • cardinal.lift_sup_le_lift_sup'cardinal.lift_supr + csupr_mono'
  • cardinal.sup_lt_liftcardinal.supr_lt_lift
  • cardinal.sup_ltcardinal.supr_lt

Estimated changes

modified theorem cardinal.le_powerlt
deleted theorem cardinal.le_sup
added theorem cardinal.lift_Sup
added theorem cardinal.lift_infi
deleted theorem cardinal.lift_sup
deleted theorem cardinal.lift_sup_le
deleted theorem cardinal.lift_sup_le_iff
added theorem cardinal.lift_supr
added theorem cardinal.lift_supr_le
modified theorem cardinal.mk_Union_le
modified theorem cardinal.mk_sUnion_le
modified def cardinal.powerlt
deleted theorem cardinal.powerlt_aux
modified theorem cardinal.powerlt_le
modified theorem cardinal.powerlt_max
added theorem cardinal.powerlt_min
modified theorem cardinal.powerlt_succ
modified theorem cardinal.powerlt_zero
deleted theorem cardinal.sum_le_sup
deleted theorem cardinal.sum_le_sup_lift
added theorem cardinal.sum_le_supr
deleted def cardinal.sup
deleted theorem cardinal.sup_eq_zero
deleted theorem cardinal.sup_le
deleted theorem cardinal.sup_le_iff
deleted theorem cardinal.sup_le_sum
deleted theorem cardinal.sup_le_sup
added theorem cardinal.supr_le_sum