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

Theorem plusffval 18551
Description: The group addition operation as a function. (Contributed by Mario Carneiro, 14-Aug-2015.) (Proof shortened by AV, 2-Mar-2024.)
Hypotheses
Ref Expression
plusffval.1 𝐵 = (Base‘𝐺)
plusffval.2 + = (+g𝐺)
plusffval.3 = (+𝑓𝐺)
Assertion
Ref Expression
plusffval = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐺,𝑦   𝑥, + ,𝑦
Allowed substitution hints:   (𝑥,𝑦)

Proof of Theorem plusffval
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 plusffval.3 . 2 = (+𝑓𝐺)
2 fveq2 6822 . . . . . 6 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
3 plusffval.1 . . . . . 6 𝐵 = (Base‘𝐺)
42, 3eqtr4di 2784 . . . . 5 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
5 fveq2 6822 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
6 plusffval.2 . . . . . . 7 + = (+g𝐺)
75, 6eqtr4di 2784 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
87oveqd 7363 . . . . 5 (𝑔 = 𝐺 → (𝑥(+g𝑔)𝑦) = (𝑥 + 𝑦))
94, 4, 8mpoeq123dv 7421 . . . 4 (𝑔 = 𝐺 → (𝑥 ∈ (Base‘𝑔), 𝑦 ∈ (Base‘𝑔) ↦ (𝑥(+g𝑔)𝑦)) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
10 df-plusf 18544 . . . 4 +𝑓 = (𝑔 ∈ V ↦ (𝑥 ∈ (Base‘𝑔), 𝑦 ∈ (Base‘𝑔) ↦ (𝑥(+g𝑔)𝑦)))
113fvexi 6836 . . . . 5 𝐵 ∈ V
126fvexi 6836 . . . . . . 7 + ∈ V
1312rnex 7840 . . . . . 6 ran + ∈ V
14 p0ex 5322 . . . . . 6 {∅} ∈ V
1513, 14unex 7677 . . . . 5 (ran + ∪ {∅}) ∈ V
16 df-ov 7349 . . . . . . 7 (𝑥 + 𝑦) = ( + ‘⟨𝑥, 𝑦⟩)
17 fvrn0 6850 . . . . . . 7 ( + ‘⟨𝑥, 𝑦⟩) ∈ (ran + ∪ {∅})
1816, 17eqeltri 2827 . . . . . 6 (𝑥 + 𝑦) ∈ (ran + ∪ {∅})
1918rgen2w 3052 . . . . 5 𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ (ran + ∪ {∅})
2011, 11, 15, 19mpoexw 8010 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) ∈ V
219, 10, 20fvmpt 6929 . . 3 (𝐺 ∈ V → (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
22 fvprc 6814 . . . 4 𝐺 ∈ V → (+𝑓𝐺) = ∅)
23 fvprc 6814 . . . . . . 7 𝐺 ∈ V → (Base‘𝐺) = ∅)
243, 23eqtrid 2778 . . . . . 6 𝐺 ∈ V → 𝐵 = ∅)
2524olcd 874 . . . . 5 𝐺 ∈ V → (𝐵 = ∅ ∨ 𝐵 = ∅))
26 0mpo0 7429 . . . . 5 ((𝐵 = ∅ ∨ 𝐵 = ∅) → (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) = ∅)
2725, 26syl 17 . . . 4 𝐺 ∈ V → (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) = ∅)
2822, 27eqtr4d 2769 . . 3 𝐺 ∈ V → (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
2921, 28pm2.61i 182 . 2 (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦))
301, 29eqtri 2754 1 = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wo 847   = wceq 1541  wcel 2111  Vcvv 3436  cun 3900  c0 4283  {csn 4576  cop 4582  ran crn 5617  cfv 6481  (class class class)co 7346  cmpo 7348  Basecbs 17117  +gcplusg 17158  +𝑓cplusf 18542
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 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5234  ax-nul 5244  ax-pow 5303  ax-pr 5370  ax-un 7668
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-sbc 3742  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4284  df-if 4476  df-pw 4552  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-iun 4943  df-br 5092  df-opab 5154  df-mpt 5173  df-id 5511  df-xp 5622  df-rel 5623  df-cnv 5624  df-co 5625  df-dm 5626  df-rn 5627  df-res 5628  df-ima 5629  df-iota 6437  df-fun 6483  df-fn 6484  df-f 6485  df-fv 6489  df-ov 7349  df-oprab 7350  df-mpo 7351  df-1st 7921  df-2nd 7922  df-plusf 18544
This theorem is referenced by:  plusfval  18552  plusfeq  18553  plusffn  18554  mgmplusf  18555  rlmscaf  21139  istgp2  24004  oppgtmd  24010  submtmd  24017  prdstmdd  24037  ressplusf  32939  pl1cn  33963
  Copyright terms: Public domain W3C validator