Merge pull request #33 from jonasspinner/patch-1

Small fix for L03add_left_cancel
This commit is contained in:
Jon Eugster
2023-10-24 21:38:09 +02:00
committed by GitHub

View File

@@ -18,7 +18,7 @@ Introduction
You can prove it by induction on `n` or you can deduce it from `add_right_cancel`.
"
/-- $a+n=b+n\implies a=b$. -/
/-- $n+a=n+b\implies a=b$. -/
Statement add_left_cancel (a b n : ) : n + a = n + b a = b := by
repeat rw [add_comm n]
intro h