Zulip Chat Archive

Stream: new members

Topic: an error maybe comes from local notation


Z. X. Wang (Aug 08 2025 at 07:58):

Have you ever met such error when use apply?:
found a proof, but the corresponding tactic failed: (expose_names; exact abs_sum_le_sum_abs (fun i_1 ↦ algJ.M i i_1 * y i_1) {t | t ≥ i})

The above message is not colored and cannot be clicked to apply directly.
but i can copy this message, then replacing the algJ.M with (Jacobi A hA b x0).M, to finish my proof. The algJ.M is a local notation of (Jacobi A hA b x0).M, that is:

local notation "algJ.M" => (Jacobi A hA b x0).M

Ruben Van de Velde (Aug 08 2025 at 08:40):

I've seen that, yeah, and usually the proof does still work with some adjustment

Z. X. Wang (Aug 08 2025 at 09:14):

i want to know the reason. And can we improve the tactic apply? to solve this problem?

Kyle Miller (Aug 08 2025 at 14:04):

It looks like it could be the fact that binding domains aren't being pretty printed. Maybe try set_option pp.funBinderTypes true and see if that improves things?


Last updated: Dec 20 2025 at 21:32 UTC