-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: npow
/ nsmul
/ Nat.cast
/ zpow
/ zsmul
implemented using Nat.binaryRec
#9154
base: master
Are you sure you want to change the base?
Conversation
This PR/issue depends on:
|
This overlaps with #8885 (cc @semorrison), right? I think we found that |
I'm not sure what Lean4 did, but the implementation in this PR passes the tests in #8885. |
Could you resolve the conflicts here? I couldn't find the test from #8885 here: could you include it? |
Any progress on this? It would be great to get repeated squaring in. |
Is the dependency on an Std bump necessary here? |
Sorry for delay. I've been very busy these past few months. I have used |
Nat.binaryRec
leanprover/lean4#3756