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

Theorem dmaddpqlem 7339
Description: Decomposition of a positive fraction into numerator and denominator. Lemma for dmaddpq 7341. (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 6565 . . 3 (𝑥 ∈ ((N × N) / ~Q ) → ∃𝑎 ∈ (N × N)𝑥 = [𝑎] ~Q )
2 elxpi 4627 . . . . . . . 8 (𝑎 ∈ (N × N) → ∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)))
3 simpl 108 . . . . . . . . 9 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)) → 𝑎 = ⟨𝑤, 𝑣⟩)
432eximi 1594 . . . . . . . 8 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ (𝑤N𝑣N)) → ∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩)
52, 4syl 14 . . . . . . 7 (𝑎 ∈ (N × N) → ∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩)
65anim1i 338 . . . . . 6 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → (∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
7 19.41vv 1896 . . . . . 6 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) ↔ (∃𝑤𝑣 𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
86, 7sylibr 133 . . . . 5 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ))
9 simpr 109 . . . . . . 7 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → 𝑥 = [𝑎] ~Q )
10 eceq1 6548 . . . . . . . 8 (𝑎 = ⟨𝑤, 𝑣⟩ → [𝑎] ~Q = [⟨𝑤, 𝑣⟩] ~Q )
1110adantr 274 . . . . . . 7 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → [𝑎] ~Q = [⟨𝑤, 𝑣⟩] ~Q )
129, 11eqtrd 2203 . . . . . 6 ((𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
13122eximi 1594 . . . . 5 (∃𝑤𝑣(𝑎 = ⟨𝑤, 𝑣⟩ ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
148, 13syl 14 . . . 4 ((𝑎 ∈ (N × N) ∧ 𝑥 = [𝑎] ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
1514rexlimiva 2582 . . 3 (∃𝑎 ∈ (N × N)𝑥 = [𝑎] ~Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
161, 15syl 14 . 2 (𝑥 ∈ ((N × N) / ~Q ) → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
17 df-nqqs 7310 . 2 Q = ((N × N) / ~Q )
1816, 17eleq2s 2265 1 (𝑥Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1348  wex 1485  wcel 2141  wrex 2449  cop 3586   × cxp 4609  [cec 6511   / cqs 6512  Ncnpi 7234   ~Q ceq 7241  Qcnq 7242
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-un 3125  df-in 3127  df-ss 3134  df-sn 3589  df-pr 3590  df-op 3592  df-br 3990  df-opab 4051  df-xp 4617  df-cnv 4619  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-ec 6515  df-qs 6519  df-nqqs 7310
This theorem is referenced by:  dmaddpq  7341  dmmulpq  7342
  Copyright terms: Public domain W3C validator