Definition quadratic_top_more (a b c d e f g h : Z) :=
  (e <= a)%Z /\ (f <= b)%Z /\ (g <= c)%Z /\ (h < d)%Z \/
  (e <= a)%Z /\ (f <= b)%Z /\ (g < c)%Z /\ (h <= d)%Z \/
  (e <= a)%Z /\ (f < b)%Z /\ (g <= c)%Z /\ (h <= d)%Z \/
  (e < a)%Z /\ (f <= b)%Z /\ (g <= c)%Z /\ (h <= d)%Z.

Lemma quadratic_top_more_5' : forall a b c d e f g h : Z, (0 < a + b + c + d)%Z -> (a + b + c + d + (e - a) + (f - b) + (g - c) + (h - d) < a + b + c + d + e + f + g + h)%Z.