Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  Q : A → Type
  HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
  b : B
  bs : list B
  hd : A
  hd' : A
  tl : list A
  p : P b hd hd'
  e : #|bs| = #|tl|
  H1 : list A
  H : All Q H1
  ============================
   (hd :: tl = H1
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in All Q (hd' :: tl))


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
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1


Level 3: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 2: evaluation
raised the exception
Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1


Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 2: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 1: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 1: evaluation
raised the exception
Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1


Level 1: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1

Level 0: Backtrace:


Could not find an instance for "DepElim.DependentEliminationPackage
                                  (All Q H1)"
in
environment:
A : Type
B : Type
P : B → A → A → Type
Q : A → Type
HPQ : ∀ (i : B) (x y : A), Q x → P i x y → Q y
b : B
bs : list B
hd, hd' : A
tl : list A
p : P b hd hd'
e : #|bs| = #|tl|
H1 : list A
H : All Q H1