-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Merged by Bors] - feat: port Data.Fin.VecNotation #1741
Conversation
jcommelin
commented
Jan 21, 2023
•
edited by Ruben-VandeVelde
edited by Ruben-VandeVelde
- feat: port Data.Fin.VecNotation
- Initial file copy from mathport
- automated fixes
Mathbin -> Mathlib fix certain import statements move "by" to end of line add import to Mathlib.lean
I'm going to fix lint errors. UPD: done. Should we backport the only API change? Do we need the whole section about |
- Add a docstring. - Drop some `@[simp]` attributes. - Reformulate `vecAppend_apply_zero` using `[NeZero]`
bors d=Ruben-VandeVelde |
Done in leanprover-community/mathlib#18259
Keep them for now |
Why was an API change made in the port? The change itself looks fine, but I don't think we should do this type of thing without at least explaining why in the PR description. |
rfl | ||
#align matrix.vec_append_eq_ite Matrix.vecAppend_eq_ite | ||
|
||
-- Porting note: proof was `rfl`, so this is no longer a `dsimp`-lemma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that it would be a dsimp lemma if we had
def Nat.ble : @& Nat → @& Nat → Bool
| zero, _ => true
| succ _, zero => false
| succ n, succ m => ble n m
instead of
def Nat.ble : @& Nat → @& Nat → Bool
| zero, zero => true
| zero, succ _ => true
| succ _, zero => false
| succ n, succ m => ble n m
There was a linter error about an unused |
This file is currently blocking progress. |
@urkud are you ok with reverting the API change and leaving a TODO? |
bors r+ |
🔒 Permission denied Existing reviewers: click here to make Ruben-VandeVelde a reviewer |
bors merge |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com> Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Pull request successfully merged into master. Build succeeded: |