From 7f8807d77df6d8e4605b26fbdb9075b5de5fc768 Mon Sep 17 00:00:00 2001 From: desmettr Date: Tue, 16 Jul 2002 09:03:02 +0000 Subject: MAJ Rtrigo pour sqrt git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2880 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Reals/Rtrigo.v | 301 ------------------------------------------------ 1 file changed, 301 deletions(-) diff --git a/theories/Reals/Rtrigo.v b/theories/Reals/Rtrigo.v index 92accec1cf..f22ce994ec 100644 --- a/theories/Reals/Rtrigo.v +++ b/theories/Reals/Rtrigo.v @@ -419,26 +419,6 @@ Pattern 1 ``2``; Rewrite <- Rplus_Or. Replace ``6`` with ``2+4``; [Apply Rlt_compatibility; Sup0 | Ring]. Qed. -Lemma sqrt2_neq_0 : ~``(sqrt 2)==0``. -Generalize (Rlt_le ``0`` ``2`` Rgt_2_0); Intro H1; Red; Intro H2; Generalize (sqrt_eq_0 ``2`` H1 H2); Intro H; Absurd ``2==0``; [ DiscrR | Assumption]. -Qed. - -Lemma R1_sqrt2_neq_0 : ~``1/(sqrt 2)==0``. -Generalize (Rinv_neq_R0 ``(sqrt 2)`` sqrt2_neq_0); Intro H; Generalize (prod_neq_R0 ``1`` ``(Rinv (sqrt 2))`` R1_neq_R0 H); Intro H0; Assumption. -Qed. - -Lemma sqrt3_2_neq_0 : ~``2*(sqrt 3)==0``. -Apply prod_neq_R0; [DiscrR | Generalize (Rlt_le ``0`` ``3`` Rgt_3_0); Intro H1; Red; Intro H2; Generalize (sqrt_eq_0 ``3`` H1 H2); Intro H; Absurd ``3==0``; [ DiscrR | Assumption]]. -Qed. - -Lemma Rlt_sqrt2_0 : ``0<(sqrt 2)``. -Generalize (sqrt_positivity ``2`` (Rlt_le ``0`` ``2`` Rgt_2_0)); Intro H1; Elim H1; Intro H2; [Assumption | Absurd ``0 == (sqrt 2)``; [Apply not_sym; Apply sqrt2_neq_0 | Assumption]]. -Qed. - -Lemma Rlt_sqrt3_0 : ``0<(sqrt 3)``. -Cut ~(O=(1)); [Intro H0; Generalize (Rlt_le ``0`` ``2`` Rgt_2_0); Intro H1; Generalize (Rlt_le ``0`` ``3`` Rgt_3_0); Intro H2; Generalize (lt_INR_0 (1) (neq_O_lt (1) H0)); Unfold INR; Intro H3; Generalize (Rlt_compatibility ``2`` ``0`` ``1`` H3); Rewrite Rplus_sym; Rewrite Rplus_Ol; Replace ``2+1`` with ``3``; [Intro H4; Generalize (sqrt_lt_1 ``2`` ``3`` H1 H2 H4); Clear H3; Intro H3; Apply (Rlt_trans ``0`` ``(sqrt 2)`` ``(sqrt 3)`` Rlt_sqrt2_0 H3) | Ring] | Discriminate]. -Qed. - Lemma PI2_Rlt_PI : ``PI/2 (sin x)==R0. Intros. Elim H; Intros. -- cgit v1.2.3