Skip to content

Commit 68f709d

Browse files
committed
fixes from Kevin's review
1 parent 0186149 commit 68f709d

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/nightly_bump_toolchain.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: Bump lean-toolchain on nightly-testing
22

33
on:
44
schedule:
5-
- cron: '0 10/3 * * *' # Run every three hours, starting at 11AM CET/2AM PT.
5+
- cron: '0 10/3 * * *'
6+
# Run every three hours, starting at 11AM CET/2AM PT.
7+
# This should be 3 hours after lean4 starts building its nightly,
8+
# and 15 minutes after batteries `nightly-testing` branch bumps its toolchain.
69
workflow_dispatch:
710

811
jobs:

Mathlib/Data/List/Basic.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,8 +1199,7 @@ theorem erase_diff_erase_sublist_of_sublist {a : α} :
11991199
else by
12001200
simp only [erase_cons_head, erase_cons_tail (not_beq_of_ne heq),
12011201
diff_cons ((List.erase l₂ a)) (List.erase l₁ a) b, diff_cons l₂ l₁ b,
1202-
-- FIXME remove use of named argument before merging
1203-
erase_comm (a := a)]
1202+
erase_comm a]
12041203
have h' := h.erase b
12051204
rw [erase_cons_head] at h'
12061205
exact @erase_diff_erase_sublist_of_sublist _ l₁ (l₂.erase b) h'

Mathlib/Data/Multiset/AddSub.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected lemma add_right_inj : s + t = s + u ↔ t = u := by classical simp [Mu
126126

127127
@[simp]
128128
theorem card_add (s t : Multiset α) : card (s + t) = card s + card t :=
129-
Quotient.inductionOn₂ s t fun _ _ =>length_append
129+
Quotient.inductionOn₂ s t fun _ _ => length_append
130130

131131
end add
132132

0 commit comments

Comments
 (0)