(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* y" := (NZlt y x) (only parsing) : IntScope. Notation "x >= y" := (NZle y x) (only parsing) : IntScope. Parameter Zopp : Z -> Z. (*Notation "- 1" := (Zopp 1) : IntScope. Check (-1).*) Add Morphism Zopp with signature Zeq ==> Zeq as Zopp_wd. Notation "- x" := (Zopp x) (at level 35, right associativity) : IntScope. Notation "- 1" := (Zopp (NZsucc NZ0)) : IntScope. Open Local Scope IntScope. (* Integers are obtained by postulating that every number has a predecessor *) Axiom Zsucc_pred : forall n : Z, S (P n) == n. Axiom Zopp_0 : - 0 == 0. Axiom Zopp_succ : forall n : Z, - (S n) == P (- n). End ZAxiomsSig.