Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  requad2 Structured version   Visualization version   GIF version

Theorem requad2 49077
Description: A condition for a quadratic equation with real coefficients to have (exactly) two different real solutions. (Contributed by AV, 28-Jan-2023.)
Hypotheses
Ref Expression
requad2.a (𝜑 → 𝐴 ∈ ℝ)
requad2.z (𝜑 → 𝐴 ≠ 0)
requad2.b (𝜑 → 𝐵 ∈ ℝ)
requad2.c (𝜑 → 𝐶 ∈ ℝ)
requad2.d (𝜑 → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
Assertion
Ref Expression
requad2 (𝜑 → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝑥,𝐷   𝜑,𝑥   𝐴,𝑝   𝐵,𝑝   𝐶,𝑝   𝐷,𝑝   𝜑,𝑝,𝑥

Proof of Theorem requad2
Dummy variables 𝑎 𝑏 𝑦 𝑞 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 requad2.a . . . . . . . . . 10 (𝜑 → 𝐴 ∈ ℝ)
21recnd 11387 . . . . . . . . 9 (𝜑 → 𝐴 ∈ ℂ)
32ad3antrrr 743 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝐴 ∈ ℂ)
4 requad2.z . . . . . . . . 9 (𝜑 → 𝐴 ≠ 0)
54ad3antrrr 743 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝐴 ≠ 0)
6 requad2.b . . . . . . . . . 10 (𝜑 → 𝐵 ∈ ℝ)
76recnd 11387 . . . . . . . . 9 (𝜑 → 𝐵 ∈ ℂ)
87ad3antrrr 743 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝐵 ∈ ℂ)
9 requad2.c . . . . . . . . . 10 (𝜑 → 𝐶 ∈ ℝ)
109recnd 11387 . . . . . . . . 9 (𝜑 → 𝐶 ∈ ℂ)
1110ad3antrrr 743 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝐶 ∈ ℂ)
12 elelpwi 4572 . . . . . . . . . . . 12 ((𝑥 ∈ 𝑝 ∧ 𝑝 ∈ 𝒫 ℝ) → 𝑥 ∈ ℝ)
1312expcom 419 . . . . . . . . . . 11 (𝑝 ∈ 𝒫 ℝ → (𝑥 ∈ 𝑝 → 𝑥 ∈ ℝ))
1413adantl 487 . . . . . . . . . 10 (((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) → (𝑥 ∈ 𝑝 → 𝑥 ∈ ℝ))
1514imp 412 . . . . . . . . 9 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝑥 ∈ ℝ)
1615recnd 11387 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝑥 ∈ ℂ)
17 requad2.d . . . . . . . . 9 (𝜑 → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
1817ad3antrrr 743 . . . . . . . 8 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → 𝐷 = ((𝐵↑2) − (4 · (𝐴 · 𝐶))))
193, 5, 8, 11, 16, 18quad 27292 . . . . . . 7 ((((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) ∧ 𝑥 ∈ 𝑝) → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
2019ralbidva 3193 . . . . . 6 (((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
2120anbi2d 642 . . . . 5 (((𝜑 ∧ 0 ≤ 𝐷) ∧ 𝑝 ∈ 𝒫 ℝ) → (((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))))))
2221reubidva 3385 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))))))
23 eqid 2769 . . . . . . . 8 {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2} = {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2}
2423pairreueq 48948 . . . . . . 7 (∃!𝑝 ∈ {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2}∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) ↔ ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
2524bicomi 227 . . . . . 6 (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))) ↔ ∃!𝑝 ∈ {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2}∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))))
2625a1i 11 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))) ↔ ∃!𝑝 ∈ {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2}∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))))
276renegcld 11793 . . . . . . . . 9 (𝜑 → -𝐵 ∈ ℝ)
2827adantr 486 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
296resqcld 14321 . . . . . . . . . . . 12 (𝜑 → (𝐵↑2) ∈ ℝ)
30 4re 12478 . . . . . . . . . . . . . 14 4 ∈ ℝ
3130a1i 11 . . . . . . . . . . . . 13 (𝜑 → 4 ∈ ℝ)
321, 9remulcld 11389 . . . . . . . . . . . . 13 (𝜑 → (𝐴 · 𝐶) ∈ ℝ)
3331, 32remulcld 11389 . . . . . . . . . . . 12 (𝜑 → (4 · (𝐴 · 𝐶)) ∈ ℝ)
3429, 33resubcld 11794 . . . . . . . . . . 11 (𝜑 → ((𝐵↑2) − (4 · (𝐴 · 𝐶))) ∈ ℝ)
3517, 34eqeltrd 2870 . . . . . . . . . 10 (𝜑 → 𝐷 ∈ ℝ)
3635adantr 486 . . . . . . . . 9 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐷 ∈ ℝ)
37 simpr 490 . . . . . . . . 9 ((𝜑 ∧ 0 ≤ 𝐷) → 0 ≤ 𝐷)
3836, 37resqrtcld 15642 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → (√‘𝐷) ∈ ℝ)
3928, 38readdcld 11388 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → ( -𝐵 + (√‘𝐷)) ∈ ℝ)
40 2re 12468 . . . . . . . . . 10 2 ∈ ℝ
4140a1i 11 . . . . . . . . 9 (𝜑 → 2 ∈ ℝ)
4241, 1remulcld 11389 . . . . . . . 8 (𝜑 → (2 · 𝐴) ∈ ℝ)
4342adantr 486 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
44 2cnne0 12606 . . . . . . . . . 10 (2 ∈ ℂ ∧ 2 ≠ 0)
4544a1i 11 . . . . . . . . 9 (𝜑 → (2 ∈ ℂ ∧ 2 ≠ 0))
46 mulne0 12009 . . . . . . . . 9 (((2 ∈ ℂ ∧ 2 ≠ 0) ∧ (𝐴 ∈ ℂ ∧ 𝐴 ≠ 0)) → (2 · 𝐴) ≠ 0)
4745, 2, 4, 46syl12anc 850 . . . . . . . 8 (𝜑 → (2 · 𝐴) ≠ 0)
4847adantr 486 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ≠ 0)
4939, 43, 48redivcld 12196 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
506adantr 486 . . . . . . . . 9 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐵 ∈ ℝ)
5150renegcld 11793 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → -𝐵 ∈ ℝ)
5251, 38resubcld 11794 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → ( -𝐵 − (√‘𝐷)) ∈ ℝ)
5340a1i 11 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → 2 ∈ ℝ)
541adantr 486 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → 𝐴 ∈ ℝ)
5553, 54remulcld 11389 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → (2 · 𝐴) ∈ ℝ)
5652, 55, 48redivcld 12196 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ∈ ℝ)
57 fveqeq2 6935 . . . . . . 7 (𝑞 = 𝑥 → ((♯‘𝑞) = 2 ↔ (♯‘𝑥) = 2))
5857cbvrabv 3428 . . . . . 6 {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2} = {𝑥 ∈ 𝒫 ℝ ∣ (♯‘𝑥) = 2}
5949, 56, 58paireqne 48949 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → (∃!𝑝 ∈ {𝑞 ∈ 𝒫 ℝ ∣ (♯‘𝑞) = 2}∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))) ↔ (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ≠ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴))))
607negcld 11706 . . . . . . . . . . 11 (𝜑 → -𝐵 ∈ ℂ)
6135recnd 11387 . . . . . . . . . . . 12 (𝜑 → 𝐷 ∈ ℂ)
6261sqrtcld 15664 . . . . . . . . . . 11 (𝜑 → (√‘𝐷) ∈ ℂ)
6360, 62addcld 11378 . . . . . . . . . 10 (𝜑 → ( -𝐵 + (√‘𝐷)) ∈ ℂ)
6460, 62subcld 11719 . . . . . . . . . 10 (𝜑 → ( -𝐵 − (√‘𝐷)) ∈ ℂ)
65 2cnd 12472 . . . . . . . . . . 11 (𝜑 → 2 ∈ ℂ)
6665, 2mulcld 11379 . . . . . . . . . 10 (𝜑 → (2 · 𝐴) ∈ ℂ)
67 div11 12053 . . . . . . . . . 10 ((( -𝐵 + (√‘𝐷)) ∈ ℂ ∧ ( -𝐵 − (√‘𝐷)) ∈ ℂ ∧ ((2 · 𝐴) ∈ ℂ ∧ (2 · 𝐴) ≠ 0)) → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ ( -𝐵 + (√‘𝐷)) = ( -𝐵 − (√‘𝐷))))
6863, 64, 66, 47, 67syl112anc 1404 . . . . . . . . 9 (𝜑 → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ ( -𝐵 + (√‘𝐷)) = ( -𝐵 − (√‘𝐷))))
6960, 62negsubd 11725 . . . . . . . . . . 11 (𝜑 → ( -𝐵 + -(√‘𝐷)) = ( -𝐵 − (√‘𝐷)))
7069eqcomd 2775 . . . . . . . . . 10 (𝜑 → ( -𝐵 − (√‘𝐷)) = ( -𝐵 + -(√‘𝐷)))
7170eqeq2d 2780 . . . . . . . . 9 (𝜑 → (( -𝐵 + (√‘𝐷)) = ( -𝐵 − (√‘𝐷)) ↔ ( -𝐵 + (√‘𝐷)) = ( -𝐵 + -(√‘𝐷))))
7262negcld 11706 . . . . . . . . . 10 (𝜑 → -(√‘𝐷) ∈ ℂ)
7360, 62, 72addcand 11563 . . . . . . . . 9 (𝜑 → (( -𝐵 + (√‘𝐷)) = ( -𝐵 + -(√‘𝐷)) ↔ (√‘𝐷) = -(√‘𝐷)))
7468, 71, 733bitrd 308 . . . . . . . 8 (𝜑 → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ (√‘𝐷) = -(√‘𝐷)))
7574necon3bid 3009 . . . . . . 7 (𝜑 → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ≠ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ (√‘𝐷) ≠ -(√‘𝐷)))
7675adantr 486 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ≠ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ (√‘𝐷) ≠ -(√‘𝐷)))
77 cnsqrt00 15617 . . . . . . . . . 10 (𝐷 ∈ ℂ → ((√‘𝐷) = 0 ↔ 𝐷 = 0))
7861, 77syl 18 . . . . . . . . 9 (𝜑 → ((√‘𝐷) = 0 ↔ 𝐷 = 0))
7978necon3bid 3009 . . . . . . . 8 (𝜑 → ((√‘𝐷) ≠ 0 ↔ 𝐷 ≠ 0))
8079adantr 486 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → ((√‘𝐷) ≠ 0 ↔ 𝐷 ≠ 0))
8162eqnegd 12089 . . . . . . . . 9 (𝜑 → ((√‘𝐷) = -(√‘𝐷) ↔ (√‘𝐷) = 0))
8281adantr 486 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → ((√‘𝐷) = -(√‘𝐷) ↔ (√‘𝐷) = 0))
8382necon3bid 3009 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → ((√‘𝐷) ≠ -(√‘𝐷) ↔ (√‘𝐷) ≠ 0))
84 0red 11361 . . . . . . . 8 ((𝜑 ∧ 0 ≤ 𝐷) → 0 ∈ ℝ)
8584, 36, 37leltned 11513 . . . . . . 7 ((𝜑 ∧ 0 ≤ 𝐷) → (0 < 𝐷 ↔ 𝐷 ≠ 0))
8680, 83, 853bitr4d 314 . . . . . 6 ((𝜑 ∧ 0 ≤ 𝐷) → ((√‘𝐷) ≠ -(√‘𝐷) ↔ 0 < 𝐷))
8776, 86bitrd 282 . . . . 5 ((𝜑 ∧ 0 ≤ 𝐷) → ((( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ≠ (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)) ↔ 0 < 𝐷))
8826, 59, 873bitrd 308 . . . 4 ((𝜑 ∧ 0 ≤ 𝐷) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 (𝑥 = (( -𝐵 + (√‘𝐷)) / (2 · 𝐴)) ∨ 𝑥 = (( -𝐵 − (√‘𝐷)) / (2 · 𝐴)))) ↔ 0 < 𝐷))
8922, 88bitrd 282 . . 3 ((𝜑 ∧ 0 ≤ 𝐷) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷))
9089expcom 419 . 2 (0 ≤ 𝐷 → (𝜑 → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷)))
91 hash2prb 14671 . . . . . . . . . . . . 13 (𝑝 ∈ 𝒫 ℝ → ((♯‘𝑝) = 2 ↔ ∃𝑎 ∈ 𝑝 ∃𝑏 ∈ 𝑝 (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})))
9291adantl 487 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) → ((♯‘𝑝) = 2 ↔ ∃𝑎 ∈ 𝑝 ∃𝑏 ∈ 𝑝 (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})))
93 raleq 3323 . . . . . . . . . . . . . . . . . 18 (𝑝 = {𝑎, 𝑏} → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ∀𝑥 ∈ {𝑎, 𝑏} ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
94 vex 3460 . . . . . . . . . . . . . . . . . . 19 𝑎 ∈ V
95 vex 3460 . . . . . . . . . . . . . . . . . . 19 𝑏 ∈ V
96 oveq1 7469 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑎 → (𝑥↑2) = (𝑎↑2))
9796oveq2d 7478 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑎 → (𝐴 · (𝑥↑2)) = (𝐴 · (𝑎↑2)))
98 oveq2 7470 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑎 → (𝐵 · 𝑥) = (𝐵 · 𝑎))
9998oveq1d 7477 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑎 → ((𝐵 · 𝑥) + 𝐶) = ((𝐵 · 𝑎) + 𝐶))
10097, 99oveq12d 7480 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑎 → ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = ((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)))
101100eqeq1d 2771 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0))
102 oveq1 7469 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑏 → (𝑥↑2) = (𝑏↑2))
103102oveq2d 7478 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑏 → (𝐴 · (𝑥↑2)) = (𝐴 · (𝑏↑2)))
104 oveq2 7470 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥 = 𝑏 → (𝐵 · 𝑥) = (𝐵 · 𝑏))
105104oveq1d 7477 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = 𝑏 → ((𝐵 · 𝑥) + 𝐶) = ((𝐵 · 𝑏) + 𝐶))
106103, 105oveq12d 7480 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑏 → ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)))
107106eqeq1d 2771 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑏 → (((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0))
10894, 95, 101, 107ralpr 4664 . . . . . . . . . . . . . . . . . 18 (∀𝑥 ∈ {𝑎, 𝑏} ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0 ∧ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0))
10993, 108bitrdi 290 . . . . . . . . . . . . . . . . 17 (𝑝 = {𝑎, 𝑏} → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0 ∧ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0)))
110109adantl 487 . . . . . . . . . . . . . . . 16 ((𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏}) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0 ∧ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0)))
111110adantl 487 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) ∧ (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 ↔ (((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0 ∧ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0)))
112 elelpwi 4572 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑏 ∈ 𝑝 ∧ 𝑝 ∈ 𝒫 ℝ) → 𝑏 ∈ ℝ)
113112ex 418 . . . . . . . . . . . . . . . . . . . . . 22 (𝑏 ∈ 𝑝 → (𝑝 ∈ 𝒫 ℝ → 𝑏 ∈ ℝ))
114113adantl 487 . . . . . . . . . . . . . . . . . . . . 21 ((𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝) → (𝑝 ∈ 𝒫 ℝ → 𝑏 ∈ ℝ))
115114com12 33 . . . . . . . . . . . . . . . . . . . 20 (𝑝 ∈ 𝒫 ℝ → ((𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝) → 𝑏 ∈ ℝ))
116115adantl 487 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) → ((𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝) → 𝑏 ∈ ℝ))
117116imp 412 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) → 𝑏 ∈ ℝ)
118 oveq1 7469 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = 𝑏 → (𝑦↑2) = (𝑏↑2))
119118oveq2d 7478 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑏 → (𝐴 · (𝑦↑2)) = (𝐴 · (𝑏↑2)))
120 oveq2 7470 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦 = 𝑏 → (𝐵 · 𝑦) = (𝐵 · 𝑏))
121120oveq1d 7477 . . . . . . . . . . . . . . . . . . . . 21 (𝑦 = 𝑏 → ((𝐵 · 𝑦) + 𝐶) = ((𝐵 · 𝑏) + 𝐶))
122119, 121oveq12d 7480 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑏 → ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)))
123122eqeq1d 2771 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑏 → (((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0 ↔ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0))
124123adantl 487 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) ∧ 𝑦 = 𝑏) → (((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0 ↔ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0))
125117, 124rspcedv 3575 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) → (((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
126125adantr 486 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) ∧ (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})) → (((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
127126adantld 496 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) ∧ (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})) → ((((𝐴 · (𝑎↑2)) + ((𝐵 · 𝑎) + 𝐶)) = 0 ∧ ((𝐴 · (𝑏↑2)) + ((𝐵 · 𝑏) + 𝐶)) = 0) → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
128111, 127sylbid 243 . . . . . . . . . . . . . 14 ((((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) ∧ (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏})) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
129128ex 418 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) ∧ (𝑎 ∈ 𝑝 ∧ 𝑏 ∈ 𝑝)) → ((𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏}) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0)))
130129rexlimdvva 3226 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) → (∃𝑎 ∈ 𝑝 ∃𝑏 ∈ 𝑝 (𝑎 ≠ 𝑏 ∧ 𝑝 = {𝑎, 𝑏}) → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0)))
13192, 130sylbid 243 . . . . . . . . . . 11 ((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) → ((♯‘𝑝) = 2 → (∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0 → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0)))
132131impd 416 . . . . . . . . . 10 ((𝜑 ∧ 𝑝 ∈ 𝒫 ℝ) → (((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
133132rexlimdva 3173 . . . . . . . . 9 (𝜑 → (∃𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) → ∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0))
1341, 4, 6, 9, 17requad01 49075 . . . . . . . . 9 (𝜑 → (∃𝑦 ∈ ℝ ((𝐴 · (𝑦↑2)) + ((𝐵 · 𝑦) + 𝐶)) = 0 ↔ 0 ≤ 𝐷))
135133, 134sylibd 242 . . . . . . . 8 (𝜑 → (∃𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) → 0 ≤ 𝐷))
136135con3d 153 . . . . . . 7 (𝜑 → (¬ 0 ≤ 𝐷 → ¬ ∃𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0)))
137136impcom 413 . . . . . 6 ((¬ 0 ≤ 𝐷 ∧ 𝜑) → ¬ ∃𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
138 reurex 3375 . . . . . 6 (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) → ∃𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
139137, 138nsyl 141 . . . . 5 ((¬ 0 ≤ 𝐷 ∧ 𝜑) → ¬ ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))
140139pm2.21d 122 . . . 4 ((¬ 0 ≤ 𝐷 ∧ 𝜑) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) → 0 < 𝐷))
141 0red 11361 . . . . . . . 8 (𝜑 → 0 ∈ ℝ)
142 ltle 11448 . . . . . . . 8 ((0 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (0 < 𝐷 → 0 ≤ 𝐷))
143141, 35, 142syl2anc 596 . . . . . . 7 (𝜑 → (0 < 𝐷 → 0 ≤ 𝐷))
144 pm2.24 125 . . . . . . 7 (0 ≤ 𝐷 → (¬ 0 ≤ 𝐷 → ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0)))
145143, 144syl6 36 . . . . . 6 (𝜑 → (0 < 𝐷 → (¬ 0 ≤ 𝐷 → ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))))
146145com23 87 . . . . 5 (𝜑 → (¬ 0 ≤ 𝐷 → (0 < 𝐷 → ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0))))
147146impcom 413 . . . 4 ((¬ 0 ≤ 𝐷 ∧ 𝜑) → (0 < 𝐷 → ∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0)))
148140, 147impbid 215 . . 3 ((¬ 0 ≤ 𝐷 ∧ 𝜑) → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷))
149148ex 418 . 2 (¬ 0 ≤ 𝐷 → (𝜑 → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷)))
15090, 149pm2.61i 184 1 (𝜑 → (∃!𝑝 ∈ 𝒫 ℝ((♯‘𝑝) = 2 ∧ ∀𝑥 ∈ 𝑝 ((𝐴 · (𝑥↑2)) + ((𝐵 · 𝑥) + 𝐶)) = 0) ↔ 0 < 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2151   ≠ wne 2965  ∀wral 3086  ∃wrex 3096  ∃!wreu 3369  {crab 3418  𝒫 cpw 4562  {cpr 4592   class class class wbr 5111  ‘cfv 6573  (class class class)co 7462  ℂcc 11248  ℝcr 11249  0cc0 11250   + caddc 11253   · cmul 11255   < clt 11393   ≤ cle 11394   − cmin 11591   -cneg 11592   / cdiv 12024  2c2 12448  4c4 12450  ↑cexp 14257  ♯chash 14528  √csqrt 15456
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794  ax-cnex 11306  ax-resscn 11307  ax-1cn 11308  ax-icn 11309  ax-addcl 11310  ax-addrcl 11311  ax-mulcl 11312  ax-mulrcl 11313  ax-mulcom 11314  ax-addass 11315  ax-mulass 11316  ax-distr 11317  ax-i2m1 11318  ax-1ne0 11319  ax-1rid 11320  ax-rnegex 11321  ax-rrecex 11322  ax-cnre 11323  ax-pre-lttri 11324  ax-pre-lttrn 11325  ax-pre-ltadd 11326  ax-pre-mulgt0 11327  ax-pre-sup 11328
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7465  df-oprab 7466  df-mpo 7467  df-om 7923  df-1st 8046  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467  df-1o 8525  df-2o 8526  df-oadd 8529  df-er 8766  df-en 9023  df-dom 9024  df-sdom 9025  df-fin 9026  df-sup 9482  df-dju 10030  df-card 10068  df-pnf 11395  df-mnf 11396  df-xr 11397  df-ltxr 11398  df-le 11399  df-sub 11593  df-neg 11594  df-div 12025  df-nn 12387  df-2 12456  df-3 12457  df-4 12458  df-n0 12658  df-z 12745  df-uz 13017  df-rp 13172  df-fz 13691  df-seq 14198  df-exp 14258  df-hash 14529  df-cj 15322  df-re 15323  df-im 15324  df-sqrt 15458  df-abs 15459
This theorem is used by:  itscnhlinecirc02p  50356
  Copyright terms: Public domain W3C validator