Zulip Chat Archive
Stream: lean4
Topic: failed to compile definition
gengenshin (Dec 23 2024 at 04:09):
I use Complex.cpow to defined an function
Complex.cpow (P1.x^2-P1.y^2 : ℂ ) ( half_one : ℂ )
but lean return me an error
failed to compile definition, consider marking it as 'noncomputable' because it depends on 'Complex.instRatCastComplex', and it does not have executable code
How should I do?
Jireh Loreaux (Dec 23 2024 at 04:40):
noncomputable def ....
gengenshin (Dec 23 2024 at 05:11):
Jireh Loreaux said:
noncomputable def ....
thanks so much!
Last updated: May 02 2025 at 03:31 UTC