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

Use sortedP for sorting/selection? #2

Open
clayrat opened this issue Jan 21, 2022 · 0 comments
Open

Use sortedP for sorting/selection? #2

clayrat opened this issue Jan 21, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@clayrat
Copy link
Member

clayrat commented Jan 21, 2022

math-comp/math-comp#839 adds the following lemma:

Lemma sortedP s x :
  reflect (forall i, i.+1 < size s -> e (nth x s i) (nth x s i.+1)) (sorted s).

which might simplify some of the proofs for sorting or selection.

@clayrat clayrat added enhancement New feature or request good first issue Good for newcomers labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant