state
stringlengths
0
159k
srcUpToTactic
stringlengths
387
167k
nextTactic
stringlengths
3
9k
declUpToTactic
stringlengths
22
11.5k
declId
stringlengths
38
95
decl
stringlengths
16
1.89k
file_tag
stringlengths
17
73
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [@w' _ _ mX mY f']
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [Finset.mem_insert, PSigma.mk.injEq, heq_eq_eq, true_and] at mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rcases mf' with mf' | mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg.inl C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exfalso
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg.inl.h C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact hf mf'.symm
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg.inr C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [@w' _ _ mX' mY' f' _]
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ∈ O → (X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Finset.mem_of_mem_insert_of_ne mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ∈ O → (X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
contrapose! h
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X ∈ O → (X ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨rfl, h⟩ := h
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case refl C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → X...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
trivial
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.250_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : X ⟶ S` from each `X`, such that the triangles commute: `f ≫ T Y = T X`, for `f : X ⟶ Y` in the `Finset`. -/ theorem sup_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C ⊢ Nonempty (Cocone F)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnion fun X : J => Finset.univ.biUnion fun Y : J => Finset.univ.image fun f : X ⟶ Y => ⟨F.obj X, F.obj Y, by simp, by simp, F.map f⟩ obtain ⟨Z, f, w⟩ := sup_exists O H ref...
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C ⊢ Nonempty (Cocone F)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
let O := Finset.univ.image F.obj
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ ⊢ Nonempty (Cocone F)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnion fun X : J => Finset.univ.biUnion fun Y : J => Finset.univ.image fun f : X ⟶ Y => ⟨F.obj X, F.obj Y, by simp, by simp, F.map f⟩
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ X Y : J f : X ⟶ Y ⊢ F.obj X ∈ O
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ X Y : J f : X ⟶ Y ⊢ F.obj Y ∈ O
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨Z, f, w⟩ := sup_exists O H
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
refine' ⟨⟨Z, ⟨fun X => f (by simp), _⟩⟩⟩
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
intro j j' g
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
dsimp
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [Category.comp_id]
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply w
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.a C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [Finset.mem_biUnion, Finset.mem_univ, Finset.mem_image, PSigma.mk.injEq, true_and, exists_and_left]
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.a C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact ⟨j, rfl, j', g, by simp⟩
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝³ : Category.{v, u} C inst✝² : IsFiltered C O✝ : Finset C H✝ : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O✝) ×' (_ : Y ∈ O✝) ×' (X ⟶ Y)) J : Type v inst✝¹ : SmallCategory J inst✝ : FinCategory J F : J ⥤ C O : Finset C := Finset.image F.obj Finset.univ H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F) := by classical let O := Finset.univ.image F.obj let H : Finset (Σ' (X Y : C) (_ : X ∈ O) (_ : Y ∈ O), X ⟶ Y) := Finset.univ.biUnio...
Mathlib.CategoryTheory.Filtered.Basic.311_0.dhnXC1TuYVuk8Vb
/-- If we have `IsFiltered C`, then for any functor `F : J ⥤ C` with `FinCategory J`, there exists a cocone over `F`. -/ theorem cocone_nonempty (F : J ⥤ C) : Nonempty (Cocone F)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ f ≫ coeq₃Hom f g h = g ≫ coeq₃Hom f g h
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [coeq₃Hom, ← Category.assoc, coeq_condition f g]
theorem coeq₃_condition₁ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : f ≫ coeq₃Hom f g h = g ≫ coeq₃Hom f g h := by
Mathlib.CategoryTheory.Filtered.Basic.413_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₁ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : f ≫ coeq₃Hom f g h = g ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
dsimp [coeq₃Hom]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ g ≫ coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) = h ≫ coeqHom f g ≫ leftToM...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom]
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ g ≫ (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) = h ≫ coeqHom f g ≫ leftToMax (coe...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _]
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom f g ≫ leftToMax (coeq f g) (coeq g h) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsF...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ g ≫ (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) = h ≫ (coeqHom g h ≫ rightToMax (coeq f g)...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
slice_lhs 1 3 => rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _]
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | g ≫ coeqHom g h ≫ rightToMax (coeq f g) (coeq g h) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_lhs 1 3 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | g ≫ coeqHom g h ≫ rightToMax (coeq f g) (coeq g h) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_lhs 1 3 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | g ≫ coeqHom g h ≫ rightToMax (coeq f g) (coeq g h) case a C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ | coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← Category.assoc, coeq_condition _ _]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_lhs 1 3 =>
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ : C f g h : j₁ ⟶ j₂ ⊢ ((h ≫ coeqHom g h) ≫ rightToMax (coeq f g) (coeq g h)) ≫ coeqHom (coeqHom f g ≫ leftToMax (coeq f g) (coeq g h)) (coeqHom g h ≫ rightToMax (coeq f g) (coeq g h)) = h ≫ (coeqHom g h ≫ rightToMax (coeq f g) (coeq...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [Category.assoc]
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h := by dsimp [coeq₃Hom] slice_lhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_rhs 2 4 => rw [← Category.assoc, coeq_condition _ _] slice_lhs 1 3 => rw [← Category.assoc, coeq_condition _ _]
Mathlib.CategoryTheory.Filtered.Basic.417_0.dhnXC1TuYVuk8Vb
theorem coeq₃_condition₂ {j₁ j₂ : C} (f g h : j₁ ⟶ j₂) : g ≫ coeq₃Hom f g h = h ≫ coeq₃Hom f g h
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C i j j' : C f : i ⟶ j f' : i ⟶ j' K : C G : j ⟶ K G' : j' ⟶ K h✝ : True k : C e : K ⟶ k he : (f ≫ G) ≫ e = (f' ≫ G') ≫ e ⊢ f ≫ G ≫ e = f' ≫ G' ≫ e
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simpa only [← Category.assoc]
/-- For every span `j ⟵ i ⟶ j'`, there exists a cocone `j ⟶ k ⟵ j'` such that the square commutes. -/ theorem span {i j j' : C} (f : i ⟶ j) (f' : i ⟶ j') : ∃ (k : C) (g : j ⟶ k) (g' : j' ⟶ k), f ≫ g = f' ≫ g' := let ⟨K, G, G', _⟩ := IsFilteredOrEmpty.cocone_objs j j' let ⟨k, e, he⟩ := IsFilteredOrEmpty.cocon...
Mathlib.CategoryTheory.Filtered.Basic.430_0.dhnXC1TuYVuk8Vb
/-- For every span `j ⟵ i ⟶ j'`, there exists a cocone `j ⟶ k ⟵ j'` such that the square commutes. -/ theorem span {i j j' : C} (f : i ⟶ j) (f' : i ⟶ j') : ∃ (k : C) (g : j ⟶ k) (g' : j' ⟶ k), f ≫ g = f' ≫ g'
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ k₁ k₂ : C f₁ : j₁ ⟶ k₁ g₁ : j₁ ⟶ k₂ f₂ : j₂ ⟶ k₁ g₂ : j₂ ⟶ k₂ ⊢ ∃ s α β, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = g₂ ≫ β
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨t, k₁t, k₂t, ht⟩ := span f₁ g₁
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib.CategoryTheory.Filtered.Basic.439_0.dhnXC1TuYVuk8Vb
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ k₁ k₂ : C f₁ : j₁ ⟶ k₁ g₁ : j₁ ⟶ k₂ f₂ : j₂ ⟶ k₁ g₂ : j₂ ⟶ k₂ t : C k₁t : k₁ ⟶ t k₂t : k₂ ⟶ t ht : f₁ ≫ k₁t = g₁ ≫ k₂t ⊢ ∃ s α β, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = g₂ ≫ β
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨s, ts, hs⟩ := IsFilteredOrEmpty.cocone_maps (f₂ ≫ k₁t) (g₂ ≫ k₂t)
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib.CategoryTheory.Filtered.Basic.439_0.dhnXC1TuYVuk8Vb
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ k₁ k₂ : C f₁ : j₁ ⟶ k₁ g₁ : j₁ ⟶ k₂ f₂ : j₂ ⟶ k₁ g₂ : j₂ ⟶ k₂ t : C k₁t : k₁ ⟶ t k₂t : k₂ ⟶ t ht : f₁ ≫ k₁t = g₁ ≫ k₂t s : C ts : t ⟶ s hs : (f₂ ≫ k₁t) ≫ ts = (g₂ ≫ k₂t) ≫ ts ⊢ ∃ s α β, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp_rw [Category.assoc] at hs
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib.CategoryTheory.Filtered.Basic.439_0.dhnXC1TuYVuk8Vb
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ k₁ k₂ : C f₁ : j₁ ⟶ k₁ g₁ : j₁ ⟶ k₂ f₂ : j₂ ⟶ k₁ g₂ : j₂ ⟶ k₂ t : C k₁t : k₁ ⟶ t k₂t : k₂ ⟶ t ht : f₁ ≫ k₁t = g₁ ≫ k₂t s : C ts : t ⟶ s hs : f₂ ≫ k₁t ≫ ts = g₂ ≫ k₂t ≫ ts ⊢ ∃ s α β, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = g₂ ≫...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact ⟨s, k₁t ≫ ts, k₂t ≫ ts, by simp only [← Category.assoc, ht], hs⟩
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib.CategoryTheory.Filtered.Basic.439_0.dhnXC1TuYVuk8Vb
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ k₁ k₂ : C f₁ : j₁ ⟶ k₁ g₁ : j₁ ⟶ k₂ f₂ : j₂ ⟶ k₁ g₂ : j₂ ⟶ k₂ t : C k₁t : k₁ ⟶ t k₂t : k₂ ⟶ t ht : f₁ ≫ k₁t = g₁ ≫ k₂t s : C ts : t ⟶ s hs : f₂ ≫ k₁t ≫ ts = g₂ ≫ k₂t ≫ ts ⊢ f₁ ≫ k₁t ≫ ts = g₁ ≫ k₂t ≫ ts
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [← Category.assoc, ht]
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib.CategoryTheory.Filtered.Basic.439_0.dhnXC1TuYVuk8Vb
/-- Given a "bowtie" of morphisms ``` j₁ j₂ |\ /| | \/ | | /\ | |/ \∣ vv vv k₁ k₂ ``` in a filtered category, we can construct an object `s` and two morphisms from `k₁` and `k₂` to `s`, making the resulting squares commute. -/ theorem bowtie {j₁ j₂ k₁ k₂ : C} (f₁ : j₁ ⟶ k₁) (g₁ : j₁ ⟶ k₂) (f₂ : j₂ ⟶ k₁) (g...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l ⊢ ∃ s α β γ, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = f₃ ≫ γ ∧ f₄ ≫ γ = g₂ ≫ β
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨l', k₁l, k₂l, hl⟩ := span f₂ f₃
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l l' : C k₁l : k₁ ⟶ l' k₂l : k₂ ⟶ l' hl : f₂ ≫ k₁l = f₃ ≫ k₂l ⊢ ∃ s α β γ, f₁ ≫ α = g₁ ≫ β ∧ f₂ ≫ α = f₃ ≫ γ ∧ f₄ ≫ γ = g₂ ≫ β
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨s, ls, l's, hs₁, hs₂⟩ := bowtie g₁ (f₁ ≫ k₁l) g₂ (f₄ ≫ k₂l)
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro.intro.intro.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l l' : C k₁l : k₁ ⟶ l' k₂l : k₂ ⟶ l' hl : f₂ ≫ k₁l = f₃ ≫ k₂l s : C ls : l ⟶ s l's : l' ⟶ s hs₁ : g₁ ≫ ls = (f₁ ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
refine' ⟨s, k₁l ≫ l's, ls, k₂l ≫ l's, _, by simp only [← Category.assoc, hl], _⟩
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l l' : C k₁l : k₁ ⟶ l' k₂l : k₂ ⟶ l' hl : f₂ ≫ k₁l = f₃ ≫ k₂l s : C ls : l ⟶ s l's : l' ⟶ s hs₁ : g₁ ≫ ls = (f₁ ≫ k₁l) ≫ l's hs₂ : g₂ ≫ ls = (f₄ ≫ k₂l) ≫ l's ⊢...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [← Category.assoc, hl]
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro.intro.intro.intro.intro.refine'_1 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l l' : C k₁l : k₁ ⟶ l' k₂l : k₂ ⟶ l' hl : f₂ ≫ k₁l = f₃ ≫ k₂l s : C ls : l ⟶ s l's : l' ⟶ s hs₁ : g₁ ≫...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [hs₁, hs₂, Category.assoc]
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
case intro.intro.intro.intro.intro.intro.intro.refine'_2 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsFilteredOrEmpty C j₁ j₂ j₃ k₁ k₂ l : C f₁ : j₁ ⟶ k₁ f₂ : j₂ ⟶ k₁ f₃ : j₂ ⟶ k₂ f₄ : j₃ ⟶ k₂ g₁ : j₁ ⟶ l g₂ : j₃ ⟶ l l' : C k₁l : k₁ ⟶ l' k₂l : k₂ ⟶ l' hl : f₂ ≫ k₁l = f₃ ≫ k₂l s : C ls : l ⟶ s l's : l' ⟶ s hs₁ : g₁ ≫...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [hs₁, hs₂, Category.assoc]
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib.CategoryTheory.Filtered.Basic.460_0.dhnXC1TuYVuk8Vb
/-- Given a "tulip" of morphisms ``` j₁ j₂ j₃ |\ / \ / | | \ / \ / | | vv vv | \ k₁ k₂ / \ / \ / \ / \ / v v l ``` in a filtered category, we can construct an object `s` and three morphisms from `k₁`, `k₂` and `l` to `s`, making the resulting squ...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C α : Type u inst✝ : SemilatticeInf α X Y : α f g : X ⟶ Y ⊢ 𝟙 X ≫ f = 𝟙 X ≫ g
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply ULift.ext
instance (priority := 100) isCofilteredOrEmpty_of_semilatticeInf (α : Type u) [SemilatticeInf α] : IsCofilteredOrEmpty α where cone_objs X Y := ⟨X ⊓ Y, homOfLE inf_le_left, homOfLE inf_le_right, trivial⟩ cone_maps X Y f g := ⟨X, 𝟙 _, by
Mathlib.CategoryTheory.Filtered.Basic.517_0.dhnXC1TuYVuk8Vb
instance (priority
Mathlib_CategoryTheory_Filtered_Basic
case h C : Type u inst✝¹ : Category.{v, u} C α : Type u inst✝ : SemilatticeInf α X Y : α f g : X ⟶ Y ⊢ (𝟙 X ≫ f).down = (𝟙 X ≫ g).down
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Subsingleton.elim
instance (priority := 100) isCofilteredOrEmpty_of_semilatticeInf (α : Type u) [SemilatticeInf α] : IsCofilteredOrEmpty α where cone_objs X Y := ⟨X ⊓ Y, homOfLE inf_le_left, homOfLE inf_le_right, trivial⟩ cone_maps X Y f g := ⟨X, 𝟙 _, by apply ULift.ext
Mathlib.CategoryTheory.Filtered.Basic.517_0.dhnXC1TuYVuk8Vb
instance (priority
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝² : Category.{v, u} C α : Type u inst✝¹ : Preorder α inst✝ : IsDirected α fun x x_1 => x ≥ x_1 X Y : α f g : X ⟶ Y ⊢ 𝟙 X ≫ f = 𝟙 X ≫ g
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply ULift.ext
instance (priority := 100) isCofilteredOrEmpty_of_directed_ge (α : Type u) [Preorder α] [IsDirected α (· ≥ ·)] : IsCofilteredOrEmpty α where cone_objs X Y := let ⟨Z, hX, hY⟩ := exists_le_le X Y ⟨Z, homOfLE hX, homOfLE hY, trivial⟩ cone_maps X Y f g := ⟨X, 𝟙 _, by
Mathlib.CategoryTheory.Filtered.Basic.529_0.dhnXC1TuYVuk8Vb
instance (priority
Mathlib_CategoryTheory_Filtered_Basic
case h C : Type u inst✝² : Category.{v, u} C α : Type u inst✝¹ : Preorder α inst✝ : IsDirected α fun x x_1 => x ≥ x_1 X Y : α f g : X ⟶ Y ⊢ (𝟙 X ≫ f).down = (𝟙 X ≫ g).down
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Subsingleton.elim
instance (priority := 100) isCofilteredOrEmpty_of_directed_ge (α : Type u) [Preorder α] [IsDirected α (· ≥ ·)] : IsCofilteredOrEmpty α where cone_objs X Y := let ⟨Z, hX, hY⟩ := exists_le_le X Y ⟨Z, homOfLE hX, homOfLE hY, trivial⟩ cone_maps X Y f g := ⟨X, 𝟙 _, by apply ULift.ext
Mathlib.CategoryTheory.Filtered.Basic.529_0.dhnXC1TuYVuk8Vb
instance (priority
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝² : Category.{v, u} C α : Type u inst✝¹ : SemilatticeInf α inst✝ : OrderBot α ⊢ IsCofiltered α
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
infer_instance
example (α : Type u) [SemilatticeInf α] [OrderBot α] : IsCofiltered α := by
Mathlib.CategoryTheory.Filtered.Basic.544_0.dhnXC1TuYVuk8Vb
example (α : Type u) [SemilatticeInf α] [OrderBot α] : IsCofiltered α
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝² : Category.{v, u} C α : Type u inst✝¹ : SemilatticeInf α inst✝ : OrderTop α ⊢ IsCofiltered α
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
infer_instance
example (α : Type u) [SemilatticeInf α] [OrderTop α] : IsCofiltered α := by
Mathlib.CategoryTheory.Filtered.Basic.546_0.dhnXC1TuYVuk8Vb
example (α : Type u) [SemilatticeInf α] [OrderTop α] : IsCofiltered α
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝ : Category.{v, u} C X Y : Discrete PUnit.{?u.62408 + 1} ⊢ { as := PUnit.unit }.as = X.as
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
trivial
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y := ⟨⟨PUnit.unit⟩, ⟨⟨by
Mathlib.CategoryTheory.Filtered.Basic.548_0.dhnXC1TuYVuk8Vb
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝ : Category.{v, u} C X Y : Discrete PUnit.{?u.62408 + 1} f g : X ⟶ Y ⊢ { as := PUnit.unit }.as = X.as
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
trivial
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y := ⟨⟨PUnit.unit⟩, ⟨⟨by trivial⟩⟩, ⟨⟨Subsingleton.elim _ _⟩⟩, trivial⟩ cone_maps X Y f g := ⟨⟨PUnit.unit⟩, ⟨⟨by
Mathlib.CategoryTheory.Filtered.Basic.548_0.dhnXC1TuYVuk8Vb
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝ : Category.{v, u} C X Y : Discrete PUnit.{?u.62408 + 1} f g : X ⟶ Y ⊢ { down := { down := (_ : { as := PUnit.unit }.as = { as := PUnit.unit }.as) } } ≫ f = { down := { down := (_ : { as := PUnit.unit }.as = { as := PUnit.unit }.as) } } ≫ g
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply ULift.ext
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y := ⟨⟨PUnit.unit⟩, ⟨⟨by trivial⟩⟩, ⟨⟨Subsingleton.elim _ _⟩⟩, trivial⟩ cone_maps X Y f g := ⟨⟨PUnit.unit⟩, ⟨⟨by trivial⟩⟩, by
Mathlib.CategoryTheory.Filtered.Basic.548_0.dhnXC1TuYVuk8Vb
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y
Mathlib_CategoryTheory_Filtered_Basic
case h C : Type u inst✝ : Category.{v, u} C X Y : Discrete PUnit.{?u.62408 + 1} f g : X ⟶ Y ⊢ ({ down := { down := (_ : { as := PUnit.unit }.as = { as := PUnit.unit }.as) } } ≫ f).down = ({ down := { down := (_ : { as := PUnit.unit }.as = { as := PUnit.unit }.as) } } ≫ g).down
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Subsingleton.elim
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y := ⟨⟨PUnit.unit⟩, ⟨⟨by trivial⟩⟩, ⟨⟨Subsingleton.elim _ _⟩⟩, trivial⟩ cone_maps X Y f g := ⟨⟨PUnit.unit⟩, ⟨⟨by trivial⟩⟩, by apply ULift.ext
Mathlib.CategoryTheory.Filtered.Basic.548_0.dhnXC1TuYVuk8Vb
instance : IsCofiltered (Discrete PUnit) where cone_objs X Y
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C i j j' : C f : j ⟶ i f' : j' ⟶ i K : C G : K ⟶ j G' : K ⟶ j' h✝ : True k : C e : k ⟶ K he : e ≫ G ≫ f = e ≫ G' ≫ f' ⊢ (e ≫ G) ≫ f = (e ≫ G') ≫ f'
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simpa only [Category.assoc] using he
/-- For every cospan `j ⟶ i ⟵ j'`, there exists a cone `j ⟵ k ⟶ j'` such that the square commutes. -/ theorem cospan {i j j' : C} (f : j ⟶ i) (f' : j' ⟶ i) : ∃ (k : C) (g : k ⟶ j) (g' : k ⟶ j'), g ≫ f = g' ≫ f' := let ⟨K, G, G', _⟩ := IsCofilteredOrEmpty.cone_objs j j' let ⟨k, e, he⟩ := IsCofilteredOrEmpty.con...
Mathlib.CategoryTheory.Filtered.Basic.620_0.dhnXC1TuYVuk8Vb
/-- For every cospan `j ⟶ i ⟵ j'`, there exists a cone `j ⟵ k ⟶ j'` such that the square commutes. -/ theorem cospan {i j j' : C} (f : j ⟶ i) (f' : j' ⟶ i) : ∃ (k : C) (g : k ⟶ j) (g' : k ⟶ j'), g ≫ f = g' ≫ f'
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j ⊢ ∃ z, (fun x x_1 => x ⊇ x_1) ((fun f => Set.range (F.map f.snd)) { fst := i, snd := ij }) ((fun f => Set.range (F.map f.snd)) z) ∧ (fun x x_1 => x ⊇...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
let ⟨l, li, lk, e⟩ := cospan ij kj
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j l : C li : l ⟶ i lk : l ⟶ k e : li ≫ ij = lk ≫ kj ⊢ ∃ z, (fun x x_1 => x ⊇ x_1) ((fun f => Set.range (F.map f.snd)) { fst := i, snd := ij }) ((fun f => Set...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
refine' ⟨⟨l, lk ≫ kj⟩, e ▸ _, _⟩
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by let ⟨l, li, lk, e⟩ := cospan ij kj
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
case refine'_1 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j l : C li : l ⟶ i lk : l ⟶ k e : li ≫ ij = lk ≫ kj ⊢ (fun x x_1 => x ⊇ x_1) ((fun f => Set.range (F.map f.snd)) { fst := i, snd := ij }) ((fun f => S...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp_rw [F.map_comp]
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by let ⟨l, li, lk, e⟩ := cospan ij kj refine' ⟨⟨l, lk ≫ kj⟩, e ▸ _, _⟩ <;>
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
case refine'_2 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j l : C li : l ⟶ i lk : l ⟶ k e : li ≫ ij = lk ≫ kj ⊢ (fun x x_1 => x ⊇ x_1) ((fun f => Set.range (F.map f.snd)) { fst := k, snd := kj }) ((fun f => S...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp_rw [F.map_comp]
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by let ⟨l, li, lk, e⟩ := cospan ij kj refine' ⟨⟨l, lk ≫ kj⟩, e ▸ _, _⟩ <;>
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
case refine'_1 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j l : C li : l ⟶ i lk : l ⟶ k e : li ≫ ij = lk ≫ kj ⊢ Set.range (F.map ij) ⊇ Set.range (F.map li ≫ F.map ij)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Set.range_comp_subset_range
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by let ⟨l, li, lk, e⟩ := cospan ij kj refine' ⟨⟨l, lk ≫ kj⟩, e ▸ _, _⟩ <;> simp_rw [F.map_comp] <;>
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
case refine'_2 C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofilteredOrEmpty C F : C ⥤ Type u_1 j : C x✝¹ x✝ : (i : C) ×' (i ⟶ j) i : C ij : i ⟶ j k : C kj : k ⟶ j l : C li : l ⟶ i lk : l ⟶ k e : li ≫ ij = lk ≫ kj ⊢ Set.range (F.map kj) ⊇ Set.range (F.map lk ≫ F.map kj)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply Set.range_comp_subset_range
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2) := fun ⟨i, ij⟩ ⟨k, kj⟩ => by let ⟨l, li, lk, e⟩ := cospan ij kj refine' ⟨⟨l, lk ≫ kj⟩, e ▸ _, _⟩ <;> simp_rw [F.map_comp] <;>
Mathlib.CategoryTheory.Filtered.Basic.629_0.dhnXC1TuYVuk8Vb
theorem _root_.CategoryTheory.Functor.ranges_directed (F : C ⥤ Type*) (j : C) : Directed (· ⊇ ·) fun f : Σ'i, i ⟶ j => Set.range (F.map f.2)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝² : Category.{v, u} C inst✝¹ : IsCofilteredOrEmpty C D : Type u₁ inst✝ : Category.{v₁, u₁} D L : C ⥤ D R : D ⥤ C h : L ⊣ R X Y : D f g : X ⟶ Y ⊢ (Adjunction.homEquiv h (eq (R.map f) (R.map g)) X).symm (eqHom (R.map f) (R.map g)) ≫ f = (Adjunction.homEquiv h (eq (R.map f) (R.map g)) X).symm (eqHom (R...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [← h.homEquiv_naturality_right_symm, ← h.homEquiv_naturality_right_symm, eq_condition]
/-- If `C` is cofiltered or empty, and we have a functor `L : C ⥤ D` with a right adjoint, then `D` is cofiltered or empty. -/ theorem of_left_adjoint {L : C ⥤ D} {R : D ⥤ C} (h : L ⊣ R) : IsCofilteredOrEmpty D := { cone_objs := fun X Y => ⟨L.obj (min (R.obj X) (R.obj Y)), (h.homEquiv _ X).symm (minToLeft _ _),...
Mathlib.CategoryTheory.Filtered.Basic.646_0.dhnXC1TuYVuk8Vb
/-- If `C` is cofiltered or empty, and we have a functor `L : C ⥤ D` with a right adjoint, then `D` is cofiltered or empty. -/ theorem of_left_adjoint {L : C ⥤ D} {R : D ⥤ C} (h : L ⊣ R) : IsCofilteredOrEmpty D
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C ⊢ ∃ S, ∀ {X : C}, X ∈ O → Nonempty (S ⟶ X)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · obtain ⟨S', w'⟩ := h use min X S' rintro Y mY obtain rfl | h := eq_or_ne Y X · exact ⟨minToLeft _ _⟩ · exact ⟨minToRight _ _ ≫ (w' (Finset.mem_of_mem_insert_of_ne mY ...
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C ⊢ ∃ S, ∀ {X : C}, X ∈ O → Nonempty (S ⟶ X)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
induction' O using Finset.induction with X O' nm h
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case empty C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C ⊢ ∃ S, ∀ {X : C}, X ∈ ∅ → Nonempty (S ⟶ X)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h ·
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C ⊢ ∀ {X : C}, X ∈ ∅ → Nonempty (Classical.choice (_ : Nonempty C) ⟶ X)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
intro
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X✝ : C ⊢ X✝ ∈ ∅ → Nonempty (Classical.choice (_ : Nonempty C) ⟶ X✝)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro;
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case insert C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X : C O' : Finset C nm : X ∉ O' h : ∃ S, ∀ {X : C}, X ∈ O' → Nonempty (S ⟶ X) ⊢ ∃ S, ∀ {X_1 : C}, X_1 ∈ insert X O' → Nonempty (S ⟶ X_1)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨S', w'⟩ := h
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ ·
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case insert.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X : C O' : Finset C nm : X ∉ O' S' : C w' : ∀ {X : C}, X ∈ O' → Nonempty (S' ⟶ X) ⊢ ∃ S, ∀ {X_1 : C}, X_1 ∈ insert X O' → Nonempty (S ⟶ X_1)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
use min X S'
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · ob...
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case h C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X : C O' : Finset C nm : X ∉ O' S' : C w' : ∀ {X : C}, X ∈ O' → Nonempty (S' ⟶ X) ⊢ ∀ {X_1 : C}, X_1 ∈ insert X O' → Nonempty (min X S' ⟶ X_1)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rintro Y mY
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · ob...
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case h C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X : C O' : Finset C nm : X ∉ O' S' : C w' : ∀ {X : C}, X ∈ O' → Nonempty (S' ⟶ X) Y : C mY : Y ∈ insert X O' ⊢ Nonempty (min X S' ⟶ Y)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain rfl | h := eq_or_ne Y X
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · ob...
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case h.inl C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O' : Finset C S' : C w' : ∀ {X : C}, X ∈ O' → Nonempty (S' ⟶ X) Y : C nm : Y ∉ O' mY : Y ∈ insert Y O' ⊢ Nonempty (min Y S' ⟶ Y)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact ⟨minToLeft _ _⟩
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · ob...
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
case h.inr C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C X : C O' : Finset C nm : X ∉ O' S' : C w' : ∀ {X : C}, X ∈ O' → Nonempty (S' ⟶ X) Y : C mY : Y ∈ insert X O' h : Y ≠ X ⊢ Nonempty (min X S' ⟶ Y)
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
exact ⟨minToRight _ _ ≫ (w' (Finset.mem_of_mem_insert_of_ne mY h)).some⟩
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X) := by classical induction' O using Finset.induction with X O' nm h · exact ⟨Classical.choice IsCofiltered.nonempty, by intro; simp⟩ · ob...
Mathlib.CategoryTheory.Filtered.Basic.677_0.dhnXC1TuYVuk8Vb
/-- Any finite collection of objects in a cofiltered category has an object "to the left". -/ theorem inf_objs_exists (O : Finset C) : ∃ S : C, ∀ {X}, X ∈ O → Nonempty (S ⟶ X)
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) ⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∈ H → T mX ≫ f ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
classical induction' H using Finset.induction with h' H' nmf h'' · obtain ⟨S, f⟩ := inf_objs_exists O refine' ⟨S, fun mX => (f mX).some, by rintro - - - - - ⟨⟩⟩ · obtain ⟨X, Y, mX, mY, f⟩ := h' obtain ⟨S', T', w'⟩ := h'' refine' ⟨eq (T' mX ≫ f) (T' mY), fun mZ => eqHom (T' mX ≫ f) (T' mY) ≫ T' mZ, _⟩ ...
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) ⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∈ H → T mX ≫ f ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
induction' H using Finset.induction with h' H' nmf h''
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case empty C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) ⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∈ ∅ ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨S, f⟩ := inf_objs_exists O
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case empty.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) S : C f : ∀ {X : C}, X ∈ O → Nonempty (S ⟶ X) ⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
refine' ⟨S, fun mX => (f mX).some, by rintro - - - - - ⟨⟩⟩
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) S : C f : ∀ {X : C}, X ∈ O → Nonempty (S ⟶ X) ⊢ ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f_1 : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := m...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rintro - - - - - ⟨⟩
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) h' : (X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y) H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) nmf : h' ∉ H' h'' : ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨X, Y, mX, mY, f⟩ := h'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert.mk.mk.mk.mk C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) h'' : ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY,...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
obtain ⟨S', T', w'⟩ := h''
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert.mk.mk.mk.mk.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
refine' ⟨eq (T' mX ≫ f) (T' mY), fun mZ => eqHom (T' mX ≫ f) (T' mY) ≫ T' mZ, _⟩
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert.mk.mk.mk.mk.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
intro X' Y' mX' mY' f' mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert.mk.mk.mk.mk.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [Category.assoc]
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case insert.mk.mk.mk.mk.intro.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
by_cases h : X = X' ∧ Y = Y'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case pos C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rcases h with ⟨rfl, rfl⟩
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case pos.intro C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X :...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
by_cases hf : f = f'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case pos C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
subst hf
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case pos C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
apply eq_condition
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rw [@w' _ _ mX mY f']
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
simp only [Finset.mem_insert, PSigma.mk.injEq, heq_eq_eq, true_and] at mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic
case neg C : Type u inst✝¹ : Category.{v, u} C inst✝ : IsCofiltered C O : Finset C H H' : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y)) X Y : C mX : X ∈ O mY : Y ∈ O f : X ⟶ Y nmf : { fst := X, snd := { fst := Y, snd := { fst := mX, snd := { fst := mY, snd := f } } } } ∉ H' S' : C T' : {X : C} → ...
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.CategoryTheory.FinCategory import Mathlib.CategoryTheory.Limits.Cones import Mathlib.CategoryTheory.Adjunction.Basic import Mathlib.CategoryT...
rcases mf' with mf' | mf'
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib.CategoryTheory.Filtered.Basic.693_0.dhnXC1TuYVuk8Vb
/-- Given any `Finset` of objects `{X, ...}` and indexed collection of `Finset`s of morphisms `{f, ...}` in `C`, there exists an object `S`, with a morphism `T X : S ⟶ X` from each `X`, such that the triangles commute: `T X ≫ f = T Y`, for `f : X ⟶ Y` in the `Finset`. -/ theorem inf_exists : ∃ (S : C) (T : ∀ {X : C...
Mathlib_CategoryTheory_Filtered_Basic