Zulip Chat Archive
Stream: mathlib4
Topic: Positive Real Type
Casavaca (Apr 03 2024 at 04:47):
Should we have Positive Real Type {r : ℝ // r > 0}
in Lean, it has some nice properties and some theorems could use it (for example, https://en.wikipedia.org/wiki/Titu's_lemma)
Damiano Testa (Apr 03 2024 at 04:56):
Currently, you can access is as
import Mathlib
open NNReal
#check ℝ≥0ˣ
Casavaca (Apr 03 2024 at 05:08):
ℝ≥0ˣ
is Unit NNReal
, but what is Unit NNReal
?
Damiano Testa (Apr 03 2024 at 05:51):
It should be the invertible elements of the non-negative reals. Effectively, the strictly positive reals, since 0
is the only non-invertible non-negative real.
Last updated: May 02 2025 at 03:31 UTC