Goal:
  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  n : nat
  Hfold : is_true
            (forallb (fun '(n, t) => n == find_index t)
               (combine (seq offset (length [])) []))
  Hnth : nth_error [] n = Some v
  ============================
   (find_index v = offset + n)


DEBUG:Going to execute:
destruct n

Goals:
  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  Hfold : is_true
            (forallb (fun '(n, t) => n == find_index t)
               (combine (seq offset (length [])) []))
  Hnth : nth_error [] 0 = Some v
  ============================
   (find_index v = offset + 0)

  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  n : nat
  Hfold : is_true
            (forallb (fun '(n, t) => n == find_index t)
               (combine (seq offset (length [])) []))
  Hnth : nth_error [] (S n) = Some v
  ============================
   (find_index v = offset + S n)


DEBUG:Going to execute:
cbn in *
DEBUG LTAC Evaluated term: n

Goals:
  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  Hfold : is_true true
  Hnth : None = Some v
  ============================
   (find_index v = offset + 0)

  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  n : nat
  Hfold : is_true true
  Hnth : None = Some v
  ============================
   (find_index v = offset + S n)


DEBUG:Going to execute:
congruence

Goals:
  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  Hfold : is_true true
  Hnth : None = Some v
  ============================
   (find_index v = offset + 0)

  
  T : Type
  Listable_T : Listable T
  FinitelyListable_T : FinitelyListable T
  v : T
  offset : nat
  n : nat
  Hfold : is_true true
  Hnth : None = Some v
  ============================
   (find_index v = offset + S n)


DEBUG:Going to execute:
<coq-core.plugins.cc::cc@0> $1