Skip to content

Commit

Permalink
chore: update links to issue #5081 to std4#86 (#6392)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
  • Loading branch information
semorrison and semorrison committed Aug 6, 2023
1 parent 5df781c commit 3e43995
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Category/Ring/Adjunctions.lean
Expand Up @@ -45,7 +45,7 @@ theorem free_obj_coe {α : Type u} : (free.obj α : Type u) = MvPolynomial α
#align CommRing.free_obj_coe CommRingCat.free_obj_coe

-- Porting note: `simpNF` should not trigger on `rfl` lemmas.
-- see https://github.com/leanprover-community/mathlib4/issues/5081
-- see https://github.com/leanprover/std4/issues/86
@[simp, nolint simpNF]
theorem free_map_coe {α β : Type u} {f : α → β} : ⇑(free.map f) = ⇑(rename f) :=
rfl
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Category/Ring/Basic.lean
Expand Up @@ -135,7 +135,7 @@ set_option linter.uppercaseLean3 false in
#align SemiRing.of_hom SemiRingCat.ofHom

-- Porting note: `simpNF` should not trigger on `rfl` lemmas.
-- see https://github.com/leanprover-community/mathlib4/issues/5081
-- see https://github.com/leanprover/std4/issues/86
@[simp, nolint simpNF]
theorem ofHom_apply {R S : Type u} [Semiring R] [Semiring S] (f : R →+* S) (x : R) :
ofHom f x = f x :=
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/Topology/Category/UniformSpace.lean
Expand Up @@ -66,14 +66,14 @@ instance (X Y : UniformSpaceCat) : CoeFun (X ⟶ Y) fun _ => X → Y :=
⟨(forget UniformSpaceCat).map⟩

-- Porting note: `simpNF` should not trigger on `rfl` lemmas.
-- see https://github.com/leanprover-community/mathlib4/issues/5081
-- see https://github.com/leanprover/std4/issues/86
@[simp, nolint simpNF]
theorem coe_comp {X Y Z : UniformSpaceCat} (f : X ⟶ Y) (g : Y ⟶ Z) : (f ≫ g : X → Z) = g ∘ f :=
rfl
#align UniformSpace.coe_comp UniformSpaceCat.coe_comp

-- Porting note: `simpNF` should not trigger on `rfl` lemmas.
-- see https://github.com/leanprover-community/mathlib4/issues/5081
-- see https://github.com/leanprover/std4/issues/86
@[simp, nolint simpNF]
theorem coe_id (X : UniformSpaceCat) : (𝟙 X : X → X) = id :=
rfl
Expand Down

0 comments on commit 3e43995

Please sign in to comment.