Skip to content

Conversation

@Hihi142
Copy link

@Hihi142 Hihi142 commented Jan 28, 2026

This PR adds the proof for the generic SortFunc in the slices package of the Go standard library. The implementation is based on the pattern-defeating quicksort algorithm.

The function breakPatternsCmpFunc, which just randomly swaps and shuffles elements within a slice interval, is axiomatized; the function Len from the math/bits package is also left unproved and is axiomatized to return an arbitrary w64 value. All other components are fully verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant