Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use compareLex in lexOrd #3882

Merged
merged 1 commit into from
Apr 22, 2024
Merged

chore: use compareLex in lexOrd #3882

merged 1 commit into from
Apr 22, 2024

Conversation

digama0
Copy link
Collaborator

@digama0 digama0 commented Apr 11, 2024

This reduces the number of reimplemented functions which complicate proofs. After inlining it ends up the same as before.

ltOfOrd is also changed to use compare a b = .lt instead of (compare a b == .lt) = true, for consistency with the normal form in std.

@digama0 digama0 requested a review from joehendrix April 11, 2024 16:06
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Apr 11, 2024
@kim-em kim-em added this pull request to the merge queue Apr 22, 2024
Merged via the queue into leanprover:master with commit e437bfe Apr 22, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants