Goal:
  
  A : Type
  B : Type
  f : A → B
  l : list A
  g : ∀ x : A, In x l → B
  Heqg : g = λ (x : A) (_ : In x l), f x
  packcall := {|
                pr1 := A;
                pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := g |} |}
              |}
           : sigma
               (λ A : Type,
                  sigma
                    (λ B : Type, sigma (λ l : list A, ∀ x : A, In x l → B)))
  packcall_fn := {|
                   pr1 := packcall;
                   pr2 :=
                     map_In (pr1 (pr2 (pr2 packcall)))
                       (pr2 (pr2 (pr2 packcall)))
                 |}
              : sigma
                  (λ projs : sigma
                               (λ A : Type,
                                  sigma
                                    (λ B : Type,
                                       sigma
                                         (λ l : list A, ∀ x : A, In x l → B))),
                     list (pr1 (pr2 projs)))
  ============================
   (∀ e : packcall =
          {|
            pr1 := A; pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := g |} |}
          |},
      eq_rect packcall
        (λ projs : sigma
                     (λ A : Type,
                        sigma
                          (λ B : Type,
                             sigma (λ l : list A, ∀ x : A, In x l → B))),
           list (pr1 (pr2 projs)))
        (map_In (pr1 (pr2 (pr2 packcall))) (pr2 (pr2 (pr2 packcall))))
        {|
          pr1 := A; pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := g |} |}
        |} e =
      map_In
        (pr1
           (pr2
              (pr2
                 {|
                   pr1 := A;
                   pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := g |} |}
                 |})))
        (pr2
           (pr2
              (pr2
                 {|
                   pr1 := A;
                   pr2 := {| pr1 := B; pr2 := {| pr1 := l; pr2 := g |} |}
                 |}))) → let H := CoreTactics.block in map_In l g = map f l)


DEBUG:Going to execute:
let Heq := fresh "Heqcall" in
           intros H Heq; try (rewrite <- Heq; clear Heq);
            CoreTactics.revert_until H; revert H; subst packcall_fn;
            clearbody packcall; make_packcall packcall elimfn;
            with_last_secvar ltac:(fun eos => move packcall before eos)
             ltac:(move packcall at top); CoreTactics.revert_until packcall;
            CoreTactics.block_goal; cbv zeta in packcall; revert packcall;
            curry;
            (let elimt := make_refine elimn elimc in
             unshelve refine_ho elimt; intros; cbv beta;
              DepElim.simplify_dep_elim; CoreTactics.intros_until_block;
              DepElim.simplify_dep_elim;
              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 *; DepElim.simplify_IH_hyps; CoreTactics.unblock_goal;
              DepElim.simplify_IH_hyps; tac c)