Zulip Chat Archive

Stream: mathlib4

Topic: norm_num can't prove 1 / 2 < 1


Violeta Hernández (Nov 22 2024 at 07:38):

...in NNReal:

import Mathlib

example : (2 : NNReal)⁻¹ < 1 := by
  norm_num -- fails

Violeta Hernández (Nov 22 2024 at 07:38):

Is this expected behavior, or is it a bug?

Ruben Van de Velde (Nov 22 2024 at 08:17):

The "in NNReal" is probably the issue, yeah. Looks like there's a WIP from @Eric Wieser at https://github.com/leanprover-community/mathlib4/pull/9915


Last updated: May 02 2025 at 03:31 UTC