Goal:
  
  A : Type
  P : list A → A → Type
  d : A
  Γ : list A
  a : All_fold P Γ
  p : P Γ d
  b : All_fold P (d :: Γ)
  b0 := {| pr1 := d :: Γ; pr2 := b |}
     : sigma (λ index : list A, All_fold P index)
  ============================
   ({| pr1 := d :: Γ; pr2 := b |} = b0
    → let H := CoreTactics.block in
      NoConfusionHom_All_fold A P (d :: Γ) (All_fold_cons P a p) b
      → let H0 := CoreTactics.block in All_fold_cons P a p = b)


DEBUG:Going to execute:
clearbody id'
DEBUG LTAC Evaluated term: (eq_refl : {| pr1 := d :: Γ; pr2 := b |} = b0)