Skip to content

Commit 9b1001c

Browse files
kim-emmathlib4-botmathlib-nightly-testing[bot]
committed
chore: bump toolchain to v4.29.0-rc3 (#35942)
Co-authored-by: mathlib4-bot <github-mathlib4-bot@leanprover.zulipchat.com> Co-authored-by: mathlib-nightly-testing[bot] <mathlib-nightly-testing[bot]@users.noreply.github.com> Co-authored-by: mathlib-nightly-testing[bot] <258991302+mathlib-nightly-testing[bot]@users.noreply.github.com>
1 parent 1335e17 commit 9b1001c

313 files changed

Lines changed: 410 additions & 359 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Archive/Imo/Imo2001Q4.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ variable {n : ℕ} {c : Fin n → ℤ}
3535
rather than `Icc 1 n`, and as such contains `+ 1` to compensate. -/
3636
def S (c : Fin n → ℤ) (a : Perm (Fin n)) : ℤ := ∑ i, c i * (a i + 1)
3737

38-
set_option backward.isDefEq.respectTransparency false in
3938
/-- Assuming the opposite of what is to be proved, the sum of `S` over all permutations is
4039
congruent to the sum of all residues modulo `n!`, i.e. `n! * (n! - 1) / 2`. -/
4140
lemma sum_range_modEq_sum_of_contra (hS : ¬∃ a b, a ≠ b ∧ (n ! : ℤ) ∣ S c a - S c b) :

Archive/Imo/Imo2019Q4.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ open Finset
3434

3535
namespace Imo2019Q4
3636

37+
set_option backward.isDefEq.respectTransparency false in
3738
theorem upper_bound {k n : ℕ} (hk : k > 0)
3839
(h : (k ! : ℤ) = ∏ i ∈ range n, ((2 : ℤ) ^ n - (2 : ℤ) ^ i)) : n < 6 := by
3940
have h2 : ∑ i ∈ range n, i < k := by

Archive/Imo/Imo2024Q2.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ open scoped Nat
2727
def Condition (a b : ℕ) : Prop :=
2828
0 < a ∧ 0 < b ∧ ∃ g N : ℕ, 0 < g ∧ 0 < N ∧ ∀ n : ℕ, N ≤ n → Nat.gcd (a ^ n + b) (b ^ n + a) = g
2929

30-
set_option backward.isDefEq.respectTransparency false in
3130
lemma dvd_pow_iff_of_dvd_sub {a b d n : ℕ} {z : ℤ} (ha : a.Coprime d)
3231
(hd : (φ d : ℤ) ∣ (n : ℤ) - z) :
3332
d ∣ a ^ n + b ↔ (((ZMod.unitOfCoprime _ ha) ^ z : (ZMod d)ˣ) : ZMod d) + b = 0 := by

Archive/Kuratowski.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ theorem mem_theFourteen_iff_isObtainable {s t : Set X} :
9898
exact IsObtainable.base
9999
mpr := (·.mem_theFourteen)
100100

101-
set_option backward.isDefEq.respectTransparency false in
102101
/-- **Kuratowski's closure-complement theorem**: the number of obtainable sets via closure and
103102
complement operations from a single set `s` is at most 14. -/
104103
theorem ncard_isObtainable_le_fourteen (s : Set X) : {t | IsObtainable s t}.ncard ≤ 14 := by

Counterexamples/InvertibleModuleNotIdeal.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ set_option backward.isDefEq.respectTransparency false in
3535
/-- R as an algebra over `SqZeroExtQuotMax R`. -/
3636
abbrev SqZeroExtQuotMax.algebraBase : Algebra (SqZeroExtQuotMax R) R := TrivSqZeroExt.algebraBase ..
3737

38+
#adaptation_note /-- After nightly-2026-02-23 we need this to avoid timeouts. -/
39+
set_option backward.whnf.reducibleClassField false in
3840
set_option backward.isDefEq.respectTransparency false in
3941
open CommRing (Pic) in
4042
/-- If the Picard group of a commutative ring R is nontrivial, then `SqZeroExtQuotMax R`

Mathlib/Algebra/AffineMonoid/Irreducible.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ end CommMonoid
6363
section CancelCommMonoid
6464
variable [CancelCommMonoid M] [Subsingleton Mˣ]
6565

66-
set_option backward.isDefEq.respectTransparency false in
6766
/-- A finitely generated cancellative monoid with a single unit is generated by its (finitely many)
6867
irreducible elements. -/
6968
@[to_additive (attr := simp)

Mathlib/Algebra/Algebra/Subalgebra/Lattice.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,6 @@ theorem adjoin_iUnion {α : Type*} (s : α → Set A) :
507507
adjoin R (Set.iUnion s) = ⨆ i : α, adjoin R (s i) :=
508508
(@Algebra.gc R A _ _ _).l_iSup
509509

510-
set_option backward.isDefEq.respectTransparency false in
511510
theorem adjoin_attach_biUnion [DecidableEq A] {α : Type*} {s : Finset α} (f : s → Finset A) :
512511
adjoin R (s.attach.biUnion f : Set A) = ⨆ x, adjoin R (f x) := by simp [adjoin_iUnion]
513512

Mathlib/Algebra/BigOperators/Group/Finset/Basic.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ theorem prod_extend_by_one [DecidableEq ι] (s : Finset ι) (f : ι → M) :
486486
∏ i ∈ s, (if i ∈ s then f i else 1) = ∏ i ∈ s, f i :=
487487
(prod_congr rfl) fun _i hi => if_pos hi
488488

489-
set_option backward.isDefEq.respectTransparency false in
490489
/-- Also see `Finset.prod_ite_mem_eq` -/
491490
@[to_additive /-- Also see `Finset.sum_ite_mem_eq` -/]
492491
theorem prod_eq_prod_extend (f : s → M) : ∏ x, f x = ∏ x ∈ s, Subtype.val.extend f 1 x := by

Mathlib/Algebra/BigOperators/Group/Finset/Indicator.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ variable {ι κ α β : Type*} [CommMonoid β]
2121

2222
open Set
2323

24-
set_option backward.isDefEq.respectTransparency false in
2524
/-- Consider a product of `g i (f i)` over a finset. Suppose `g` is a function such as
2625
`n ↦ (· ^ n)`, which maps a second argument of `1` to `1`. Then if `f` is replaced by the
2726
corresponding multiplicative indicator function, the finset may be replaced by a possibly larger

Mathlib/Algebra/BigOperators/Group/Finset/Piecewise.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ theorem prod_ite {s : Finset ι} {p : ι → Prop} [DecidablePred p] (f g : ι
6464
∏ x ∈ s, (if p x then f x else g x) = (∏ x ∈ s with p x, f x) * ∏ x ∈ s with ¬p x, g x := by
6565
simp [prod_apply_ite _ _ fun x => x]
6666

67-
set_option backward.isDefEq.respectTransparency false in
6867
@[to_additive]
6968
lemma prod_dite_of_false {p : ι → Prop} [DecidablePred p] (h : ∀ i ∈ s, ¬ p i)
7069
(f : ∀ i, p i → M) (g : ∀ i, ¬ p i → M) :
@@ -104,7 +103,6 @@ theorem prod_ite_mem [DecidableEq ι] (s t : Finset ι) (f : ι → M) :
104103
∏ i ∈ s, (if i ∈ t then f i else 1) = ∏ i ∈ s ∩ t, f i := by
105104
rw [← Finset.prod_filter, Finset.filter_mem_eq_inter]
106105

107-
set_option backward.isDefEq.respectTransparency false in
108106
@[to_additive]
109107
lemma prod_attach_eq_prod_dite [Fintype ι] (s : Finset ι) (f : s → M) [DecidablePred (· ∈ s)] :
110108
∏ i ∈ s.attach, f i = ∏ i, if h : i ∈ s then f ⟨i, h⟩ else 1 := by

0 commit comments

Comments
 (0)