Skip to content

Commit 88bfa5e

Browse files
committed
fix
1 parent 4712c41 commit 88bfa5e

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

Mathlib/AlgebraicGeometry/StructureSheaf.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,11 @@ public lemma algebraMap_germ
562562

563563
@[deprecated (since := "2026-02-10")] public alias toOpen_germ := algebraMap_germ
564564

565-
@[expose] public
565+
public
566566
instance (x : PrimeSpectrum.Top R) : Algebra R ((structurePresheafInCommRingCat R).stalk x) :=
567567
(toStalk R x).hom.toAlgebra
568568

569-
@[expose] public
569+
public
570570
instance (x : PrimeSpectrum.Top R) :
571571
Module R ↑(TopCat.Presheaf.stalk (moduleStructurePresheaf R M).presheaf x) :=
572572
.compHom _ (toStalk R x).hom

Mathlib/Analysis/SpecialFunctions/Trigonometric/Inverse.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def cosPartialHomeomorph : OpenPartialHomeomorph ℝ ℝ where
446446
continuousOn_invFun := continuous_arccos.continuousOn
447447

448448
/-- `Real.cos` and `Real.arccos` as a (partial) equivalence from `[0, π]` to `[-1, 1]` -/
449-
@[simps, expose]
449+
@[simps]
450450
noncomputable def cosPartialEquiv : PartialEquiv ℝ ℝ where
451451
toFun θ := cos θ
452452
invFun x := arccos x

Mathlib/Tactic/NormNum/Result.lean

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ section
311311
set_option linter.unusedVariables false
312312

313313
/-- The result of `norm_num` running on an expression `x` of type `α`. -/
314-
@[nolint unusedArguments, expose] def Result {α : Q(Type u)} (x : Q($α)) := Result'
314+
@[nolint unusedArguments] def Result {α : Q(Type u)} (x : Q($α)) := Result'
315315

316316
-- The new behaviour of `inferInstanceAs` from leanprover/lean4#12897 needs to be updated,
317317
-- to ensure that if we are in a `meta` section then the auxiliary definitions are also `meta`.
@@ -320,36 +320,36 @@ set_option backward.inferInstanceAs.wrap false in
320320
instance {α : Q(Type u)} {x : Q($α)} : Inhabited (Result x) := inferInstanceAs (Inhabited Result')
321321

322322
/-- The result is `proof : x`, where `x` is a (true) proposition. -/
323-
@[match_pattern, inline, expose] def Result.isTrue {x : Q(Prop)} :
323+
@[match_pattern, inline] def Result.isTrue {x : Q(Prop)} :
324324
∀ (proof : Q($x)), Result q($x) := Result'.isBool true
325325

326326
/-- The result is `proof : ¬x`, where `x` is a (false) proposition. -/
327-
@[match_pattern, inline, expose] def Result.isFalse {x : Q(Prop)} :
327+
@[match_pattern, inline] def Result.isFalse {x : Q(Prop)} :
328328
∀ (proof : Q(¬$x)), Result q($x) := Result'.isBool false
329329

330330
/-- The result is `lit : ℕ` (a raw nat literal) and `proof : isNat x lit`. -/
331-
@[match_pattern, inline, expose] def Result.isNat {α : Q(Type u)} {x : Q($α)} :
331+
@[match_pattern, inline] def Result.isNat {α : Q(Type u)} {x : Q($α)} :
332332
∀ (inst : Q(AddMonoidWithOne $α) := by assumption) (lit : Q(ℕ)) (proof : Q(IsNat $x $lit)),
333333
Result x := Result'.isNat
334334

335335
/-- The result is `-lit` where `lit` is a raw nat literal
336336
and `proof : isInt x (.negOfNat lit)`. -/
337-
@[match_pattern, inline, expose] def Result.isNegNat {α : Q(Type u)} {x : Q($α)} :
337+
@[match_pattern, inline] def Result.isNegNat {α : Q(Type u)} {x : Q($α)} :
338338
∀ (inst : Q(Ring $α) := by assumption) (lit : Q(ℕ)) (proof : Q(IsInt $x (.negOfNat $lit))),
339339
Result x := Result'.isNegNat
340340

341341
/-- The result is `proof : IsNNRat x n d`,
342342
where `n` a raw nat literal, `d` is a raw nat literal (not 0 or 1),
343343
`n` and `d` are coprime, and `q` is the value of `n / d`. -/
344-
@[match_pattern, inline, expose] def Result.isNNRat {α : Q(Type u)} {x : Q($α)} :
344+
@[match_pattern, inline] def Result.isNNRat {α : Q(Type u)} {x : Q($α)} :
345345
∀ (inst : Q(DivisionSemiring $α) := by assumption) (q : Rat) (n : Q(ℕ)) (d : Q(ℕ))
346346
(proof : Q(IsNNRat $x $n $d)), Result x := Result'.isNNRat
347347

348348
/-- The result is `proof : IsRat x n d`,
349349
where `n` is `.negOfNat lit` with `lit` a raw nat literal,
350350
`d` is a raw nat literal (not 0 or 1),
351351
`n` and `d` are coprime, and `q` is the value of `n / d`. -/
352-
@[match_pattern, inline, expose] def Result.isNegNNRat {α : Q(Type u)} {x : Q($α)} :
352+
@[match_pattern, inline] def Result.isNegNNRat {α : Q(Type u)} {x : Q($α)} :
353353
∀ (inst : Q(DivisionRing $α) := by assumption) (q : Rat) (n : Q(ℕ)) (d : Q(ℕ))
354354
(proof : Q(IsRat $x (.negOfNat $n) $d)), Result x := Result'.isNegNNRat
355355

0 commit comments

Comments
 (0)