Goal:
    m : Z  l : list Z
  ============================
   (forall n : Z, fold_left Z.max l n = m -> n = m \/ In m l)


DEBUG:Going to execute:
induction l

Goals:
    m : Z
  ============================
   (forall n : Z, fold_left Z.max [] n = m -> n = m \/ In m [])

  
  m : Z
  a : Z
  l : list Z
  IHl : forall n : Z, fold_left Z.max l n = m -> n = m \/ In m l
  ============================
   (forall n : Z, fold_left Z.max (a :: l) n = m -> n = m \/ In m (a :: l))


DEBUG:Going to execute:
cbn
DEBUG LTAC Evaluated term: l

Goals:
    m : Z
  ============================
   (forall n : Z, n = m -> n = m \/ False)

  
  m : Z
  a : Z
  l : list Z
  IHl : forall n : Z, fold_left Z.max l n = m -> n = m \/ In m l
  ============================
   (forall n : Z,
    fold_left Z.max l (Z.max n a) = m -> n = m \/ a = m \/ In m l)


DEBUG:Going to execute:
intros n H