Suppose in Coq we have the following hypotheses:
x, y, z: Z
H : x < y
H0 : y < z
and I would like to introduce also the hypothesis
H1 : x < z
which follows from H
and H0
using Z.lt_trans
.
Is there a better way to do this than the following?
assert (H1 : x < z).
{ apply Z.lt_trans with y.
exact H. exact H0. }