Zulip Chat Archive

Stream: metaprogramming / tactics

Topic: Variants on `mono`


Heather Macbeth (Sep 25 2022 at 02:56):

I see. I would imagine this to be a non-"fancy" tactic, safe to use at any stage of a proof. (As congr is.). But this question seems implementation-dependent to me so I think it's too early to say for sure. This is just a few lines of prototype code, the point is just to confirm or refute the idea that it's a tactic we'd use -- it would get completely rewritten before joining mathlib.

Yaël Dillies (Sep 25 2022 at 11:33):

I just encountered a really weird apply/positivity bug: In a very specific case, if the goal I call it on was generated by apply, positivity fails; but if it was generated by refine, positivity succeeds.

Yaël Dillies (Sep 25 2022 at 11:43):

Here it is.

Damiano Testa (Sep 25 2022 at 13:42):

I encountered something similar: does instantiating some mvars help?

Damiano Testa (Sep 25 2022 at 13:48):

I'm on mobile, but there is more context in a PR of mine that was merged earlier today, fixing what I think is a similar big for compute_degree_le


Last updated: Dec 20 2023 at 11:08 UTC