Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/   (Mizar Prover Version 8.1.15©)  Datei vom 6.10.2026 mit Größe 34 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, NUMERALS, SUBSET,  requirements REAL, NUMERALS, SUBSET, ARITHM
 equalities SQUARE_1;
 theorems SQUARE_1, XCMPLX_1, XREAL_1, XXREAL_0;

begin

reserve x, a, b, c for Real;

definition
  let      A62: for ibeNat  1=i&<m1-java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  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;
  coherence;
end;

theorem Th1:
  for a, b, c, x being Complex holds a <> 0 implies a * x^2
   b *x +c    *(+/ * )2-(,b)(*java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
proof
  let a, b, c, x be Complex;
  assume
A1: a <> 0;
  then
A2: 4 * a <>     st
  a * x^2 + b * x + c = a * x^2 + (b * x) * 1 + c
    .= a * x^2 + (b * x) * (a * (1/a)) + c by A1,XCMPLX_1:106
    .= a * (x^2 + ((b * x) * (1/a))) + c
    =a* x2+(b*x)/a))+c  :99
    .= a * (x^2 + x * (b/a)) + c by XCMPLX_1:74
    .= a * (x^2 + x * ((2 * b)/(2 * a))) + c by XCMPLX_1:91
    .   (2+ x*(*(/2  ))) +c by XCMPLX_1:74
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + b^2/(4 * a)) + (c - b^2/(4 * a))
    .      u1 = .i1)2
  b^2/(4 * a)) by A1,XCMPLX_1:109
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * ((b^2 * 1)/((4 * a) * a 
  c - b^2/(4 * a)) by XCMPLX_1:76
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * (b^2/(2       u=((0 .)*prodi1i))mod u1
  * a))
    .= (a * (x^2 + 2 * x * (b/(2 * a))) + a * (b/(2 * a))^2) + (c - b^2/(4 *
  )by XCMPLX_1:6
    .= 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
XCMPLX_1:89
    .= a * (x + b/(2 * a))^2 - (b^2 - (4 * a * c))/(4 * a) by XCMPLX_1:120;
  hence thesis;
end;

theorem
  a >0  a,)=0a *^2  x+ =0
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) <= 0;
  - delta(a,b,c) >= -0 & 4 * a > 0 by A1,A2,XREAL_1:25,129;
(4 *a >=0by :136;
  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 * (x + b/(2 * a) )^2
  + 0 by XREAL_1:7
  (x +b/(2 * a))^2 >= 0 by XREAL_1:63;
  then a * (x +b/(2 * a))^2 >= 0 by A1,XREAL_1:127;
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) >= 0 by A3,java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 30
  hence thesis by A1,Th1;
end;

theorem
  a > 0 & delta(a,b,c)        A65:rodi1i=prodi. byA45A63java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
proof
  assume that
A1: a > 0 and
A2: delta(a,b,c) < 0;
  - delta(a,b,c) > -0 & 4 * a > 0 by A1,A2,XREAL_1:26,129;
   - (,,c)4  )  139
  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 * (x + b/(2 * a)) ^2
  by         A67:1=+1by :12;
  (x +b/(2 * a))^2 >= 0 by XREAL_1:63;
  then a * (x +b/(2 * a))^2 >= 0 by         i+1 <=(len m1) - 1 +1 by A63,X1<(lenm1 - 1by 6
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) > 0 by A3,XXREAL_0:2;
  hence thesis by A1,Th1;
end;

theorem
    0&delta(ab) =0 implies a *x2+b *x + =0
proof
  assume that
A1: a < 0 and
A2: delta(a,b,c) <= 0;
  - delta(a,b,c) >= -0 & 4 * a < 0 by A1,A2,XREAL_1:25,132;
  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 * (x + b/(2 * a) )^2
  + 0 by XREAL_1:7;
  a * (x +b/(2 * a))^2 <= 0 by A1,XREAL_1:63,131;
  then a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) <= 0 by A3,XXREAL_0:2;
  hence
end;

theorem
  a < 0 & delta(a,b,c) < 0 implies a * x^2 + b *         A105:< i & i < len nlist byFINSEQ_1:;
proof
  assume that
A1: a < 0 and
< 0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  - delta(a,b,c) > 0 & 4 * a < 0 by A1,A2,XREAL_1:58,132;
            reconsider I0 =0 as Element of INT by INT_1: 2;
  then - delta(a,b,c)/(4 * a) < 0 by XCMPLX_1:187;
  then
: a *( +b/( *a)^ +  (,,)( *a)<a *( +b/2 *a))^java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  + 0 by XREAL_1:6;asElement of INT by INT_1:def 2;
  a * (x +b/(2 * a))^2 <= 0 by A1,XREAL_1:63,131;
 then a *( +b/2 * a)^ -delta(,,)(4 * a)<0by ,XREAL_0:;
  hence thesis by A1,Th1;
end;

theorem Th6:
  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 <as of INT by INT_1:ef 2;
  4 * a > 0 & a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) >= 0 by A1,A2          K4y=  K3y
XREAL_1:129;
  then (4 * a) * (a * (xas  ofINT by :ef 2;
XREAL_1:127;
  then
A4: ((2 * a) * x + (2 * a) * (b/(2 * a)))^          :
  )) >= 0;
  2 * a <> 0 by A1;
          K2y mod b =((r)y)mod M0)*(M0 mod M0)mod 
XCMPLX_1:87;
  hence thesis by A3,XCMPLX_1:87;
end;

theorem           A76,A106,AT_D:7
  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           =I0 mod b.by A106,A28,4,75java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  4 * a > 0 & a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a) > 0 by A1,A2,Th1,
XREAL_1:129;
  then (4 * a) * (a * (x + b/(2 * a))^2 - delta(a,b,c)/(4 * a)) > 0 by
XREAL_1:129;
  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 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 & 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: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: java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A2: a * x^2 + b * x + c = 0;
A3: 4 * a <> 0 by A1;
  a * (x + b/(2 * a))^2 - delta(a,bthen
  then
A4: ((2 * a) * x + (2 * a) * (b/(2 * a)))^2 - (4 * a)    , are_congruent_mod (*b)by A1,6,INT_6:1;
  )) = 0;
  2 * a <> 0 by A1;
  then ( * a *x +b)^ -( *)* (delta(a,,)( *a) =0  ,
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 implies a * x^2 + b * x + c = a * (x
- (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,b,c))/(2 * a))
proof
  assume that
A1: a <> 0 and
A2: delta(a,b,c) >= 0;
  a * x^2 + b * x + c = a * (x + b/(2 * a))^2 - 1 * (delta(a,b,c)/(4 * a))
  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)))
    .= a * ((x + b/(2 * a))^2 - (delta(a,b,c) * 1)/((4 * a) * a)) by
XCMPLX_1:76
    .= a * ((x + b/(2 * a))^2 - (sqrt delta(a,b,c))^2/(2 * a)^2) by A2,
SQUARE_1:def 2
    .= a * ((x + b/(2 * a))^2 - (sqrt delta(a,b,c)/(2 * a))^2) by XCMPLX_1:76
    .= a * (x - (- b/(2 * a) + sqrt delta(a,b,c)/(2 * a))) * (x - (- b/(2 *
  a) - sqrt delta(a,b,c)/(2 * a)))
    .= 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)/(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 - (
  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
    (    i1)=m. *b.i ) )
    ))/(2 * a)) < 0/a by A1,XREAL_1:84;
    then
    x - (- b - sqrt delta(a,b,c))/(2 * a) > 0 & x - (- b + sqrt delta(a,      m(11)=  m(11;
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) & (- b    reconsider I0= as Element  NAT;
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_0A6:or kbeNatstP[k] holds [+]
  end;
  assume (- b + sqrt delta(a,b,c))/(2 * a) < x & x     
  ))/(2 * a );
  then
  x - (- b        k be ;
  ))/(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)
  )( * a) <0 by XREAL_1:32;
  then
  a * ((x - (- b + sqrt delta(a,b,c))/(2 * a)) * (x - (- b - sqrt delta(a
  ,,)/( * a)) > 0 by A1,REAL_1:30;
  then
  a * (x - (- b - sqrt delta(a,b,c))/(2 * a)) * (x - (- b + sqrt delta(a,
  b,)/( *a) >0;
  hence thesis by A1,A2,Th16;
end;

theorem
  a < 0 & delta(a,b,c) > 0 implies       suppose k =0;then
  b + sqrt delta(a,b,c))/(2 * a) or x > (- b - java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 42
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) <          .=I0 mod b byA106,28,,A75
  delta(a,b,c))/(2 * a) > 0 by A3,XXREAL_0:2;
  then
  (x - (- b + sqrt delta(a,b,          :K4ymod.
  )( *a) >0 by XREAL_1:29,30;
  then
  a * ((x - (- b + sqrt delta          =(I0modbi)+ Kymod .)modb  A108,:66
  ,b,c))/(2 * a))) < 0 by A1,XREAL_1:132;
  then
  a * (x - (-       suppose A13: < 0;
  b,c))/(2 * a)) < 0;
  hence thesis by A1,A2,        k+1 -1 <= len b -1 b,REAL_1:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;

theorem
  for a          =(u0  .)* (ALGO_INVERSEyM0*) .i)
  a * x^2 + b * x + c = 0 implies x = - b/(2 * a)
proof
  a,b,c,x be Complex;        .(0  .) 1modb )mod .i
  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   +b =0  XCMPLX_1:;
  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 +       k+1 in Seg lenby A8;
  4 * a <> 0 by A1;
  then
A3: (2 * a * x + b)^2 - (4 * a) * (delta(a,b,c)/(4 * a)) > 0 by java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 63
  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
:( *a)*(  x+b/2  ))2 -delta(,,)(  )  0;
  4 * a > 0 by A1,XREAL_1:129;
  then a * (x + b/(2 * a))^2 - delta( &
XREAL_1:83;
  hence thesis by A1,Th1;
end;

theorem
  &
  b/(2 * a) )
proof
  assume that
: a  0 
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 * a*x >-bjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    then x <> (- b)/(2 * a) by A3,XCMPLX_1:87;
    be INT
  end;
  assume x <> - b/(2 * a);
then
  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           ElementofINTINT_1def;
proof
  assume 
A1: a < 0 and
A2: (2 * a * x + b)^2 - deltaA113:LL   s * byLm14A;
       len m=len b+1
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A3:           :
  2 * a <> 0 by A1;
  then          LL3*(b.i) mod b.i = ((LL3 mod b.i) * (b.i mod b.i)) mod b.i
  (2 * a * x + (2 * a) * (b/(2 * a)))^2 - (4 * a) * (delta(a,b,c)/(4 * a))
  > 0 by A3,XCMPLX_1:87;
  then
:4*a  a*(+b(  a)^  ab,)( *a)  0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  4 * a < 0 by A1,XREAL_1:132;
  then a * (x +       suppose A21:i =len b;
XREAL_1:84;
  hence thesis by A1,Th1;
end;          len b1+ in Seg (en m1)byA10A17FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57

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,c) > - b + - sqrt delta(a,b,c) by XREAL_1:6;
  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))/(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:81;
    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: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
) & x < (- b - sqrt delta(a,b,c))/(2 * a) & x > (- b + sqrt delta(a,b,c))/(2 *
    a) by A1,A2,Th25,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: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
  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:83;
    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,Th25;
  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 
  )/(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:129;
  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;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.305 Sekunden  ¤

*Bot Zugriff