MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  dcubic1 Unicode version

Theorem dcubic1 20157
Description: Forward direction of dcubic 20158: the claimed formula produces solutions to the cubic equation. (Contributed by Mario Carneiro, 25-Apr-2015.)
Hypotheses
Ref Expression
dcubic.c  |-  ( ph  ->  P  e.  CC )
dcubic.d  |-  ( ph  ->  Q  e.  CC )
dcubic.x  |-  ( ph  ->  X  e.  CC )
dcubic.t  |-  ( ph  ->  T  e.  CC )
dcubic.3  |-  ( ph  ->  ( T ^ 3 )  =  ( G  -  N ) )
dcubic.g  |-  ( ph  ->  G  e.  CC )
dcubic.2  |-  ( ph  ->  ( G ^ 2 )  =  ( ( N ^ 2 )  +  ( M ^
3 ) ) )
dcubic.m  |-  ( ph  ->  M  =  ( P  /  3 ) )
dcubic.n  |-  ( ph  ->  N  =  ( Q  /  2 ) )
dcubic.0  |-  ( ph  ->  T  =/=  0 )
dcubic1.x  |-  ( ph  ->  X  =  ( T  -  ( M  /  T ) ) )
Assertion
Ref Expression
dcubic1  |-  ( ph  ->  ( ( X ^
3 )  +  ( ( P  x.  X
)  +  Q ) )  =  0 )

Proof of Theorem dcubic1
StepHypRef Expression
1 dcubic.3 . . . . . . 7  |-  ( ph  ->  ( T ^ 3 )  =  ( G  -  N ) )
21oveq1d 5889 . . . . . 6  |-  ( ph  ->  ( ( T ^
3 ) ^ 2 )  =  ( ( G  -  N ) ^ 2 ) )
3 dcubic.g . . . . . . 7  |-  ( ph  ->  G  e.  CC )
4 dcubic.n . . . . . . . 8  |-  ( ph  ->  N  =  ( Q  /  2 ) )
5 dcubic.d . . . . . . . . 9  |-  ( ph  ->  Q  e.  CC )
65halfcld 9972 . . . . . . . 8  |-  ( ph  ->  ( Q  /  2
)  e.  CC )
74, 6eqeltrd 2370 . . . . . . 7  |-  ( ph  ->  N  e.  CC )
8 binom2sub 11236 . . . . . . 7  |-  ( ( G  e.  CC  /\  N  e.  CC )  ->  ( ( G  -  N ) ^ 2 )  =  ( ( ( G ^ 2 )  -  ( 2  x.  ( G  x.  N ) ) )  +  ( N ^
2 ) ) )
93, 7, 8syl2anc 642 . . . . . 6  |-  ( ph  ->  ( ( G  -  N ) ^ 2 )  =  ( ( ( G ^ 2 )  -  ( 2  x.  ( G  x.  N ) ) )  +  ( N ^
2 ) ) )
10 dcubic.2 . . . . . . . 8  |-  ( ph  ->  ( G ^ 2 )  =  ( ( N ^ 2 )  +  ( M ^
3 ) ) )
11 2cn 9832 . . . . . . . . . . 11  |-  2  e.  CC
1211a1i 10 . . . . . . . . . 10  |-  ( ph  ->  2  e.  CC )
1312, 3, 7mul12d 9037 . . . . . . . . 9  |-  ( ph  ->  ( 2  x.  ( G  x.  N )
)  =  ( G  x.  ( 2  x.  N ) ) )
144oveq2d 5890 . . . . . . . . . . 11  |-  ( ph  ->  ( 2  x.  N
)  =  ( 2  x.  ( Q  / 
2 ) ) )
15 2ne0 9845 . . . . . . . . . . . . 13  |-  2  =/=  0
1615a1i 10 . . . . . . . . . . . 12  |-  ( ph  ->  2  =/=  0 )
175, 12, 16divcan2d 9554 . . . . . . . . . . 11  |-  ( ph  ->  ( 2  x.  ( Q  /  2 ) )  =  Q )
1814, 17eqtrd 2328 . . . . . . . . . 10  |-  ( ph  ->  ( 2  x.  N
)  =  Q )
1918oveq2d 5890 . . . . . . . . 9  |-  ( ph  ->  ( G  x.  (
2  x.  N ) )  =  ( G  x.  Q ) )
203, 5mulcomd 8872 . . . . . . . . 9  |-  ( ph  ->  ( G  x.  Q
)  =  ( Q  x.  G ) )
2113, 19, 203eqtrd 2332 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( G  x.  N )
)  =  ( Q  x.  G ) )
2210, 21oveq12d 5892 . . . . . . 7  |-  ( ph  ->  ( ( G ^
2 )  -  (
2  x.  ( G  x.  N ) ) )  =  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) ) )
2322oveq1d 5889 . . . . . 6  |-  ( ph  ->  ( ( ( G ^ 2 )  -  ( 2  x.  ( G  x.  N )
) )  +  ( N ^ 2 ) )  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
242, 9, 233eqtrd 2332 . . . . 5  |-  ( ph  ->  ( ( T ^
3 ) ^ 2 )  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
257sqcld 11259 . . . . . . 7  |-  ( ph  ->  ( N ^ 2 )  e.  CC )
26 dcubic.m . . . . . . . . 9  |-  ( ph  ->  M  =  ( P  /  3 ) )
27 dcubic.c . . . . . . . . . 10  |-  ( ph  ->  P  e.  CC )
28 3cn 9834 . . . . . . . . . . 11  |-  3  e.  CC
2928a1i 10 . . . . . . . . . 10  |-  ( ph  ->  3  e.  CC )
30 3ne0 9847 . . . . . . . . . . 11  |-  3  =/=  0
3130a1i 10 . . . . . . . . . 10  |-  ( ph  ->  3  =/=  0 )
3227, 29, 31divcld 9552 . . . . . . . . 9  |-  ( ph  ->  ( P  /  3
)  e.  CC )
3326, 32eqeltrd 2370 . . . . . . . 8  |-  ( ph  ->  M  e.  CC )
34 3nn0 9999 . . . . . . . 8  |-  3  e.  NN0
35 expcl 11137 . . . . . . . 8  |-  ( ( M  e.  CC  /\  3  e.  NN0 )  -> 
( M ^ 3 )  e.  CC )
3633, 34, 35sylancl 643 . . . . . . 7  |-  ( ph  ->  ( M ^ 3 )  e.  CC )
3725, 36addcld 8870 . . . . . 6  |-  ( ph  ->  ( ( N ^
2 )  +  ( M ^ 3 ) )  e.  CC )
385, 3mulcld 8871 . . . . . 6  |-  ( ph  ->  ( Q  x.  G
)  e.  CC )
3937, 25, 38addsubd 9194 . . . . 5  |-  ( ph  ->  ( ( ( ( N ^ 2 )  +  ( M ^
3 ) )  +  ( N ^ 2 ) )  -  ( Q  x.  G )
)  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
4025, 36, 25add32d 9050 . . . . . . 7  |-  ( ph  ->  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  +  ( N ^ 2 ) )  =  ( ( ( N ^ 2 )  +  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
41252timesd 9970 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( ( N ^ 2 )  +  ( N ^ 2 ) ) )
4241oveq1d 5889 . . . . . . 7  |-  ( ph  ->  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) )  =  ( ( ( N ^ 2 )  +  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
4340, 42eqtr4d 2331 . . . . . 6  |-  ( ph  ->  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  +  ( N ^ 2 ) )  =  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
4443oveq1d 5889 . . . . 5  |-  ( ph  ->  ( ( ( ( N ^ 2 )  +  ( M ^
3 ) )  +  ( N ^ 2 ) )  -  ( Q  x.  G )
)  =  ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) ) )
4524, 39, 443eqtr2d 2334 . . . 4  |-  ( ph  ->  ( ( T ^
3 ) ^ 2 )  =  ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) ) )
465, 3, 7subdid 9251 . . . . . . 7  |-  ( ph  ->  ( Q  x.  ( G  -  N )
)  =  ( ( Q  x.  G )  -  ( Q  x.  N ) ) )
471oveq2d 5890 . . . . . . 7  |-  ( ph  ->  ( Q  x.  ( T ^ 3 ) )  =  ( Q  x.  ( G  -  N
) ) )
487sqvald 11258 . . . . . . . . . 10  |-  ( ph  ->  ( N ^ 2 )  =  ( N  x.  N ) )
4948oveq2d 5890 . . . . . . . . 9  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( 2  x.  ( N  x.  N
) ) )
5012, 7, 7mulassd 8874 . . . . . . . . 9  |-  ( ph  ->  ( ( 2  x.  N )  x.  N
)  =  ( 2  x.  ( N  x.  N ) ) )
5118oveq1d 5889 . . . . . . . . 9  |-  ( ph  ->  ( ( 2  x.  N )  x.  N
)  =  ( Q  x.  N ) )
5249, 50, 513eqtr2d 2334 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( Q  x.  N ) )
5352oveq2d 5890 . . . . . . 7  |-  ( ph  ->  ( ( Q  x.  G )  -  (
2  x.  ( N ^ 2 ) ) )  =  ( ( Q  x.  G )  -  ( Q  x.  N ) ) )
5446, 47, 533eqtr4d 2338 . . . . . 6  |-  ( ph  ->  ( Q  x.  ( T ^ 3 ) )  =  ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) ) )
5554oveq1d 5889 . . . . 5  |-  ( ph  ->  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^ 3 ) )  =  ( ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) )  -  ( M ^ 3 ) ) )
56 mulcl 8837 . . . . . . 7  |-  ( ( 2  e.  CC  /\  ( N ^ 2 )  e.  CC )  -> 
( 2  x.  ( N ^ 2 ) )  e.  CC )
5711, 25, 56sylancr 644 . . . . . 6  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  e.  CC )
5838, 57, 36subsub4d 9204 . . . . 5  |-  ( ph  ->  ( ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) )  -  ( M ^ 3 ) )  =  ( ( Q  x.  G )  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) ) ) )
5955, 58eqtrd 2328 . . . 4  |-  ( ph  ->  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^ 3 ) )  =  ( ( Q  x.  G )  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) ) ) )
6045, 59oveq12d 5892 . . 3  |-  ( ph  ->  ( ( ( T ^ 3 ) ^
2 )  +  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^
3 ) ) )  =  ( ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) )  +  ( ( Q  x.  G
)  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) ) ) ) )
6157, 36addcld 8870 . . . 4  |-  ( ph  ->  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) )  e.  CC )
62 npncan2 9090 . . . 4  |-  ( ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) )  e.  CC  /\  ( Q  x.  G
)  e.  CC )  ->  ( ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) )  +  ( ( Q  x.  G
)  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) ) ) )  =  0 )
6361, 38, 62syl2anc 642 . . 3  |-  ( ph  ->  ( ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) )  +  ( ( Q  x.  G
)  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) ) ) )  =  0 )
6460, 63eqtrd 2328 . 2  |-  ( ph  ->  ( ( ( T ^ 3 ) ^
2 )  +  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^
3 ) ) )  =  0 )
65 dcubic.x . . 3  |-  ( ph  ->  X  e.  CC )
66 dcubic.t . . 3  |-  ( ph  ->  T  e.  CC )
67 dcubic.0 . . 3  |-  ( ph  ->  T  =/=  0 )
68 dcubic1.x . . 3  |-  ( ph  ->  X  =  ( T  -  ( M  /  T ) ) )
6927, 5, 65, 66, 1, 3, 10, 26, 4, 67, 66, 67, 68dcubic1lem 20155 . 2  |-  ( ph  ->  ( ( ( X ^ 3 )  +  ( ( P  x.  X )  +  Q
) )  =  0  <-> 
( ( ( T ^ 3 ) ^
2 )  +  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^
3 ) ) )  =  0 ) )
7064, 69mpbird 223 1  |-  ( ph  ->  ( ( X ^
3 )  +  ( ( P  x.  X
)  +  Q ) )  =  0 )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1632    e. wcel 1696    =/= wne 2459  (class class class)co 5874   CCcc 8751   0cc0 8753    + caddc 8756    x. cmul 8758    - cmin 9053    / cdiv 9439   2c2 9811   3c3 9812   NN0cn0 9981   ^cexp 11120
This theorem is referenced by:  dcubic  20158
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-sup 7210  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-3 9821  df-n0 9982  df-z 10041  df-uz 10247  df-rp 10371  df-fz 10799  df-seq 11063  df-exp 11121  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-dvds 12548
  Copyright terms: Public domain W3C validator