The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V26. Homological algebra

Mathlib.Algebra.Category.Ring.Colimits

212 declarations. Mathlib docs · Source

ctor CommRingCat.Colimits.Relation.below.add_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x x' y : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F x x'),
  CommRingCat.Colimits.Relation.below x_1 → motive x x' x_1 → CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.Prequotient.mul.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J CommRingCat}
  {a a_1 a_2 a_3 : CommRingCat.Colimits.Prequotient F}, a.mul a_1 = a_2.mul a_3 → a = a_2 ∧ a_1 = a_3

theorem RingCat.Colimits.Prequotient.neg.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (a a_1 : RingCat.Colimits.Prequotient F), (a.neg = a_1.neg) = (a = a_1)

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_6 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 y : RingCat.Colimits.Prequotient F),
  x = x_1.mul y →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_6 x_1 y

ctor CommRingCat.Colimits.Relation.below.one_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.add_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x x' y : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F x x'),
  RingCat.Colimits.Relation.below x_1 → motive x x' x_1 → RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.right_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.trans E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F x y)
  (x_2 : RingCat.Colimits.Relation F y z),
  RingCat.Colimits.Relation.below x_1 →
    motive x y x_1 → RingCat.Colimits.Relation.below x_2 → motive y z x_2 → RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.add_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y y' : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F y y'),
  CommRingCat.Colimits.Relation.below x_1 → motive y y' x_1 → CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.Prequotient.add.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (a a_1 a_2 a_3 : CommRingCat.Colimits.Prequotient F), (a.add a_1 = a_2.add a_3) = (a = a_2 ∧ a_1 = a_3)

ctor CommRingCat.Colimits.Relation.below.mul_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x x' y : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F x x'),
  CommRingCat.Colimits.Relation.below x_1 → motive x x' x_1 → CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.Prequotient.brecOn.eq E1 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : CommRingCat.Colimits.Prequotient F → Sort u} (t : CommRingCat.Colimits.Prequotient F)
  (F_1 : (t : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Prequotient.below t → motive t),
  CommRingCat.Colimits.Prequotient.brecOn t F_1 = F_1 t (CommRingCat.Colimits.Prequotient.brecOn.go t F_1).2

ctor CommRingCat.Colimits.Relation.below.zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j : J),
  CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.Prequotient.of.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J)
  (x : ↑(F.obj j)) (j_1 : J) (x_1 : ↑(F.obj j_1)),
  (CommRingCat.Colimits.Prequotient.of j x = CommRingCat.Colimits.Prequotient.of j_1 x_1) = (j = j_1 ∧ x ≍ x_1)

ctor RingCat.Colimits.Relation.below.add_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.right_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

theorem Quot.map₂.congr_simp E1 #

∀ {α : Sort u_1} {β : Sort u_2} {γ : Sort u_4} {r : α → α → Prop} {s : β → β → Prop} {t : γ → γ → Prop}
  (f f_1 : α → β → γ) (e_f : f = f_1) (hr : ∀ (a : α) (b₁ b₂ : β), s b₁ b₂ → t (f a b₁) (f a b₂))
  (hs : ∀ (a₁ a₂ : α) (b : β), r a₁ a₂ → t (f a₁ b) (f a₂ b)) (q₁ q₁_1 : Quot r),
  q₁ = q₁_1 → ∀ (q₂ q₂_1 : Quot s), q₂ = q₂_1 → Quot.map₂ f hr hs q₁ q₂ = Quot.map₂ f_1 ⋯ ⋯ q₁_1 q₂_1

ctor RingCat.Colimits.Relation.below.mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x y : ↑(F.obj j)), RingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.add.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (a a_1 a_2 a_3 : RingCat.Colimits.Prequotient F), (a.add a_1 = a_2.add a_3) = (a = a_2 ∧ a_1 = a_3)

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_4 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 : RingCat.Colimits.Prequotient F),
  x = x_1.neg →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_4 x_1

ctor CommRingCat.Colimits.Relation.below.mul_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y y' : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F y y'),
  CommRingCat.Colimits.Relation.below x_1 → motive y y' x_1 → CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_2 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)),
  x = RingCat.Colimits.Prequotient.zero →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_2 ()

ctor RingCat.Colimits.Relation.below.zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j : J),
  RingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.add_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y y' : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F y y'),
  RingCat.Colimits.Relation.below x_1 → motive y y' x_1 → RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.add_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.add_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

abbrev CommRingCat.Colimits.Prequotient.brecOn.go E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} →
      {motive : CommRingCat.Colimits.Prequotient F → Sort u} →
        (t : CommRingCat.Colimits.Prequotient F) →
          ((t : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Prequotient.below t → motive t) →
            motive t ×' CommRingCat.Colimits.Prequotient.below t

theorem CommRingCat.Colimits.Prequotient.add.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J CommRingCat}
  {a a_1 a_2 a_3 : CommRingCat.Colimits.Prequotient F}, a.add a_1 = a_2.add a_3 → a = a_2 ∧ a_1 = a_3

theorem RingCat.Colimits.Prequotient.add.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J RingCat}
  {a a_1 a_2 a_3 : RingCat.Colimits.Prequotient F}, a.add a_1 = a_2.add a_3 → a = a_2 ∧ a_1 = a_3

ctor RingCat.Colimits.Relation.below.map E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j j' : J) (f : j ⟶ j')
  (x : ↑(F.obj j)), RingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x y : ↑(F.obj j)), RingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.neg.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J RingCat}
  {a a_1 : RingCat.Colimits.Prequotient F}, a.neg = a_1.neg → a = a_1

ctor RingCat.Colimits.Relation.below.refl E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.neg_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x x' : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F x x'),
  CommRingCat.Colimits.Relation.below x_1 → motive x x' x_1 → CommRingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.mul_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y y' : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F y y'),
  RingCat.Colimits.Relation.below x_1 → motive y y' x_1 → RingCat.Colimits.Relation.below ⋯

def RingCat.Colimits.Prequotient.ctorIdx E1 #

{J : Type v} →
  {inst : CategoryTheory.SmallCategory J} → {F : CategoryTheory.Functor J RingCat} → RingCat.Colimits.Prequotient F → ℕ

ctor RingCat.Colimits.Relation.below.neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x : ↑(F.obj j)), RingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.neg_add_cancel E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x : ↑(F.obj j)), CommRingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.map E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j j' : J)
  (f : j ⟶ j') (x : ↑(F.obj j)), CommRingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.zero_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.of.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J RingCat} {j : J} {x : ↑(F.obj j)}
  {j_1 : J} {x_1 : ↑(F.obj j_1)},
  RingCat.Colimits.Prequotient.of j x = RingCat.Colimits.Prequotient.of j_1 x_1 → j = j_1 ∧ x ≍ x_1

ctor RingCat.Colimits.Relation.below.one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop} (j : J),
  RingCat.Colimits.Relation.below ⋯

abbrev RingCat.Colimits.Prequotient.ctorElimType E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} →
      {motive : RingCat.Colimits.Prequotient F → Sort u} → ℕ → Sort (max 1 u (imax (v + 1) u) (imax (v + 1) (v + 1) u))

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_6 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 y : CommRingCat.Colimits.Prequotient F),
  x = x_1.mul y →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_6 x_1 y

ctor CommRingCat.Colimits.Relation.below.mul_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.neg_add_cancel E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.of.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J) (x : ↑(F.obj j))
  (j_1 : J) (x_1 : ↑(F.obj j_1)),
  (RingCat.Colimits.Prequotient.of j x = RingCat.Colimits.Prequotient.of j_1 x_1) = (j = j_1 ∧ x ≍ x_1)

ctor CommRingCat.Colimits.Relation.below.zero_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.Prequotient.neg.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J CommRingCat}
  {a a_1 : CommRingCat.Colimits.Prequotient F}, a.neg = a_1.neg → a = a_1

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_4 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 : CommRingCat.Colimits.Prequotient F),
  x = x_1.neg →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_4 x_1

ctor RingCat.Colimits.Relation.below.one_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x y : ↑(F.obj j)), CommRingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j : J)
  (x y : ↑(F.obj j)), CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_3 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)),
  x = CommRingCat.Colimits.Prequotient.one →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_3 ()

ctor RingCat.Colimits.Relation.below.mul_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x x' y : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F x x'),
  RingCat.Colimits.Relation.below x_1 → motive x x' x_1 → RingCat.Colimits.Relation.below ⋯

abbrev RingCat.Colimits.Prequotient.brecOn.go E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} →
      {motive : RingCat.Colimits.Prequotient F → Sort u} →
        (t : RingCat.Colimits.Prequotient F) →
          ((t : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Prequotient.below t → motive t) →
            motive t ×' RingCat.Colimits.Prequotient.below t

ctor CommRingCat.Colimits.Relation.below.trans E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F x y)
  (x_2 : CommRingCat.Colimits.Relation F y z),
  CommRingCat.Colimits.Relation.below x_1 →
    motive x y x_1 → CommRingCat.Colimits.Relation.below x_2 → motive y z x_2 → CommRingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.mul_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

def CommRingCat.Colimits.Prequotient.ctorIdx E1 #

{J : Type v} →
  {inst : CategoryTheory.SmallCategory J} →
    {F : CategoryTheory.Functor J CommRingCat} → CommRingCat.Colimits.Prequotient F → ℕ

ctor CommRingCat.Colimits.Relation.below.one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop} (j : J),
  CommRingCat.Colimits.Relation.below ⋯

theorem Quotient.map₂.congr_simp E1 #

∀ {α : Sort u_1} {β : Sort u_2} {sa : Setoid α} {sb : Setoid β} {γ : Sort u_4} {sc : Setoid γ} (f f_1 : α → β → γ)
  (e_f : f = f_1) (h : ∀ ⦃a₁ a₂ : α⦄, a₁ ≈ a₂ → ∀ ⦃b₁ b₂ : β⦄, b₁ ≈ b₂ → f a₁ b₁ ≈ f a₂ b₂) (a a_1 : Quotient sa),
  a = a_1 → ∀ (a_2 a_3 : Quotient sb), a_2 = a_3 → Quotient.map₂ f h a a_2 = Quotient.map₂ f_1 ⋯ a_1 a_3

ctor RingCat.Colimits.Relation.below.neg_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x x' : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F x x'),
  RingCat.Colimits.Relation.below x_1 → motive x x' x_1 → RingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.mul.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (a a_1 a_2 a_3 : RingCat.Colimits.Prequotient F), (a.mul a_1 = a_2.mul a_3) = (a = a_2 ∧ a_1 = a_3)

theorem CommRingCat.Colimits.Prequotient.neg.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (a a_1 : CommRingCat.Colimits.Prequotient F), (a.neg = a_1.neg) = (a = a_1)

ctor CommRingCat.Colimits.Relation.below.mul_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_3 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)),
  x = RingCat.Colimits.Prequotient.one →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_3 ()

ctor CommRingCat.Colimits.Relation.below.mul_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.mul.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J RingCat}
  {a a_1 a_2 a_3 : RingCat.Colimits.Prequotient F}, a.mul a_1 = a_2.mul a_3 → a = a_2 ∧ a_1 = a_3

ctor RingCat.Colimits.Relation.below.zero_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_1 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)) (j : J) (x_1 : ↑(F.obj j)),
  x = RingCat.Colimits.Prequotient.of j x_1 →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_1 j x_1

ctor CommRingCat.Colimits.Relation.below.symm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y : CommRingCat.Colimits.Prequotient F) (x_1 : CommRingCat.Colimits.Relation F x y),
  CommRingCat.Colimits.Relation.below x_1 → motive x y x_1 → CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.Prequotient.brecOn.eq E1 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : RingCat.Colimits.Prequotient F → Sort u} (t : RingCat.Colimits.Prequotient F)
  (F_1 : (t : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Prequotient.below t → motive t),
  RingCat.Colimits.Prequotient.brecOn t F_1 = F_1 t (RingCat.Colimits.Prequotient.brecOn.go t F_1).2

theorem CommRingCat.Colimits.Prequotient.of.inj E1 #

∀ {J : Type v} {inst : CategoryTheory.SmallCategory J} {F : CategoryTheory.Functor J CommRingCat} {j : J}
  {x : ↑(F.obj j)} {j_1 : J} {x_1 : ↑(F.obj j_1)},
  CommRingCat.Colimits.Prequotient.of j x = CommRingCat.Colimits.Prequotient.of j_1 x_1 → j = j_1 ∧ x ≍ x_1

ctor RingCat.Colimits.Relation.below.mul_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.add_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_5 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 y : CommRingCat.Colimits.Prequotient F),
  x = x_1.add y →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_5 x_1 y

theorem CommRingCat.Colimits.Prequotient.mul.injEq E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (a a_1 a_2 a_3 : CommRingCat.Colimits.Prequotient F), (a.mul a_1 = a_2.mul a_3) = (a = a_2 ∧ a_1 = a_3)

ctor RingCat.Colimits.Relation.below.mul_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.mul_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.left_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor RingCat.Colimits.Relation.below.add_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_2 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)),
  x = CommRingCat.Colimits.Prequotient.zero →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_2 ()

ctor RingCat.Colimits.Relation.below.add_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

ctor CommRingCat.Colimits.Relation.below.refl E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

abbrev CommRingCat.Colimits.Prequotient.ctorElimType E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} →
      {motive : CommRingCat.Colimits.Prequotient F → Sort u} →
        ℕ → Sort (max 1 u (imax (v + 1) u) (imax (v + 1) (v + 1) u))

ctor RingCat.Colimits.Relation.below.symm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x y : RingCat.Colimits.Prequotient F) (x_1 : RingCat.Colimits.Relation F x y),
  RingCat.Colimits.Relation.below x_1 → motive x y x_1 → RingCat.Colimits.Relation.below ⋯

theorem CommRingCat.Colimits.descFunLift.match_1.congr_eq_1 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (motive : CommRingCat.Colimits.Prequotient F → Sort u_2) (x : CommRingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (CommRingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive CommRingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive CommRingCat.Colimits.Prequotient.one)
  (h_4 : (x : CommRingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : CommRingCat.Colimits.Prequotient F) → motive (x.mul y)) (j : J) (x_1 : ↑(F.obj j)),
  x = CommRingCat.Colimits.Prequotient.of j x_1 →
    (match x with
      | CommRingCat.Colimits.Prequotient.of j x => h_1 j x
      | CommRingCat.Colimits.Prequotient.zero => h_2 ()
      | CommRingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_1 j x_1

ctor CommRingCat.Colimits.Relation.below.left_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  {motive : (a a_1 : CommRingCat.Colimits.Prequotient F) → CommRingCat.Colimits.Relation F a a_1 → Prop}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation.below ⋯

theorem RingCat.Colimits.descFunLift.match_1.congr_eq_5 E1 #

∀ {J : Type u_1} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (motive : RingCat.Colimits.Prequotient F → Sort u_2) (x : RingCat.Colimits.Prequotient F)
  (h_1 : (j : J) → (x : ↑(F.obj j)) → motive (RingCat.Colimits.Prequotient.of j x))
  (h_2 : Unit → motive RingCat.Colimits.Prequotient.zero) (h_3 : Unit → motive RingCat.Colimits.Prequotient.one)
  (h_4 : (x : RingCat.Colimits.Prequotient F) → motive x.neg)
  (h_5 : (x y : RingCat.Colimits.Prequotient F) → motive (x.add y))
  (h_6 : (x y : RingCat.Colimits.Prequotient F) → motive (x.mul y)) (x_1 y : RingCat.Colimits.Prequotient F),
  x = x_1.add y →
    (match x with
      | RingCat.Colimits.Prequotient.of j x => h_1 j x
      | RingCat.Colimits.Prequotient.zero => h_2 ()
      | RingCat.Colimits.Prequotient.one => h_3 ()
      | x.neg => h_4 x
      | x.add y => h_5 x y
      | x.mul y => h_6 x y) ≍
      h_5 x_1 y

ctor RingCat.Colimits.Relation.below.zero_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  {motive : (a a_1 : RingCat.Colimits.Prequotient F) → RingCat.Colimits.Relation F a a_1 → Prop}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation.below ⋯

inductive RingCat.Colimits.Prequotient E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J RingCat → Type v

An inductive type representing all ring expressions (without Relations) on a collection of types indexed by the objects of J.

ctor RingCat.Colimits.Prequotient.of E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} → (j : J) → ↑(F.obj j) → RingCat.Colimits.Prequotient F

ctor RingCat.Colimits.Prequotient.zero E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] → {F : CategoryTheory.Functor J RingCat} → RingCat.Colimits.Prequotient F

ctor RingCat.Colimits.Prequotient.one E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] → {F : CategoryTheory.Functor J RingCat} → RingCat.Colimits.Prequotient F

ctor RingCat.Colimits.Prequotient.neg E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} → RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F

ctor RingCat.Colimits.Prequotient.add E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} →
      RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F

ctor RingCat.Colimits.Prequotient.mul E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J RingCat} →
      RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F

instance RingCat.Colimits.instInhabitedPrequotient E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Inhabited (RingCat.Colimits.Prequotient F)

inductive RingCat.Colimits.Relation E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → RingCat.Colimits.Prequotient F → RingCat.Colimits.Prequotient F → Prop

The Relation on Prequotient saying when two expressions are equal because of the ring laws, or because one element is mapped to another by a morphism in the diagram.

ctor RingCat.Colimits.Relation.refl E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F x x

ctor RingCat.Colimits.Relation.symm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F x y → RingCat.Colimits.Relation F y x

ctor RingCat.Colimits.Relation.trans E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y z : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F x y → RingCat.Colimits.Relation F y z → RingCat.Colimits.Relation F x z

ctor RingCat.Colimits.Relation.map E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j j' : J) (f : j ⟶ j')
  (x : ↑(F.obj j)),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j' ((CategoryTheory.ConcreteCategory.hom (F.map f)) x))
    (RingCat.Colimits.Prequotient.of j x)

ctor RingCat.Colimits.Relation.zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j 0) RingCat.Colimits.Prequotient.zero

ctor RingCat.Colimits.Relation.one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j 1) RingCat.Colimits.Prequotient.one

ctor RingCat.Colimits.Relation.neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J) (x : ↑(F.obj j)),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j (-x)) (RingCat.Colimits.Prequotient.of j x).neg

ctor RingCat.Colimits.Relation.add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J)
  (x y : ↑(F.obj j)),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j (x + y))
    ((RingCat.Colimits.Prequotient.of j x).add (RingCat.Colimits.Prequotient.of j y))

ctor RingCat.Colimits.Relation.mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat} (j : J)
  (x y : ↑(F.obj j)),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.of j (x * y))
    ((RingCat.Colimits.Prequotient.of j x).mul (RingCat.Colimits.Prequotient.of j y))

ctor RingCat.Colimits.Relation.neg_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x x' : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F x x' → RingCat.Colimits.Relation F x.neg x'.neg

ctor RingCat.Colimits.Relation.add_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x x' y : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F x x' → RingCat.Colimits.Relation F (x.add y) (x'.add y)

ctor RingCat.Colimits.Relation.add_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y y' : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F y y' → RingCat.Colimits.Relation F (x.add y) (x.add y')

ctor RingCat.Colimits.Relation.mul_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x x' y : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F x x' → RingCat.Colimits.Relation F (x.mul y) (x'.mul y)

ctor RingCat.Colimits.Relation.mul_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y y' : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F y y' → RingCat.Colimits.Relation F (x.mul y) (x.mul y')

ctor RingCat.Colimits.Relation.zero_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.zero.add x) x

ctor RingCat.Colimits.Relation.add_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (x.add RingCat.Colimits.Prequotient.zero) x

ctor RingCat.Colimits.Relation.one_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.one.mul x) x

ctor RingCat.Colimits.Relation.mul_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (x.mul RingCat.Colimits.Prequotient.one) x

ctor RingCat.Colimits.Relation.neg_add_cancel E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (x.neg.add x) RingCat.Colimits.Prequotient.zero

ctor RingCat.Colimits.Relation.add_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (x.add y) (y.add x)

ctor RingCat.Colimits.Relation.add_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F ((x.add y).add z) (x.add (y.add z))

ctor RingCat.Colimits.Relation.mul_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F ((x.mul y).mul z) (x.mul (y.mul z))

ctor RingCat.Colimits.Relation.left_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F (x.mul (y.add z)) ((x.mul y).add (x.mul z))

ctor RingCat.Colimits.Relation.right_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x y z : RingCat.Colimits.Prequotient F), RingCat.Colimits.Relation F ((x.add y).mul z) ((x.mul z).add (y.mul z))

ctor RingCat.Colimits.Relation.zero_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F (RingCat.Colimits.Prequotient.zero.mul x) RingCat.Colimits.Prequotient.zero

ctor RingCat.Colimits.Relation.mul_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J RingCat}
  (x : RingCat.Colimits.Prequotient F),
  RingCat.Colimits.Relation F (x.mul RingCat.Colimits.Prequotient.zero) RingCat.Colimits.Prequotient.zero

instance RingCat.Colimits.colimitSetoid E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Setoid (RingCat.Colimits.Prequotient F)

The setoid corresponding to commutative expressions modulo monoid Relations and identifications.

def RingCat.Colimits.ColimitType E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J RingCat → Type v

The underlying type of the colimit of a diagram in CommRingCat.

instance RingCat.Colimits.ColimitType.instZero E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Zero (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.ColimitType.instAdd E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Add (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.ColimitType.instNeg E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Neg (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.ColimitType.AddGroup E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → AddGroup (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.InhabitedColimitType E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Inhabited (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.ColimitType.AddGroupWithOne E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → AddGroupWithOne (RingCat.Colimits.ColimitType F)

instance RingCat.Colimits.instRingColimitType E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → Ring (RingCat.Colimits.ColimitType F)

theorem RingCat.Colimits.quot_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat),
  Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) RingCat.Colimits.Prequotient.zero = 0

theorem RingCat.Colimits.quot_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat),
  Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) RingCat.Colimits.Prequotient.one = 1

theorem RingCat.Colimits.quot_neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (x : RingCat.Colimits.Prequotient F),
  Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) x.neg =
    -have this := Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) x;
      this

theorem RingCat.Colimits.quot_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (x y : RingCat.Colimits.Prequotient F),
  Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) (x.add y) =
    (have this := Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) x;
      this) +
      have this := Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) y;
      this

theorem RingCat.Colimits.quot_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat)
  (x y : RingCat.Colimits.Prequotient F),
  Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) (x.mul y) =
    (have this := Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) x;
      this) *
      have this := Quot.mk (⇑(RingCat.Colimits.colimitSetoid F)) y;
      this

def RingCat.Colimits.colimit E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J RingCat → RingCat

The bundled ring giving the colimit of a diagram.

def RingCat.Colimits.coconeFun E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → (j : J) → ↑(F.obj j) → RingCat.Colimits.ColimitType F

The function from a given ring in the diagram to the colimit ring.

def RingCat.Colimits.coconeMorphism E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → (j : J) → F.obj j ⟶ RingCat.Colimits.colimit F

The ring homomorphism from a given ring in the diagram to the colimit ring.

theorem RingCat.Colimits.cocone_naturality E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat) {j j' : J} (f : j ⟶ j'),
  CategoryTheory.CategoryStruct.comp (F.map f) (RingCat.Colimits.coconeMorphism F j') =
    RingCat.Colimits.coconeMorphism F j

theorem RingCat.Colimits.cocone_naturality_components E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J RingCat) (j j' : J) (f : j ⟶ j')
  (x : ↑(F.obj j)),
  (CategoryTheory.ConcreteCategory.hom (RingCat.Colimits.coconeMorphism F j'))
      ((CategoryTheory.ConcreteCategory.hom (F.map f)) x) =
    (CategoryTheory.ConcreteCategory.hom (RingCat.Colimits.coconeMorphism F j)) x

def RingCat.Colimits.colimitCocone E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] → (F : CategoryTheory.Functor J RingCat) → CategoryTheory.Limits.Cocone F

The cocone over the proposed colimit ring.

def RingCat.Colimits.descFunLift E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) →
      (s : CategoryTheory.Limits.Cocone F) → RingCat.Colimits.Prequotient F → ↑s.pt

The function from the free ring on the diagram to the cone point of any other cocone.

def RingCat.Colimits.descFun E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) →
      (s : CategoryTheory.Limits.Cocone F) → RingCat.Colimits.ColimitType F → ↑s.pt

The function from the colimit ring to the cone point of any other cocone.

def RingCat.Colimits.descMorphism E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → (s : CategoryTheory.Limits.Cocone F) → RingCat.Colimits.colimit F ⟶ s.pt

The ring homomorphism from the colimit ring to the cone point of any other cocone.

def RingCat.Colimits.colimitIsColimit E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J RingCat) → CategoryTheory.Limits.IsColimit (RingCat.Colimits.colimitCocone F)

Evidence that the proposed colimit is the colimit.

instance RingCat.Colimits.hasColimits_ringCat E0 #

CategoryTheory.Limits.HasColimits RingCat

inductive CommRingCat.Colimits.Prequotient E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J CommRingCat → Type v

An inductive type representing all commutative ring expressions (without Relations) on a collection of types indexed by the objects of J.

ctor CommRingCat.Colimits.Prequotient.of E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} → (j : J) → ↑(F.obj j) → CommRingCat.Colimits.Prequotient F

ctor CommRingCat.Colimits.Prequotient.zero E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} → CommRingCat.Colimits.Prequotient F

ctor CommRingCat.Colimits.Prequotient.one E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} → CommRingCat.Colimits.Prequotient F

ctor CommRingCat.Colimits.Prequotient.neg E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} → CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F

ctor CommRingCat.Colimits.Prequotient.add E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} →
      CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F

ctor CommRingCat.Colimits.Prequotient.mul E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {F : CategoryTheory.Functor J CommRingCat} →
      CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F

instance CommRingCat.Colimits.instInhabitedPrequotient E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Inhabited (CommRingCat.Colimits.Prequotient F)

inductive CommRingCat.Colimits.Relation E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      CommRingCat.Colimits.Prequotient F → CommRingCat.Colimits.Prequotient F → Prop

The Relation on Prequotient saying when two expressions are equal because of the commutative ring laws, or because one element is mapped to another by a morphism in the diagram.

ctor CommRingCat.Colimits.Relation.refl E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F x x

ctor CommRingCat.Colimits.Relation.symm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F x y → CommRingCat.Colimits.Relation F y x

ctor CommRingCat.Colimits.Relation.trans E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y z : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F x y → CommRingCat.Colimits.Relation F y z → CommRingCat.Colimits.Relation F x z

ctor CommRingCat.Colimits.Relation.map E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j j' : J)
  (f : j ⟶ j') (x : ↑(F.obj j)),
  CommRingCat.Colimits.Relation F
    (CommRingCat.Colimits.Prequotient.of j' ((CategoryTheory.ConcreteCategory.hom (F.map f)) x))
    (CommRingCat.Colimits.Prequotient.of j x)

ctor CommRingCat.Colimits.Relation.zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.of j 0) CommRingCat.Colimits.Prequotient.zero

ctor CommRingCat.Colimits.Relation.one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.of j 1) CommRingCat.Colimits.Prequotient.one

ctor CommRingCat.Colimits.Relation.neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J)
  (x : ↑(F.obj j)),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.of j (-x))
    (CommRingCat.Colimits.Prequotient.of j x).neg

ctor CommRingCat.Colimits.Relation.add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J)
  (x y : ↑(F.obj j)),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.of j (x + y))
    ((CommRingCat.Colimits.Prequotient.of j x).add (CommRingCat.Colimits.Prequotient.of j y))

ctor CommRingCat.Colimits.Relation.mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat} (j : J)
  (x y : ↑(F.obj j)),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.of j (x * y))
    ((CommRingCat.Colimits.Prequotient.of j x).mul (CommRingCat.Colimits.Prequotient.of j y))

ctor CommRingCat.Colimits.Relation.neg_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x x' : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F x x' → CommRingCat.Colimits.Relation F x.neg x'.neg

ctor CommRingCat.Colimits.Relation.add_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x x' y : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F x x' → CommRingCat.Colimits.Relation F (x.add y) (x'.add y)

ctor CommRingCat.Colimits.Relation.add_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y y' : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F y y' → CommRingCat.Colimits.Relation F (x.add y) (x.add y')

ctor CommRingCat.Colimits.Relation.mul_1 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x x' y : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F x x' → CommRingCat.Colimits.Relation F (x.mul y) (x'.mul y)

ctor CommRingCat.Colimits.Relation.mul_2 E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y y' : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F y y' → CommRingCat.Colimits.Relation F (x.mul y) (x.mul y')

ctor CommRingCat.Colimits.Relation.zero_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.zero.add x) x

ctor CommRingCat.Colimits.Relation.add_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (x.add CommRingCat.Colimits.Prequotient.zero) x

ctor CommRingCat.Colimits.Relation.one_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.one.mul x) x

ctor CommRingCat.Colimits.Relation.mul_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (x.mul CommRingCat.Colimits.Prequotient.one) x

ctor CommRingCat.Colimits.Relation.neg_add_cancel E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (x.neg.add x) CommRingCat.Colimits.Prequotient.zero

ctor CommRingCat.Colimits.Relation.add_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F (x.add y) (y.add x)

ctor CommRingCat.Colimits.Relation.mul_comm E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F (x.mul y) (y.mul x)

ctor CommRingCat.Colimits.Relation.add_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F ((x.add y).add z) (x.add (y.add z))

ctor CommRingCat.Colimits.Relation.mul_assoc E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y z : CommRingCat.Colimits.Prequotient F), CommRingCat.Colimits.Relation F ((x.mul y).mul z) (x.mul (y.mul z))

ctor CommRingCat.Colimits.Relation.left_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y z : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (x.mul (y.add z)) ((x.mul y).add (x.mul z))

ctor CommRingCat.Colimits.Relation.right_distrib E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x y z : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F ((x.add y).mul z) ((x.mul z).add (y.mul z))

ctor CommRingCat.Colimits.Relation.zero_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (CommRingCat.Colimits.Prequotient.zero.mul x) CommRingCat.Colimits.Prequotient.zero

ctor CommRingCat.Colimits.Relation.mul_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {F : CategoryTheory.Functor J CommRingCat}
  (x : CommRingCat.Colimits.Prequotient F),
  CommRingCat.Colimits.Relation F (x.mul CommRingCat.Colimits.Prequotient.zero) CommRingCat.Colimits.Prequotient.zero

instance CommRingCat.Colimits.colimitSetoid E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Setoid (CommRingCat.Colimits.Prequotient F)

The setoid corresponding to commutative expressions modulo monoid Relations and identifications.

def CommRingCat.Colimits.ColimitType E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J CommRingCat → Type v

The underlying type of the colimit of a diagram in CommRingCat.

instance CommRingCat.Colimits.ColimitType.instZero E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Zero (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.ColimitType.instAdd E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Add (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.ColimitType.instNeg E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Neg (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.ColimitType.AddGroup E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → AddGroup (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.InhabitedColimitType E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → Inhabited (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.ColimitType.AddGroupWithOne E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → AddGroupWithOne (CommRingCat.Colimits.ColimitType F)

instance CommRingCat.Colimits.instCommRingColimitType E0 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → CommRing (CommRingCat.Colimits.ColimitType F)

theorem CommRingCat.Colimits.quot_zero E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat),
  Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) CommRingCat.Colimits.Prequotient.zero = 0

theorem CommRingCat.Colimits.quot_one E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat),
  Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) CommRingCat.Colimits.Prequotient.one = 1

theorem CommRingCat.Colimits.quot_neg E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (x : CommRingCat.Colimits.Prequotient F),
  Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) x.neg =
    -have this := Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) x;
      this

theorem CommRingCat.Colimits.quot_add E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (x y : CommRingCat.Colimits.Prequotient F),
  Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) (x.add y) =
    (have this := Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) x;
      this) +
      have this := Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) y;
      this

theorem CommRingCat.Colimits.quot_mul E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  (x y : CommRingCat.Colimits.Prequotient F),
  Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) (x.mul y) =
    (have this := Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) x;
      this) *
      have this := Quot.mk (⇑(CommRingCat.Colimits.colimitSetoid F)) y;
      this

def CommRingCat.Colimits.colimit E1 #

{J : Type v} → [inst : CategoryTheory.SmallCategory J] → CategoryTheory.Functor J CommRingCat → CommRingCat

The bundled commutative ring giving the colimit of a diagram.

def CommRingCat.Colimits.coconeFun E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → (j : J) → ↑(F.obj j) → CommRingCat.Colimits.ColimitType F

The function from a given commutative ring in the diagram to the colimit commutative ring.

def CommRingCat.Colimits.coconeMorphism E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → (j : J) → F.obj j ⟶ CommRingCat.Colimits.colimit F

The ring homomorphism from a given commutative ring in the diagram to the colimit commutative ring.

theorem CommRingCat.Colimits.cocone_naturality E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat) {j j' : J}
  (f : j ⟶ j'),
  CategoryTheory.CategoryStruct.comp (F.map f) (CommRingCat.Colimits.coconeMorphism F j') =
    CommRingCat.Colimits.coconeMorphism F j

theorem CommRingCat.Colimits.cocone_naturality_components E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat) (j j' : J)
  (f : j ⟶ j') (x : ↑(F.obj j)),
  (CategoryTheory.ConcreteCategory.hom (CommRingCat.Colimits.coconeMorphism F j'))
      ((CategoryTheory.ConcreteCategory.hom (F.map f)) x) =
    (CategoryTheory.ConcreteCategory.hom (CommRingCat.Colimits.coconeMorphism F j)) x

def CommRingCat.Colimits.colimitCocone E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] → (F : CategoryTheory.Functor J CommRingCat) → CategoryTheory.Limits.Cocone F

The cocone over the proposed colimit commutative ring.

def CommRingCat.Colimits.descFunLift E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      (s : CategoryTheory.Limits.Cocone F) → CommRingCat.Colimits.Prequotient F → ↑s.pt

The function from the free commutative ring on the diagram to the cone point of any other cocone.

def CommRingCat.Colimits.descFun E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      (s : CategoryTheory.Limits.Cocone F) → CommRingCat.Colimits.ColimitType F → ↑s.pt

The function from the colimit commutative ring to the cone point of any other cocone.

def CommRingCat.Colimits.descMorphism E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      (s : CategoryTheory.Limits.Cocone F) → CommRingCat.Colimits.colimit F ⟶ s.pt

The ring homomorphism from the colimit commutative ring to the cone point of any other cocone.

def CommRingCat.Colimits.colimitIsColimit E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) → CategoryTheory.Limits.IsColimit (CommRingCat.Colimits.colimitCocone F)

Evidence that the proposed colimit is the colimit.

instance CommRingCat.Colimits.hasColimits_commRingCat E0 #

CategoryTheory.Limits.HasColimits CommRingCat