diff options
author | 2006-10-27 21:21:17 +0000 | |
---|---|---|
committer | 2006-10-27 21:21:17 +0000 | |
commit | 5b8e645b675b6b2efac8e13c29da5e984248e507 (patch) | |
tree | f39598f12eefa82801eb3adb9b954edf4b56cadc /theories/Reals/RIneq.v | |
parent | c5e8c731ede28ba4f734bbd143c7d7e5a05c365a (diff) |
simplif de la partie ML de ring/field
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9302 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Reals/RIneq.v')
-rw-r--r-- | theories/Reals/RIneq.v | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/theories/Reals/RIneq.v b/theories/Reals/RIneq.v index 1996eaa97..daebd9178 100644 --- a/theories/Reals/RIneq.v +++ b/theories/Reals/RIneq.v @@ -16,42 +16,12 @@ Require Export Raxioms. Require Export ZArithRing. Require Import Omega. Require Export RealField. -Require Export LegacyField. Open Local Scope Z_scope. Open Local Scope R_scope. Implicit Type r : R. -(***************************************************************************) -(** * Instantiating Field tactic on reals *) -(***************************************************************************) - -(* Legacy Field *) -Require Export LegacyField. -Import LegacyRing_theory. - -Lemma RLegacyTheory : Ring_Theory Rplus Rmult 1 0 Ropp (fun x y:R => false). - split. - exact Rplus_comm. - symmetry in |- *; apply Rplus_assoc. - exact Rmult_comm. - symmetry in |- *; apply Rmult_assoc. - intro; apply Rplus_0_l. - intro; apply Rmult_1_l. - exact Rplus_opp_r. - intros. - rewrite Rmult_comm. - rewrite (Rmult_comm n p). - rewrite (Rmult_comm m p). - apply Rmult_plus_distr_l. - intros; contradiction. -Defined. - -Add Legacy Field -R Rplus Rmult 1 0 Ropp (fun x y:R => false) Rinv RLegacyTheory Rinv_l - with minus := Rminus div := Rdiv. - (**************************************************************************) (** * Relation between orders and equality *) (**************************************************************************) |