Goal:
  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  E0 : find k m' = None
  H3 : True
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)


DEBUG:Going to execute:
match goal with
           | |- context [ match ?X with
                          | _ => _
                          end ] => destruct X eqn:E
           | H:context [ match ?X with
                         | _ => _
                         end ] |- _ => destruct X eqn:E
           end

Goals:
  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  e0 : elt
  E0 : find k m' = Some e0
  H3 : eq_elt e e0
  x : elt
  H2 : Some e0 = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  E0 : find k m' = None
  H3 : False
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  e : elt
  E0 : find k m' = Some e
  H3 : False
  x : elt
  H2 : Some e = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  E0 : find k m' = None
  H3 : True
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)


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

No matching clauses for match.
Level 0: Backtrace:

No matching clauses for match.
Level 0: Backtrace:

No matching clauses for match.

Goals:
  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  e0 : elt
  E0 : find k m' = Some e0
  H3 : eq_elt e e0
  x : elt
  H2 : Some e0 = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  E0 : find k m' = None
  H3 : False
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  e : elt
  E0 : find k m' = Some e
  H3 : False
  x : elt
  H2 : Some e = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  E0 : find k m' = None
  H3 : True
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)


DEBUG:Going to execute:
<coq-core.plugins.ltac::subst@1>

Goals:
  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  e0 : elt
  E0 : find k m' = Some e0
  H3 : eq_elt e e0
  x : elt
  H2 : Some e0 = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  e : elt
  E : find k m = Some e
  E0 : find k m' = None
  H3 : False
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e0 : elt, Some e = Some e0)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  e : elt
  E0 : find k m' = Some e
  H3 : False
  x : elt
  H2 : Some e = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)

  
  elt : Type
  eq_elt : elt -> elt -> Prop
  m : t elt
  m' : t elt
  H : forall x y : key, E.eq x y -> find x m = find y m
  H0 : forall x y : key, E.eq x y -> find x m' = find y m'
  H1 : forall (k : key) (e : elt),
       find k m = Some e ->
       match find k m with
       | Some x =>
           match find k m' with
           | Some y => eq_elt x y
           | None => False
           end
       | None => match find k m' with
                 | Some _ => False
                 | None => True
                 end
       end
  k : key
  E : find k m = None
  E0 : find k m' = None
  H3 : True
  x : elt
  H2 : None = Some x
  H4 : forall k : key, find k m' = find k m'
  H5 : forall k : key, find k m = find k m
  ============================
   (exists e : elt, None = Some e)


DEBUG:Going to execute:
try congruence