Skip to content

Commit 00b2942

Browse files
committed
merge bump/nightly-2026-05-03
2 parents 516318b + 4151e8d commit 00b2942

15 files changed

Lines changed: 30 additions & 66 deletions

File tree

.github/actions/get-mathlib-ci/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
# Default pinned commit used by workflows unless they explicitly override.
1111
# Update this ref as needed to pick up changes to mathlib-ci scripts
1212
# This is also updated automatically by .github/workflows/update_dependencies.yml
13-
default: d7b053bde8ef240c29f6724fa285dc5bb6bbe00a
13+
default: 0efe1f98dd7e3b632b596b0360dd01cb7f4bc4c7
1414
path:
1515
description: Checkout destination path.
1616
required: false

.github/workflows/olean_report.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ jobs:
6969
run: |
7070
pr_json=$(gh pr view "${{ github.event.issue.number }}" \
7171
--repo "${{ github.repository }}" \
72-
--json headRefOid,baseRefOid,baseRefName)
72+
--json headRefOid,baseRefOid,baseRefName,headRepository)
7373
{
7474
echo "head_sha=$(echo "$pr_json" | jq -r '.headRefOid')"
7575
echo "base_sha=$(echo "$pr_json" | jq -r '.baseRefOid')"
7676
echo "base_ref=$(echo "$pr_json" | jq -r '.baseRefName')"
77+
echo "head_repo=$(echo "$pr_json" | jq -r '.headRepository.nameWithOwner')"
7778
} >> "$GITHUB_OUTPUT"
7879
7980
# Using refs/pull/N/head works for both same-repo and fork PRs, since
@@ -175,6 +176,9 @@ jobs:
175176
run: |
176177
cd pr-branch
177178
lake env "$CACHE_BIN" get
179+
# Run again with --repo in case this is a fork PR: fork PRs upload
180+
# their oleans to the fork's Azure container, not the upstream one.
181+
lake env "$CACHE_BIN" --repo="${{ steps.pr_info.outputs.head_repo }}" get
178182
179183
- name: Check PR head oleans
180184
id: pr_oleans_check

Mathlib/Algebra/Category/Grp/Colimits.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ lemma quotUliftToQuot_ι [DecidableEq J] (j : J) (x : (F ⋙ uliftFunctor.{u'}).
149149
dsimp [quotUliftToQuot, Quot.ι]
150150
conv_lhs => erw [AddMonoidHom.comp_apply (QuotientAddGroup.mk' (Relations (F ⋙ uliftFunctor)))
151151
(DFinsupp.singleAddHom _ j), QuotientAddGroup.lift_mk']
152-
simp only [ DFinsupp.singleAddHom_apply,
152+
simp only [DFinsupp.singleAddHom_apply,
153153
DFinsupp.sumAddHom_single, AddMonoidHom.coe_comp, Function.comp_apply]
154154
rfl
155155

Mathlib/Algebra/Category/ModuleCat/Stalk.lean

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ def colimit.smul (r : (R ⋙ forget _).ColimitType) (m : (M ⋙ forget _).Colimi
5858
refine Functor.ιColimitType_eq_of_map_eq_map _ _ _ α β ?_
5959
simp [*, ← R.map_comp_apply, ← M.map_comp_apply, -Functor.map_comp]
6060

61-
#adaptation_note /-- As of nightly-2026-02-10, we need to increase the maxHeartbeats limits here,
62-
and as of nightly-2026-02-23, we also need `backward.whnf.reducibleClassField`
63-
to avoid needing even more. (The maxHeartbeats limit was also bumped up a little 2026-03-22 because
64-
the meaning of maxHeartbeats changed -- level metavariables started allocating some more memory in
65-
general.) -/
61+
#adaptation_note /-- As of nightly-2026-02-10, we need to increase the maxHeartbeats limits here. -/
6662
set_option backward.defeqAttrib.useBackward true in
6763
set_option backward.isDefEq.respectTransparency false in
6864
set_option maxHeartbeats 700000 in --

Mathlib/AlgebraicTopology/DoldKan/Homotopies.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def Hσ (q : ℕ) : K[X] ⟶ K[X] :=
129129
def homotopyHσToZero (q : ℕ) : Homotopy (Hσ q : K[X] ⟶ K[X]) 0 :=
130130
nullHomotopy' (hσ' q)
131131

132-
set_option backward.isDefEq.respectTransparency false in
133132
/-- In degree `0`, the null homotopic map `Hσ` is zero. -/
134133
theorem Hσ_eq_zero (q : ℕ) : (Hσ q : K[X] ⟶ K[X]).f 0 = 0 := by
135134
unfold Hσ

Mathlib/CategoryTheory/Sites/Sieves.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ def uliftFunctorInclusion (S : Sieve X) :
12701270
@[simps]
12711271
def toUliftFunctor (S : Sieve X) {Y : C} (f : Y ⟶ X) (hf : S f) :
12721272
uliftYoneda.{w}.obj Y ⟶ Sieve.uliftFunctor.{w} S where
1273-
app Z := TypeCat.ofHom fun g ↦ ⟨g.down ≫ f, S.downward_closed hf g.down⟩
1273+
app Z := fun g ↦ ⟨g.down ≫ f, S.downward_closed hf g.down⟩
12741274

12751275
theorem uliftNatTransOfLe_comm {S T : Sieve X} (h : S ≤ T) :
12761276
uliftNatTransOfLe.{w} h ≫ uliftFunctorInclusion.{w} _ = uliftFunctorInclusion.{w} _ :=

Mathlib/Geometry/Euclidean/Sphere/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ theorem Cospherical.affineIndependent_of_mem_of_ne {s : Set P} (hs : Cospherical
415415
AffineIndependent ℝ ![p₁, p₂, p₃] := by
416416
refine hs.affineIndependent ?_ ?_
417417
· simp [h₁, h₂, h₃, Set.insert_subset_iff]
418-
· erw [Fin.cons_injective_iff, Fin.cons_injective_iff]
418+
· simp only [Matrix.vecCons, Fin.cons_injective_iff]
419419
simp [h₁₂, h₁₃, h₂₃, Function.Injective, eq_iff_true_of_subsingleton]
420420

421421
/-- The three points of a cospherical set are affinely independent. -/

Mathlib/Geometry/Manifold/Algebra/LieGroup.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ functions `f : M → N` is `C^n` whenever the denominator is non-zero.
295295
-/
296296
section Div
297297

298-
variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] {n : WithTop ℕ∞}
298+
variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] {n : ℕ∞ω}
299299
{H : Type*} [TopologicalSpace H] {E : Type*}
300300
[NormedAddCommGroup E] [NormedSpace 𝕜 E] {I : ModelWithCorners 𝕜 E H} {G : Type*}
301301
[TopologicalSpace G] [ChartedSpace H G] [GroupWithZero G] [ContMDiffInv₀ I n G]

Mathlib/MeasureTheory/Measure/Haar/Quotient.lean

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ lemma MeasureTheory.QuotientMeasureEqMeasurePreimage.smulInvariantMeasure_quotie
9494
have meas_π : Measurable π := continuous_quotient_mk'.measurable
9595
obtain ⟨𝓕, h𝓕⟩ := hasFun.ExistsIsFundamentalDomain
9696
have h𝓕_translate_fundom : IsFundamentalDomain Γ.op (g • 𝓕) ν := h𝓕.smul_of_comm g
97-
-- TODO: why `rw` fails with both of these rewrites?
98-
erw [h𝓕.projection_respects_measure_apply (μ := μ)
97+
rw [h𝓕.projection_respects_measure_apply (μ := μ)
9998
(meas_π (measurableSet_preimage (measurable_const_smul g) hA)),
10099
h𝓕_translate_fundom.projection_respects_measure_apply (μ := μ) hA]
101100
change ν ((π ⁻¹' _) ∩ _) = ν ((π ⁻¹' _) ∩ _)
@@ -233,8 +232,7 @@ theorem MeasureTheory.QuotientMeasureEqMeasurePreimage.haarMeasure_quotient [Loc
233232
ne_top_of_lt <| QuotientMeasureEqMeasurePreimage.covolume_ne_top μ (ν := ν)
234233
obtain ⟨s, fund_dom_s⟩ := i
235234
rw [fund_dom_s.covolume_eq_volume] at finiteCovol
236-
-- TODO: why `rw` fails?
237-
erw [fund_dom_s.projection_respects_measure_apply μ K'.isCompact.measurableSet]
235+
rw [fund_dom_s.projection_respects_measure_apply μ K'.isCompact.measurableSet]
238236
apply IsHaarMeasure.smul
239237
· intro h
240238
have i' : IsOpenPosMeasure (ν : Measure G) := inferInstance

Mathlib/RingTheory/Flat/Equalizer.lean

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,6 @@ lemma AlgHom.coe_tensorEqualizer (x : T ⊗[R] AlgHom.equalizer f g) :
284284
Algebra.TensorProduct.map (AlgHom.id S T) (AlgHom.equalizer f g).val x :=
285285
AlgHom.coe_tensorEqualizerAux S T f g x
286286

287-
#adaptation_note /-- After nightly-2026-02-23 we need this to avoid timeouts. -/
288-
set_option backward.whnf.reducibleClassField false in
289-
set_option backward.privateInPublic true in
290-
set_option backward.privateInPublic.warn false in
291287
/-- If `T` is `R`-flat, the canonical map
292288
`T ⊗[R] eq(f, g) →ₐ[S] eq (𝟙 ⊗ f, 𝟙 ⊗ g)` is an isomorphism. -/
293289
def AlgHom.tensorEqualizerEquiv [Module.Flat R T] :

0 commit comments

Comments
 (0)