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

Theorem dmaddpq 6840
Description: Domain of addition on positive fractions. (Contributed by NM, 24-Aug-1995.)
Assertion
Ref Expression
dmaddpq dom +Q = (Q × Q)

Proof of Theorem dmaddpq
Dummy variables 𝑥 𝑦 𝑧 𝑣 𝑤 𝑢 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmoprab 5663 . . 3 dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
2 df-plqqs 6810 . . . 4 +Q = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
32dmeqi 4594 . . 3 dom +Q = dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
4 dmaddpqlem 6838 . . . . . . . . 9 (𝑥Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
5 dmaddpqlem 6838 . . . . . . . . 9 (𝑦Q → ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q )
64, 5anim12i 331 . . . . . . . 8 ((𝑥Q𝑦Q) → (∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q ∧ ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
7 ee4anv 1852 . . . . . . . 8 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ↔ (∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q ∧ ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
86, 7sylibr 132 . . . . . . 7 ((𝑥Q𝑦Q) → ∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
9 enqex 6821 . . . . . . . . . . . . . 14 ~Q ∈ V
10 ecexg 6225 . . . . . . . . . . . . . 14 ( ~Q ∈ V → [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ∈ V)
119, 10ax-mp 7 . . . . . . . . . . . . 13 [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ∈ V
1211isseti 2618 . . . . . . . . . . . 12 𝑧 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q
13 ax-ia3 106 . . . . . . . . . . . . 13 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → (𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q → ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
1413eximdv 1803 . . . . . . . . . . . 12 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → (∃𝑧 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q → ∃𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
1512, 14mpi 15 . . . . . . . . . . 11 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
16152eximi 1533 . . . . . . . . . 10 (∃𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑢𝑓𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
17 exrot3 1621 . . . . . . . . . 10 (∃𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ) ↔ ∃𝑢𝑓𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
1816, 17sylibr 132 . . . . . . . . 9 (∃𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
19182eximi 1533 . . . . . . . 8 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑤𝑣𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
20 exrot3 1621 . . . . . . . 8 (∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ) ↔ ∃𝑤𝑣𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
2119, 20sylibr 132 . . . . . . 7 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
228, 21syl 14 . . . . . 6 ((𝑥Q𝑦Q) → ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
2322pm4.71i 383 . . . . 5 ((𝑥Q𝑦Q) ↔ ((𝑥Q𝑦Q) ∧ ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
24 19.42v 1829 . . . . 5 (∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )) ↔ ((𝑥Q𝑦Q) ∧ ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
2523, 24bitr4i 185 . . . 4 ((𝑥Q𝑦Q) ↔ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
2625opabbii 3871 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
271, 3, 263eqtr4i 2113 . 2 dom +Q = {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)}
28 df-xp 4406 . 2 (Q × Q) = {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)}
2927, 28eqtr4i 2106 1 dom +Q = (Q × Q)
Colors of variables: wff set class
Syntax hints:  wa 102   = wceq 1285  wex 1422  wcel 1434  Vcvv 2612  cop 3425  {copab 3864   × cxp 4398  dom cdm 4400  (class class class)co 5590  {coprab 5591  [cec 6219   +pQ cplpq 6737   ~Q ceq 6740  Qcnq 6741   +Q cplq 6743
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 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065  ax-sep 3922  ax-pow 3974  ax-pr 3999  ax-un 4223  ax-iinf 4365
This theorem depends on definitions:  df-bi 115  df-3an 922  df-tru 1288  df-nf 1391  df-sb 1688  df-eu 1946  df-mo 1947  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ral 2358  df-rex 2359  df-v 2614  df-dif 2986  df-un 2988  df-in 2990  df-ss 2997  df-pw 3408  df-sn 3428  df-pr 3429  df-op 3431  df-uni 3628  df-int 3663  df-br 3812  df-opab 3866  df-iom 4368  df-xp 4406  df-cnv 4408  df-dm 4410  df-rn 4411  df-res 4412  df-ima 4413  df-oprab 5594  df-ec 6223  df-qs 6227  df-ni 6765  df-enq 6808  df-nqqs 6809  df-plqqs 6810
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator