Goal:
  
  A : Type
  B : Type
  P : A → Type
  Q : A → B → Type
  x : A
  l : list A
  p : P x
  H1 : All P l
  H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
  Hl1 : nat
  Hl : 0 = Hl1
  ============================
   (S #|l| = Hl1
    → let H := CoreTactics.block in
      (∀ l' : list B,
         (∀ (x : A) (y : B), In y l' → P x → Q x y)
         → #|l'| = #|l| → All2 Q l l')
      → let H0 := CoreTactics.block in All2 Q (x :: l) [])


DEBUG:Going to execute:
destruct p || (case p; clear p)
Level 4: evaluation of term
raised the exception
Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1


Level 3: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 2: evaluation
raised the exception
Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1


Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 1: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 1: evaluation
raised the exception
Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1


Level 1: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1

Level 0: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage (0 = Hl1)"
in
environment:
A : Type
B : Type
P : A → Type
Q : A → B → Type
x : A
l : list A
p : P x
H1 : All P l
H2 : ∀ (x : A) (y : B), In y [] → P x → Q x y
Hl1 : nat
Hl : 0 = Hl1