You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure this is actually about unnamed assumptions per se. I think it's because let _ ← ... elaborates differently from let _i ← ..., and the former instead effectively becomes let <newname> := .... Note that writing let _i := ← synthInstanceQ ... causes the same maximum recursion depth issue in the linked PR; also note that the local context contains let decls (displaying :=) in both problematic cases.
MWE:
import Lean
import Qq
open Qq Lean.Meta
example : MetaM Unit := dohave P : Q(Prop) := sorrylet x := ← synthInstanceQ q(Decidable $P) -- or `let _ ← synthInstanceQ ...`
assertInstancesCommute -- maximum recursion depth reached
Reported by @YaelDillies:
Finset.prod
mathlib4#9365 (comment)Finset.prod
mathlib4#9365 (comment)The text was updated successfully, but these errors were encountered: