Conversation
Co-authored-by: Scott Morrison <scott@tqft.net>
Co-authored-by: Scott Morrison <scott@tqft.net>
Co-authored-by: Scott Morrison <scott@tqft.net>
Co-authored-by: Scott Morrison <scott@tqft.net>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
eric-wieser
reviewed
Nov 25, 2023
eric-wieser
reviewed
Nov 26, 2023
eric-wieser
reviewed
Nov 26, 2023
eric-wieser
reviewed
Nov 26, 2023
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Member
|
bors merge This looks good to go now; thanks for splitting out all the other smaller PRs to make this a manageable size! |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Nov 29, 2023
re-adding definitions and theorems about bitvectors that mathlib has for `Bitvec` to the new `Std.BitVec` type, and getting rid of the former. In std, the choice was made to define ult (unsigned less than) and related comparisons as `Bool`-valued, where the corresponding defs for `Bitvec` in mathlib are `Prop`-valued. Std does not have definitions for the respective greater-equal or greater-than comparisons, so we add those here, but we choose to be consistent with std and make them `Bool`-valued as well, breaking with the old API. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Alex Keizer <alex@keizer.dev> Co-authored-by: Harun Khan <harun19@stanford.edu>
Contributor
|
Pull request successfully merged into master. Build succeeded: |
Collaborator
|
Yay, we finally made it! Thanks everyone for helping out along the way! |
Contributor
|
Thank you all, indeed! |
Contributor
Author
|
Thanks everyone for your hard work! This is amazing. |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Nov 30, 2023
This matches the name of `Std.BitVec`. Performing the rename was deliberately left out of #5920, to avoid creating a break in the git history.
Collaborator
|
Congratulations! |
grunweg
pushed a commit
that referenced
this pull request
Dec 15, 2023
These were factored out of #5920 as they seem generally useful.
awueth
pushed a commit
that referenced
this pull request
Dec 19, 2023
These were factored out of #5920 as they seem generally useful.
awueth
pushed a commit
that referenced
this pull request
Dec 19, 2023
These are generally useful and split out of #5920. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
awueth
pushed a commit
that referenced
this pull request
Dec 19, 2023
re-adding definitions and theorems about bitvectors that mathlib has for `Bitvec` to the new `Std.BitVec` type, and getting rid of the former. In std, the choice was made to define ult (unsigned less than) and related comparisons as `Bool`-valued, where the corresponding defs for `Bitvec` in mathlib are `Prop`-valued. Std does not have definitions for the respective greater-equal or greater-than comparisons, so we add those here, but we choose to be consistent with std and make them `Bool`-valued as well, breaking with the old API. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Alex Keizer <alex@keizer.dev> Co-authored-by: Harun Khan <harun19@stanford.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
re-adding definitions and theorems about bitvectors that mathlib has for
Bitvecto the newStd.BitVectype, and getting rid of the former.In std, the choice was made to define ult (unsigned less than) and related comparisons as
Bool-valued, where the corresponding defs forBitvecin mathlib areProp-valued. Std does not have definitions for the respective greater-equal or greater-than comparisons, so we add those here, but we choose to be consistent with std and make themBool-valued as well, breaking with the old API.EDIT (alexkeizer):
Since opening this PR, substantial parts of the proposed refactor have been upstreamed to std.
This PR has thus changed its goal from: