Zulip Chat Archive

Stream: general

Topic: How to create code action?


Asei Inoue (Oct 13 2025 at 23:51):

I want to understand how to create code action.

For example, is it possible to write a code action that convert #eval A = B to #guard A = B when A = B is true?

Aaron Liu (Oct 13 2025 at 23:57):

that should be possible

Asei Inoue (Oct 13 2025 at 23:57):

How to achieve this?

Aaron Liu (Oct 13 2025 at 23:58):

I know of docs#Lean.Elab.Tactic.GuardMsgs.guardMsgsCodeAction you can use that as an example


Last updated: Dec 20 2025 at 21:32 UTC