Skip to content

Commit

Permalink
automated fixes
Browse files Browse the repository at this point in the history
Mathbin -> Mathlib

fix certain import statements

move "by" to end of line

add import to Mathlib.lean
  • Loading branch information
mattrobball committed Feb 17, 2023
1 parent 1aaf063 commit a8492d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ import Mathlib.CategoryTheory.Functor.Category
import Mathlib.CategoryTheory.Functor.Const
import Mathlib.CategoryTheory.Functor.Currying
import Mathlib.CategoryTheory.Functor.Default
import Mathlib.CategoryTheory.Functor.EpiMono
import Mathlib.CategoryTheory.Functor.FullyFaithful
import Mathlib.CategoryTheory.Functor.Functorial
import Mathlib.CategoryTheory.Functor.Hom
Expand Down
12 changes: 5 additions & 7 deletions Mathlib/CategoryTheory/Functor/EpiMono.lean
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Authors: Markus Himmel
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
import Mathbin.CategoryTheory.EpiMono
import Mathbin.CategoryTheory.Limits.Shapes.StrongEpi
import Mathbin.CategoryTheory.LiftingProperties.Adjunction
import Mathlib.CategoryTheory.EpiMono
import Mathlib.CategoryTheory.Limits.Shapes.StrongEpi
import Mathlib.CategoryTheory.LiftingProperties.Adjunction

/-!
# Preservation and reflection of monomorphisms and epimorphisms
Expand Down Expand Up @@ -239,8 +239,7 @@ def splitEpiEquiv [Full F] [Faithful F] : SplitEpi f ≃ SplitEpi (F.map f)
#align category_theory.functor.split_epi_equiv CategoryTheory.Functor.splitEpiEquiv

@[simp]
theorem isSplitEpi_iff [Full F] [Faithful F] : IsSplitEpi (F.map f) ↔ IsSplitEpi f :=
by
theorem isSplitEpi_iff [Full F] [Faithful F] : IsSplitEpi (F.map f) ↔ IsSplitEpi f := by
constructor
· intro h
exact is_split_epi.mk' ((split_epi_equiv F f).invFun h.exists_split_epi.some)
Expand All @@ -262,8 +261,7 @@ def splitMonoEquiv [Full F] [Faithful F] : SplitMono f ≃ SplitMono (F.map f)
#align category_theory.functor.split_mono_equiv CategoryTheory.Functor.splitMonoEquiv

@[simp]
theorem isSplitMono_iff [Full F] [Faithful F] : IsSplitMono (F.map f) ↔ IsSplitMono f :=
by
theorem isSplitMono_iff [Full F] [Faithful F] : IsSplitMono (F.map f) ↔ IsSplitMono f := by
constructor
· intro h
exact is_split_mono.mk' ((split_mono_equiv F f).invFun h.exists_split_mono.some)
Expand Down

0 comments on commit a8492d2

Please sign in to comment.