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

Theorem resqrex 14035
 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 10078 . . . . 5 0 ∈ ℝ
2 leloe 10162 . . . . 5 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 ≤ 𝐴 ↔ (0 < 𝐴 ∨ 0 = 𝐴)))
31, 2mpan 706 . . . 4 (𝐴 ∈ ℝ → (0 ≤ 𝐴 ↔ (0 < 𝐴 ∨ 0 = 𝐴)))
4 elrp 11872 . . . . . . 7 (𝐴 ∈ ℝ+ ↔ (𝐴 ∈ ℝ ∧ 0 < 𝐴))
5 01sqrex 14034 . . . . . . . 8 ((𝐴 ∈ ℝ+𝐴 ≤ 1) → ∃𝑥 ∈ ℝ+ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴))
6 rprege0 11885 . . . . . . . . . . . 12 (𝑥 ∈ ℝ+ → (𝑥 ∈ ℝ ∧ 0 ≤ 𝑥))
76anim1i 591 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑥↑2) = 𝐴) → ((𝑥 ∈ ℝ ∧ 0 ≤ 𝑥) ∧ (𝑥↑2) = 𝐴))
8 anass 682 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 0 ≤ 𝑥) ∧ (𝑥↑2) = 𝐴) ↔ (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
97, 8sylib 208 . . . . . . . . . 10 ((𝑥 ∈ ℝ+ ∧ (𝑥↑2) = 𝐴) → (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
109adantrl 752 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴)) → (𝑥 ∈ ℝ ∧ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
1110reximi2 3039 . . . . . . . 8 (∃𝑥 ∈ ℝ+ (𝑥 ≤ 1 ∧ (𝑥↑2) = 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
125, 11syl 17 . . . . . . 7 ((𝐴 ∈ ℝ+𝐴 ≤ 1) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
134, 12sylanbr 489 . . . . . 6 (((𝐴 ∈ ℝ ∧ 0 < 𝐴) ∧ 𝐴 ≤ 1) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
1413exp31 629 . . . . 5 (𝐴 ∈ ℝ → (0 < 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
15 sq0 12995 . . . . . . . . . 10 (0↑2) = 0
16 id 22 . . . . . . . . . 10 (0 = 𝐴 → 0 = 𝐴)
1715, 16syl5eq 2697 . . . . . . . . 9 (0 = 𝐴 → (0↑2) = 𝐴)
18 0le0 11148 . . . . . . . . 9 0 ≤ 0
1917, 18jctil 559 . . . . . . . 8 (0 = 𝐴 → (0 ≤ 0 ∧ (0↑2) = 𝐴))
20 breq2 4689 . . . . . . . . . 10 (𝑥 = 0 → (0 ≤ 𝑥 ↔ 0 ≤ 0))
21 oveq1 6697 . . . . . . . . . . 11 (𝑥 = 0 → (𝑥↑2) = (0↑2))
2221eqeq1d 2653 . . . . . . . . . 10 (𝑥 = 0 → ((𝑥↑2) = 𝐴 ↔ (0↑2) = 𝐴))
2320, 22anbi12d 747 . . . . . . . . 9 (𝑥 = 0 → ((0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴) ↔ (0 ≤ 0 ∧ (0↑2) = 𝐴)))
2423rspcev 3340 . . . . . . . 8 ((0 ∈ ℝ ∧ (0 ≤ 0 ∧ (0↑2) = 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
251, 19, 24sylancr 696 . . . . . . 7 (0 = 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
2625a1d 25 . . . . . 6 (0 = 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
2726a1i 11 . . . . 5 (𝐴 ∈ ℝ → (0 = 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
2814, 27jaod 394 . . . 4 (𝐴 ∈ ℝ → ((0 < 𝐴 ∨ 0 = 𝐴) → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
293, 28sylbid 230 . . 3 (𝐴 ∈ ℝ → (0 ≤ 𝐴 → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))))
3029imp 444 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (𝐴 ≤ 1 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
31 0lt1 10588 . . . . . . . . . 10 0 < 1
32 1re 10077 . . . . . . . . . . 11 1 ∈ ℝ
33 ltletr 10167 . . . . . . . . . . 11 ((0 ∈ ℝ ∧ 1 ∈ ℝ ∧ 𝐴 ∈ ℝ) → ((0 < 1 ∧ 1 ≤ 𝐴) → 0 < 𝐴))
341, 32, 33mp3an12 1454 . . . . . . . . . 10 (𝐴 ∈ ℝ → ((0 < 1 ∧ 1 ≤ 𝐴) → 0 < 𝐴))
3531, 34mpani 712 . . . . . . . . 9 (𝐴 ∈ ℝ → (1 ≤ 𝐴 → 0 < 𝐴))
3635imp 444 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 0 < 𝐴)
374biimpri 218 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 𝐴 ∈ ℝ+)
3836, 37syldan 486 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ+)
3938rpreccld 11920 . . . . . 6 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ∈ ℝ+)
40 simpr 476 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 1 ≤ 𝐴)
41 lerec 10944 . . . . . . . . . 10 (((1 ∈ ℝ ∧ 0 < 1) ∧ (𝐴 ∈ ℝ ∧ 0 < 𝐴)) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4232, 31, 41mpanl12 718 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4336, 42syldan 486 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 ≤ 𝐴 ↔ (1 / 𝐴) ≤ (1 / 1)))
4440, 43mpbid 222 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ≤ (1 / 1))
45 1div1e1 10755 . . . . . . 7 (1 / 1) = 1
4644, 45syl6breq 4726 . . . . . 6 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / 𝐴) ≤ 1)
47 01sqrex 14034 . . . . . 6 (((1 / 𝐴) ∈ ℝ+ ∧ (1 / 𝐴) ≤ 1) → ∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)))
4839, 46, 47syl2anc 694 . . . . 5 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → ∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)))
49 rpre 11877 . . . . . . . . 9 (𝑦 ∈ ℝ+𝑦 ∈ ℝ)
50493ad2ant2 1103 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 𝑦 ∈ ℝ)
51 rpgt0 11882 . . . . . . . . 9 (𝑦 ∈ ℝ+ → 0 < 𝑦)
52513ad2ant2 1103 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 0 < 𝑦)
53 gt0ne0 10531 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 𝑦 ≠ 0)
54 rereccl 10781 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 𝑦 ≠ 0) → (1 / 𝑦) ∈ ℝ)
5553, 54syldan 486 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → (1 / 𝑦) ∈ ℝ)
5650, 52, 55syl2anc 694 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / 𝑦) ∈ ℝ)
57 recgt0 10905 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 0 < (1 / 𝑦))
58 ltle 10164 . . . . . . . . . 10 ((0 ∈ ℝ ∧ (1 / 𝑦) ∈ ℝ) → (0 < (1 / 𝑦) → 0 ≤ (1 / 𝑦)))
591, 58mpan 706 . . . . . . . . 9 ((1 / 𝑦) ∈ ℝ → (0 < (1 / 𝑦) → 0 ≤ (1 / 𝑦)))
6055, 57, 59sylc 65 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 0 ≤ (1 / 𝑦))
6150, 52, 60syl2anc 694 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → 0 ≤ (1 / 𝑦))
62 recn 10064 . . . . . . . . . . 11 (𝑦 ∈ ℝ → 𝑦 ∈ ℂ)
6362adantr 480 . . . . . . . . . 10 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → 𝑦 ∈ ℂ)
6463, 53sqrecd 13052 . . . . . . . . 9 ((𝑦 ∈ ℝ ∧ 0 < 𝑦) → ((1 / 𝑦)↑2) = (1 / (𝑦↑2)))
6550, 52, 64syl2anc 694 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ((1 / 𝑦)↑2) = (1 / (𝑦↑2)))
66 simp3r 1110 . . . . . . . . 9 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (𝑦↑2) = (1 / 𝐴))
6766oveq2d 6706 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / (𝑦↑2)) = (1 / (1 / 𝐴)))
68 gt0ne0 10531 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 𝐴 ≠ 0)
6936, 68syldan 486 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → 𝐴 ≠ 0)
70 recn 10064 . . . . . . . . . . 11 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
71 recrec 10760 . . . . . . . . . . 11 ((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) → (1 / (1 / 𝐴)) = 𝐴)
7270, 71sylan 487 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (1 / (1 / 𝐴)) = 𝐴)
7369, 72syldan 486 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (1 / (1 / 𝐴)) = 𝐴)
74733ad2ant1 1102 . . . . . . . 8 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → (1 / (1 / 𝐴)) = 𝐴)
7565, 67, 743eqtrd 2689 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ((1 / 𝑦)↑2) = 𝐴)
76 breq2 4689 . . . . . . . . 9 (𝑥 = (1 / 𝑦) → (0 ≤ 𝑥 ↔ 0 ≤ (1 / 𝑦)))
77 oveq1 6697 . . . . . . . . . 10 (𝑥 = (1 / 𝑦) → (𝑥↑2) = ((1 / 𝑦)↑2))
7877eqeq1d 2653 . . . . . . . . 9 (𝑥 = (1 / 𝑦) → ((𝑥↑2) = 𝐴 ↔ ((1 / 𝑦)↑2) = 𝐴))
7976, 78anbi12d 747 . . . . . . . 8 (𝑥 = (1 / 𝑦) → ((0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴) ↔ (0 ≤ (1 / 𝑦) ∧ ((1 / 𝑦)↑2) = 𝐴)))
8079rspcev 3340 . . . . . . 7 (((1 / 𝑦) ∈ ℝ ∧ (0 ≤ (1 / 𝑦) ∧ ((1 / 𝑦)↑2) = 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
8156, 61, 75, 80syl12anc 1364 . . . . . 6 (((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℝ+ ∧ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴))) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
8281rexlimdv3a 3062 . . . . 5 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → (∃𝑦 ∈ ℝ+ (𝑦 ≤ 1 ∧ (𝑦↑2) = (1 / 𝐴)) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
8348, 82mpd 15 . . . 4 ((𝐴 ∈ ℝ ∧ 1 ≤ 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
8483ex 449 . . 3 (𝐴 ∈ ℝ → (1 ≤ 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
8584adantr 480 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (1 ≤ 𝐴 → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴)))
86 simpl 472 . . 3 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → 𝐴 ∈ ℝ)
87 letric 10175 . . 3 ((𝐴 ∈ ℝ ∧ 1 ∈ ℝ) → (𝐴 ≤ 1 ∨ 1 ≤ 𝐴))
8886, 32, 87sylancl 695 . 2 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → (𝐴 ≤ 1 ∨ 1 ≤ 𝐴))
8930, 85, 88mpjaod 395 1 ((𝐴 ∈ ℝ ∧ 0 ≤ 𝐴) → ∃𝑥 ∈ ℝ (0 ≤ 𝑥 ∧ (𝑥↑2) = 𝐴))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∨ wo 382   ∧ wa 383   ∧ w3a 1054   = wceq 1523   ∈ wcel 2030   ≠ wne 2823  ∃wrex 2942   class class class wbr 4685  (class class class)co 6690  ℂcc 9972  ℝcr 9973  0cc0 9974  1c1 9975   < clt 10112   ≤ cle 10113   / cdiv 10722  2c2 11108  ℝ+crp 11870  ↑cexp 12900 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051  ax-pre-sup 10052 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-sup 8389  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-div 10723  df-nn 11059  df-2 11117  df-3 11118  df-n0 11331  df-z 11416  df-uz 11726  df-rp 11871  df-seq 12842  df-exp 12901 This theorem is referenced by:  resqreu  14037  resqrtcl  14038
 Copyright terms: Public domain W3C validator