Zulip Chat Archive

Stream: mathlib4

Topic: aesop in Mathlib


Newell Jensen (Nov 08 2023 at 01:49):

For contributing code, are there any conventions to follow when using aesop in proofs? The reasonable thing to me would be to use just aesop in the event that aesop?'s output is unwieldy.

Scott Morrison (Nov 08 2023 at 02:12):

Yes, it is fine to use aesop dirrctly.

Scott Morrison (Nov 08 2023 at 02:13):

(as long as it is reasonably fast. dont't increase maxheartbeats or anything!)

Newell Jensen (Nov 08 2023 at 02:14):

Speaking of setting maxHeartbeats, obviously this is in Mathlib in certain areas so I take it that this is only in conjunction with aesop, correct?

Scott Morrison (Nov 08 2023 at 02:19):

I think all of our maxHeartbeats are leftovers from porting hacks.

Scott Morrison (Nov 08 2023 at 02:19):

Ideally there will never be genuinely new ones.

Scott Morrison (Nov 08 2023 at 02:19):

"Ideally" may be doing a lot of work there. :-)

Junyan Xu (Nov 08 2023 at 07:19):

Some are being added here (a category theory PR).

Joël Riou (Nov 08 2023 at 11:37):

Junyan Xu said:

Some are being added here (a category theory PR).

I have managed to remove these two set_option maxHeartbeats 400000.


Last updated: Dec 20 2023 at 11:08 UTC