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

Theorem dcubic1 20141
Description: Forward direction of dcubic 20142: 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 5873 . . . . . 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 9956 . . . . . . . 8  |-  ( ph  ->  ( Q  /  2
)  e.  CC )
74, 6eqeltrd 2357 . . . . . . 7  |-  ( ph  ->  N  e.  CC )
8 binom2sub 11220 . . . . . . 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 9816 . . . . . . . . . . 11  |-  2  e.  CC
1211a1i 10 . . . . . . . . . 10  |-  ( ph  ->  2  e.  CC )
1312, 3, 7mul12d 9021 . . . . . . . . 9  |-  ( ph  ->  ( 2  x.  ( G  x.  N )
)  =  ( G  x.  ( 2  x.  N ) ) )
144oveq2d 5874 . . . . . . . . . . 11  |-  ( ph  ->  ( 2  x.  N
)  =  ( 2  x.  ( Q  / 
2 ) ) )
15 2ne0 9829 . . . . . . . . . . . . 13  |-  2  =/=  0
1615a1i 10 . . . . . . . . . . . 12  |-  ( ph  ->  2  =/=  0 )
175, 12, 16divcan2d 9538 . . . . . . . . . . 11  |-  ( ph  ->  ( 2  x.  ( Q  /  2 ) )  =  Q )
1814, 17eqtrd 2315 . . . . . . . . . 10  |-  ( ph  ->  ( 2  x.  N
)  =  Q )
1918oveq2d 5874 . . . . . . . . 9  |-  ( ph  ->  ( G  x.  (
2  x.  N ) )  =  ( G  x.  Q ) )
203, 5mulcomd 8856 . . . . . . . . 9  |-  ( ph  ->  ( G  x.  Q
)  =  ( Q  x.  G ) )
2113, 19, 203eqtrd 2319 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( G  x.  N )
)  =  ( Q  x.  G ) )
2210, 21oveq12d 5876 . . . . . . 7  |-  ( ph  ->  ( ( G ^
2 )  -  (
2  x.  ( G  x.  N ) ) )  =  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) ) )
2322oveq1d 5873 . . . . . 6  |-  ( ph  ->  ( ( ( G ^ 2 )  -  ( 2  x.  ( G  x.  N )
) )  +  ( N ^ 2 ) )  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
242, 9, 233eqtrd 2319 . . . . 5  |-  ( ph  ->  ( ( T ^
3 ) ^ 2 )  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
257sqcld 11243 . . . . . . 7  |-  ( ph  ->  ( N ^ 2 )  e.  CC )
26 dcubic.m . . . . . . . . 9  |-  ( ph  ->  M  =  ( P  /  3 ) )
27 dcubic.c . . . . . . . . . 10  |-  ( ph  ->  P  e.  CC )
28 3cn 9818 . . . . . . . . . . 11  |-  3  e.  CC
2928a1i 10 . . . . . . . . . 10  |-  ( ph  ->  3  e.  CC )
30 3ne0 9831 . . . . . . . . . . 11  |-  3  =/=  0
3130a1i 10 . . . . . . . . . 10  |-  ( ph  ->  3  =/=  0 )
3227, 29, 31divcld 9536 . . . . . . . . 9  |-  ( ph  ->  ( P  /  3
)  e.  CC )
3326, 32eqeltrd 2357 . . . . . . . 8  |-  ( ph  ->  M  e.  CC )
34 3nn0 9983 . . . . . . . 8  |-  3  e.  NN0
35 expcl 11121 . . . . . . . 8  |-  ( ( M  e.  CC  /\  3  e.  NN0 )  -> 
( M ^ 3 )  e.  CC )
3633, 34, 35sylancl 643 . . . . . . 7  |-  ( ph  ->  ( M ^ 3 )  e.  CC )
3725, 36addcld 8854 . . . . . 6  |-  ( ph  ->  ( ( N ^
2 )  +  ( M ^ 3 ) )  e.  CC )
385, 3mulcld 8855 . . . . . 6  |-  ( ph  ->  ( Q  x.  G
)  e.  CC )
3937, 25, 38addsubd 9178 . . . . 5  |-  ( ph  ->  ( ( ( ( N ^ 2 )  +  ( M ^
3 ) )  +  ( N ^ 2 ) )  -  ( Q  x.  G )
)  =  ( ( ( ( N ^
2 )  +  ( M ^ 3 ) )  -  ( Q  x.  G ) )  +  ( N ^
2 ) ) )
4025, 36, 25add32d 9034 . . . . . . 7  |-  ( ph  ->  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  +  ( N ^ 2 ) )  =  ( ( ( N ^ 2 )  +  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
41252timesd 9954 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( ( N ^ 2 )  +  ( N ^ 2 ) ) )
4241oveq1d 5873 . . . . . . 7  |-  ( ph  ->  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) )  =  ( ( ( N ^ 2 )  +  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
4340, 42eqtr4d 2318 . . . . . 6  |-  ( ph  ->  ( ( ( N ^ 2 )  +  ( M ^ 3 ) )  +  ( N ^ 2 ) )  =  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) ) )
4443oveq1d 5873 . . . . 5  |-  ( ph  ->  ( ( ( ( N ^ 2 )  +  ( M ^
3 ) )  +  ( N ^ 2 ) )  -  ( Q  x.  G )
)  =  ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) ) )
4524, 39, 443eqtr2d 2321 . . . 4  |-  ( ph  ->  ( ( T ^
3 ) ^ 2 )  =  ( ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^
3 ) )  -  ( Q  x.  G
) ) )
465, 3, 7subdid 9235 . . . . . . 7  |-  ( ph  ->  ( Q  x.  ( G  -  N )
)  =  ( ( Q  x.  G )  -  ( Q  x.  N ) ) )
471oveq2d 5874 . . . . . . 7  |-  ( ph  ->  ( Q  x.  ( T ^ 3 ) )  =  ( Q  x.  ( G  -  N
) ) )
487sqvald 11242 . . . . . . . . . 10  |-  ( ph  ->  ( N ^ 2 )  =  ( N  x.  N ) )
4948oveq2d 5874 . . . . . . . . 9  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( 2  x.  ( N  x.  N
) ) )
5012, 7, 7mulassd 8858 . . . . . . . . 9  |-  ( ph  ->  ( ( 2  x.  N )  x.  N
)  =  ( 2  x.  ( N  x.  N ) ) )
5118oveq1d 5873 . . . . . . . . 9  |-  ( ph  ->  ( ( 2  x.  N )  x.  N
)  =  ( Q  x.  N ) )
5249, 50, 513eqtr2d 2321 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  ( N ^ 2 ) )  =  ( Q  x.  N ) )
5352oveq2d 5874 . . . . . . 7  |-  ( ph  ->  ( ( Q  x.  G )  -  (
2  x.  ( N ^ 2 ) ) )  =  ( ( Q  x.  G )  -  ( Q  x.  N ) ) )
5446, 47, 533eqtr4d 2325 . . . . . 6  |-  ( ph  ->  ( Q  x.  ( T ^ 3 ) )  =  ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) ) )
5554oveq1d 5873 . . . . 5  |-  ( ph  ->  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^ 3 ) )  =  ( ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) )  -  ( M ^ 3 ) ) )
56 mulcl 8821 . . . . . . 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 9188 . . . . 5  |-  ( ph  ->  ( ( ( Q  x.  G )  -  ( 2  x.  ( N ^ 2 ) ) )  -  ( M ^ 3 ) )  =  ( ( Q  x.  G )  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) ) ) )
5955, 58eqtrd 2315 . . . 4  |-  ( ph  ->  ( ( Q  x.  ( T ^ 3 ) )  -  ( M ^ 3 ) )  =  ( ( Q  x.  G )  -  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) ) ) )
6045, 59oveq12d 5876 . . 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 8854 . . . 4  |-  ( ph  ->  ( ( 2  x.  ( N ^ 2 ) )  +  ( M ^ 3 ) )  e.  CC )
62 npncan2 9074 . . . 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 2315 . 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 20139 . 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 1623    e. wcel 1684    =/= wne 2446  (class class class)co 5858   CCcc 8735   0cc0 8737    + caddc 8740    x. cmul 8742    - cmin 9037    / cdiv 9423   2c2 9795   3c3 9796   NN0cn0 9965   ^cexp 11104
This theorem is referenced by:  dcubic  20142
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-sup 7194  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-fz 10783  df-seq 11047  df-exp 11105  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532
  Copyright terms: Public domain W3C validator