MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  resqrtcl Structured version   Visualization version   GIF version

Theorem resqrtcl 14598
Description: Closure of the square root function. (Contributed by Mario Carneiro, 9-Jul-2013.)
Assertion
Ref Expression
resqrtcl ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (√‘𝐴) ∈ ℝ)

Proof of Theorem resqrtcl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 resqrex 14595 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → ∃𝑦 ∈ ℝ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴))
2 simp1l 1193 . . . . . 6 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → 𝐴 ∈ ℝ)
3 recn 10613 . . . . . 6 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
4 sqrtval 14581 . . . . . 6 (𝐴 ∈ ℂ → (√‘𝐴) = (𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)))
52, 3, 43syl 18 . . . . 5 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (√‘𝐴) = (𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)))
6 simp3r 1198 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (𝑦↑2) = 𝐴)
7 simp3l 1197 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → 0 ≤ 𝑦)
8 rere 14466 . . . . . . . . 9 (𝑦 ∈ ℝ → (ℜ‘𝑦) = 𝑦)
983ad2ant2 1130 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (ℜ‘𝑦) = 𝑦)
107, 9breqtrrd 5080 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → 0 ≤ (ℜ‘𝑦))
11 rennim 14583 . . . . . . . 8 (𝑦 ∈ ℝ → (i · 𝑦) ∉ ℝ+)
12113ad2ant2 1130 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (i · 𝑦) ∉ ℝ+)
136, 10, 123jca 1124 . . . . . 6 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → ((𝑦↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑦) ∧ (i · 𝑦) ∉ ℝ+))
14 recn 10613 . . . . . . . 8 (𝑦 ∈ ℝ → 𝑦 ∈ ℂ)
15143ad2ant2 1130 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → 𝑦 ∈ ℂ)
16 resqreu 14597 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → ∃!𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+))
17163ad2ant1 1129 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → ∃!𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+))
18 oveq1 7149 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥↑2) = (𝑦↑2))
1918eqeq1d 2823 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥↑2) = 𝐴 ↔ (𝑦↑2) = 𝐴))
20 fveq2 6656 . . . . . . . . . 10 (𝑥 = 𝑦 → (ℜ‘𝑥) = (ℜ‘𝑦))
2120breq2d 5064 . . . . . . . . 9 (𝑥 = 𝑦 → (0 ≤ (ℜ‘𝑥) ↔ 0 ≤ (ℜ‘𝑦)))
22 oveq2 7150 . . . . . . . . . 10 (𝑥 = 𝑦 → (i · 𝑥) = (i · 𝑦))
23 neleq1 3128 . . . . . . . . . 10 ((i · 𝑥) = (i · 𝑦) → ((i · 𝑥) ∉ ℝ+ ↔ (i · 𝑦) ∉ ℝ+))
2422, 23syl 17 . . . . . . . . 9 (𝑥 = 𝑦 → ((i · 𝑥) ∉ ℝ+ ↔ (i · 𝑦) ∉ ℝ+))
2519, 21, 243anbi123d 1432 . . . . . . . 8 (𝑥 = 𝑦 → (((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+) ↔ ((𝑦↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑦) ∧ (i · 𝑦) ∉ ℝ+)))
2625riota2 7125 . . . . . . 7 ((𝑦 ∈ ℂ ∧ ∃!𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)) → (((𝑦↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑦) ∧ (i · 𝑦) ∉ ℝ+) ↔ (𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)) = 𝑦))
2715, 17, 26syl2anc 586 . . . . . 6 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (((𝑦↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑦) ∧ (i · 𝑦) ∉ ℝ+) ↔ (𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)) = 𝑦))
2813, 27mpbid 234 . . . . 5 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (𝑥 ∈ ℂ ((𝑥↑2) = 𝐴 ∧ 0 ≤ (ℜ‘𝑥) ∧ (i · 𝑥) ∉ ℝ+)) = 𝑦)
295, 28eqtrd 2856 . . . 4 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (√‘𝐴) = 𝑦)
30 simp2 1133 . . . 4 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → 𝑦 ∈ ℝ)
3129, 30eqeltrd 2913 . . 3 (((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) ∧ 𝑦 ∈ ℝ ∧ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴)) → (√‘𝐴) ∈ ℝ)
3231rexlimdv3a 3286 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (∃𝑦 ∈ ℝ (0 ≤ 𝑦 ∧ (𝑦↑2) = 𝐴) → (√‘𝐴) ∈ ℝ))
331, 32mpd 15 1 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (√‘𝐴) ∈ ℝ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wnel 3123  wrex 3139  ∃!wreu 3140   class class class wbr 5052  cfv 6341  crio 7099  (class class class)co 7142  cc 10521  cr 10522  0cc0 10523  ici 10525   · cmul 10528  cle 10662  2c2 11679  +crp 12376  cexp 13419  cre 14441  csqrt 14577
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-un 7447  ax-cnex 10579  ax-resscn 10580  ax-1cn 10581  ax-icn 10582  ax-addcl 10583  ax-addrcl 10584  ax-mulcl 10585  ax-mulrcl 10586  ax-mulcom 10587  ax-addass 10588  ax-mulass 10589  ax-distr 10590  ax-i2m1 10591  ax-1ne0 10592  ax-1rid 10593  ax-rnegex 10594  ax-rrecex 10595  ax-cnre 10596  ax-pre-lttri 10597  ax-pre-lttrn 10598  ax-pre-ltadd 10599  ax-pre-mulgt0 10600  ax-pre-sup 10601
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-pss 3942  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-tp 4558  df-op 4560  df-uni 4825  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-tr 5159  df-id 5446  df-eprel 5451  df-po 5460  df-so 5461  df-fr 5500  df-we 5502  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-pred 6134  df-ord 6180  df-on 6181  df-lim 6182  df-suc 6183  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-riota 7100  df-ov 7145  df-oprab 7146  df-mpo 7147  df-om 7567  df-2nd 7676  df-wrecs 7933  df-recs 7994  df-rdg 8032  df-er 8275  df-en 8496  df-dom 8497  df-sdom 8498  df-sup 8892  df-pnf 10663  df-mnf 10664  df-xr 10665  df-ltxr 10666  df-le 10667  df-sub 10858  df-neg 10859  df-div 11284  df-nn 11625  df-2 11687  df-3 11688  df-n0 11885  df-z 11969  df-uz 12231  df-rp 12377  df-seq 13360  df-exp 13420  df-cj 14443  df-re 14444  df-im 14445  df-sqrt 14579
This theorem is referenced by:  resqrtthlem  14599  remsqsqrt  14601  sqrtge0  14602  sqrtgt0  14603  sqrtmul  14604  sqrtle  14605  sqrtlt  14606  sqrt11  14607  rpsqrtcl  14609  sqrtdiv  14610  sqrtneglem  14611  sqrtneg  14612  sqrtsq2  14613  abscl  14623  sqreulem  14704  sqreu  14705  amgm2  14714  sqrtcli  14716  resqrtcld  14762  resqrtcn  25316  loglesqrt  25325  1cubrlem  25405  ftc1anclem3  35001  sqrtpwpw2p  43785  flsqrt  43841  requad1  43872  itsclc0lem1  44828  itsclc0lem2  44829
  Copyright terms: Public domain W3C validator