File tree Expand file tree Collapse file tree
Mathlib/SetTheory/Cardinal/Cofinality Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ theorem cof_add_one (o) : cof (o + 1) = 1 :=
118118theorem cof_one : cof 1 = 1 := by
119119 simpa using cof_add_one 0
120120
121- -- TODO: deprecate in favor of `cof_add_one`
121+ @ [ deprecated cof_add_one (since := "2026-05-25" )]
122122theorem cof_succ (o) : cof (succ o) = 1 :=
123123 cof_add_one o
124124
@@ -235,12 +235,12 @@ alias cof_eq_of_isNormal := cof_map_of_isNormal
235235alias IsNormal.cof_eq := cof_eq_of_isNormal
236236
237237theorem le_cof_map_of_isNormal {f} (hf : IsNormal f) (a) : cof a ≤ cof (f a) := by
238- rcases zero_or_succ_or_isSuccLimit a with (rfl | ⟨b, rfl⟩ | ha)
239- · rw [cof_zero]
240- exact zero_le
241- · rw [cof_succ , Cardinal.one_le_iff_ne_zero, cof_eq_zero.ne]
242- exact (hf.strictMono (lt_succ b )).ne_zero
243- · rw [cof_map_of_isNormal hf ha]
238+ cases a using limitRecOn with
239+ | zero => simp
240+ | add_one a =>
241+ rw [cof_add_one , Cardinal.one_le_iff_ne_zero, cof_eq_zero.ne]
242+ exact (hf.strictMono (lt_succ a )).ne_zero
243+ | limit a ha => rw [cof_map_of_isNormal hf ha]
244244
245245@ [deprecated (since := "2026-03-19" )]
246246alias cof_le_of_isNormal := le_cof_map_of_isNormal
You can’t perform that action at this time.
0 commit comments