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 : let H := map_InP in sigma (λ l : list A, ∀ x : A, In x l → B)
  ============================
   (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:
is_secvar H; tac H
Level 4: evaluation returns
<coq-equations.plugin::is_secvar@0>
where
$1 := g
of type
constr of type tacvalue

Level 4: Backtrace:

Tactic failure: Not a section variable or hypothesis.
Level 4: Backtrace:

Tactic failure: Not a section variable or hypothesis.
Level 3: Backtrace:

Tactic failure: Not a section variable or hypothesis.
Level 3: Backtrace:

Tactic failure: Not a section variable or hypothesis.