Skip to content

Commit eb152ad

Browse files
committed
Merge remote-tracking branch 'nightly-testing/bump/nightly-2026-05-10' into nightly-testing
2 parents 860fc28 + 90ed4b0 commit eb152ad

13 files changed

Lines changed: 13 additions & 25 deletions

File tree

Mathlib/AlgebraicGeometry/Morphisms/FlatRank.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def Scheme.Hom.finrank {X S : Scheme.{u}} (f : X ⟶ S) (s : S) : ℕ :=
9090
IsAffine.finrank (pullback.snd f (S.affineOpenCover.f <| S.affineOpenCover.idx s))
9191
(S.affineOpenCover.covers s).choose
9292

93-
set_option backward.isDefEq.respectTransparency false in
9493
private lemma Scheme.Hom.finrank_eq_finrank_snd_of_isAffine (g : T ⟶ S) [IsAffine T] (t : T)
9594
[Flat f] [IsFinite f] :
9695
f.finrank (g t) = IsAffine.finrank (pullback.snd f g) t := by

Mathlib/Analysis/Convex/Cone/Basic.lean

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ lemma mem_bot : x ∈ (⊥ : ProperCone R E) ↔ x = 0 := .rfl
104104

105105
end T1Space
106106

107-
set_option backward.isDefEq.respectTransparency false in
108107
/-- The closure of image of a proper cone under an `R`-linear map is a proper cone. We
109108
use continuous maps here so that the comap of f is also a map between proper cones. -/
110109
abbrev comap (f : E →L[R] F) (C : ProperCone R F) : ProperCone R E :=
@@ -121,14 +120,12 @@ lemma mem_comap {C : ProperCone R F} {f : E →L[R] F} : x ∈ C.comap f ↔ f x
121120

122121
variable [ContinuousAdd F] [ContinuousConstSMul R F]
123122

124-
set_option backward.isDefEq.respectTransparency false in
125123
/-- The closure of image of a proper cone under a linear map is a proper cone.
126124
127125
We use continuous maps here to match `ProperCone.comap`. -/
128126
abbrev map (f : E →L[R] F) (C : ProperCone R E) : ProperCone R F :=
129127
ClosedSubmodule.map (f.restrictScalars R≥0) C
130128

131-
set_option backward.isDefEq.respectTransparency false in
132129
@[simp] lemma map_id (C : ProperCone R F) : C.map (.id _ _) = C := ClosedSubmodule.map_id _
133130

134131
@[simp, norm_cast]

Mathlib/Analysis/Fourier/FourierTransformDeriv.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,6 @@ lemma pow_mul_norm_iteratedFDeriv_fourier_le
784784
@[deprecated (since := "2025-11-16")]
785785
alias pow_mul_norm_iteratedFDeriv_fourierIntegral_le := pow_mul_norm_iteratedFDeriv_fourier_le
786786

787-
set_option backward.isDefEq.respectTransparency false in
788787
lemma hasDerivAt_fourier
789788
{f : ℝ → E} (hf : Integrable f) (hf' : Integrable (fun x : ℝ ↦ x • f x)) (w : ℝ) :
790789
HasDerivAt (𝓕 f) (𝓕 (fun x : ℝ ↦ (-2 * π * I * x) • f x) w) w := by

Mathlib/Geometry/Convex/Cone/Dual.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ variable {p : M →ₗ[R] N →ₗ[R] R} {s t : Set M} {y : N}
4444

4545
local notation3 "R≥0" => {c : R // 0 ≤ c}
4646

47-
set_option backward.isDefEq.respectTransparency false in
4847
variable (p) in
4948
/-- The dual cone of a set `s` with respect to a bilinear pairing `p` is the cone consisting of all
5049
points `y` such that for all points `x ∈ s` we have `0 ≤ p x y`. -/
@@ -100,7 +99,6 @@ variable (s) in
10099
@[simp] lemma dual_flip_dual_dual_flip (s : Set N) :
101100
dual p.flip (dual p (dual p.flip s)) = dual p.flip s := dual_dual_flip_dual _
102101

103-
set_option backward.isDefEq.respectTransparency false in
104102
@[simp]
105103
lemma dual_hull (s : Set M) : dual p (hull R s) = dual p s := by
106104
refine le_antisymm (dual_anti Submodule.subset_span) (fun x hx y hy => ?_)

Mathlib/Geometry/Convex/Cone/Pointed.lean

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ section Submodule
4444
variable [Semiring R] [PartialOrder R] [IsOrderedRing R] [AddCommMonoid E] [Module R E]
4545
variable {C : PointedCone R E}
4646

47-
set_option backward.isDefEq.respectTransparency false in
4847
/-- A submodule is a pointed cone. -/
4948
@[coe] abbrev ofSubmodule (S : Submodule R E) : PointedCone R E := S.restrictScalars _
5049

@@ -54,25 +53,20 @@ instance : Coe (Submodule R E) (PointedCone R E) := ⟨ofSubmodule⟩
5453

5554
lemma mem_ofSubmodule_iff {S : Submodule R E} {x : E} : x ∈ (S : PointedCone R E) ↔ x ∈ S := by rfl
5655

57-
set_option backward.isDefEq.respectTransparency false in
5856
lemma ofSubmodule_inj {S T : Submodule R E} : ofSubmodule S = ofSubmodule T ↔ S = T :=
5957
restrictScalars_inj ..
6058

61-
set_option backward.isDefEq.respectTransparency false in
6259
/-- Coercion from submodules to pointed cones as an order embedding. -/
6360
abbrev ofSubmoduleEmbedding : Submodule R E ↪o PointedCone R E :=
6461
restrictScalarsEmbedding ..
6562

66-
set_option backward.isDefEq.respectTransparency false in
6763
/-- Coercion from submodules to pointed cones as a lattice homomorphism. -/
6864
abbrev ofSubmoduleLatticeHom : CompleteLatticeHom (Submodule R E) (PointedCone R E) :=
6965
restrictScalarsLatticeHom ..
7066

71-
set_option backward.isDefEq.respectTransparency false in
7267
lemma ofSubmodule_inf (S T : Submodule R E) : S ⊓ T = (S ⊓ T : PointedCone R E) :=
7368
restrictScalars_inf _ _ _
7469

75-
set_option backward.isDefEq.respectTransparency false in
7670
lemma ofSubmodule_sup (S T : Submodule R E) : S ⊔ T = (S ⊔ T : PointedCone R E) :=
7771
restrictScalars_sup _ _ _
7872

@@ -91,7 +85,6 @@ lemma ofSubmodule_iSup (s : Set (Submodule R E)) : ⨆ S ∈ s, S = ⨆ S ∈ s,
9185
variable {R E : Type*}
9286
variable [Semiring R] [PartialOrder R] [IsOrderedRing R] [AddCommGroup E] [Module R E]
9387

94-
set_option backward.isDefEq.respectTransparency false in
9588
lemma neg_ofSubmodule (S : Submodule R E) : -(ofSubmodule S) = ofSubmodule (-S) :=
9689
neg_restrictScalars S
9790

@@ -129,7 +122,6 @@ lemma convex (C : PointedCone R E) : Convex R (C : Set E) := C.toConvexCone.conv
129122
nonrec lemma smul_mem (C : PointedCone R E) (hr : 0 ≤ r) (hx : x ∈ C) : r • x ∈ C :=
130123
C.smul_mem ⟨r, hr⟩ hx
131124

132-
set_option backward.isDefEq.respectTransparency false in
133125
/-- The `PointedCone` constructed from a pointed `ConvexCone`. -/
134126
def _root_.ConvexCone.toPointedCone (C : ConvexCone R E) (hC : C.Pointed) : PointedCone R E where
135127
carrier := C
@@ -222,7 +214,6 @@ between pointed cones induced from linear maps between the ambient modules that
222214
223215
-/
224216

225-
set_option backward.isDefEq.respectTransparency false in
226217
/-- The image of a pointed cone under an `R`-linear map is a pointed cone. -/
227218
def map (f : E →ₗ[R] F) (C : PointedCone R E) : PointedCone R F :=
228219
Submodule.map (f : E →ₗ[R≥0] F) C
@@ -248,7 +239,6 @@ theorem map_map (g : F →ₗ[R] G) (f : E →ₗ[R] F) (C : PointedCone R E) :
248239
theorem map_id (C : PointedCone R E) : C.map LinearMap.id = C :=
249240
SetLike.coe_injective <| Set.image_id _
250241

251-
set_option backward.isDefEq.respectTransparency false in
252242
/-- The preimage of a pointed cone under an `R`-linear map is a pointed cone. -/
253243
def comap (f : E →ₗ[R] F) (C : PointedCone R F) : PointedCone R E :=
254244
Submodule.comap (f : E →ₗ[R≥0] F) C

Mathlib/Init.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module -- shake: keep-all, shake: keep-downstream
33
public import Lean.Linter.Sets -- for the definition of linter sets
44
public import Lean.LibrarySuggestions.Default -- for `+suggestions` modes in tactics
55
public import Mathlib.Lean.Linter -- linter utilities; will be transitively imported in #31134
6+
public import Mathlib.Tactic.AdaptationNote -- make #adaptation_note available everywhere
67
public import Mathlib.Tactic.Lemma
78
public import Mathlib.Tactic.Linter.DeprecatedSyntaxLinter
89
public import Mathlib.Tactic.Linter.DirectoryDependency

Mathlib/Logic/Basic.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ Authors: Jeremy Avigad, Leonardo de Moura
55
-/
66
module
77

8-
public import Mathlib.Tactic.AdaptationNote
98
public import Batteries.Logic
109
public import Batteries.Util.LibraryNote
1110

12-
import Mathlib.Tactic.Attr.Register
11+
public import Mathlib.Tactic.Attr.Register
1312

1413
/-!
1514
# Basic logic properties

Mathlib/RingTheory/Finiteness/Basic.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ variable {R E : Type*} [Ring R] [LinearOrder R] [IsOrderedRing R] [AddCommMonoid
510510

511511
local notation3 "R≥0" => {c : R // 0 ≤ c}
512512

513-
set_option backward.isDefEq.respectTransparency false in
514513
private instance instModuleFiniteAux : Module.Finite R≥0 R := by
515514
simp_rw [Module.finite_def, Submodule.fg_def, Submodule.eq_top_iff']
516515
refine ⟨{1, -1}, by simp, fun x ↦ ?_⟩
@@ -520,7 +519,6 @@ private instance instModuleFiniteAux : Module.Finite R≥0 R := by
520519
· simpa using Submodule.smul_mem (M := R) (.span R≥0 {1, -1}) ⟨-x, neg_nonneg.mpr hx⟩ (x := -1)
521520
(Submodule.subset_span <| by simp)
522521

523-
set_option backward.isDefEq.respectTransparency false in
524522
/-- If a module is finite over a linearly ordered ring, then it is also finite over the non-negative
525523
scalars. -/
526524
instance instModuleFinite [Module.Finite R E] : Module.Finite R≥0 E := .trans R E

Mathlib/RingTheory/Ideal/Norm/AbsNorm.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,6 @@ theorem Int.ideal_span_absNorm_eq_self (J : Ideal ℤ) :
477477
obtain ⟨g, rfl⟩ := IsPrincipalIdealRing.principal J
478478
simp
479479

480-
set_option backward.isDefEq.respectTransparency false in
481480
@[simp]
482481
theorem Int.prime_absNorm (J : Ideal ℤ) :
483482
(absNorm J).Prime ↔ Prime J := by

Mathlib/Tactic/AdaptationNote.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Authors: Kyle Miller
55
-/
66
module
77

8-
public import Mathlib.Init
8+
import Mathlib.Tactic.Linter.Header
99
public meta import Lean.Meta.Tactic.TryThis
1010

1111
/-!

0 commit comments

Comments
 (0)