Zulip Chat Archive
Stream: mathlib4
Topic: positivity and ENNReal
Michael Stoll (Nov 22 2024 at 11:25):
import Mathlib
example {n : ℕ} (hn : 0 < n) : (0 : ENNReal) < 1 / n := by
positivity -- fails
Can positivity
be taught to deal with this kind of goal? (I assume it needs to know that n
is not infinity here.)
This came up when reviewing #16675.
Yaël Dillies (Nov 22 2024 at 11:38):
It can, especially now that we have the finiteness
tactic
Yury G. Kudryashov (Nov 22 2024 at 16:03):
I plan to teach it to do that this weekend.
Last updated: May 02 2025 at 03:31 UTC