Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Apr 17, 2025

This PR adds a verification of Array.qsort properties, trying to use grind and fun_induction where possible.
Currently this is in the tests/ folder, but once grind is ready for production use we will move it out into the library.

Note that the current qsort algorithm has quadratic behaviour on constant lists, and needs to be adjusted. We'll only move the verification out into the library once this has been fixed (and the proofs adapted). These verification theorems may be commented out in the meantime if it's urgent to fix qsort.

@kim-em kim-em enabled auto-merge May 15, 2025 12:36
@kim-em kim-em disabled auto-merge May 15, 2025 12:56
@kim-em kim-em added this pull request to the merge queue May 15, 2025
@kim-em kim-em removed this pull request from the merge queue due to a manual request May 15, 2025
@kim-em kim-em added this pull request to the merge queue May 24, 2025
Merged via the queue into master with commit acdef6e May 24, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-library Library 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.

6 participants