Skip to content

Commit 6e5f8fc

Browse files
committed
Fix
1 parent 111601f commit 6e5f8fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Init/Data/Nat/Lemmas.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,8 @@ protected theorem two_pow_pred_lt_two_pow {w : Nat} (h : 0 < w) :
725725
@[simp]
726726
protected theorem two_pow_pred_add_two_pow_pred (h : 0 < w) :
727727
2 ^ (w - 1) + 2 ^ (w - 1) = 2 ^ w := by
728-
rw [← Nat.pow_pred_mul h, Nat.mul_comm, Nat.two_mul]
728+
rw [← Nat.pow_pred_mul h]
729+
omega
729730

730731
@[simp]
731732
protected theorem two_pow_sub_two_pow_pred (h : 0 < w) :

0 commit comments

Comments
 (0)