Zulip Chat Archive
Stream: lean4
Topic: simproc priority
Alex Keizer (May 05 2025 at 14:24):
For a regular simp-lemma, we can give it a low priotity by writing @[simp(low)]. Is there an analogue of this for (d)simprocs?
I tried writing dsimproc [simp(low)] reduceIsRefinedBy (_ ⊑ _) := ..., but that doesn't seem to be valid syntax. I also tried putting (priority := low) at various spots, but none of those were valid either.
Eric Wieser (May 05 2025 at 14:30):
Isn't the normal syntax @[simp low]?
Alex Keizer (May 05 2025 at 14:32):
Both @[simp(low)] and @[simp low] seem to be legal. Sadly, dsimproc [simp low] is also not valid
Jovan Gerbscheid (May 05 2025 at 22:17):
Looking at docs#Lean.Meta.Simp.SimprocEntry, there doesn't seem to be a way to set the priority.
Last updated: Dec 20 2025 at 21:32 UTC