Zulip Chat Archive

Stream: Is there code for X?

Topic: lt add


Marcus Rossel (Nov 29 2021 at 12:34):

Does anything exist for this?:

example (i n m : nat) (h : i < n + m) : i < n := sorry

Yaël Dillies (Nov 29 2021 at 12:34):

Why would this be true? 1 < 1 + 1 but we don't have 1 < 1.

Marcus Rossel (Nov 29 2021 at 12:35):

Oh right :big_smile::face_palm:

Anne Baanen (Nov 29 2021 at 12:36):

I was thinking about the converse. Which I think is neatest as assume h : i < n, show i < n + m, from h.trans_le (nat.le_add_right n m) for what it's worth.

Yaël Dillies (Nov 29 2021 at 12:44):

docs#le_add_left


Last updated: Dec 20 2023 at 11:08 UTC