Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/   (Mizar Prover Version 8.1.15©)  Datei vom 6.10.2026 mit Größe 97 kB image not shown  

Quelle  quin_1.miz   Sprache: Mizar

 

:: Quadratic Inequalities
::  by Jan Popio\l ek
::
:: Received July 19, 1991
:: Copyright (c) 1991-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, XREAL_0, XCMPLX_0, FUNCT_3, SQUARE_1, ARYTM_1, RELAT_1,
      REAL_1, CARD_1, ARYTM_3, XXREAL_0, ORDINAL1;
 notations ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0, SQUARE_1, XXREAL_0;
 constructors SQUARE_1, MEMBERED, XXREAL_0;
 registrations XCMPLX_0, XREAL_0, SQUARE_1, MEMBERED;
 requirements REAL,  1<=k &k <  b-java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 equalities SQUARE_1;
 theorems SQUARE_1, XCMPLX_1, java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 31

begin

reserve x, a, b, c for Real;

definition
  let a,b,c be Complex;
  func delta(a,b,c) -> number equals
  b^2 - 4 * a * c;
  coherence;
end;

registration
  let a,b,c be Complex;
  cluster delta(a,b,c) -> complex;
  coherence;
end;

registration
  let a,b,c be Real;
  cluster delta(a,b,c) -> real;
  m.k+1)< java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;

theorem Th1:
  for a, b, c, x  
  + b * x + c = a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)
proof
  let a, b, c, x be Complex;
  assume
A1: a <> 0;
  then
A2: 4assume  b=lenm;
  a * x^2 + b * x + c = a * x^2 + (b * x) * 1 + c
 x) ( *(/)   by,CMPLX_1106
    .= a * (x^2 + ((b * x) * (1/a))) + c
    .= a * (x^2 +     holdsb.< 0)
    .= a * (x^2 + x * (b/a)) + c by XCMPLX_1:74
    .= a * (x^2 + x * ((2 * b)/(2 * a))) + c by XCMPLX_1:91
    .= a * (x^2 + x * (2 * (b/(2 * a)))) + c by XCMPLX_1:74
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + b^2/(4 * a)) + (c - b^2/(4 * a))
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * (b^2/(4 * a) * (1/a))) +     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  b^2/(4 * a)) by A1,XCMPLX_1:109
    .= (a    1= &i <$
  c - b^2/(4 * a)) by XCMPLX_1:76
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * (b^2/(2 * a)^2)) +    m.i+1)=m.*bi))
  * a))
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * (b/(2 * a))^2) + (c -    implies
  a)) by     .(1+1 <> ;
    .= a * (x + b/(2 * a))^2 - (b^2/(4 * a) - c)
    .= a * (x + b/(2 * a))^2 - (b^2/(4 * a) - ((4 * a * c)/(4 * a))) by A2,
:89
    .= a * (x + b/(2 * a))^2 - (b^2 - (4 * a * c))/(4 * a) by XCMPLX_1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sis
end;

theorem
  a > 0 & delta(a,b,c) <= 0 implies a * x^2 + b * x + c >    proof
proof
  assume that
      let kbe ;
A2: delta(a,b,c) <= 0;
  - delta(a,      assume : P[]java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  then (- delta(a,b,c))/(4 *       A5:
  then - delta(a,b,c)/(4 * a) >= 0 by XCMPLX_1:187;
  then
A3: a * (x + b/(2 * a))^2 + - delta      1< k+  1<  -1
  + 0 by XREAL_1:7;
  (x +b/(2 * a))^2 >= 0 by XREAL_1:63;
  a*(+/2*a))2 >0by X:127java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  then a * (x + b/(2       <i&i <=+1
  hence thesis by A1,Th1;
end;

theorem
   > 0 &delta(,,c <0 implies   ^ +b * +  0
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) < 0      m.i1)=m.i *. ;
  - delta(a,b,c) > -0 & 4 * a > 0 by A1,A2,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
  then (      :k < k+1  :;
  then - delta(a,b,c)/(4 * a) > 0 by XCMPLX_1:187;
  then
A3: a * x +/(*a))2 +-deltaa,c)(  a) >a *(+b/2  a) ^
  by XREAL_1:29;
  (x +b/(2 * a))^2 >= 0 by XREAL_1:63;
  *(x+/(*a)2>   ,:27;
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) > 0 by A3,XXREAL_0:2;
  hence         A8 .(k1)1)  .1 .by ,
end;

theorem
  a < 0 & delta(a,b,c) <= 0 implies a * x^       =b.  ;
proof
  assume that
A1: a < 0 and
A2:          b-  0quaNat)< b -1+1by :;
  - delta(a,b,c) >= -0 & 4 *;
  then (- delta(a,b,c))/(4 * a) <= 0 by XREAL_1:137;
  then - delta(a,b,c)/(4 * a) <= 0 by XCMPLX_1:187;
  then
A3: a * (x + b/(2 * a))^2 + - delta(a,b,c)/(4 * a) <= a * (        1  ( b)
  + 0 by XREAL_1:7;
  a * (x +b/ hence
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) <= 0 by A3,XXREAL_0:2 m((+)1 >0  A8,1
  hence thesis java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
end      A9:k< 0;

theorem
  a < 0 & delta(a,b,c) < 0 implies a * x^2 + b * x + c        A10:now let  be ;
proof
  assume that
A1:a < 0and
A2: delta(a,b,c) < 0;
  - delta(a,b,c) > 0 & 4 * a < 0 by A1,A2,XREAL_1:58,132;
  then (- delta(a,b,c))/(4 * a) < 0 by XREAL_1:142;
  then  (,b,)4*a)< 0by XCMPLX_1:;
  then
A3: a * (x + b/(2 * a))^2 + - delta(a,b,c)/(4 * a) < a * (x + b/(2 * a)) ^2
  + 0 by XREAL_1:6;
  a * (x +b/(2 * a))^2 <= 0 by A1,XREAL_1:63,131;
  then * (  b/2  )^ -delta(,,)(  )< 0 by A3,XREAL_0:;
  hence thesis by A1,Th1;
end;

theorem Th6:
  a > 0 & a * x^2
  delta(a,b,c) >= 0
proof
  assume that
A1: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: a * x^2 + b *  thus .(k+1)1 > 0
A3: 4 * a <> 0 by A1;
  4 *      proof
XREAL_1:129;
  then (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,        A11:(k+1) +1 <= len b -1 +1 by A5,XREAL_1:6
XREAL_1:127;
  then
A4: ((2 *         A12:( +)< k1 +by :;
  )) >= 0;
  2 * a <> 0 by A1;
  then (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/ A13 1=k+  :;
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

theorem Th7:
  a > 0 & a * x^2 + b * x + c > 0 implies (2 * a * x + b)^2 - delta (a,b,c) > 0
proof
  assume that
A1: a > 0 and
: a * x2+b * x + >0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A3: 4 * a <> 0 by A1;
  4 * a > 0 & a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)        :
XREAL_1:129;
  then (4 *        b(+1 <0byA1;
XREAL_1:129;
  then
A4: ((2 *java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  )) > 0;
  2 * a <> 0 by A1;
  then (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) > 0 by A4,
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

theorem Th8:
  a < 0 & a * x^2 + b * x + c <= 0 implies (2 * a * x + b)^2 -
  delta(a,b,c) >= 0
proof
  assume that
A1: a < 0 and
A2: a * x^2 + b * x + c <= 0;
A3: 4 * a <> 0 by A1;
  4 * a <0&  *( + b/2*a)2-deltaab)( *)<  A1A2,Th1,
XREAL_1:132;
  then (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)) >= 0 by
XREAL_1:128;
  then
A4: ((2 * a) * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a
  )) >= 0;
  2 * a <> 0 by A1;
  then (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) >= 0 by A4,
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

theorem Th9:
  a < 0 & a * x^2 + b * x + c < 0 implies (2 * a * x + b)^2 - delta (a,b,c) > 0
proof
  assume that
A1: a < 0 and
A2: a * x^2 + b * x + c < 0;
A3: 4 * a <> 0 by A1;
  4 * a < 0 & a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) < 0 by A1,A2,Th1,
XREAL_1:132;
  then (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)) > 0 by
XREAL_1:130;
  then
A4: ((2 * a) * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a
  )) > 0;
  2 * a <> 0 by A1;
  then (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) > 0 by A4,
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

theorem
  ( for x holds a * x^2 + b * x + c >= 0 ) & a > 0 implies delta(a,b,c) <= 0
proof
  assume that
A1: for x holds a * x^2 + b * x + c >= 0 and
A2: a > 0;
  a * (- b/(2 * a))^2 + b * (- b/(2 * a)) + c >= 0 by A1;
  then (2 * a * (- b/(2 * a)) + b)^2 - delta(a,b,c) >= 0 by A2,Th6;
  then
A3: (- (2 * a) * (b/(2 * a)) + b)^2 - delta(a,b,c) >= 0;
  2 * a <> 0 by A2;
  then (- b + b)^2 - delta(a,b,c) >= 0 by A3,XCMPLX_1:87;
  then - delta(a,b,c) >= -0;
  hence thesis by XREAL_1:24;
end;

theorem
  ( for x holds a * x^2 + b * x + c <= 0 ) & a < 0 implies delta(a,b,c) <= 0
proof
  assume that
A1: for x holds a * x^2 + b * x + c <= 0 and
A2: a < 0;
  a * (- b/(2 * a))^2 + b * (- b/(2 * a)) + c <= 0 by A1;
  then (2 * a * (- b/(2 * a)) + b)^2 - delta(a,b,c) >= 0 by A2,Th8;
  then
A3: (- (2 * a) * (b/(2 * a)) + b)^2 - delta(a,b,c) >= 0;
  2 * a <> 0 by A2;
  then (- b + b)^2 - delta(a,b,c) >= 0 by A3,XCMPLX_1:87;
  then - delta(a,b,c) >= -0;
  hence thesis by XREAL_1:24;
end;

theorem
  ( for x holds a * x^2 + b * x + c > 0 ) & a > 0 implies delta(a,b,c) < 0
proof
  assume that
A1: for x holds a * x^2 + b * x + c > 0 and
A2: a > 0;
  a * (- b/(2 * a))^2 + b * (- b/(2 * a)) + c > 0 by A1;
  then (2 * a * (- b/(2 * a)) + b)^2 - delta(a,b,c) > 0 by A2,Th7;
  then
A3: (- (2 * a) * (b/(2 * a)) + b)^2 - delta(a,b,c) > 0;
  2 * a <> 0 by A2;
  then (- b + b)^2 - delta(a,b,c) > 0 by A3,XCMPLX_1:87;
  then - delta(a,b,c) > 0;
  hence thesis by XREAL_1:58;
end;

theorem
  ( for x holds a * x^2 + b * x + c < 0 ) & a < 0 implies delta(a,b,c) < 0
proof
  assume that
A1: for x holds a * x^2 + b * x + c < 0 and
A2: a < 0;
  a * (- b/(2 * a))^2 + b * (- b/(2 * a)) + c < 0 by A1;
  then (2 * a * (- b/(2 * a)) + b)^2 - delta(a,b,c) > 0 by A2,Th9;
  then
A3: (- (2 * a) * (b/(2 * a)) + b)^2 - delta(a,b,c) > 0;
  2 * a <> 0 by A2;
  then (- b + b)^2 - delta(a,b,c) > 0 by A3,XCMPLX_1:87;
  then - delta(a,b,c) > -0;
  hence thesis by XREAL_1:24;
end;

theorem Th14:
  for a, b, c, x being Complex holds a <> 0 & a * x^2 + b *
  x + c = 0 implies (2 * a * x + b)^2 - delta(a,b,c) = 0
proof
  let a, b, c, x be Complex;
  assume that
A1: a <> 0 and
A2: a * x^2 + b * x + c = 0;
A3: 4 * a <> 0 by A1;
  a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) = 0 by A1,A2,Th1;
  then
A4: ((2 * a) * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a
  )) = 0;
  2 * a <> 0 by A1;
  then (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) = 0 by A4,
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

Lm1: for a, b being Complex holds a^2 = b^2 implies a = b or a = - b
proof
  let a, b be Complex;
  assume a^2 = b^2;
  then (a + b) * (a - b) = 0;
  then a + b = 0 or a - b = 0 by XCMPLX_1:6;
  hence thesis;
end;

theorem
  a <> 0 & delta(a,b,c) >= 0 & a * x^2 + b * x + c = 0 implies x = (- b
  - sqrt delta(a,b,c))/(2 * a) or x = (- b + sqrt delta(a,b,c))/(2 * a)
proof
  assume that
A1: a <> 0 and
A2: delta(a,b,c) >= 0 and
A3: a * x^2 + b * x + c = 0;
  (2 * a * x + b)^2 - delta(a,b,c) = 0 by A1,A3,Th14;
  then (2 * a * x + b)^2 = (sqrt delta(a,b,c))^2 by A2,SQUARE_1:def 2;
  then
A4: 2 * a * x + b = sqrt delta(a,b,c) or 2 * a * x + b = - sqrt delta(a, b,c
  ) by Lm1;
  2 * a <> 0 by A1;
  hence thesis by A4,XCMPLX_1:89;
end;

theorem Th16:
  a <> 0 & delta(a,b,c) >= 0 impliesa*x^ +b* x +c=a*(
- (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,b,c))/(2 * a))
proof
  assume          :1<i &i<(   1;
A1: a <> 0 and
A2: delta(a,b,c) >= 0;
          
  by A1,Th1
    .= a * (x + b/(2 * a))^2 - (a * (1/a)) * (delta(a,b,c)/(4 * a)) by A1,
XCMPLX_1:106
    .= a * ((x + b/(2 * a))^2 - (1/a) * (delta(a,b,c)/(4 * a)))
        A54prodi1 = prodi.i  A45,52;
XCMPLX_1:76
    .= a * ((x + b/(2 * a))^2 - (sqrt delta(a,b,c))^2/(2 * a)^2) by A2,
SQUARE_1: 2
    .= a * ((x + b/(2 * a))^2 - (sqrt delta(a,b,c)/(2 * a))^2) by XCMPLX_1:76
    .= a * java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  a) - sqrt delta(a,b,c)/(2 * a)        then
    .= a * (x - ((- b)/(2 * a) + sqrt delta(a,b,c)/(2 * a))) * (x - (- b/(2
  * a) -sqrt delta(a,b,)/2* a))by XCMPLX_1:187
    .= a * (x - ((- b)/(2 * a) + sqrt delta(a,b,c)/(2 * a))) * (x - ((- b)/(
  2 * a) - sqrt delta(a,b,c)/(2 * a))) by XCMPLX_1:187
    .= a * (x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - ((- b)/(2 * a) -
  sqrt delta(a,b,c)/(2 * a))) by XCMPLX_1:62
    .= a * (x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(
  a,b,c))/(2 * a)) by XCMPLX_1:120;
  hence thesis;
end;

theorem Th17:
  a < 0 & delta(a,b,c) > 0 implies (- b + sqrt delta(a,b,c))/(2 *
  a) < (- b - sqrt delta(a,b,c))/(2 * a)
proof
  assume that
A1: a < 0 and
A2: delta(a,b,c) > 0;
  sqrt delta(a,b,c) > 0 by A2,SQUARE_1:25;
  then 2 * sqrt delta(a,b,c) > 0 by XREAL_1:129;
  then sqrt delta(a,b,c) + sqrt delta(a,b,c) > 0;
  then sqrt delta(a,b,c) > - sqrt delta(a,b,c) by XREAL_1:59;
  then
A3: - b + sqrt delta(a,b,c) > - b + - sqrt delta(a,b,c) by XREAL_1:6;
  2 * a < 0 by A1,XREAL_1:132;
  hence thesis by A3,XREAL_1:75;
end;

theorem
  a < 0 & delta(a,b,c) > 0 implies ( a * x^2 + b * x + c > 0 iff (- b +
  sqrt delta(a,b,c))/(2 * a) < x & x < (- b - sqrt delta(a,b,c))/(2 * a) )
proof
  assume that
A1: a < 0 and
A2: delta(a,b,c) > 0;
  thus a * x^2 + b * x + c > 0 implies (- b + sqrt delta(a,b,c))/(2 * a) < x &
  x < (- b - sqrt delta(a,b,c))/(2 * a)
  proof
    assume a * x^2 + b * x + c > 0;
    then
    a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a
    ,b,c))/(2 * a)) > 0 by A1,A2,Th16;
    then
    a * ((x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(
    a,b,c))/(2 * a))) > 0;
    then
    (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,b,c
    ))/(2 * a)) < 0/a by A1,XREAL_1:84;
    then
    x - (- b - sqrt delta(a,b,c))/(2 * a) > 0 & x - (- b        then
c))/(2 * a) < 0 or        A58:m1.(+1 m.(+)by ,UNCT_149;
    delta(a,b,c))/(2 * a) > 0 by XREAL_1:133;
    then
    x > (- b - sqrt delta(a,b,c))/(2 * a) & x < (- b + sqrt delta(a,b,c))/
(2 * a) & (- b + sqrt delta(a,b,c))/(2 * a) < (- b - sqrt delta(a,b,c))/(2 * a)
or x < (- b - sqrt delta(a,b,c))/(2 * a) & x > (- b + sqrt delta(a,b,c))/(2 * a
    ) by A1,A2,Th17,XREAL_1:47,48;
    hence thesis by XXREAL_0:2;
  end;
  assume (- b + sqrt delta(a,b,c))/(2 * a) < x & x < (- b - sqrt delta(a,b,c
  ))/(2 * a );
  then
  x - (- b + sqrt delta(a,b,c))/(2 * a) > 0 & x - (- b - sqrt delta(a,b,c
  ))/(2 * a) < 0 by XREAL_1:49,50;
  then
  (x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a,b,c)
  )/(2 * a)) < 0 by XREAL_1:132;
  then
  a * ((x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a
  ,b,c))/(2 * a))) > 0 by A1,XREAL_1:130;
  then
  a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,
  b,c))/(2 * a)) > 0;
  hence thesis by A1,A2,Th16;
end;

theorem
  a < 0 & delta(a,b,c) > 0 implies ( a * x^2 + b * x + c < 0 iff x < (-
  b + sqrt delta(a,b,c))/(2 * a) or x > (- b - sqrt delta(a,b,c))/(2 * a) )
proof
  assume that
A1: a < 0 and
A2: delta(a,b,c) > 0;
  thus a * x^2 + b * x + c < 0 implies x < (- b + sqrt delta(a,b,c))/(2 * a)
  or x > (- b - sqrt delta(a,b,c))/(2 * a)
  proof
    assume a * x^2 + b * x + c < 0;
    then
    a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a
    ,b,c))/(2 * a)) < 0 by A1,A2,Th16;
    then
    a * ((x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(
    a,b,c))/(2 * a))) < 0;
    then
    (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,b,c
    ))/(2 * a)) > 0/a by A1,XREAL_1:82;
    then
    x - (- b - sqrt delta(a,b,c))/(2 * a) > 0 & x - (- b + sqrt delta(a,b,
c))/(2 * a) > 0 or x - (- b - sqrt delta(a,b,c))/(2 * a) < 0 & x - (- b + sqrt
    delta(a,b,c))/(2 * a) < 0 by XREAL_1:134;
    hence thesis by XREAL_1:47,48;
  end;
  assume x < (- b + sqrt delta(a,b,c))/(2 * a) or x > (- b - sqrt delta(a,b,
  c))/(2 * a);
  then
A3: x - (- b + sqrt delta(a,b,c))/(2 * a) < 0 or x - (- b - sqrt delta(a,b,
  c))/(2 * a) > 0 by XREAL_1:49,50;
  (- b + sqrt delta(a,b,c))/(2 * a) < (- b - sqrt delta(a,b,c))/(2 * a)
  by A1,A2,Th17;
  then
  x - (- b + sqrt delta(a,b,c))/(2 * a) > x - (- b - sqrt delta(a,b,c))/(
  2 * a) by XREAL_1:10;
  then
  x - (- b + sqrt delta(a,b,c))/(2 * a) < 0 & x - (- b - sqrt delta(a,b,c
  ))/(2 * a) < 0 or x - (- b - sqrt delta(a,b,c))/(2 * a) > 0 & x - (- b + sqrt
  delta(a,b,c))/(2 * a) > 0 by A3,XXREAL_0:2;
  then
  (x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a,b,c)
  )/(2 * a)) > 0 by XREAL_1:129,130;
  then
  a * ((x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a
  ,b,c))/(2 * a))) < 0 by A1,XREAL_1:132;
  then
  a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,
  b,c))/(2 * a)) < 0;
  hence thesis by A1,A2,Th16;
end;

theorem
  for a, b, c, x being Complex holds a <> 0 & delta(a,b,c) = 0 &
  a * x^2 + b * x + c = 0 implies x = - b/(2 * a)
proof
  let a, b, c, x be Complex;
  assume that
A1: a <> 0 and
A2: delta(a,b,c) = 0 & a * x^2 + b * x + c = 0;
  (2 * a * x + b)^2 - 0 = 0 by A1,A2,Th14;
  then
A3: 2 * a * x + b = 0 by XCMPLX_1:6;
  2 * a <> 0 by A1;
  then x = (- b)/(2 * a) by A3,XCMPLX_1:89;
  hence thesis by XCMPLX_1:187;
end;

theorem Th21:
  a > 0 & (2 * a * x + b)^2 - delta(a,b,c) > 0 implies a * x^2 + b * x + c > 0
proof
  assume that
A1: a > 0 and
A2: (2 * a * x + b)^2 - delta(a,b,c) > 0;
  4 * a <> 0 by A1;
  then
A3: (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) > 0 by A2,XCMPLX_1:87;
  2 * a <> 0 by A1;
  then
  (2 * a * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a))
  > 0 by A3,XCMPLX_1:87;
  then
A4: (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)) > 0;
  4 * a > 0 by A1,XREAL_1:129;
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) > 0/(4 * a) by A4,
XREAL_1:83;
  hence thesis by A1,Th1;
end;

theorem
  a > 0 & delta(a,b,c) = 0 implies ( a * x^2 + b * x + c > 0 iff x <> -
  b/(2 * a) )
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) = 0;
A3: 2 * a <> 0 by A1;
  thus a * x^2 + b * x + c > 0 implies x <> - b/(2 * a)
  proof
    assume a * x^2 + b * x + c > 0;
    then (2 * a * x + b)^2 - 0 > 0 by A1,A2,Th7;
    then 2 * a * x <> - b;
    then x <> (- b)/(2 * a) by A3,XCMPLX_1:87;
    hence thesis by XCMPLX_1:187;
  end;
  assume x <> - b/(2 * a);
  then x <> (- b)/(2 * a) by XCMPLX_1:187;
  then 2 * a * x + b <> 0 by A3,XCMPLX_1:89;
  then (2 * a * x + b)^2 - delta(a,b,c) > 0 by A2,SQUARE_1:12;
  hence thesis by A1,Th21;
end;

theorem Th23:
  a < 0 & (2 * a * x + b)^2 - delta(a,b,c) > 0 implies a * x^2 + b * x + c < 0
proof
  assume that
A1: a < 0 and
A2: (2 * a * x + b)^2 - delta(a,b,c) > 0;
  4 * a <> 0 by A1;
  then
A3: (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) > 0 by A2,XCMPLX_1:87;
  2 * a <> 0 by A1;
  then
  (2 * a * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a))
  > 0 by A3,XCMPLX_1:87;
  then
A4: (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)) > 0;
  4 * a < 0 by A1,XREAL_1:132;
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) < 0/(4 * a) by A4,
XREAL_1:84;
  hence thesis by A1,Th1;
end;

theorem
  a < 0 & delta(a,b,c) = 0 implies ( a * x^2 + b * x + c < 0 iff x <> -
  b/(2 * a) )
proof
  assume that
A1: a < 0 and
A2: delta(a,b,c) = 0;
A3: 2 * a <> 0 by A1;
  thus a * x^2 + b * x + c < 0 implies x <> - b/(2 * a)
  proof
    assume a * x^2 + b * x + c < 0;
    then (2 * a * x + b)^2 - 0 > 0 by A1,A2,Th9;
    then 2 * a * x <> - b;
    then x <> (- b)/(2 * a) by A3,XCMPLX_1:87;
    hence thesis by XCMPLX_1:187;
  end;
  assume x <> - b/(2 * a);
  then x <> (- b)/(2 * a) by XCMPLX_1:187;
  then 2 * a * x + b <> 0 by A3,XCMPLX_1:89;
  then (2 * a * x + b)^2 - delta(a,b,c) > 0 by A2,SQUARE_1:12;
  hence thesis by A1,Th23;
end;

theorem Th25:
  a > 0 & delta(a,b,c) > 0 implies (- b + sqrt delta(a,b,c))/(2 *
  a) > (- b - sqrt delta(a,b,c))/(2 * a)
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) > 0;
  sqrt delta(a,b,c) > 0 by A2,SQUARE_1:25;
  then 2 * sqrt delta(a,b,c) > 0 by XREAL_1:129;
  then sqrt delta(a,b,c) + sqrt delta(a,b,c) > 0;
  then sqrt delta(a,b,c) > - sqrt delta(a,b,c) by XREAL_1:59;
  then
A3: - b + sqrt delta(a,b,cjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  2 * a > 0 by A1,XREAL_1:129;
  hence thesis by A3,XREAL_1:74;
end;

theorem
  a > 0 & delta(a,b,c) > 0 implies ( a * x^2 + b * x + c < 0 iff (- b -
  sqrt delta(a,b,c))/(2 * a) < x & x < (- b + sqrt delta(a,b,c))/(2 * a) )
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) > 0;
  thus a * x^2 + b * x + c < 0 implies (- b - sqrt delta(a,b,c))/(java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 58
  <( b  sqrt delta(,,)( *a)
  proof
    assume a * x^2 + b * x +  A84:LGO_CRT(list1) =l.len m-1) +p *y by A82;
    then
    a * (x - (          reconsider uy=*   of INT by INT_1: 2;
    ,b,c))/(2 * a)) < 0 by A1,A2,          reconsider llm1=l.(len m-1) llm1=.len m-)   
    then
      (( - (b-sqrtdeltaab,)/2 *a) *( -( b + sqrt delta(
    a,b,c))/(2 * a))) < 0;

    (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,b,c
    ))/(2 * a)) < 0/a by A1,XREAL_1:81;
    then
    x - ( b - sqrt delta(,,)/2 *a)>0 &x -( b + sqrt delta(,,
c))/(2 * a) < 0 or x - (- b - sqrt delta(a,b,c))/(2 * a) < 0 & x - (- b + sqrt
    delta(a,b,c))/(2 * a) > 0 by XREAL_1:133;
    then
    x > (- b - sqrt delta(a,b,c))/(2 * a) & x < (- b + sqrt delta(a,b,c))/
(2 * a) or (- b + sqrt delta(a,b,c))/(2 * a) > (- b - sqrt delta(a,b,c))/(2 * a
a(a,b,)/2 *a)&x>(  +sqrtdeltaa,c)/2 *
    a) by A1,A2,Th25,XREAL_1:47,48;
hencethesis by XXREAL_02;
  end;
  assume (- java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 69
  ))/(2 * a );
  then
  x - (- b - sqrt           ()(l.(en m -))ALGO_INVERSE(,0)  * java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  ))/(2 * a) < 0 by XREAL_1:49,           *0y+u0 ALGO_INVERSE(y,0*java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  then
 ( -(   (,,)/( *a)*(  ( b +sqrt delta(,,)
  )/(2 * a)) < 0 by XREAL_1:132;
        end;
  a * ((x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (       suppose A86:ennlist1>1;
  ,b,c))/(2 * a))) < 0 by A1,XREAL_1:132;
  then
  a * (x - (- b - sqrt delta(a,b,c))/( A87:ALGO_CRT(list1)=s by Def4,50,51,62,43
  b,c))/(2 * a)) < 0;
  hence          =l1.lenm1)mod ((rodc1.(en m1)1)*01;
end;

theorem
  a > 0 & delta(a,b,c) > 0 implies ( a * x^2 + b * x + c > 0 iff x < (-
  b - sqrt delta(a,b,c))/(2 * a) or 35,INSEQ_1:9;
proof
  assume that
  >0 and
A2: delta(a,b,c) > 0;
  thus a
  or x > (- b + sqrt delta(a,b,c))/(2 *             =lenm1-1by A38,17,REAL_1:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  proof
    assume a * x^2 + b * x + c > 0;
    then
    a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a
   b))(2 * a) >0 by A1,2,h16;
    then
    a * ((x - (- b -           .= (nlist.(len 1)` byA28,4,37FINSEQ_1:def 3java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    ,,))( *))>0;
    then
    (a,,)/2*a) *(  -b+sqrtdelta(,,
    ))/(2 * a)) > 0/a by A1,XREAL_1:83;
    then
    x - (- b - sqrt delta(a,b,c))/(2 * a) > 0 & x - (           =m1.(nn1+1) &
c))/(2 * a) > 0 or x - (- b - sqrt delta(a,b,c))/(2 * a) < 0 & x - (- b + sqrt
   delta(a,,)/2*a)<0  :134;
    hence thesis by XREAL_1:47,48;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  assumeprodc1.n1 =y1 by A51,89;
  c))/(2 * a);
  then
3:x-(  -sqrt (,bc)/2*a)<0    ( b  sqrt deltaabjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  c))/(2 * a) > 0 by XREAL_1:49,50;
  (- b + sqrt delta(a,b,c))/(2 * a) > (- b - sqrt delta(a,b,c))/(2 *          A93:m1inSeg( )byA71;
  by A1,A2,Th25;
  then
  x -( b+sqrtdeltaa,,)/2 *a)<x -( b -sqrt (,,)/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  2 * a) by XREAL_1:10;
  then
  x - (- b - sqrt delta(a,b,c))/(2 * a) < 0 & x - (- b + sqrt delta(a,b,c
  ))(  a) <0 or x  ( b - sqrt a,)2*a)>0  x - ( b +sqrt
  delta(a,b,c))/(2 * a) > 0 by A3,XXREAL_0:2;
  then
  (x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a,b,c)
 )( * a) >0 by XREAL_1:29,30;
  then
  a * ((x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a
  ,b,c))/(2 * a))) > 0 by A1,XREAL_1:129;
  then
  a * (x - (- b - sqrt delta(a,b,2;
  b,c))/(2 * a)) > 0;
  hence thesis by A1,A2,Th16;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.220 Sekunden  ¤

*© Formatika GbR, Deutschland