Zulip Chat Archive
Stream: mathlib4
Topic: abs zpow
Markus Schmaus (May 19 2024 at 16:18):
What's the best way to prove this?
import Mathlib
example (x : Int) : |(2 : Rat) ^ x| = 2 ^ x := by
sorry
I found docs#abs_pow, but no corresponding abs_zpow
Damiano Testa (May 19 2024 at 16:20):
Not sure if it is "best", but norm_num [zpow_nonneg]
works.
Vincent Beffara (May 19 2024 at 16:23):
And so does simpa using zpow_nonneg zero_le_two _
which I guess is pretty much the same thing
Last updated: May 02 2025 at 03:31 UTC