Closed jaewooklee93 closed 9 years ago
Um.. I just accidently found that the above 4 lines can be replaced by apply le_trans with (S m)
. Coq did it quite smart, but I can't understand its mechanism..
Ah, I understand, Coq just backtracked the definition of transitivity
and inferred that it needs only one more missing argument of transitivity
, which is (b:=(S m))
in the middle of a<=b<=c
.
:-) @jaewooklee93 your understanding is quite right.
Jeehoon
I'm currently studying
Rel.v
, and meet the case like below.Fortunately, I already prove the following theorem.
However, I cannot directly apply this theorem to my goal with
apply le_trans
, becausetransitive
is not unfolded yet. If I can bring that theorem in my frame, I can unfold it, but I don't know how to do it elegantly. Of course, I can do it as follows, but I have to re-type the statement of the theorem. I guess that there is an easier keyword for doing this.