Goal:
  
  A : Type
  a : option A
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : option_map f a = None
  ============================
   (None =
    option_map (map f)
      match a with
      | Some hd =>
          match map_option_out l with
          | Some tl => Some (hd :: tl)
          | None => None
          end
      | None => None
      end)


DEBUG:Going to execute:
destruct a

Goals:
  
  A : Type
  a : A
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : option_map f (Some a) = None
  ============================
   (None =
    option_map (map f)
      match map_option_out l with
      | Some tl => Some (a :: tl)
      | None => None
      end)

  
  A : Type
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : option_map f None = None
  ============================
   (None = option_map (map f) None)


DEBUG:Going to execute:
simpl in *
DEBUG LTAC Evaluated term: a

Goals:
  
  A : Type
  a : A
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : Some (f a) = None
  ============================
   (None =
    option_map (map f)
      match map_option_out l with
      | Some tl => Some (a :: tl)
      | None => None
      end)

  
  A : Type
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : None = None
  ============================
   (None = None)


DEBUG:Going to execute:
congruence

Goals:
  
  A : Type
  a : A
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : Some (f a) = None
  ============================
   (None =
    option_map (map f)
      match map_option_out l with
      | Some tl => Some (a :: tl)
      | None => None
      end)

  
  A : Type
  l : list (option A)
  f : A -> A
  IHl : map_option_out (map (option_map f) l) =
        option_map (map f) (map_option_out l)
  fa : None = None
  ============================
   (None = None)


DEBUG:Going to execute:
<coq-core.plugins.cc::cc@0> $1