-
Notifications
You must be signed in to change notification settings - Fork 382
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: Monotonicity of monadic operations on Part
#13337
Conversation
PR summary 4aafa50274Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
@adomani, the |
@YaelDillies, if what is below looks correct, then #14388 is a PR implementing this fix.
You can run this locally as follows## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit> |
No deprecated alias? |
Prove that `Part.bind`, `Part.map` and `seq` respect monotonicity of functions. Rename `OrderHom.bind` to `OrderHom.partBind`.
8d51910
to
4aafa50
Compare
This PR is a fix for the mislabeling reported in #13337. It "splits" ```lean [+-]alias ⟨d1, d2⟩ := d ``` into ```lean [+-]alias d1 := d [+-]alias d2 := d ``` before feeding it to the usual filter. Presumably, reproducing the `:= d` parts is irrelevant, but it looks nicer!
bors merge |
Pull request successfully merged into master. Build succeeded: |
Part
Part
Prove that
Part.bind
,Part.map
andseq
respect monotonicity of functions. RenameOrderHom.bind
toOrderHom.partBind
.