Goal:
  
  A : Type
  f : nat → A
  n : nat
  i : nat
  hf : ∀ i j : nat, f i = f j → i = j
  IHn : In (f i) (unfold n f) → i < n
  H : In (f i) (unfold n f ++ [f n])
  ============================
   (i < S n)


DEBUG:Going to execute:
do
![ solve
 [ trivial | apply : eq_sym ; trivial ]
 | discriminate
 | contradiction
 | Ltac.split ]