Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ofaddmndmap Structured version   Visualization version   GIF version

Theorem ofaddmndmap 44745
Description: The function operation applied to the addition for functions (with the same domain) into a monoid is a function (with the same domain) into the monoid. (Contributed by AV, 6-Apr-2019.)
Hypotheses
Ref Expression
ofaddmndmap.r 𝑅 = (Base‘𝑀)
ofaddmndmap.p + = (+g𝑀)
Assertion
Ref Expression
ofaddmndmap ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → (𝐴f + 𝐵) ∈ (𝑅m 𝑉))

Proof of Theorem ofaddmndmap
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl1 1188 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) ∧ (𝑥𝑅𝑦𝑅)) → 𝑀 ∈ Mnd)
2 simprl 770 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) ∧ (𝑥𝑅𝑦𝑅)) → 𝑥𝑅)
3 simprr 772 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) ∧ (𝑥𝑅𝑦𝑅)) → 𝑦𝑅)
4 ofaddmndmap.r . . . . 5 𝑅 = (Base‘𝑀)
5 ofaddmndmap.p . . . . 5 + = (+g𝑀)
64, 5mndcl 17911 . . . 4 ((𝑀 ∈ Mnd ∧ 𝑥𝑅𝑦𝑅) → (𝑥 + 𝑦) ∈ 𝑅)
71, 2, 3, 6syl3anc 1368 . . 3 (((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) ∧ (𝑥𝑅𝑦𝑅)) → (𝑥 + 𝑦) ∈ 𝑅)
8 elmapi 8411 . . . . 5 (𝐴 ∈ (𝑅m 𝑉) → 𝐴:𝑉𝑅)
98adantr 484 . . . 4 ((𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉)) → 𝐴:𝑉𝑅)
1093ad2ant3 1132 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → 𝐴:𝑉𝑅)
11 elmapi 8411 . . . . 5 (𝐵 ∈ (𝑅m 𝑉) → 𝐵:𝑉𝑅)
1211adantl 485 . . . 4 ((𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉)) → 𝐵:𝑉𝑅)
13123ad2ant3 1132 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → 𝐵:𝑉𝑅)
14 simp2 1134 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → 𝑉𝑌)
15 inidm 4145 . . 3 (𝑉𝑉) = 𝑉
167, 10, 13, 14, 14, 15off 7404 . 2 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → (𝐴f + 𝐵):𝑉𝑅)
174fvexi 6659 . . 3 𝑅 ∈ V
18 elmapg 8402 . . 3 ((𝑅 ∈ V ∧ 𝑉𝑌) → ((𝐴f + 𝐵) ∈ (𝑅m 𝑉) ↔ (𝐴f + 𝐵):𝑉𝑅))
1917, 14, 18sylancr 590 . 2 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → ((𝐴f + 𝐵) ∈ (𝑅m 𝑉) ↔ (𝐴f + 𝐵):𝑉𝑅))
2016, 19mpbird 260 1 ((𝑀 ∈ Mnd ∧ 𝑉𝑌 ∧ (𝐴 ∈ (𝑅m 𝑉) ∧ 𝐵 ∈ (𝑅m 𝑉))) → (𝐴f + 𝐵) ∈ (𝑅m 𝑉))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  Vcvv 3441  wf 6320  cfv 6324  (class class class)co 7135  f cof 7387  m cmap 8389  Basecbs 16475  +gcplusg 16557  Mndcmnd 17903
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-of 7389  df-1st 7671  df-2nd 7672  df-map 8391  df-mgm 17844  df-sgrp 17893  df-mnd 17904
This theorem is referenced by:  lincsumcl  44840
  Copyright terms: Public domain W3C validator