Skip to content

Commit

Permalink
ring についてのコメントが間違っている
Browse files Browse the repository at this point in the history
自然数が環ではなくても、半環なので ring は使うことができる
  • Loading branch information
Seasawher committed Dec 29, 2024
1 parent 7299bae commit 8bb8c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LeanByExample/Tactic/RwSearch.lean
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variable (m n : ℕ)
set_option says.verify true

example : (m - n) - n = m - 2 * n := by
-- `ring` では示せない。自然数は環ではないので当然
-- `ring` では示せない。自然数の引き算は環の公理を満たさないから
fail_if_success solve
| ring

Expand Down

0 comments on commit 8bb8c20

Please sign in to comment.