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 := l; pr2 := g |}
           : sigma (λ l : list A, ∀ x : A, In x l → B)
  packcall_fn := {|
                   pr1 := packcall;
                   pr2 := map_InP (pr1 packcall) (pr2 packcall)
                 |}
              : sigma
                  (λ _ : sigma (λ l : list A, ∀ x : A, In x l → B), list B)
  eqargs : packcall = {| pr1 := l; pr2 := g |}
  ============================
   (map_InP (pr1 packcall) (pr2 packcall) =
    map_InP (pr1 {| pr1 := l; pr2 := g |}) (pr2 {| pr1 := l; pr2 := g |})
    → let H := CoreTactics.block in map_InP l g = map f l)


DEBUG:Going to execute:
fun id =>
             CoreTactics.on_last_hyp
              ltac:(fun id' =>
                      match id' with
                      | id => idtac
                      | _ => revert id'; CoreTactics.revert_until id
                      end)