| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > addpqf | Structured version Visualization version GIF version | ||
| Description: Closure of addition on positive fractions. (Contributed by NM, 29-Aug-1995.) (Revised by Mario Carneiro, 8-May-2013.) (New usage is discouraged.) |
| Ref | Expression |
|---|---|
| addpqf | ⊢ +pQ :((N × N) × (N × N))⟶(N × N) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | xp1st 7963 | . . . . . 6 ⊢ (𝑥 ∈ (N × N) → (1st ‘𝑥) ∈ N) | |
| 2 | xp2nd 7964 | . . . . . 6 ⊢ (𝑦 ∈ (N × N) → (2nd ‘𝑦) ∈ N) | |
| 3 | mulclpi 10802 | . . . . . 6 ⊢ (((1st ‘𝑥) ∈ N ∧ (2nd ‘𝑦) ∈ N) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N) | |
| 4 | 1, 2, 3 | syl2an 596 | . . . . 5 ⊢ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N) |
| 5 | xp1st 7963 | . . . . . 6 ⊢ (𝑦 ∈ (N × N) → (1st ‘𝑦) ∈ N) | |
| 6 | xp2nd 7964 | . . . . . 6 ⊢ (𝑥 ∈ (N × N) → (2nd ‘𝑥) ∈ N) | |
| 7 | mulclpi 10802 | . . . . . 6 ⊢ (((1st ‘𝑦) ∈ N ∧ (2nd ‘𝑥) ∈ N) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N) | |
| 8 | 5, 6, 7 | syl2anr 597 | . . . . 5 ⊢ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N) |
| 9 | addclpi 10801 | . . . . 5 ⊢ ((((1st ‘𝑥) ·N (2nd ‘𝑦)) ∈ N ∧ ((1st ‘𝑦) ·N (2nd ‘𝑥)) ∈ N) → (((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))) ∈ N) | |
| 10 | 4, 8, 9 | syl2anc 584 | . . . 4 ⊢ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → (((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))) ∈ N) |
| 11 | mulclpi 10802 | . . . . 5 ⊢ (((2nd ‘𝑥) ∈ N ∧ (2nd ‘𝑦) ∈ N) → ((2nd ‘𝑥) ·N (2nd ‘𝑦)) ∈ N) | |
| 12 | 6, 2, 11 | syl2an 596 | . . . 4 ⊢ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → ((2nd ‘𝑥) ·N (2nd ‘𝑦)) ∈ N) |
| 13 | 10, 12 | opelxpd 5661 | . . 3 ⊢ ((𝑥 ∈ (N × N) ∧ 𝑦 ∈ (N × N)) → 〈(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))〉 ∈ (N × N)) |
| 14 | 13 | rgen2 3174 | . 2 ⊢ ∀𝑥 ∈ (N × N)∀𝑦 ∈ (N × N)〈(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))〉 ∈ (N × N) |
| 15 | df-plpq 10817 | . . 3 ⊢ +pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ 〈(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))〉) | |
| 16 | 15 | fmpo 8010 | . 2 ⊢ (∀𝑥 ∈ (N × N)∀𝑦 ∈ (N × N)〈(((1st ‘𝑥) ·N (2nd ‘𝑦)) +N ((1st ‘𝑦) ·N (2nd ‘𝑥))), ((2nd ‘𝑥) ·N (2nd ‘𝑦))〉 ∈ (N × N) ↔ +pQ :((N × N) × (N × N))⟶(N × N)) |
| 17 | 14, 16 | mpbi 230 | 1 ⊢ +pQ :((N × N) × (N × N))⟶(N × N) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 395 ∈ wcel 2113 ∀wral 3049 〈cop 4584 × cxp 5620 ⟶wf 6486 ‘cfv 6490 (class class class)co 7356 1st c1st 7929 2nd c2nd 7930 Ncnpi 10753 +N cpli 10754 ·N cmi 10755 +pQ cplpq 10757 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2182 ax-ext 2706 ax-sep 5239 ax-nul 5249 ax-pr 5375 ax-un 7678 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2537 df-eu 2567 df-clab 2713 df-cleq 2726 df-clel 2809 df-nfc 2883 df-ne 2931 df-ral 3050 df-rex 3059 df-reu 3349 df-rab 3398 df-v 3440 df-sbc 3739 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-pss 3919 df-nul 4284 df-if 4478 df-pw 4554 df-sn 4579 df-pr 4581 df-op 4585 df-uni 4862 df-iun 4946 df-br 5097 df-opab 5159 df-mpt 5178 df-tr 5204 df-id 5517 df-eprel 5522 df-po 5530 df-so 5531 df-fr 5575 df-we 5577 df-xp 5628 df-rel 5629 df-cnv 5630 df-co 5631 df-dm 5632 df-rn 5633 df-res 5634 df-ima 5635 df-pred 6257 df-ord 6318 df-on 6319 df-lim 6320 df-suc 6321 df-iota 6446 df-fun 6492 df-fn 6493 df-f 6494 df-f1 6495 df-fo 6496 df-f1o 6497 df-fv 6498 df-ov 7359 df-oprab 7360 df-mpo 7361 df-om 7807 df-1st 7931 df-2nd 7932 df-frecs 8221 df-wrecs 8252 df-recs 8301 df-rdg 8339 df-oadd 8399 df-omul 8400 df-ni 10781 df-pli 10782 df-mi 10783 df-plpq 10817 |
| This theorem is referenced by: addclnq 10854 addnqf 10857 addcompq 10859 adderpq 10865 distrnq 10870 |
| Copyright terms: Public domain | W3C validator |