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

Theorem dmaddpqlem 6475
Description: Decomposition of a positive fraction into numerator and denominator. Lemma for dmaddpq 6477. (Contributed by Jim Kingdon, 15-Sep-2019.)
Assertion
Ref Expression
dmaddpqlem (𝑥Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
Distinct variable group:   𝑤,𝑣,𝑥

Proof of Theorem dmaddpqlem
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 elqsi 6158 . . 3 (𝑥 ∈ ((N × N) / ~Q ) → ∃𝑎 ∈ (N × N)𝑥 = [𝑎] ~Q )
2 elxpi 4361 . . . . . . . 8 (𝑎 ∈ (N × N) → ∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)))
3 simpl 102 . . . . . . . . 9 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)) → 𝑎 = ⟨𝑤, 𝑣⟩)
432eximi 1492 . . . . . . . 8 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)) → ∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩)
52, 4syl 14 . . . . . . 7 (𝑎 ∈ (N × N) → ∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩)
65anim1i 323 . . . . . 6 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → (∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
7 19.41vv 1783 . . . . . 6 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) ↔ (∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
86, 7sylibr 137 . . . . 5 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
9 simpr 103 . . . . . . 7 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → 𝑥 = [𝑎] ~Q )
10 eceq1 6141 . . . . . . . 8 (𝑎 = ⟨𝑤, 𝑣⟩ → [𝑎] ~Q = [⟨𝑤, 𝑣⟩] ~Q )
1110adantr 261 . . . . . . 7 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → [𝑎] ~Q = [⟨𝑤, 𝑣⟩] ~Q )
129, 11eqtrd 2072 . . . . . 6 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
13122eximi 1492 . . . . 5 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
148, 13syl 14 . . . 4 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
1514rexlimiva 2428 . . 3 (∃𝑎 ∈ (N × N)𝑥 = [𝑎] ~Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
161, 15syl 14 . 2 (𝑥 ∈ ((N × N) / ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
17 df-nqqs 6446 . 2 Q = ((N × N) / ~Q )
1816, 17eleq2s 2132 1 (𝑥Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97   = wceq 1243  wex 1381  wcel 1393  wrex 2307  cop 3378   × cxp 4343  [cec 6104   / cqs 6105  Ncnpi 6370   ~Q ceq 6377  Qcnq 6378
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-un 2922  df-in 2924  df-ss 2931  df-sn 3381  df-pr 3382  df-op 3384  df-br 3765  df-opab 3819  df-xp 4351  df-cnv 4353  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-ec 6108  df-qs 6112  df-nqqs 6446
This theorem is referenced by:  dmaddpq  6477  dmmulpq  6478
  Copyright terms: Public domain W3C validator