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

Theorem addpqf 11036
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 8037 . . . . . 6 (𝑥 ∈ (N × N) → (1st ‘𝑥) ∈ N)
2 xp2nd 8038 . . . . . 6 (𝑦 ∈ (N × N) → (2nd ‘𝑦) ∈ N)
3 mulclpi 10985 . . . . . 6 (((1st ‘𝑥) ∈ N ∧ (2nd ‘𝑦) ∈ N) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
41, 2, 3syl2an 608 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N)
5 xp1st 8037 . . . . . 6 (𝑦 ∈ (N × N) → (1st ‘𝑦) ∈ N)
6 xp2nd 8038 . . . . . 6 (𝑥 ∈ (N × N) → (2nd ‘𝑥) ∈ N)
7 mulclpi 10985 . . . . . 6 (((1st ‘𝑦) ∈ N ∧ (2nd ‘𝑥) ∈ N) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N)
85, 6, 7syl2anr 609 . . . . 5 ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N)
9 addclpi 10984 . . . . 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 10985 . . . . 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 3202 . 2 ∀𝑥 ∈ (N × N)∀𝑦 ∈ (N × N)⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩ ∈ (N × N)
15 df-plpq 11000 . . 3 +pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩)
1615fmpo 8084 . 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 2144  ∀wral 3076  ⟨cop 4834   × cxp 5649  ⟶wf 6539  ‘cfv 6543  (class class class)co 7424  1st c1st 8003  2nd c2nd 8004  Ncnpi 10936   +N cpli 10937   ·N cmi 10938   +pQ cplpq 10940
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  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 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-oadd 8488  df-omul 8489  df-ni 10964  df-pli 10965  df-mi 10966  df-plpq 11000
This theorem is used by:  addclnq  11037  addnqf  11040  addcompq  11042  adderpq  11048  distrnq  11053
  Copyright terms: Public domain W3C validator