Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aesop で bad simp lemma が導入されて証明ができなくなる例 #1386

Open
Seasawher opened this issue Jan 26, 2025 · 1 comment
Open

Comments

@Seasawher
Copy link
Member

aesop はデフォルトでローカルコンテキストにある補題を使って simp をするので、期せずしてよくない simp 補題を導入してしまって証明ができなくなることがある。(これは仕様)

Zulip: aesop with a "bad simp hypothesis" in the context

import Aesop

example (h : 1 + 1 = 2) : True := by
  have : 1 = 1 + 1 - 1 := by simp

  -- aesopで証明できない
  fail_if_success aesop

  trivial
@Seasawher Seasawher changed the title aesop で証明ができなくなる例 aesop で bad simp lemma が導入されて証明ができなくなる例 Jan 26, 2025
@Seasawher
Copy link
Member Author

simp_all と simp at * の違いに関連している

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant