After some work on an exercise, I've reached the following proof state:
(tail1 is a nat list pattern generator, lng
is generalized)
1 subgoal
n' : nat
IH_n' : forall lng : nat, lng > n' -> nth n' (update (tail1 lng) 0 1) 9 = 1
lng : nat
H : S lng > S n'
______________________________________(1/1)
nth (S n') (update (tail1 (S lng)) 0 1) 9 = 1
Using apply IH_n'
fails with the following error:
Unable to unify "nth n' (update (tail1 ?M1305) 0 1) 9 = 1" with "nth (S n') (update (tail1 (S lng)) 0 1) 9 = 1".
- Is it the
?M1305 - (S lng)
pair that can't be unified? - What is
?M1305
exactly? - Is it possible to move forward from here?