MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  addpqf Structured version   Visualization version   GIF version

Theorem addpqf 11029
Description: Closure of addition on positive fractions. (Contributed by NM, 29-Aug-1995.) (Revised by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
addpqf +pQ :((N × N) × (N × N))⟶(N × N)

Proof of Theorem addpqf
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xp1st 8033 . . . . . 6 (𝑥 ∈ (N × N) → (1st ‘𝑥) ∈ N)
2 xp2nd 8034 . . . . . 6 (𝑦 ∈ (N × N) → (2nd ‘𝑦) ∈ N)
3 mulclpi 10978 . . . . . 6 (((1st ‘𝑥) ∈ N ∧ (2nd ‘𝑦) ∈ N) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
41, 2, 3syl2an 608 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
5 xp1st 8033 . . . . . 6 (𝑦 ∈ (N × N) → (1st ‘𝑦) ∈ N)
6 xp2nd 8034 . . . . . 6 (𝑥 ∈ (N × N) → (2nd ‘𝑥) ∈ N)
7 mulclpi 10978 . . . . . 6 (((1st ‘𝑦) ∈ N ∧ (2nd ‘𝑥) ∈ N) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N)
85, 6, 7syl2anr 609 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N)
9 addclpi 10977 . . . . 5 ((((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N ∧ ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N) → (((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))) ∈ N)
104, 8, 9syl2anc 596 . . . 4 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))) ∈ N)
11 mulclpi 10978 . . . . 5 (((2nd ‘𝑥) ∈ N ∧ (2nd ‘𝑦) ∈ N) → ((2nd ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
126, 2, 11syl2an 608 . . . 4 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((2nd ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
1310, 12opelxpd 5690 . . 3 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩ ∈ (N × N))
1413rgen2 3203 . 2 ∀𝑥 ∈ (N × N)∀𝑦 ∈ (N × N)⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩ ∈ (N × N)
15 df-plpq 10993 . . 3 +pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩)
1615fmpo 8079 . 2 (∀𝑥 ∈ (N × N)∀𝑦 ∈ (N × N)⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩ ∈ (N × N) ↔ +pQ :((N × N) × (N × N))⟶(N × N))
1714, 16mpbi 233 1 +pQ :((N × N) × (N × N))⟶(N × N)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∈ wcel 2145  ∀wral 3077  ⟨cop 4590   × cxp 5649  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420  1st c1st 7999  2nd c2nd 8000  Ncnpi 10929   +N cpli 10930   ·N cmi 10931   +pQ cplpq 10933
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-oadd 8480  df-omul 8481  df-ni 10957  df-pli 10958  df-mi 10959  df-plpq 10993
This theorem is used by:  addclnq  11030  addnqf  11033  addcompq  11035  adderpq  11041  distrnq  11046
  Copyright terms: Public domain W3C validator