@@ -529,7 +529,7 @@ theorem cof_cof (a : Ordinal.{u}) : cof (cof a).ord = cof a := by
529529 exact ord_injective (hf.trans hg).cof_eq.symm
530530
531531protected theorem IsNormal.isFundamentalSequence {f : Ordinal.{u} → Ordinal.{u}} (hf : IsNormal f)
532- {a o} (ha : IsLimit a) {g} (hg : IsFundamentalSequence a o g) :
532+ {a o} (ha : IsSuccLimit a) {g} (hg : IsFundamentalSequence a o g) :
533533 IsFundamentalSequence (f a) o fun b hb => f (g b hb) := by
534534 refine ⟨?_, @fun i j _ _ h => hf.strictMono (hg.2 .1 _ _ h), ?_⟩
535535 · rcases exists_lsub_cof (f a) with ⟨ι, f', hf', hι⟩
@@ -555,12 +555,12 @@ protected theorem IsNormal.isFundamentalSequence {f : Ordinal.{u} → Ordinal.{u
555555 hg.2 .2 ]
556556 exact IsNormal.blsub_eq.{u, u} hf ha
557557
558- theorem IsNormal.cof_eq {f} (hf : IsNormal f) {a} (ha : IsLimit a) : cof (f a) = cof a :=
558+ theorem IsNormal.cof_eq {f} (hf : IsNormal f) {a} (ha : IsSuccLimit a) : cof (f a) = cof a :=
559559 let ⟨_, hg⟩ := exists_fundamental_sequence a
560560 ord_injective (hf.isFundamentalSequence ha hg).cof_eq
561561
562562theorem IsNormal.cof_le {f} (hf : IsNormal f) (a) : cof a ≤ cof (f a) := by
563- rcases zero_or_succ_or_limit a with (rfl | ⟨b, rfl⟩ | ha)
563+ rcases zero_or_succ_or_isSuccLimit a with (rfl | ⟨b, rfl⟩ | ha)
564564 · rw [cof_zero]
565565 exact zero_le _
566566 · rw [cof_succ, Cardinal.one_le_iff_ne_zero, cof_ne_zero, ← Ordinal.pos_iff_ne_zero]
@@ -569,27 +569,27 @@ theorem IsNormal.cof_le {f} (hf : IsNormal f) (a) : cof a ≤ cof (f a) := by
569569
570570@[simp]
571571theorem cof_add (a b : Ordinal) : b ≠ 0 → cof (a + b) = cof b := fun h => by
572- rcases zero_or_succ_or_limit b with (rfl | ⟨c, rfl⟩ | hb)
572+ rcases zero_or_succ_or_isSuccLimit b with (rfl | ⟨c, rfl⟩ | hb)
573573 · contradiction
574574 · rw [add_succ, cof_succ, cof_succ]
575575 · exact (isNormal_add_right a).cof_eq hb
576576
577- theorem aleph0_le_cof {o} : ℵ₀ ≤ cof o ↔ IsLimit o := by
578- rcases zero_or_succ_or_limit o with (rfl | ⟨o, rfl⟩ | l)
579- · simp [not_zero_isLimit, Cardinal.aleph0_ne_zero]
580- · simp [not_succ_isLimit, Cardinal.one_lt_aleph0]
577+ theorem aleph0_le_cof {o} : ℵ₀ ≤ cof o ↔ IsSuccLimit o := by
578+ rcases zero_or_succ_or_isSuccLimit o with (rfl | ⟨o, rfl⟩ | l)
579+ · simp [Cardinal.aleph0_ne_zero]
580+ · simp [Cardinal.one_lt_aleph0]
581581 · simp only [l, iff_true]
582582 refine le_of_not_gt fun h => ?_
583583 obtain ⟨n, e⟩ := Cardinal.lt_aleph0.1 h
584584 have := cof_cof o
585585 rw [e, ord_nat] at this
586586 cases n
587- · simp at e
588- simp [e, not_zero_isLimit] at l
587+ · apply l.ne_bot
588+ simpa using e
589589 · rw [natCast_succ, cof_succ] at this
590590 rw [← this, cof_eq_one_iff_is_succ] at e
591591 rcases e with ⟨a, rfl⟩
592- exact not_succ_isLimit _ l
592+ exact not_isSuccLimit_succ _ l
593593
594594@[simp]
595595theorem cof_preOmega {o : Ordinal} (ho : IsSuccPrelimit o) : (preOmega o).cof = o.cof := by
@@ -598,16 +598,16 @@ theorem cof_preOmega {o : Ordinal} (ho : IsSuccPrelimit o) : (preOmega o).cof =
598598 · exact isNormal_preOmega.cof_eq ⟨h, ho⟩
599599
600600@[simp]
601- theorem cof_omega {o : Ordinal} (ho : o.IsLimit ) : (ω_ o).cof = o.cof :=
601+ theorem cof_omega {o : Ordinal} (ho : IsSuccLimit o ) : (ω_ o).cof = o.cof :=
602602 isNormal_omega.cof_eq ho
603603
604604@[simp]
605605theorem cof_omega0 : cof ω = ℵ₀ :=
606- (aleph0_le_cof.2 isLimit_omega0 ).antisymm' <| by
606+ (aleph0_le_cof.2 isSuccLimit_omega0 ).antisymm' <| by
607607 rw [← card_omega0]
608608 apply cof_le_card
609609
610- theorem cof_eq' (r : α → α → Prop ) [IsWellOrder α r] (h : IsLimit (type r)) :
610+ theorem cof_eq' (r : α → α → Prop ) [IsWellOrder α r] (h : IsSuccLimit (type r)) :
611611 ∃ S : Set α, (∀ a, ∃ b ∈ S, r a b) ∧ #S = cof (type r) :=
612612 let ⟨S, H, e⟩ := cof_eq r
613613 ⟨S, fun a =>
@@ -675,7 +675,7 @@ theorem mk_bounded_subset {α : Type*} (h : ∀ x < #α, 2 ^ x < #α) {r : α
675675 · refine @mk_le_of_injective α _ (fun x => Subtype.mk {x} ?_) ?_
676676 · apply bounded_singleton
677677 rw [← hr]
678- apply isLimit_ord ha
678+ apply isSuccLimit_ord ha
679679 · intro a b hab
680680 simpa [singleton_eq_singleton_iff] using hab
681681
@@ -694,7 +694,7 @@ theorem mk_subset_mk_lt_cof {α : Type*} (h : ∀ x < #α, 2 ^ x < #α) :
694694 exact lt_cof_type hs
695695 · refine @mk_le_of_injective α _ (fun x => Subtype.mk {x} ?_) ?_
696696 · rw [mk_singleton]
697- exact one_lt_aleph0.trans_le (aleph0_le_cof.2 (isLimit_ord h'.aleph0_le))
697+ exact one_lt_aleph0.trans_le (aleph0_le_cof.2 (isSuccLimit_ord h'.aleph0_le))
698698 · intro a b hab
699699 simpa [singleton_eq_singleton_iff] using hab
700700
@@ -723,7 +723,7 @@ theorem unbounded_of_unbounded_iUnion {α β : Type u} (r : α → α → Prop)
723723theorem lt_power_cof {c : Cardinal.{u}} : ℵ₀ ≤ c → c < c ^ c.ord.cof :=
724724 Cardinal.inductionOn c fun α h => by
725725 rcases ord_eq α with ⟨r, wo, re⟩
726- have := isLimit_ord h
726+ have := isSuccLimit_ord h
727727 rw [re] at this ⊢
728728 rcases cof_eq' r this with ⟨S, H, Se⟩
729729 have := sum_lt_prod (fun a : S => #{ x // r x a }) (fun _ => #α) fun i => ?_
0 commit comments