 Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  qnumdencl GIF version

Theorem qnumdencl 10959
 Description: Lemma for qnumcl 10960 and qdencl 10961. (Contributed by Stefan O'Rear, 13-Sep-2014.)
Assertion
Ref Expression
qnumdencl (𝐴 ∈ ℚ → ((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ))

Proof of Theorem qnumdencl
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 qredeu 10873 . . 3 (𝐴 ∈ ℚ → ∃!𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))
2 riotacl 5564 . . 3 (∃!𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))) → (𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) ∈ (ℤ × ℕ))
31, 2syl 14 . 2 (𝐴 ∈ ℚ → (𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) ∈ (ℤ × ℕ))
4 elxp6 5878 . . 3 ((𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) ∈ (ℤ × ℕ) ↔ ((𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) = ⟨(1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))), (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))))⟩ ∧ ((1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℤ ∧ (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℕ)))
5 qnumval 10957 . . . . . . 7 (𝐴 ∈ ℚ → (numer‘𝐴) = (1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))))
65eleq1d 2153 . . . . . 6 (𝐴 ∈ ℚ → ((numer‘𝐴) ∈ ℤ ↔ (1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℤ))
7 qdenval 10958 . . . . . . 7 (𝐴 ∈ ℚ → (denom‘𝐴) = (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))))
87eleq1d 2153 . . . . . 6 (𝐴 ∈ ℚ → ((denom‘𝐴) ∈ ℕ ↔ (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℕ))
96, 8anbi12d 457 . . . . 5 (𝐴 ∈ ℚ → (((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ) ↔ ((1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℤ ∧ (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℕ)))
109biimprd 156 . . . 4 (𝐴 ∈ ℚ → (((1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℤ ∧ (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℕ) → ((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ)))
1110adantld 272 . . 3 (𝐴 ∈ ℚ → (((𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) = ⟨(1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))), (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))))⟩ ∧ ((1st ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℤ ∧ (2nd ‘(𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎))))) ∈ ℕ)) → ((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ)))
124, 11syl5bi 150 . 2 (𝐴 ∈ ℚ → ((𝑎 ∈ (ℤ × ℕ)(((1st𝑎) gcd (2nd𝑎)) = 1 ∧ 𝐴 = ((1st𝑎) / (2nd𝑎)))) ∈ (ℤ × ℕ) → ((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ)))
133, 12mpd 13 1 (𝐴 ∈ ℚ → ((numer‘𝐴) ∈ ℤ ∧ (denom‘𝐴) ∈ ℕ))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 102   = wceq 1287   ∈ wcel 1436  ∃!wreu 2357  ⟨cop 3428   × cxp 4402  ‘cfv 4972  ℩crio 5549  (class class class)co 5594  1st c1st 5847  2nd c2nd 5848  1c1 7272   / cdiv 8055  ℕcn 8334  ℤcz 8660  ℚcq 9013   gcd cgcd 10732  numercnumer 10953  denomcdenom 10954 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1379  ax-7 1380  ax-gen 1381  ax-ie1 1425  ax-ie2 1426  ax-8 1438  ax-10 1439  ax-11 1440  ax-i12 1441  ax-bndl 1442  ax-4 1443  ax-13 1447  ax-14 1448  ax-17 1462  ax-i9 1466  ax-ial 1470  ax-i5r 1471  ax-ext 2067  ax-coll 3922  ax-sep 3925  ax-nul 3933  ax-pow 3977  ax-pr 4003  ax-un 4227  ax-setind 4319  ax-iinf 4369  ax-cnex 7357  ax-resscn 7358  ax-1cn 7359  ax-1re 7360  ax-icn 7361  ax-addcl 7362  ax-addrcl 7363  ax-mulcl 7364  ax-mulrcl 7365  ax-addcom 7366  ax-mulcom 7367  ax-addass 7368  ax-mulass 7369  ax-distr 7370  ax-i2m1 7371  ax-0lt1 7372  ax-1rid 7373  ax-0id 7374  ax-rnegex 7375  ax-precex 7376  ax-cnre 7377  ax-pre-ltirr 7378  ax-pre-ltwlin 7379  ax-pre-lttrn 7380  ax-pre-apti 7381  ax-pre-ltadd 7382  ax-pre-mulgt0 7383  ax-pre-mulext 7384  ax-arch 7385  ax-caucvg 7386 This theorem depends on definitions:  df-bi 115  df-dc 779  df-3or 923  df-3an 924  df-tru 1290  df-fal 1293  df-nf 1393  df-sb 1690  df-eu 1948  df-mo 1949  df-clab 2072  df-cleq 2078  df-clel 2081  df-nfc 2214  df-ne 2252  df-nel 2347  df-ral 2360  df-rex 2361  df-reu 2362  df-rmo 2363  df-rab 2364  df-v 2616  df-sbc 2829  df-csb 2922  df-dif 2988  df-un 2990  df-in 2992  df-ss 2999  df-nul 3273  df-if 3377  df-pw 3411  df-sn 3431  df-pr 3432  df-op 3434  df-uni 3631  df-int 3666  df-iun 3709  df-br 3815  df-opab 3869  df-mpt 3870  df-tr 3905  df-id 4087  df-po 4090  df-iso 4091  df-iord 4160  df-on 4162  df-ilim 4163  df-suc 4165  df-iom 4372  df-xp 4410  df-rel 4411  df-cnv 4412  df-co 4413  df-dm 4414  df-rn 4415  df-res 4416  df-ima 4417  df-iota 4937  df-fun 4974  df-fn 4975  df-f 4976  df-f1 4977  df-fo 4978  df-f1o 4979  df-fv 4980  df-riota 5550  df-ov 5597  df-oprab 5598  df-mpt2 5599  df-1st 5849  df-2nd 5850  df-recs 6005  df-frec 6091  df-sup 6600  df-pnf 7445  df-mnf 7446  df-xr 7447  df-ltxr 7448  df-le 7449  df-sub 7576  df-neg 7577  df-reap 7970  df-ap 7977  df-div 8056  df-inn 8335  df-2 8393  df-3 8394  df-4 8395  df-n0 8584  df-z 8661  df-uz 8929  df-q 9014  df-rp 9044  df-fz 9334  df-fzo 9458  df-fl 9580  df-mod 9633  df-iseq 9755  df-iexp 9806  df-cj 10117  df-re 10118  df-im 10119  df-rsqrt 10272  df-abs 10273  df-dvds 10591  df-gcd 10733  df-numer 10955  df-denom 10956 This theorem is referenced by:  qnumcl  10960  qdencl  10961
 Copyright terms: Public domain W3C validator