(** * Exponential function with exponent in Z. *)

(* Specifications: *)
Lemma zexp_pred_succ : forall a x : Z, ZExp a (x + 1 - 1) = ZExp a x.
(** Convenience lemma for changing exponent. *)
Lemma zexp_eq : forall x y a : Z, x = y -> ZExp a x = ZExp a y.
Lemma inj_zexp : forall (n : nat) (a : Z), ZExp a (Z_of_nat n) = Exp a n.
Lemma expzexp : forall x a : Z, ZExp a x = Exp a (Zabs_nat x).
Lemma zexp_S1 :
forall a n : Z, (0 <= n)%Z -> ZExp a (n + 1) = (a * ZExp a n)%Z.
Lemma zexp_S :
forall a n : Z, (0 <= n)%Z -> ZExp a (Zsucc n) = (a * ZExp a n)%Z.
Lemma zexp_plus :
forall a n m : Z,
(0 <= n)%Z -> (0 <= m)%Z -> ZExp a (n + m) = (ZExp a n * ZExp a m)%Z.
Lemma zexp_mult :
forall a n m : Z,
(0 <= n)%Z -> (0 <= m)%Z -> ZExp a (n * m) = ZExp (ZExp a n) m.