Zulip Chat Archive

Stream: mathlib4

Topic: (d)simp at goal


Adam Topaz (May 18 2023 at 20:56):

Often in Lean3 it is convenient to use simp at ⊢ h. The seems to be unacceptable in lean4. Do we have some way to do this in lean4?

Heather Macbeth (May 18 2023 at 20:56):

I've missed this too.

Yakov Pechersky (May 18 2023 at 20:57):

Not a total solution, but how about simp_all?

Adam Topaz (May 18 2023 at 20:58):

Well, we can still do simp at *, which does less than simp_all, but I still want to have control over what I simplify.

Adam Topaz (May 18 2023 at 20:58):

We also don't have dsimp_all

Joël Riou (May 18 2023 at 21:18):

I had noticed that also, but if you change the order, it works: (d)simp at h ⊢.

Kyle Miller (May 18 2023 at 21:29):

The at location syntax requires that comes last

Adam Topaz (May 18 2023 at 21:33):

Aha! Okay thanks!


Last updated: Dec 20 2023 at 11:08 UTC