Goal:
  
  A : Type
  B : Type
  x : A
  xs : list A
  f0 : A → B
  H : (λ (A B : Type) (l : list A) (f : ∀ x : A, In x l → B) (x : list B),
         ∀ (H := CoreTactics.block) (A0 B0 : Type) 
           (f0 : A0 → B0) (l0 : list A0) (g : ∀ x0 : A0, In x0 l0 → B0),
           g = (λ (x0 : A0) (_ : In x0 l0), f0 x0)
           → ∀ eqargs : {|
                          pr1 := A;
                          pr2 :=
                            {| pr1 := B; pr2 := {| pr1 := l; pr2 := f |} |}
                        |} =
                        {|
                          pr1 := A0;
                          pr2 :=
                            {| pr1 := B0; pr2 := {| pr1 := l0; pr2 := g |} |}
                        |},
               eq_rect
                 {|
                   pr1 := A;
                   pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := f |} |}
                 |}
                 (λ projs : sigma
                              (λ A1 : Type,
                                 sigma
                                   (λ B1 : Type,
                                      sigma
                                        (λ l1 : list A1,
                                           ∀ x0 : A1, In x0 l1 → B1))),
                    list (pr1 (pr2 projs))) x
                 {|
                   pr1 := A0;
                   pr2 := {| pr1 := B0; pr2 := {| pr1 := l0; pr2 := g |} |}
                 |} eqargs = map_In l0 g
               → let H0 := CoreTactics.block in map_In l0 g = map f0 l0) A B
        xs
        (λ (x0 : A) (H : In x0 xs),
           (λ (x1 : A) (_ : In x1 (x :: xs)), f0 x1) x0
             (map_In_obligations_obligation_2 A x xs x0 H))
        (map_In xs
           (λ (x0 : A) (H : In x0 xs),
              (λ (x1 : A) (_ : In x1 (x :: xs)), f0 x1) x0
                (map_In_obligations_obligation_2 A x xs x0 H)))
  ============================
   (let H := CoreTactics.block in
    map_In (x :: xs) (λ (x0 : A) (_ : In x0 (x :: xs)), f0 x0) =
    map f0 (x :: xs))


DEBUG:Going to execute:
fail 1

Goals:
    A : Type  B : Type  f0 : A → B
  ============================
   (let H := CoreTactics.block in
    map_In [] (λ (x : A) (_ : In x []), f0 x) = map f0 [])

  
  A : Type
  B : Type
  x : A
  xs : list A
  f0 : A → B
  H : (λ (A B : Type) (l : list A) (f : ∀ x : A, In x l → B) (x : list B),
         ∀ (H := CoreTactics.block) (A0 B0 : Type) 
           (f0 : A0 → B0) (l0 : list A0) (g : ∀ x0 : A0, In x0 l0 → B0),
           g = (λ (x0 : A0) (_ : In x0 l0), f0 x0)
           → ∀ eqargs : {|
                          pr1 := A;
                          pr2 :=
                            {| pr1 := B; pr2 := {| pr1 := l; pr2 := f |} |}
                        |} =
                        {|
                          pr1 := A0;
                          pr2 :=
                            {| pr1 := B0; pr2 := {| pr1 := l0; pr2 := g |} |}
                        |},
               eq_rect
                 {|
                   pr1 := A;
                   pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := f |} |}
                 |}
                 (λ projs : sigma
                              (λ A1 : Type,
                                 sigma
                                   (λ B1 : Type,
                                      sigma
                                        (λ l1 : list A1,
                                           ∀ x0 : A1, In x0 l1 → B1))),
                    list (pr1 (pr2 projs))) x
                 {|
                   pr1 := A0;
                   pr2 := {| pr1 := B0; pr2 := {| pr1 := l0; pr2 := g |} |}
                 |} eqargs = map_In l0 g
               → let H0 := CoreTactics.block in map_In l0 g = map f0 l0) A B
        xs
        (λ (x0 : A) (H : In x0 xs),
           (λ (x1 : A) (_ : In x1 (x :: xs)), f0 x1) x0
             (map_In_obligations_obligation_2 A x xs x0 H))
        (map_In xs
           (λ (x0 : A) (H : In x0 xs),
              (λ (x1 : A) (_ : In x1 (x :: xs)), f0 x1) x0
                (map_In_obligations_obligation_2 A x xs x0 H)))
  ============================
   (let H := CoreTactics.block in
    map_In (x :: xs) (λ (x0 : A) (_ : In x0 (x :: xs)), f0 x0) =
    map f0 (x :: xs))


DEBUG:Going to execute:
cbn beta iota
            delta [Prop.Logic.transport Logic.eq_elim Logic.eq_elim_r eq_rect
                  DepElim.pack_sigma_eq DepElim.pack_sigma_eq_nondep] 
            in *
Level 3: Backtrace:

Tactic failure (level 1).
Level 2: Backtrace:

Tactic failure.
Level 1: Backtrace:

Tactic failure.

Goals:
    A : Type  B : Type  f0 : A → B
  ============================
   (let H := CoreTactics.block in
    map_In [] (λ (x : A) (_ : In x []), f0 x) = map f0 [])

  
  A : Type
  B : Type
  x : A
  xs : list A
  f0 : A → B
  H : ∀ (H := CoreTactics.block) (A0 B0 : Type) (f : A0 → B0) 
        (l : list A0) (g : ∀ x : A0, In x l → B0),
        g = (λ (x : A0) (_ : In x l), f x)
        → ∀ eqargs : {|
                       pr1 := A;
                       pr2 :=
                         {|
                           pr1 := B;
                           pr2 :=
                             {|
                               pr1 := xs;
                               pr2 := λ (x : A) (_ : In x xs), f0 x
                             |}
                         |}
                     |} =
                     {|
                       pr1 := A0;
                       pr2 :=
                         {| pr1 := B0; pr2 := {| pr1 := l; pr2 := g |} |}
                     |},
            eq_rect
              {|
                pr1 := A;
                pr2 :=
                  {|
                    pr1 := B;
                    pr2 :=
                      {| pr1 := xs; pr2 := λ (x : A) (_ : In x xs), f0 x |}
                  |}
              |}
              (λ projs : sigma
                           (λ A : Type,
                              sigma
                                (λ B : Type,
                                   sigma
                                     (λ l0 : list A, ∀ x : A, In x l0 → B))),
                 list (pr1 (pr2 projs)))
              (map_In xs (λ (x : A) (_ : In x xs), f0 x))
              {|
                pr1 := A0;
                pr2 := {| pr1 := B0; pr2 := {| pr1 := l; pr2 := g |} |}
              |} eqargs = map_In l g
            → let H0 := CoreTactics.block in map_In l g = map f l
  ============================
   (let H := CoreTactics.block in
    map_In (x :: xs) (λ (x0 : A) (_ : In x0 (x :: xs)), f0 x0) =
    map f0 (x :: xs))


DEBUG:Going to execute:
DepElim.simplify_IH_hyps

Goals:
    A : Type  B : Type  f0 : A → B
  ============================
   (let H := CoreTactics.block in
    map_In [] (λ (x : A) (_ : In x []), f0 x) = map f0 [])

  
  A : Type
  B : Type
  x : A
  xs : list A
  f0 : A → B
  H : ∀ (H := CoreTactics.block) (A0 B0 : Type) (f : A0 → B0) 
        (l : list A0) (g : ∀ x : A0, In x l → B0),
        g = (λ (x : A0) (_ : In x l), f x)
        → ∀ eqargs : {|
                       pr1 := A;
                       pr2 :=
                         {|
                           pr1 := B;
                           pr2 :=
                             {|
                               pr1 := xs;
                               pr2 := λ (x : A) (_ : In x xs), f0 x
                             |}
                         |}
                     |} =
                     {|
                       pr1 := A0;
                       pr2 :=
                         {| pr1 := B0; pr2 := {| pr1 := l; pr2 := g |} |}
                     |},
            eq_rect
              {|
                pr1 := A;
                pr2 :=
                  {|
                    pr1 := B;
                    pr2 :=
                      {| pr1 := xs; pr2 := λ (x : A) (_ : In x xs), f0 x |}
                  |}
              |}
              (λ projs : sigma
                           (λ A : Type,
                              sigma
                                (λ B : Type,
                                   sigma
                                     (λ l0 : list A, ∀ x : A, In x l0 → B))),
                 list (pr1 (pr2 projs)))
              (map_In xs (λ (x : A) (_ : In x xs), f0 x))
              {|
                pr1 := A0;
                pr2 := {| pr1 := B0; pr2 := {| pr1 := l; pr2 := g |} |}
              |} eqargs = map_In l g
            → let H0 := CoreTactics.block in map_In l g = map f l
  ============================
   (let H := CoreTactics.block in
    map_In (x :: xs) (λ (x0 : A) (_ : In x0 (x :: xs)), f0 x0) =
    map f0 (x :: xs))


DEBUG:Going to execute:
repeat
            match goal with
            | hyp:context [ CoreTactics.block ]
              |- _ =>
                  cbn beta in hyp; eqns_specialize_eqs_block hyp;
                   cbn[eq_rect_r eq_rect] in hyp
            end