Zulip Chat Archive
Stream: mathlib4
Topic: Mathlib.Analysis.PSeries and HPow
Michael Stoll (Nov 13 2023 at 12:29):
Consider the following.
import Mathlib.Tactic
-- import Mathlib.Analysis.PSeries
variable (x : ℝ)
#check x ^ 2 -- hover over the `2` in the infoview
-- with `import Mathlib.Analysis.PSeries`, it is `2 : ℝ`, else `2 : ℕ`.
It seems that importing Mathlib.Analysis.Pseries undoes the HPow
fix.
Eric Wieser (Nov 13 2023 at 12:34):
The HPow fix isn't live yet
Eric Wieser (Nov 13 2023 at 12:34):
We currently have to fix it in every file that uses ^
, and it's only fixed for that file
Michael Stoll (Nov 13 2023 at 12:35):
But how can it then be fixed without the import?
Mauricio Collares (Nov 13 2023 at 12:37):
I suspect exponentiation by a real number is not even defined without the import, so there is no confusion.
Last updated: Dec 20 2023 at 11:08 UTC