Goal:
  
  A : Type
  B : Type
  t : A
  P : B → A → A → Type
  b : B
  bs : list B
  hd' : A
  tl : list A
  p : P b t hd'
  e : #|bs| = #|tl|
  ============================
   (Some b = Some b × P b t hd')


DEBUG:Going to execute:
fun => <coq-core.plugins.cc::f_equal@0>