Skip to content

Commit ff4cd73

Browse files
kim-emleanprover-community-mathlib4-botjcommelinmattrobballTwoFX
authored
chore: bump toolchain to v4.19.0-rc2 (#1188)
Co-authored-by: leanprover-community-mathlib4-bot <leanprover-community-mathlib4-bot@users.noreply.github.com> Co-authored-by: Johan Commelin <johan@commelin.net> Co-authored-by: Matthew Ballard <matt@mrb.email> Co-authored-by: Markus Himmel <markus@lean-fro.org> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: Mario Carneiro <di.gama@gmail.com> Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch> Co-authored-by: Joachim Breitner <mail@joachim-breitner.de> Co-authored-by: Mac Malone <mac@lean-fro.org>
1 parent 5a56dfa commit ff4cd73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Batteries/Data/Nat/Gcd.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ theorem Coprime.gcd_mul_left_cancel (m : Nat) (H : Coprime k n) : gcd (k * m) n
4242
rw [Coprime, Nat.gcd_assoc, H.symm.gcd_eq_one, gcd_one_right]
4343
Nat.dvd_antisymm
4444
(dvd_gcd (H1.dvd_of_dvd_mul_left (gcd_dvd_left _ _)) (gcd_dvd_right _ _))
45-
(gcd_dvd_gcd_mul_left _ _ _)
45+
(gcd_dvd_gcd_mul_left_left _ _ _)
4646

4747
theorem Coprime.gcd_mul_right_cancel (m : Nat) (H : Coprime k n) : gcd (m * k) n = gcd m n := by
4848
rw [Nat.mul_comm m k, H.gcd_mul_left_cancel m]

Batteries/Data/Nat/Lemmas.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ theorem ofBits_lt_two_pow (f : Fin n → Bool) : ofBits f < 2 ^ n := by
197197
apply testBit_lt_two_pow
198198
apply Nat.lt_of_lt_of_le
199199
· exact ofBits_lt_two_pow f
200-
· exact pow_le_pow_right Nat.zero_lt_two h
200+
· exact Nat.pow_le_pow_right Nat.zero_lt_two h
201201

202202
theorem testBit_ofBits (f : Fin n → Bool) :
203203
(ofBits f).testBit i = if h : i < n then f ⟨i, h⟩ else false := by

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.19.0-rc1
1+
leanprover/lean4:v4.19.0-rc2

0 commit comments

Comments
 (0)