Skip to content

Commit 90ee43e

Browse files
author
mathlib4-bot
committed
chore: adaptations for nightly-2025-11-23
2 parents 65be90a + 9de1959 commit 90ee43e

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

Mathlib/Algebra/Homology/HomotopyCategory/MappingCone.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ lemma liftCochain_descCochain :
540540
lemma liftCochain_v_descCochain_v (p₁ p₂ p₃ : ℤ) (h₁₂ : p₁ + n = p₂) (h₂₃ : p₂ + n' = p₃)
541541
(q : ℤ) (hq : p₁ + m = q) :
542542
(liftCochain φ α β h).v p₁ p₂ h₁₂ ≫ (descCochain φ α' β' h').v p₂ p₃ h₂₃ =
543-
α.v p₁ q hq ≫ α'.v q p₃ (by grind +revert) + β.v p₁ p₂ h₁₂ ≫ β'.v p₂ p₃ h₂₃ := by
543+
α.v p₁ q hq ≫ α'.v q p₃ (by grind) + β.v p₁ p₂ h₁₂ ≫ β'.v p₂ p₃ h₂₃ := by
544544
have eq := Cochain.congr_v (liftCochain_descCochain φ α β α' β' h h' p hp) p₁ p₃ (by cutsat)
545545
simpa only [Cochain.comp_v _ _ hp p₁ p₂ p₃ h₁₂ h₂₃, Cochain.add_v,
546546
Cochain.comp_v _ _ _ _ _ _ hq (show q + m' = p₃ by cutsat)] using eq

Mathlib/Algebra/Ring/GeomSum.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ lemma op_geom_sum₂ (x y : R) (n : ℕ) : ∑ i ∈ range n, op y ^ (n - 1 - i)
6565
∑ i ∈ range n, op y ^ i * op x ^ (n - 1 - i) := by
6666
rw [← sum_range_reflect]
6767
refine sum_congr rfl fun j j_in => ?_
68-
grind +revert
68+
grind
6969

7070
lemma geom_sum₂_with_one (x : R) (n : ℕ) :
7171
∑ i ∈ range n, x ^ i * 1 ^ (n - 1 - i) = ∑ i ∈ range n, x ^ i :=

Mathlib/Data/List/Sigma.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ theorem dlookup_cons_ne (l) {a} : ∀ s : Sigma β, a ≠ s.1 → dlookup a (s :
180180
theorem dlookup_isSome {a : α} {l : List (Sigma β)} : (dlookup a l).isSome ↔ a ∈ l.keys := by
181181
induction l with
182182
| nil => simp
183-
| cons s _ _ => by_cases a = s.fst <;> grind +revert
183+
| cons s _ _ => by_cases a = s.fst <;> grind
184184

185185
theorem dlookup_eq_none {a : α} {l : List (Sigma β)} : dlookup a l = none ↔ a ∉ l.keys := by
186186
simp [← dlookup_isSome, Option.isNone_iff_eq_none]
@@ -189,7 +189,7 @@ theorem of_mem_dlookup {a : α} {b : β a} {l : List (Sigma β)} :
189189
b ∈ dlookup a l → Sigma.mk a b ∈ l := by
190190
induction l with
191191
| nil => grind
192-
| cons s _ _ => by_cases a = s.fst <;> grind +revert
192+
| cons s _ _ => by_cases a = s.fst <;> grind
193193

194194
theorem mem_dlookup {a} {b : β a} {l : List (Sigma β)} (nd : l.NodupKeys) (h : Sigma.mk a b ∈ l) :
195195
b ∈ dlookup a l := by
@@ -201,7 +201,7 @@ theorem map_dlookup_eq_find (a : α) (l : List (Sigma β)) :
201201
(dlookup a l).map (Sigma.mk a) = find? (fun s => a = s.1) l := by
202202
induction l with
203203
| nil => grind
204-
| cons s _ _ => by_cases s.fst = a <;> grind +revert
204+
| cons s _ _ => by_cases s.fst = a <;> grind
205205

206206
theorem mem_dlookup_iff {a : α} {b : β a} {l : List (Sigma β)} (nd : l.NodupKeys) :
207207
b ∈ dlookup a l ↔ Sigma.mk a b ∈ l :=
@@ -223,7 +223,7 @@ theorem dlookup_map (l : List (Sigma β))
223223
| nil => grind
224224
| cons s _ _ =>
225225
have (h : a ≠ s.fst) : ¬ f a = (⟨f s.fst, g s.fst s.snd⟩ : Sigma β').fst := fun he => h <| hf he
226-
by_cases a = s.fst <;> grind +revert [Sigma.map]
226+
by_cases a = s.fst <;> grind [Sigma.map]
227227

228228
theorem dlookup_map₁ {β : Type v} (l : List (Σ _ : α, β))
229229
{f : α → α'} (hf : Function.Injective f) (a : α) :
@@ -261,7 +261,7 @@ theorem dlookup_append (l₁ l₂ : List (Sigma β)) (a : α) :
261261
(l₁ ++ l₂).dlookup a = (l₁.dlookup a).or (l₂.dlookup a) := by
262262
induction l₁ with
263263
| nil => rfl
264-
| cons s _ _ => by_cases a = s.fst <;> grind +revert
264+
| cons s _ _ => by_cases a = s.fst <;> grind
265265

266266
theorem sublist_dlookup {l₁ l₂ : List (Sigma β)} {a : α} {b : β a}
267267
(nd₂ : l₂.NodupKeys) (s : l₁ <+ l₂) (mem : b ∈ l₁.dlookup a) : b ∈ l₂.dlookup a := by

Mathlib/Data/Nat/Factorial/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ theorem descFactorial_eq_descFactorialBinary : descFactorial = descFactorialBina
545545
split_ifs with h
546546
· rw [descFactorial_of_lt h]
547547
· rw [← ascFactorial_eq_ascFactorialBinary, ← add_descFactorial_eq_ascFactorial']
548-
grind +revert
548+
grind
549549

550550
/-!
551551
We are now limited by time, not stack space,

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:nightly-2025-11-22
1+
leanprover/lean4:nightly-2025-11-23

0 commit comments

Comments
 (0)