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

Theorem dmaddpq 7320
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 5923 . . 3 dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
2 df-plqqs 7290 . . . 4 +Q = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
32dmeqi 4805 . . 3 dom +Q = dom {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
4 dmaddpqlem 7318 . . . . . . . . 9 (𝑥Q → ∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q )
5 dmaddpqlem 7318 . . . . . . . . 9 (𝑦Q → ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q )
64, 5anim12i 336 . . . . . . . 8 ((𝑥Q𝑦Q) → (∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q ∧ ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
7 ee4anv 1922 . . . . . . . 8 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ↔ (∃𝑤𝑣 𝑥 = [⟨𝑤, 𝑣⟩] ~Q ∧ ∃𝑢𝑓 𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
86, 7sylibr 133 . . . . . . 7 ((𝑥Q𝑦Q) → ∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ))
9 enqex 7301 . . . . . . . . . . . . . 14 ~Q ∈ V
10 ecexg 6505 . . . . . . . . . . . . . 14 ( ~Q ∈ V → [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ∈ V)
119, 10ax-mp 5 . . . . . . . . . . . . 13 [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ∈ V
1211isseti 2734 . . . . . . . . . . . 12 𝑧 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q
13 ax-ia3 107 . . . . . . . . . . . . 13 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → (𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q → ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
1413eximdv 1868 . . . . . . . . . . . 12 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → (∃𝑧 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q → ∃𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
1512, 14mpi 15 . . . . . . . . . . 11 ((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
16152eximi 1589 . . . . . . . . . 10 (∃𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑢𝑓𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
17 exrot3 1678 . . . . . . . . . 10 (∃𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ) ↔ ∃𝑢𝑓𝑧((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
1816, 17sylibr 133 . . . . . . . . 9 (∃𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
19182eximi 1589 . . . . . . . 8 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑤𝑣𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
20 exrot3 1678 . . . . . . . 8 (∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ) ↔ ∃𝑤𝑣𝑧𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
2119, 20sylibr 133 . . . . . . 7 (∃𝑤𝑣𝑢𝑓(𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) → ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
228, 21syl 14 . . . . . 6 ((𝑥Q𝑦Q) → ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))
2322pm4.71i 389 . . . . 5 ((𝑥Q𝑦Q) ↔ ((𝑥Q𝑦Q) ∧ ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
24 19.42v 1894 . . . . 5 (∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )) ↔ ((𝑥Q𝑦Q) ∧ ∃𝑧𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
2523, 24bitr4i 186 . . . 4 ((𝑥Q𝑦Q) ↔ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q )))
2625opabbii 4049 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)} = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧((𝑥Q𝑦Q) ∧ ∃𝑤𝑣𝑢𝑓((𝑥 = [⟨𝑤, 𝑣⟩] ~Q𝑦 = [⟨𝑢, 𝑓⟩] ~Q ) ∧ 𝑧 = [(⟨𝑤, 𝑣⟩ +pQ𝑢, 𝑓⟩)] ~Q ))}
271, 3, 263eqtr4i 2196 . 2 dom +Q = {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)}
28 df-xp 4610 . 2 (Q × Q) = {⟨𝑥, 𝑦⟩ ∣ (𝑥Q𝑦Q)}
2927, 28eqtr4i 2189 1 dom +Q = (Q × Q)
Colors of variables: wff set class
Syntax hints:  wa 103   = wceq 1343  wex 1480  wcel 2136  Vcvv 2726  cop 3579  {copab 4042   × cxp 4602  dom cdm 4604  (class class class)co 5842  {coprab 5843  [cec 6499   +pQ cplpq 7217   ~Q ceq 7220  Qcnq 7221   +Q cplq 7223
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-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-iom 4568  df-xp 4610  df-cnv 4612  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-oprab 5846  df-ec 6503  df-qs 6507  df-ni 7245  df-enq 7288  df-nqqs 7289  df-plqqs 7290
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator