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] - perf(tactic/ring): use new norm_num, avoid mk_app #2685
Conversation
This halves the compile time of |
src/tactic/ring.lean
Outdated
meta inductive horner_expr : Type | ||
| const (e : expr) : horner_expr | ||
| const (e : expr × ℚ) : horner_expr |
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.
| const (e : expr × ℚ) : horner_expr | |
| const (e : expr) (coeff : ℚ) : horner_expr |
Having a product as argument to a constructor feels really odd.
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.
bors merge |
Remove `tactic.norm_num` from `ring`, and do some performance upgrades borrowed from the `norm_num` overhaul while I'm at it. Co-authored-by: Johan Commelin <johan@commelin.net>
Pull request successfully merged into master. Build succeeded: |
…ty#2685) Remove `tactic.norm_num` from `ring`, and do some performance upgrades borrowed from the `norm_num` overhaul while I'm at it. Co-authored-by: Johan Commelin <johan@commelin.net>
…ty#2685) Remove `tactic.norm_num` from `ring`, and do some performance upgrades borrowed from the `norm_num` overhaul while I'm at it. Co-authored-by: Johan Commelin <johan@commelin.net>
…ty#2685) Remove `tactic.norm_num` from `ring`, and do some performance upgrades borrowed from the `norm_num` overhaul while I'm at it. Co-authored-by: Johan Commelin <johan@commelin.net>
Remove
tactic.norm_num
fromring
, and do some performance upgrades borrowed from thenorm_num
overhaul while I'm at it.