Zulip Chat Archive

Stream: new members

Topic: How to lift inequality from about Nat to about Real?


Ching-Tsun Chou (Jan 23 2025 at 04:32):

If I have (0 : Nat) < n, how do I prove that (0 : Real) < ↑n?

Matt Diamond (Jan 23 2025 at 04:36):

docs#Nat.cast_pos should rewrite the Real inequality to the Nat one

Matt Diamond (Jan 23 2025 at 04:39):

the exact_mod_cast tactic also works

Vlad Tsyrklevich (Jan 23 2025 at 07:40):

Also the rify tactic will do that (there is also zify/qify)

Yaël Dillies (Jan 23 2025 at 09:21):

Or simply by positivity


Last updated: May 02 2025 at 03:31 UTC