Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Homology/HomologicalComplex.lean
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ end OfHom

section Mk

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Auxiliary structure for setting up the recursion in `mk`.
This is purely an implementation detail: for some reason just using the dependent 6-tuple directly
results in `mkAux` taking much longer (well over the `-T100000` limit) to elaborate.
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Topology.lean
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ variable [CommSemiring R] [CommRing A] [Algebra R A]

variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜]

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The projective spectrum of a graded commutative ring is the subtype of all homogenous ideals
that are prime and do not contain the irrelevant ideal. -/
@[ext]
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/AlgebraicTopology/DoldKan/Decomposition.lean
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ set_option linter.uppercaseLean3 false in

variable (X)

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The structure `MorphComponents` is an ad hoc structure that is used in
the proof that `N₁ : SimplicialObject C ⥤ Karoubi (ChainComplex C ℕ))`
reflects isomorphisms. The fields are the data that are needed in order to
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/AlgebraicTopology/SimplexCategory.lean
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected def rec {F : SimplexCategory → Sort*} (h : ∀ n : ℕ, F [n]) : ∀
h n.len
#align simplex_category.rec SimplexCategory.rec

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Morphisms in the `SimplexCategory`. -/
protected def Hom (a b : SimplexCategory) :=
Fin (a.len + 1) →o Fin (b.len + 1)
Expand Down
12 changes: 6 additions & 6 deletions Mathlib/AlgebraicTopology/SimplicialObject.lean
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace CategoryTheory

variable (C : Type u) [Category.{v} C]

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The category of simplicial objects valued in a category `C`.
This is the category of contravariant functors from `SimplexCategory` to `C`. -/
def SimplicialObject :=
Expand Down Expand Up @@ -227,7 +227,7 @@ def whiskering (D : Type*) [Category D] : (C ⥤ D) ⥤ SimplicialObject C ⥤ S
whiskeringRight _ _ _
#align category_theory.simplicial_object.whiskering CategoryTheory.SimplicialObject.whiskering

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Truncated simplicial objects. -/
def Truncated (n : ℕ) :=
(SimplexCategory.Truncated n)ᵒᵖ ⥤ C
Expand Down Expand Up @@ -285,7 +285,7 @@ abbrev const : C ⥤ SimplicialObject C :=
CategoryTheory.Functor.const _
#align category_theory.simplicial_object.const CategoryTheory.SimplicialObject.const

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The category of augmented simplicial objects, defined as a comma category. -/
def Augmented :=
Comma (𝟭 (SimplicialObject C)) (const C)
Expand Down Expand Up @@ -408,7 +408,7 @@ theorem augment_hom_zero (X : SimplicialObject C) (X₀ : C) (f : X _[0] ⟶ X

end SimplicialObject

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Cosimplicial objects. -/
def CosimplicialObject :=
SimplexCategory ⥤ C
Expand Down Expand Up @@ -599,7 +599,7 @@ def whiskering (D : Type*) [Category D] : (C ⥤ D) ⥤ CosimplicialObject C ⥤
whiskeringRight _ _ _
#align category_theory.cosimplicial_object.whiskering CategoryTheory.CosimplicialObject.whiskering

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Truncated cosimplicial objects. -/
def Truncated (n : ℕ) :=
SimplexCategory.Truncated n ⥤ C
Expand Down Expand Up @@ -657,7 +657,7 @@ abbrev const : C ⥤ CosimplicialObject C :=
CategoryTheory.Functor.const _
#align category_theory.cosimplicial_object.const CategoryTheory.CosimplicialObject.const

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Augmented cosimplicial objects. -/
def Augmented :=
Comma (const C) (𝟭 (CosimplicialObject C))
Expand Down
6 changes: 3 additions & 3 deletions Mathlib/AlgebraicTopology/SplitSimplicialObject.lean
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def cofan' (Δ : SimplexCategoryᵒᵖ) : Cofan (summand N Δ) :=

end Splitting

--porting note: removed @[nolint has_nonempty_instance]
--porting note (#10927): removed @[nolint has_nonempty_instance]
/-- A splitting of a simplicial object `X` consists of the datum of a sequence
of objects `N`, a sequence of morphisms `ι : N n ⟶ X _[n]` such that
for all `Δ : SimplexCategoryᵒᵖ`, the canonical map `Splitting.map X ι Δ`
Expand Down Expand Up @@ -314,7 +314,7 @@ end Splitting

variable (C)

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The category `SimplicialObject.Split C` is the category of simplicial objects
in `C` equipped with a splitting, and morphisms are morphisms of simplicial objects
which are compatible with the splittings. -/
Expand All @@ -337,7 +337,7 @@ def mk' {X : SimplicialObject C} (s : Splitting X) : Split C :=
⟨X, s⟩
#align simplicial_object.split.mk' SimplicialObject.Split.mk'

-- Porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Morphisms in `SimplicialObject.Split C` are morphisms of simplicial objects that
are compatible with the splittings. -/
structure Hom (S₁ S₂ : Split C) where
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/CommSq.lean
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ variable {A B X Y : C} {f : A ⟶ X} {i : A ⟶ B} {p : X ⟶ Y} {g : B ⟶ Y}

The datum of a lift in a commutative square, i.e. an up-right-diagonal
morphism which makes both triangles commute. -/
-- Porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
@[ext]
structure LiftStruct (sq : CommSq f i p g) where
/-- The lift. -/
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Idempotents/Karoubi.lean
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ variable (C : Type*) [Category C]

namespace Idempotents

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- In a preadditive category `C`, when an object `X` decomposes as `X ≅ P ⨿ Q`, one may
consider `P` as a direct factor of `X` and up to unique isomorphism, it is determined by the
obvious idempotent `X ⟶ P ⟶ X` which is the projection onto `P` with kernel `Q`. More generally,
Expand Down
6 changes: 3 additions & 3 deletions Mathlib/CategoryTheory/Limits/ExactFunctor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ section

variable (C) (D)

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Bundled left-exact functors. -/
def LeftExactFunctor :=
FullSubcategory fun F : C ⥤ D => Nonempty (PreservesFiniteLimits F)
Expand All @@ -55,7 +55,7 @@ instance : Full (LeftExactFunctor.forget C D) :=
instance : Faithful (LeftExactFunctor.forget C D) :=
FullSubcategory.faithful _

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Bundled right-exact functors. -/
def RightExactFunctor :=
FullSubcategory fun F : C ⥤ D => Nonempty (PreservesFiniteColimits F)
Expand All @@ -80,7 +80,7 @@ instance : Full (RightExactFunctor.forget C D) :=
instance : Faithful (RightExactFunctor.forget C D) :=
FullSubcategory.faithful _

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Bundled exact functors. -/
def ExactFunctor :=
FullSubcategory fun F : C ⥤ D =>
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Limits/IsLimit.lean
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ cone morphism to `t`.

See <https://stacks.math.columbia.edu/tag/002E>.
-/
-- Porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure IsLimit (t : Cone F) where
/-- There is a morphism from any cone point to `t.pt` -/
lift : ∀ s : Cone F, s.pt ⟶ t.pt
Expand Down
10 changes: 5 additions & 5 deletions Mathlib/CategoryTheory/Limits/Shapes/Biproducts.lean
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ variable {D : Type uD} [Category.{uD'} D] [HasZeroMorphisms D]
* morphisms `π j : pt ⟶ F j` and `ι j : F j ⟶ pt` for each `j`,
* such that `ι j ≫ π j'` is the identity when `j = j'` and zero otherwise.
-/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure Bicone (F : J → C) where
pt : C
π : ∀ j, pt ⟶ F j
Expand Down Expand Up @@ -250,7 +250,7 @@ theorem π_of_isColimit {f : J → C} {t : Bicone f} (ht : IsColimit t.toCocone)
#align category_theory.limits.bicone.π_of_is_colimit CategoryTheory.Limits.Bicone.π_of_isColimit

/-- Structure witnessing that a bicone is both a limit cone and a colimit cocone. -/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure IsBilimit {F : J → C} (B : Bicone F) where
isLimit : IsLimit B.toCone
isColimit : IsColimit B.toCocone
Expand Down Expand Up @@ -1134,7 +1134,7 @@ variable {C}
maps from `X` to both `P` and `Q`, and maps from both `P` and `Q` to `X`,
so that `inl ≫ fst = 𝟙 P`, `inl ≫ snd = 0`, `inr ≫ fst = 0`, and `inr ≫ snd = 𝟙 Q`
-/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure BinaryBicone (P Q : C) where
pt : C
fst : pt ⟶ P
Expand Down Expand Up @@ -1301,7 +1301,7 @@ def toBinaryBiconeIsColimit {X Y : C} (b : Bicone (pairFunction X Y)) :
end Bicone

/-- Structure witnessing that a binary bicone is a limit cone and a limit cocone. -/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure BinaryBicone.IsBilimit {P Q : C} (b : BinaryBicone P Q) where
isLimit : IsLimit b.toCone
isColimit : IsColimit b.toCocone
Expand Down Expand Up @@ -1334,7 +1334,7 @@ def Bicone.toBinaryBiconeIsBilimit {X Y : C} (b : Bicone (pairFunction X Y)) :

/-- A bicone over `P Q : C`, which is both a limit cone and a colimit cocone.
-/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure BinaryBiproductData (P Q : C) where
bicone : BinaryBicone P Q
isBilimit : bicone.IsBilimit
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Limits/Shapes/Types.lean
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ variable {W X Y Z : Type u}

variable (f : X ⟶ Z) (g : Y ⟶ Z)

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The usual explicit pullback in the category of types, as a subtype of the product.
The full `LimitCone` data is bundled as `pullbackLimitCone f g`.
-/
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Limits/Types.lean
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def Quot.Rel (F : J ⥤ TypeMax.{v, u}) : (Σ j, F.obj j) → (Σ j, F.obj j)
∃ f : p.1 ⟶ p'.1, p'.2 = F.map f p.2
#align category_theory.limits.types.quot.rel CategoryTheory.Limits.Types.Quot.Rel

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- A quotient type implementing the colimit of a functor `F : J ⥤ Type u`,
as pairs `⟨j, x⟩` where `x : F.obj j`, modulo the equivalence relation generated by
`⟨j, x⟩ ~ ⟨j', x'⟩` whenever there is a morphism `f : j ⟶ j'` so `F.map f x = x'`.
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/CategoryTheory/Localization/Construction.lean
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace Localization

namespace Construction

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- If `W : MorphismProperty C`, `LocQuiver W` is a quiver with the same objects
as `C`, and whose morphisms are those in `C` and placeholders for formal
inverses of the morphisms in `W`. -/
Expand Down Expand Up @@ -96,7 +96,7 @@ namespace MorphismProperty

open Localization.Construction

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The localized category obtained by formally inverting the morphisms
in `W : MorphismProperty C` -/
def Localization :=
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Monoidal/Free/Coherence.lean
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable (C)

/-- We say an object in the free monoidal category is in normal form if it is of the form
`(((𝟙_ C) ⊗ X₁) ⊗ X₂) ⊗ ⋯`. -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
inductive NormalMonoidalObject : Type u
| unit : NormalMonoidalObject
| tensor : NormalMonoidalObject → C → NormalMonoidalObject
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/MorphismProperty.lean
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ theorem StableUnderComposition.epimorphisms : StableUnderComposition (epimorphis
variable {C}


-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The full subcategory of `C ⥤ D` consisting of functors inverting morphisms in `W` -/
def FunctorsInverting (W : MorphismProperty C) (D : Type*) [Category D] :=
FullSubcategory fun F : C ⥤ D => W.IsInvertedBy F
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Preadditive/AdditiveFunctor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ section

variable (C D : Type*) [Category C] [Category D] [Preadditive C] [Preadditive D]

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- Bundled additive functors. -/
def AdditiveFunctor :=
FullSubcategory fun F : C ⥤ D => F.Additive
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Preadditive/Mat.lean
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace Mat_

variable {C}

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- A morphism in `Mat_ C` is a dependently typed matrix of morphisms. -/
def Hom (M N : Mat_ C) : Type v₁ :=
DMatrix M.ι N.ι fun i j => M.X i ⟶ N.X j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ open Projective

variable [HasZeroObject C] [HasZeroMorphisms C]

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/--
A `ProjectiveResolution Z` consists of a bundled `ℕ`-indexed chain complex of projective objects,
along with a quasi-isomorphism to the complex consisting of just `Z` supported in degree `0`.
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Shift/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class HasShift (C : Type u) (A : Type*) [Category.{v} C] [AddMonoid A] where
shift : MonoidalFunctor (Discrete A) (C ⥤ C)
#align category_theory.has_shift CategoryTheory.HasShift

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- A helper structure to construct the shift functor `(Discrete A) ⥤ (C ⥤ C)`. -/
structure ShiftMkCore where
/-- the family of shift functors -/
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Sites/ConcreteSheafification.lean
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ variable [ConcreteCategory.{max v u} D]

attribute [local instance] ConcreteCategory.hasCoeToSort ConcreteCategory.instFunLike

-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
/-- A concrete version of the multiequalizer, to be used below. -/
def Meq {X : C} (P : Cᵒᵖ ⥤ D) (S : J.Cover X) :=
{ x : ∀ I : S.Arrow, P.obj (op I.Y) //
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/Dynamics/Ergodic/Ergodic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ structure PreErgodic (μ : Measure α := by volume_tac) : Prop where

/-- A map `f : α → α` is said to be ergodic with respect to a measure `μ` if it is measure
preserving and pre-ergodic. -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure Ergodic (μ : Measure α := by volume_tac) extends
MeasurePreserving f μ μ, PreErgodic f μ : Prop
#align ergodic Ergodic

/-- A map `f : α → α` is said to be quasi ergodic with respect to a measure `μ` if it is quasi
measure preserving and pre-ergodic. -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure QuasiErgodic (μ : Measure α := by volume_tac) extends
QuasiMeasurePreserving f μ μ, PreErgodic f μ : Prop
#align quasi_ergodic QuasiErgodic
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/LinearAlgebra/Dual.lean
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def evalUseFiniteInstance : TacticM Unit := do
elab "use_finite_instance" : tactic => evalUseFiniteInstance

/-- `e` and `ε` have characteristic properties of a basis and its dual -/
-- @[nolint has_nonempty_instance] Porting note: removed
-- @[nolint has_nonempty_instance] Porting note (#10927): removed
structure Module.DualBases (e : ι → M) (ε : ι → Dual R M) : Prop where
eval : ∀ i j : ι, ε i (e j) = if i = j then 1 else 0
protected total : ∀ {m : M}, (∀ i, ε i m = 0) → m = 0
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/LinearAlgebra/Matrix/Transvection.lean
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ variable (R n)
/-- A structure containing all the information from which one can build a nontrivial transvection.
This structure is easier to manipulate than transvections as one has a direct access to all the
relevant fields. -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure TransvectionStruct where
(i j : n)
hij : i ≠ j
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/RingTheory/Valuation/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ section

variable (F R) (Γ₀ : Type*) [LinearOrderedCommMonoidWithZero Γ₀] [Ring R]

--porting note: removed @[nolint has_nonempty_instance]
--porting note (#10927): removed @[nolint has_nonempty_instance]
/-- The type of `Γ₀`-valued valuations on `R`.

When you extend this structure, make sure to extend `ValuationClass`. -/
Expand Down Expand Up @@ -594,7 +594,7 @@ section AddMonoid
variable (R) [Ring R] (Γ₀ : Type*) [LinearOrderedAddCommMonoidWithTop Γ₀]

/-- The type of `Γ₀`-valued additive valuations on `R`. -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
def AddValuation :=
Valuation R (Multiplicative Γ₀ᵒᵈ)
#align add_valuation AddValuation
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Topology/Connected/PathConnected.lean
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] {x y z : X} {ι
/-! ### Paths -/

/-- Continuous path connecting two points `x` and `y` in a topological space -/
-- porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure Path (x y : X) extends C(I, X) where
/-- The start point of a `Path`. -/
source' : toFun 0 = x
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Topology/Gluing.lean
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ that the `U i`'s are open subspaces of the glued space.
Most of the times it would be easier to use the constructor `TopCat.GlueData.mk'` where the
conditions are stated in a less categorical way.
-/
-- Porting note: removed @[nolint has_nonempty_instance]
-- porting note (#10927): removed @[nolint has_nonempty_instance]
structure GlueData extends GlueData TopCat where
f_open : ∀ i j, OpenEmbedding (f i j)
f_mono := fun i j => (TopCat.mono_iff_injective _).mpr (f_open i j).toEmbedding.inj
Expand Down