From f82bfc64fca9fb46136d7aa26c09d64cde0432d2 Mon Sep 17 00:00:00 2001 From: letouzey Date: Mon, 2 Jun 2008 23:26:13 +0000 Subject: In abstract parts of theories/Numbers, plus/times becomes add/mul, for increased consistency with bignums parts (commit part I: content of files) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11039 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Numbers/Integer/BigZ/BigZ.v | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'theories/Numbers/Integer/BigZ') diff --git a/theories/Numbers/Integer/BigZ/BigZ.v b/theories/Numbers/Integer/BigZ/BigZ.v index d2f9b0a024..f547370369 100644 --- a/theories/Numbers/Integer/BigZ/BigZ.v +++ b/theories/Numbers/Integer/BigZ/BigZ.v @@ -80,7 +80,7 @@ Proof. red; intros; zsimpl; auto. Qed. -Lemma plus_opp : forall x : bigZ, x + (- x) == 0. +Lemma add_opp : forall x : bigZ, x + (- x) == 0. Proof. red; intros; zsimpl; auto with zarith. Qed. @@ -91,15 +91,15 @@ Lemma BigZring : ring_theory BigZ.zero BigZ.one BigZ.add BigZ.mul BigZ.sub BigZ.opp BigZ.eq. Proof. constructor. -exact Zplus_0_l. -exact Zplus_comm. -exact Zplus_assoc. -exact Ztimes_1_l. -exact Ztimes_comm. -exact Ztimes_assoc. -exact Ztimes_plus_distr_r. +exact Zadd_0_l. +exact Zadd_comm. +exact Zadd_assoc. +exact Zmul_1_l. +exact Zmul_comm. +exact Zmul_assoc. +exact Zmul_add_distr_r. exact sub_opp. -exact plus_opp. +exact add_opp. Qed. Add Ring BigZr : BigZring. -- cgit v1.2.3