Skip to content

Commit 9095a38

Browse files
committed
fix more
1 parent b1dfc8c commit 9095a38

23 files changed

Lines changed: 35 additions & 35 deletions

File tree

Mathlib/Algebra/Module/LocalizedModule.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ theorem mk_neg {M : Type*} [AddCommGroup M] [Module R M] {m : M} {s : S} : mk (-
238238
#align localized_module.mk_neg LocalizedModule.mk_neg
239239

240240
set_option maxHeartbeats 400000 in
241-
instance {A : Type*} [Semiring A] [Algebra R A] {S : Submonoid R} :
241+
instance {A : Type _} [Semiring A] [Algebra R A] {S : Submonoid R} :
242242
Semiring (LocalizedModule S A) :=
243243
{ show (AddCommMonoid (LocalizedModule S A)) by infer_instance with
244244
mul := fun m₁ m₂ =>
@@ -297,7 +297,7 @@ instance {A : Type} [Ring A] [Algebra R A] {S : Submonoid R} :
297297
{ inferInstanceAs (AddCommGroup (LocalizedModule S A)),
298298
inferInstanceAs (Semiring (LocalizedModule S A)) with }
299299

300-
instance {A : Type*} [CommRing A] [Algebra R A] {S : Submonoid R} :
300+
instance {A : Type _} [CommRing A] [Algebra R A] {S : Submonoid R} :
301301
CommRing (LocalizedModule S A) :=
302302
{ show (Ring (LocalizedModule S A)) by infer_instance with
303303
mul_comm := by

Mathlib/Algebra/Module/PID.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ theorem torsion_by_prime_power_decomposition (hN : Module.IsTorsion' N (Submonoi
199199
· exact fun a => (fun i => (Option.rec (pOrder hN (s j)) k i : ℕ)) (finSuccEquiv d a)
200200
· refine (((@lequivProdOfRightSplitExact _ _ _ _ _ _ _ _ _ _ _ _
201201
((f.trans ULift.moduleEquiv.{u, u, v}.symm).toLinearMap.comp <| mkQ _)
202-
((DirectSum.toModule _ _ _ fun i => (liftQSpanSingleton.{u, u} (p ^ k i)
202+
((DirectSum.toModule _ _ _ fun i => (liftQSpanSingleton (p ^ k i)
203203
(LinearMap.toSpanSingleton _ _ _) (this i).choose_spec.left : R ⧸ _ →ₗ[R] _)).comp
204204
ULift.moduleEquiv.toLinearMap) (R ∙ s j).injective_subtype ?_ ?_).symm.trans
205205
(((quotTorsionOfEquivSpanSingleton R N (s j)).symm.trans

Mathlib/AlgebraicGeometry/Gluing.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ theorem ι_isoCarrier_inv (i : D.J) :
236236

237237
/-- An equivalence relation on `Σ i, D.U i` that holds iff `𝖣 .ι i x = 𝖣 .ι j y`.
238238
See `AlgebraicGeometry.Scheme.GlueData.ι_eq_iff`. -/
239-
def Rel (a b : Σ i, ((D.U i).carrier : Type*)) : Prop :=
239+
def Rel (a b : Σ i, ((D.U i).carrier : Type _)) : Prop :=
240240
a = b ∨
241241
∃ x : (D.V (a.1, b.1)).carrier, (D.f _ _).1.base x = a.2 ∧ (D.t _ _ ≫ D.f _ _).1.base x = b.2
242242
#align algebraic_geometry.Scheme.glue_data.rel AlgebraicGeometry.Scheme.GlueData.Rel

Mathlib/AlgebraicGeometry/LocallyRingedSpace.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def toTopCat : TopCat :=
5959
set_option linter.uppercaseLean3 false in
6060
#align algebraic_geometry.LocallyRingedSpace.to_Top AlgebraicGeometry.LocallyRingedSpace.toTopCat
6161

62-
instance : CoeSort LocallyRingedSpace (Type*) :=
63-
fun X : LocallyRingedSpace => (X.toTopCat : Type*)⟩
62+
instance : CoeSort LocallyRingedSpace (Type _) :=
63+
fun X : LocallyRingedSpace => (X.toTopCat : Type _)⟩
6464

6565
instance (x : X) : LocalRing (X.stalk x) :=
6666
X.localRing x
@@ -76,7 +76,7 @@ set_option linter.uppercaseLean3 false in
7676
/-- A morphism of locally ringed spaces is a morphism of ringed spaces
7777
such that the morphisms induced on stalks are local ring homomorphisms. -/
7878
@[ext]
79-
structure Hom (X Y : LocallyRingedSpace) : Type* where
79+
structure Hom (X Y : LocallyRingedSpace) : Type _ where
8080
/-- the underlying morphism between ringed spaces -/
8181
val : X.toSheafedSpace ⟶ Y.toSheafedSpace
8282
/-- the underlying morphism induces a local ring homomorphism on stalks -/

Mathlib/AlgebraicGeometry/LocallyRingedSpace/HasColimits.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ noncomputable def coproductCofanIsColimit : IsColimit (coproductCofan F) where
127127
instance : HasCoproducts.{u} LocallyRingedSpace.{u} := fun _ =>
128128
fun F => ⟨⟨⟨_, coproductCofanIsColimit F⟩⟩⟩⟩
129129

130-
noncomputable instance (J : Type*) :
130+
noncomputable instance (J : Type _) :
131131
PreservesColimitsOfShape (Discrete.{u} J) forgetToSheafedSpace.{u} :=
132132
fun {G} =>
133133
preservesColimitOfPreservesColimitCocone (coproductCofanIsColimit G)

Mathlib/AlgebraicGeometry/ProjectiveSpectrum/StructureSheaf.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ end
188188

189189
/-- The structure sheaf (valued in `Type`, not yet `CommRing`) is the subsheaf consisting of
190190
functions satisfying `isLocallyFraction`.-/
191-
def structureSheafInType : Sheaf (Type*) (ProjectiveSpectrum.top 𝒜) :=
191+
def structureSheafInType : Sheaf (Type _) (ProjectiveSpectrum.top 𝒜) :=
192192
subsheafToTypes (isLocallyFraction 𝒜)
193193
#align algebraic_geometry.projective_spectrum.structure_sheaf.structure_sheaf_in_Type AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf.structureSheafInType
194194

Mathlib/Analysis/Convex/Between.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ theorem sbtw_iff_mem_image_Ioo_and_ne [NoZeroSMulDivisors R V] {x y z : P} :
340340
rw [lineMap_apply, ← @vsub_ne_zero V, ← @vsub_ne_zero V _ _ _ _ z, vadd_vsub_assoc, vsub_self,
341341
vadd_vsub_assoc, ← neg_vsub_eq_vsub_rev z x, ← @neg_one_smul R, ← add_smul, ← sub_eq_add_neg]
342342
have : z -ᵥ x ≠ 0 := by simpa using hxz.symm
343-
simp [smul_ne_zero, this, sub_eq_zero, ht.1.ne.symm, ht.2.ne]
343+
simp [smul_ne_zero, this, sub_eq_zero, ht.1.ne.symm, ht.2.ne, hxz.symm]
344344
#align sbtw_iff_mem_image_Ioo_and_ne sbtw_iff_mem_image_Ioo_and_ne
345345

346346
variable (R)

Mathlib/Analysis/InnerProductSpace/PiL2.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ theorem PiLp.inner_apply {ι : Type*} [Fintype ι] {f : ι → Type*} [∀ i, No
111111
/-- The standard real/complex Euclidean space, functions on a finite type. For an `n`-dimensional
112112
space use `EuclideanSpace 𝕜 (Fin n)`. -/
113113
@[reducible, nolint unusedArguments]
114-
def EuclideanSpace (𝕜 : Type*) [IsROrC 𝕜] (n : Type*) [Fintype n] : Type* :=
114+
def EuclideanSpace (𝕜 : Type*) [IsROrC 𝕜] (n : Type*) [Fintype n] : Type _ :=
115115
PiLp 2 fun _ : n => 𝕜
116116
#align euclidean_space EuclideanSpace
117117

Mathlib/Analysis/NormedSpace/FiniteDimension.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ theorem LipschitzOnWith.extend_finite_dimension {α : Type*} [PseudoMetricSpace
201201
∃ g : α → E', LipschitzWith (lipschitzExtensionConstant E' * K) g ∧ EqOn f g s := by
202202
/- This result is already known for spaces `ι → ℝ`. We use a continuous linear equiv between
203203
`E'` and such a space to transfer the result to `E'`. -/
204-
let ι : Type* := Basis.ofVectorSpaceIndex ℝ E'
204+
let ι : Type _ := Basis.ofVectorSpaceIndex ℝ E'
205205
let A := (Basis.ofVectorSpace ℝ E').equivFun.toContinuousLinearEquiv
206206
have LA : LipschitzWith ‖A.toContinuousLinearMap‖₊ A := by apply A.lipschitz
207207
have L : LipschitzOnWith (‖A.toContinuousLinearMap‖₊ * K) (A ∘ f) s :=

Mathlib/Geometry/Manifold/ContMDiffMFDeriv.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ theorem tangentMap_tangentBundle_pure (p : TangentBundle I M) :
569569
apply (LocalHomeomorph.open_target _).preimage I.continuous_invFun
570570
simp only [mfld_simps]
571571
have A : MDifferentiableAt I I.tangent (fun x => @TotalSpace.mk M E (TangentSpace I) x 0) x :=
572-
haveI : Smooth I (I.prod 𝓘(𝕜, E)) (zeroSection E (TangentSpace I : M → Type*)) :=
573-
Bundle.smooth_zeroSection 𝕜 (TangentSpace I : M → Type*)
572+
haveI : Smooth I (I.prod 𝓘(𝕜, E)) (zeroSection E (TangentSpace I : M → Type _)) :=
573+
Bundle.smooth_zeroSection 𝕜 (TangentSpace I : M → Type _)
574574
this.mdifferentiableAt
575575
have B :
576576
fderivWithin 𝕜 (fun x' : E => (x', (0 : E))) (Set.range I) (I ((chartAt H x) x)) v = (v, 0)

0 commit comments

Comments
 (0)