You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Triage team agreed on this not being a bug, the function is undocumented and as everything in Lean written for the purposes of Lean. You should create your own ordering function.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
The sorting of
Name
s (i.e. inName.cmp
) is unexpected.Context
From PR leanprover-community/import-graph#18
[Zulip]
Steps to Reproduce
Expected behavior: In the second example, I expect
M.A.B < M.B
I expected the following comparison:
M == M
)A < B
) ==> returnlt
Actual behavior:
3 > 2
) ==> returnsgt
Versions
4.11.0-rc1
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: