Goal:
  
  max : nat
  P : nat -> Prop
  hmax : forall n : nat, n >= max -> P n
  hS : forall n : nat, n < max -> P (S n) -> P n
  h : forall n : nat, P (max - n)
  n : nat
  n0 : ~ (Z.of_nat max <= Z.of_nat n)%Z
  cstr : (0 <= Z.of_nat n)%Z
  cstr0 : (0 <= Z.of_nat max)%Z
  ============================
   (Z.max 0 (Z.of_nat max - Z.max 0 (Z.of_nat max - Z.of_nat n)) = Z.of_nat n)


DEBUG:Going to execute:
fun => <coq-core.plugins.zify::ITER@0>