Zulip Chat Archive
Stream: new members
Topic: cast nat in hypothesis to reals
Hank (Dec 18 2022 at 03:23):
given (a : nat) (b : nat)
and the hypothesis (h : a < b)
, how do I prove (a:R) < (b:R)
, which is h casted in the reals? I tried norm_cast
but it didn't work.
Junyan Xu (Dec 18 2022 at 03:34):
Weird, norm_cast should be able to use docs#nat.cast_lt. Can you post a #mwe?
Last updated: Dec 20 2023 at 11:08 UTC