[Merged by Bors] - feat(Order/Monotone/Basic): Add Monotone.dual_iff and Antitone.dual_iff#6157
[Merged by Bors] - feat(Order/Monotone/Basic): Add Monotone.dual_iff and Antitone.dual_iff#6157
Conversation
ADedecker
left a comment
There was a problem hiding this comment.
It would be nice to do the same for all the .dual lemma, and then remove them and use alias to get them from the iff versions. Could you please do that?
Co-authored-by: Anatole Dedecker <anatolededecker@gmail.com>
Co-authored-by: Anatole Dedecker <anatolededecker@gmail.com>
Co-authored-by: Anatole Dedecker <anatolededecker@gmail.com>
I think I've done this now. |
Mathlib/Order/Monotone/Basic.lean
Outdated
| alias monotone_dual_iff ↔ Monotone.dual _ | ||
| #align monotone.dual Monotone.dual |
There was a problem hiding this comment.
I think it would be cleaner to move that below (with the other aliases), could you do that. Also, I've just realized this makes the names not protected anymore, which is annoying, so I asked on Zulip how can we go around that.
There was a problem hiding this comment.
@ADedecker I've moved the aliases - haven't seen a reply on Zulip about the protected names yet.
There was a problem hiding this comment.
This feature indeed doesn't exist yet, but it will soon (leanprover-community/batteries#200). For now this doesn't cause any problems so I'll just merge it, we can add back protected later.
|
Thanks! bors merge |
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Add if and only if versions of
Monotone.dualandAntitone.dual.Needed for #5672