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

Theorem resqrex 14814
Description: Existence of a square root for positive reals. (Contributed by Mario Carneiro, 9-Jul-2013.)
Assertion
Ref Expression
resqrex ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
Distinct variable group:   𝑥,𝐴

Proof of Theorem resqrex
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 0re 10835 . . . . 5 0 ∈ ℝ
2 leloe 10919 . . . . 5 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 ≤ 𝐴 ↔ (0 < 𝐴 ∨ 0 = 𝐴)))
31, 2mpan 690 . . . 4 (𝐴 ∈ ℝ → (0 ≤ 𝐴 ↔ (0 < 𝐴 ∨ 0 = 𝐴)))
4 elrp 12588 . . . . . . 7 (𝐴 ∈ ℝ+ ↔ (𝐴 ∈ ℝ ∧ 0 < 𝐴))
5 01sqrex 14813 . . . . . . . 8 ((𝐴 ∈ ℝ+𝐴 ≤ 1) → ∃𝑥 ∈ ℝ+ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴))
6 rprege0 12601 . . . . . . . . . . . 12 (𝑥 ∈ ℝ+ → (𝑥 ∈ ℝ ∧ 0 ≤ 𝑥))
76anim1i 618 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑥↑2) = 𝐴) → ((𝑥 ∈ ℝ ∧ 0 ≤ 𝑥) ∧ (𝑥↑2) = 𝐴))
8 anass 472 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 0 ≤ 𝑥) ∧ (𝑥↑2) = 𝐴) ↔ (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
97, 8sylib 221 . . . . . . . . . 10 ((𝑥 ∈ ℝ+ ∧ (𝑥↑2) = 𝐴) → (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
109adantrl 716 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴)) → (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
1110reximi2 3167 . . . . . . . 8 (∃𝑥 ∈ ℝ+ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
125, 11syl 17 . . . . . . 7 ((𝐴 ∈ ℝ+𝐴 ≤ 1) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
134, 12sylanbr 585 . . . . . 6 (((𝐴 ∈ ℝ ∧ 0 < 𝐴) ∧ 𝐴 ≤ 1) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
1413exp31 423 . . . . 5 (𝐴 ∈ ℝ → (0 < 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
15 sq0 13761 . . . . . . . . 9 (0↑2) = 0
16 id 22 . . . . . . . . 9 (0 = 𝐴 → 0 = 𝐴)
1715, 16syl5eq 2790 . . . . . . . 8 (0 = 𝐴 → (0↑2) = 𝐴)
18 0le0 11931 . . . . . . . 8 0 ≤ 0
1917, 18jctil 523 . . . . . . 7 (0 = 𝐴 → (0 ≤ 0 ∧ (0↑2) = 𝐴))
20 breq2 5057 . . . . . . . . 9 (𝑥 = 0 → (0 ≤ 𝑥 ↔ 0 ≤ 0))
21 oveq1 7220 . . . . . . . . . 10 (𝑥 = 0 → (𝑥↑2) = (0↑2))
2221eqeq1d 2739 . . . . . . . . 9 (𝑥 = 0 → ((𝑥↑2) = 𝐴 ↔ (0↑2) = 𝐴))
2320, 22anbi12d 634 . . . . . . . 8 (𝑥 = 0 → ((0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴) ↔ (0 ≤ 0 ∧ (0↑2) = 𝐴)))
2423rspcev 3537 . . . . . . 7 ((0 ∈ ℝ ∧ (0 ≤ 0 ∧ (0↑2) = 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
251, 19, 24sylancr 590 . . . . . 6 (0 = 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
2625a1i13 27 . . . . 5 (𝐴 ∈ ℝ → (0 = 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
2714, 26jaod 859 . . . 4 (𝐴 ∈ ℝ → ((0 < 𝐴 ∨ 0 = 𝐴) → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
283, 27sylbid 243 . . 3 (𝐴 ∈ ℝ → (0 ≤ 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
2928imp 410 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
30 0lt1 11354 . . . . . . . . . 10 0 < 1
31 1re 10833 . . . . . . . . . . 11 1 ∈ ℝ
32 ltletr 10924 . . . . . . . . . . 11 ((0 ∈ ℝ ∧ 1 ∈ ℝ ∧ 𝐴 ∈ ℝ) → ((0 < 1 ∧ 1 ≤ 𝐴) → 0 < 𝐴))
331, 31, 32mp3an12 1453 . . . . . . . . . 10 (𝐴 ∈ ℝ → ((0 < 1 ∧ 1 ≤ 𝐴) → 0 < 𝐴))
3430, 33mpani 696 . . . . . . . . 9 (𝐴 ∈ ℝ → (1 ≤ 𝐴 → 0 < 𝐴))
3534imp 410 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 0 < 𝐴)
364biimpri 231 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 𝐴 ∈ ℝ+)
3735, 36syldan 594 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ+)
3837rpreccld 12638 . . . . . 6 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ∈ ℝ+)
39 simpr 488 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 1 ≤ 𝐴)
40 lerec 11715 . . . . . . . . . 10 (((1 ∈ ℝ ∧ 0 < 1) ∧ (𝐴 ∈ ℝ ∧ 0 < 𝐴)) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4131, 30, 40mpanl12 702 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4235, 41syldan 594 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4339, 42mpbid 235 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ≤ (1 / 1))
44 1div1e1 11522 . . . . . . 7 (1 / 1) = 1
4543, 44breqtrdi 5094 . . . . . 6 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ≤ 1)
46 01sqrex 14813 . . . . . 6 (((1 / 𝐴) ∈ ℝ+ ∧ (1 / 𝐴) ≤ 1) → ∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)))
4738, 45, 46syl2anc 587 . . . . 5 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → ∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)))
48 rpre 12594 . . . . . . . . 9 (𝑦 ∈ ℝ+𝑦 ∈ ℝ)
49483ad2ant2 1136 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 𝑦 ∈ ℝ)
50 rpgt0 12598 . . . . . . . . 9 (𝑦 ∈ ℝ+ → 0 < 𝑦)
51503ad2ant2 1136 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 0 < 𝑦)
52 gt0ne0 11297 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 𝑦 ≠ 0)
53 rereccl 11550 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 𝑦 ≠ 0) → (1 / 𝑦) ∈ ℝ)
5452, 53syldan 594 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → (1 / 𝑦) ∈ ℝ)
5549, 51, 54syl2anc 587 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / 𝑦) ∈ ℝ)
56 recgt0 11678 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 0 < (1 / 𝑦))
57 ltle 10921 . . . . . . . . . 10 ((0 ∈ ℝ ∧ (1 / 𝑦) ∈ ℝ) → (0 < (1 / 𝑦) → 0 ≤ (1 / 𝑦)))
581, 57mpan 690 . . . . . . . . 9 ((1 / 𝑦) ∈ ℝ → (0 < (1 / 𝑦) → 0 ≤ (1 / 𝑦)))
5954, 56, 58sylc 65 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 0 ≤ (1 / 𝑦))
6049, 51, 59syl2anc 587 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 0 ≤ (1 / 𝑦))
61 recn 10819 . . . . . . . . . . 11 (𝑦 ∈ ℝ → 𝑦 ∈ ℂ)
6261adantr 484 . . . . . . . . . 10 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 𝑦 ∈ ℂ)
6362, 52sqrecd 13720 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → ((1 / 𝑦)↑2) = (1 / (𝑦↑2)))
6449, 51, 63syl2anc 587 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ((1 / 𝑦)↑2) = (1 / (𝑦↑2)))
65 simp3r 1204 . . . . . . . . 9 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (𝑦↑2) = (1 / 𝐴))
6665oveq2d 7229 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / (𝑦↑2)) = (1 / (1 / 𝐴)))
67 recn 10819 . . . . . . . . . 10 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
68 gt0ne0 11297 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 𝐴 ≠ 0)
6935, 68syldan 594 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 𝐴 ≠ 0)
70 recrec 11529 . . . . . . . . . 10 ((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) → (1 / (1 / 𝐴)) = 𝐴)
7167, 69, 70syl2an2r 685 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / (1 / 𝐴)) = 𝐴)
72713ad2ant1 1135 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / (1 / 𝐴)) = 𝐴)
7364, 66, 723eqtrd 2781 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ((1 / 𝑦)↑2) = 𝐴)
74 breq2 5057 . . . . . . . . 9 (𝑥 = (1 / 𝑦) → (0 ≤ 𝑥 ↔ 0 ≤ (1 / 𝑦)))
75 oveq1 7220 . . . . . . . . . 10 (𝑥 = (1 / 𝑦) → (𝑥↑2) = ((1 / 𝑦)↑2))
7675eqeq1d 2739 . . . . . . . . 9 (𝑥 = (1 / 𝑦) → ((𝑥↑2) = 𝐴 ↔ ((1 / 𝑦)↑2) = 𝐴))
7774, 76anbi12d 634 . . . . . . . 8 (𝑥 = (1 / 𝑦) → ((0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴) ↔ (0 ≤ (1 / 𝑦) ∧ ((1 / 𝑦)↑2) = 𝐴)))
7877rspcev 3537 . . . . . . 7 (((1 / 𝑦) ∈ ℝ ∧ (0 ≤ (1 / 𝑦) ∧ ((1 / 𝑦)↑2) = 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
7955, 60, 73, 78syl12anc 837 . . . . . 6 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
8079rexlimdv3a 3205 . . . . 5 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
8147, 80mpd 15 . . . 4 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
8281ex 416 . . 3 (𝐴 ∈ ℝ → (1 ≤ 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
8382adantr 484 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (1 ≤ 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
84 simpl 486 . . 3 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → 𝐴 ∈ ℝ)
85 letric 10932 . . 3 ((𝐴 ∈ ℝ ∧ 1 ∈ ℝ) → (𝐴 ≤ 1 ∨ 1 ≤ 𝐴))
8684, 31, 85sylancl 589 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (𝐴 ≤ 1 ∨ 1 ≤ 𝐴))
8729, 83, 86mpjaod 860 1 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 847  w3a 1089   = wceq 1543  wcel 2110  wne 2940  wrex 3062   class class class wbr 5053  (class class class)co 7213  cc 10727  cr 10728  0cc0 10729  1c1 10730   < clt 10867  cle 10868   / cdiv 11489  2c2 11885  +crp 12586  cexp 13635
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806  ax-pre-sup 10807
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-er 8391  df-en 8627  df-dom 8628  df-sdom 8629  df-sup 9058  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-div 11490  df-nn 11831  df-2 11893  df-3 11894  df-n0 12091  df-z 12177  df-uz 12439  df-rp 12587  df-seq 13575  df-exp 13636
This theorem is referenced by:  resqreu  14816  resqrtcl  14817
  Copyright terms: Public domain W3C validator