Goal:
  
  A : Type
  f : A → bool
  l : list A
  g : ∀ x : A, In x l → bool
  Heqg : g = λ (x : A) (_ : In x l), f x
  packcall := {| pr1 := l; pr2 := g |}
           : sigma (λ l : list A, ∀ x : A, In x l → bool)
  packcall_fn := {|
                   pr1 := packcall;
                   pr2 := forallb_InP (pr1 packcall) (pr2 packcall)
                 |}
              : sigma
                  (λ _ : sigma (λ l : list A, ∀ x : A, In x l → bool), bool)
  ============================
   (packcall_fn =
    {|
      pr1 := {| pr1 := l; pr2 := g |};
      pr2 :=
        forallb_InP (pr1 {| pr1 := l; pr2 := g |})
          (pr2 {| pr1 := l; pr2 := g |})
    |} → let H := CoreTactics.block in forallb_InP l g = forallb f l)


DEBUG:Going to execute:
<coq-core.plugins.ltac::refine@0> $1