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

Zero ℕ instance breaks acyclic tactic #7631

Open
fpfu opened this issue Oct 11, 2023 · 1 comment
Open

Zero ℕ instance breaks acyclic tactic #7631

fpfu opened this issue Oct 11, 2023 · 1 comment

Comments

@fpfu
Copy link

fpfu commented Oct 11, 2023

import Mathlib

inductive Foo
| mk (t s : Foo)

-- `Lean.MVarId.acyclic` failed:
example (h: Foo.mk s s = s): False := nomatch h  -- missing cases

-- because of `simp_arith` can't solve this goal:
example: sizeOf s < sizeOf (Foo.mk s s) := by simp_arith  -- unsolved goals

-- problem arises there:
example {n: Nat}: Zero.zero ≤ n := by simp  -- simp made no progress
@alexjbest
Copy link
Member

I think this is the same as https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/.E2.9C.94.20Function.20on.20Tree.20type btw

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

No branches or pull requests

2 participants