Theorem: CategoryTheory.IsCofiltered.small_fullSubcategory_cofilteredClosure
File: Mathlib/CategoryTheory/Filtered/Small.lean

tactic: refine small_of_injective_of_exists
  (CofilteredClosureSmall.abstractCofilteredClosureRealization f) FullSubcategory.ext ?_
state_before: C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
⊢ Small.{max v w, u} (FullSubcategory (CofilteredClosure f))
state_after: C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
⊢ ∀ (b : FullSubcategory (CofilteredClosure f)),
    ∃ a, CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a = b.obj

tactic: rintro ⟨j, h⟩
state_before: C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
⊢ ∀ (b : FullSubcategory (CofilteredClosure f)),
    ∃ a, CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a = b.obj
state_after: case mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
h : CofilteredClosure f j
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j, property := h }.obj

tactic: induction h with
| base x => exact ⟨⟨0, ⟨x⟩⟩, rfl⟩
| min hj₁ hj₂ ih ih' =>
  rcases ih with ⟨⟨n, x⟩, rfl⟩
  rcases ih' with ⟨⟨m, y⟩, rfl⟩
  refine ⟨⟨(Max.max n m).succ, CofilteredClosureSmall.InductiveStep.min ?_ ?_ x y⟩, rfl⟩
  all_goals apply Nat.lt_succ_of_le
  exacts [Nat.le_max_left _ _, Nat.le_max_right _ _]
| eq hj₁ hj₂ g g' ih ih' =>
  rcases ih with ⟨⟨n, x⟩, rfl⟩
  rcases ih' with ⟨⟨m, y⟩, rfl⟩
  refine ⟨⟨(Max.max n m).succ, CofilteredClosureSmall.InductiveStep.eq ?_ ?_ x y g g'⟩, rfl⟩
  all_goals apply Nat.lt_succ_of_le
  exacts [Nat.le_max_left _ _, Nat.le_max_right _ _]
state_before: case mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
h : CofilteredClosure f j
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j, property := h }.obj
state_after: no goals

tactic: exact ⟨⟨0, ⟨x⟩⟩, rfl⟩
state_before: case mk.base
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
x : α
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := f x, property := ⋯ }.obj
state_after: no goals

tactic: rcases ih with ⟨⟨n, x⟩, rfl⟩
state_before: case mk.min
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j✝ j'✝ : C
hj₁ : CofilteredClosure f j✝
hj₂ : CofilteredClosure f j'✝
ih :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j✝, property := hj₁ }.obj
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := min j✝ j'✝, property := ⋯ }.obj
state_after: case mk.min.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j'✝ : C
hj₂ : CofilteredClosure f j'✝
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      {
          obj :=
            min (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩) j'✝,
          property := ⋯ }.obj

tactic: rcases ih' with ⟨⟨m, y⟩, rfl⟩
state_before: case mk.min.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j'✝ : C
hj₂ : CofilteredClosure f j'✝
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      {
          obj :=
            min (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩) j'✝,
          property := ⋯ }.obj
state_after: case mk.min.intro.mk.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      {
          obj :=
            min (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
              (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩),
          property := ⋯ }.obj

tactic: refine ⟨⟨(Max.max n m).succ, CofilteredClosureSmall.InductiveStep.min ?_ ?_ x y⟩, rfl⟩
state_before: case mk.min.intro.mk.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      {
          obj :=
            min (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
              (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩),
          property := ⋯ }.obj
state_after: case mk.min.intro.mk.intro.mk.refine_1
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ n < max n m + 1

case mk.min.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m < max n m + 1

tactic: all_goals apply Nat.lt_succ_of_le
state_before: case mk.min.intro.mk.intro.mk.refine_1
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ n < max n m + 1

case mk.min.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m < max n m + 1
state_after: case mk.min.intro.mk.intro.mk.refine_1.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ n ≤ max n m

case mk.min.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m ≤ max n m

tactic: exacts [Nat.le_max_left _ _, Nat.le_max_right _ _]
state_before: case mk.min.intro.mk.intro.mk.refine_1.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ n ≤ max n m

case mk.min.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m ≤ max n m
state_after: no goals

tactic: apply Nat.lt_succ_of_le
state_before: case mk.min.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m < max n m + 1
state_after: case mk.min.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
⊢ m ≤ max n m

tactic: rcases ih with ⟨⟨n, x⟩, rfl⟩
state_before: case mk.eq
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j✝ j'✝ : C
hj₁ : CofilteredClosure f j✝
hj₂ : CofilteredClosure f j'✝
g g' : j✝ ⟶ j'✝
ih :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j✝, property := hj₁ }.obj
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := eq g g', property := ⋯ }.obj
state_after: case mk.eq.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j'✝ : C
hj₂ : CofilteredClosure f j'✝
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
g g' : CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶ j'✝
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := eq g g', property := ⋯ }.obj

tactic: rcases ih' with ⟨⟨m, y⟩, rfl⟩
state_before: case mk.eq.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j j'✝ : C
hj₂ : CofilteredClosure f j'✝
ih' :
  ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := j'✝, property := hj₂ }.obj
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
g g' : CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶ j'✝
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := eq g g', property := ⋯ }.obj
state_after: case mk.eq.intro.mk.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := eq g g', property := ⋯ }.obj

tactic: refine ⟨⟨(Max.max n m).succ, CofilteredClosureSmall.InductiveStep.eq ?_ ?_ x y g g'⟩, rfl⟩
state_before: case mk.eq.intro.mk.intro.mk
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ ∃ a,
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f a =
      { obj := eq g g', property := ⋯ }.obj
state_after: case mk.eq.intro.mk.intro.mk.refine_1
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ n < max n m + 1

case mk.eq.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m < max n m + 1

tactic: all_goals apply Nat.lt_succ_of_le
state_before: case mk.eq.intro.mk.intro.mk.refine_1
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ n < max n m + 1

case mk.eq.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m < max n m + 1
state_after: case mk.eq.intro.mk.intro.mk.refine_1.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ n ≤ max n m

case mk.eq.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m ≤ max n m

tactic: exacts [Nat.le_max_left _ _, Nat.le_max_right _ _]
state_before: case mk.eq.intro.mk.intro.mk.refine_1.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ n ≤ max n m

case mk.eq.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m ≤ max n m
state_after: no goals

tactic: apply Nat.lt_succ_of_le
state_before: case mk.eq.intro.mk.intro.mk.refine_2
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m < max n m + 1
state_after: case mk.eq.intro.mk.intro.mk.refine_2.a
C : Type u
inst✝¹ : Category.{v, u} C
inst✝ : IsCofilteredOrEmpty C
α : Type w
f : α → C
j : C
n : ℕ
x : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f n).fst
hj₁ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩)
m : ℕ
y : (CategoryTheory.IsCofiltered.CofilteredClosureSmall.bundledAbstractCofilteredClosure f m).fst
hj₂ :
  CofilteredClosure f (CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩)
g g' :
  CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨n, x⟩ ⟶
    CategoryTheory.IsCofiltered.CofilteredClosureSmall.abstractCofilteredClosureRealization f ⟨m, y⟩
⊢ m ≤ max n m