Skip to content
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

norm_num for Nat.factors #15410

Open
eric-wieser opened this issue Aug 1, 2024 · 0 comments
Open

norm_num for Nat.factors #15410

eric-wieser opened this issue Aug 1, 2024 · 0 comments
Labels
t-meta Tactics, attributes or user commands

Comments

@eric-wieser
Copy link
Member

In lean 3 we had

https://github.com/leanprover-community/mathlib3/blob/65a1391a0106c9204fe45bc73a039f056558cb83/src/data/nat/prime_norm_num.lean#L158-L251

Probably this is no longer elegible for norm_num, but it would be eligible for a simproc.

Either we should revive the old code, or use a simpler strategy of computing the factors and showing that [2, 3, 3].prod = 12 by rfl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-meta Tactics, attributes or user commands
Projects
None yet
Development

No branches or pull requests

1 participant