Goal:
  
  A : Type
  P : tree A -> Type
  empty : P Empty
  node : forall l : tree A,
         P l ->
         forall (o : option A) (r : tree A),
         P r -> not_trivially_empty l o r -> P (Node l o r)
  m : tree' A
  x : A
  r : tree' A
  Heq_m : Node011 x r = m
  ============================
   True


DEBUG:Going to execute:
subst Y
Level 1: Backtrace:

Ltac variable X is bound to Node011 x r of type constr which cannot be
coerced to a variable.