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

Theorem plusffval 18573
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 6858 . . . . . 6 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
3 plusffval.1 . . . . . 6 𝐵 = (Base‘𝐺)
42, 3eqtr4di 2782 . . . . 5 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
5 fveq2 6858 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
6 plusffval.2 . . . . . . 7 + = (+g𝐺)
75, 6eqtr4di 2782 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
87oveqd 7404 . . . . 5 (𝑔 = 𝐺 → (𝑥(+g𝑔)𝑦) = (𝑥 + 𝑦))
94, 4, 8mpoeq123dv 7464 . . . 4 (𝑔 = 𝐺 → (𝑥 ∈ (Base‘𝑔), 𝑦 ∈ (Base‘𝑔) ↦ (𝑥(+g𝑔)𝑦)) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
10 df-plusf 18566 . . . 4 +𝑓 = (𝑔 ∈ V ↦ (𝑥 ∈ (Base‘𝑔), 𝑦 ∈ (Base‘𝑔) ↦ (𝑥(+g𝑔)𝑦)))
113fvexi 6872 . . . . 5 𝐵 ∈ V
126fvexi 6872 . . . . . . 7 + ∈ V
1312rnex 7886 . . . . . 6 ran + ∈ V
14 p0ex 5339 . . . . . 6 {∅} ∈ V
1513, 14unex 7720 . . . . 5 (ran + ∪ {∅}) ∈ V
16 df-ov 7390 . . . . . . 7 (𝑥 + 𝑦) = ( + ‘⟨𝑥, 𝑦⟩)
17 fvrn0 6888 . . . . . . 7 ( + ‘⟨𝑥, 𝑦⟩) ∈ (ran + ∪ {∅})
1816, 17eqeltri 2824 . . . . . 6 (𝑥 + 𝑦) ∈ (ran + ∪ {∅})
1918rgen2w 3049 . . . . 5 𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ (ran + ∪ {∅})
2011, 11, 15, 19mpoexw 8057 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) ∈ V
219, 10, 20fvmpt 6968 . . 3 (𝐺 ∈ V → (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
22 fvprc 6850 . . . 4 𝐺 ∈ V → (+𝑓𝐺) = ∅)
23 fvprc 6850 . . . . . . 7 𝐺 ∈ V → (Base‘𝐺) = ∅)
243, 23eqtrid 2776 . . . . . 6 𝐺 ∈ V → 𝐵 = ∅)
2524olcd 874 . . . . 5 𝐺 ∈ V → (𝐵 = ∅ ∨ 𝐵 = ∅))
26 0mpo0 7472 . . . . 5 ((𝐵 = ∅ ∨ 𝐵 = ∅) → (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) = ∅)
2725, 26syl 17 . . . 4 𝐺 ∈ V → (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)) = ∅)
2822, 27eqtr4d 2767 . . 3 𝐺 ∈ V → (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦)))
2921, 28pm2.61i 182 . 2 (+𝑓𝐺) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦))
301, 29eqtri 2752 1 = (𝑥𝐵, 𝑦𝐵 ↦ (𝑥 + 𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wo 847   = wceq 1540  wcel 2109  Vcvv 3447  cun 3912  c0 4296  {csn 4589  cop 4595  ran crn 5639  cfv 6511  (class class class)co 7387  cmpo 7389  Basecbs 17179  +gcplusg 17220  +𝑓cplusf 18564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5251  ax-nul 5261  ax-pow 5320  ax-pr 5387  ax-un 7711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3406  df-v 3449  df-sbc 3754  df-csb 3863  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4297  df-if 4489  df-pw 4565  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5170  df-mpt 5189  df-id 5533  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-iota 6464  df-fun 6513  df-fn 6514  df-f 6515  df-fv 6519  df-ov 7390  df-oprab 7391  df-mpo 7392  df-1st 7968  df-2nd 7969  df-plusf 18566
This theorem is referenced by:  plusfval  18574  plusfeq  18575  plusffn  18576  mgmplusf  18577  rlmscaf  21114  istgp2  23978  oppgtmd  23984  submtmd  23991  prdstmdd  24011  ressplusf  32885  pl1cn  33945
  Copyright terms: Public domain W3C validator