-
Notifications
You must be signed in to change notification settings - Fork 335
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
abel_nf: PANIC at Lean.isLevelMVarAssignable Lean.MetavarContext:412:14: unknown universe metavariable #15785
Comments
minimized import Mathlib.Tactic.Abel
axiom F (s : Nat) (f : Nat → Nat) : Nat
axiom G (a b : Nat) : Nat
@[congr] axiom F_congr {s₁ s₂ : Nat} {f : Nat → Nat} (h : s₁ = s₂) : F s₁ f = F s₂ f
-- invalid occurrence of universe level 'u_1' at '_example'
example (n : ℕ) : F (G 1 (n + 1)) (fun x => x) ≤ F (G 1 (n + 1)) id := by
abel_nf
sorry This is minimal under lots of surprising things, for example |
The bug seems to be somewhere in simp, it's rolling back the universe metavariable context after a custom |
Thanks for the minimization! If this is a |
Yes, I think that is the same bug. I've minimized it to something mathlib-free and will report it shortly. |
@digama0 Is there any tool available that can help reduce a small test case relying on mathlib to a minimal version that doesn't depend on mathlib, or is it typically done manually? |
gives
The text was updated successfully, but these errors were encountered: