1 goal
  
  m : nat
  weights : list Z
  H : Z
  tap : nat -> R
  theta : R
  Hlen : length weights = S m
  Hw :
    forall k : nat,
    (k < S m)%nat ->
    IZR (nth k weights 0%Z) / IZR H =
    (if k =? 0 then tap m else 2 * tap (m + k)%nat)
  k : nat
  Hk : (k < m)%nat
  ============================
  2 * tap (m + S k)%nat *
  cos (match k with
       | 0%nat => 1
       | S _ => INR k + 1
       end * theta) =
  2 * (tap (m + S k)%nat * cos (INR (S k) * theta))
File "./response/Response.v", line 139, characters 68-72:
Error: Tactic failure: not a valid ring equation.

