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 49549
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 1210 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) ∧ (𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅)) → 𝑀 ∈ Mnd)
2 simprl 783 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) ∧ (𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅)) → 𝑥 ∈ 𝑅)
3 simprr 785 . . . 4 (((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) ∧ (𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅)) → 𝑦 ∈ 𝑅)
4 ofaddmndmap.r . . . . 5 𝑅 = (Base‘𝑀)
5 ofaddmndmap.p . . . . 5 + = (+g‘𝑀)
64, 5mndcl 18937 . . . 4 ((𝑀 ∈ Mnd ∧ 𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) → (𝑥 + 𝑦) ∈ 𝑅)
71, 2, 3, 6syl3anc 1398 . . 3 (((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) ∧ (𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅)) → (𝑥 + 𝑦) ∈ 𝑅)
8 elmapi 8873 . . . . 5 (𝐴 ∈ (𝑅 ↑m 𝑉) → 𝐴:𝑉⟶𝑅)
98adantr 486 . . . 4 ((𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉)) → 𝐴:𝑉⟶𝑅)
1093ad2ant3 1153 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝐴:𝑉⟶𝑅)
11 elmapi 8873 . . . . 5 (𝐵 ∈ (𝑅 ↑m 𝑉) → 𝐵:𝑉⟶𝑅)
1211adantl 487 . . . 4 ((𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉)) → 𝐵:𝑉⟶𝑅)
13123ad2ant3 1153 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝐵:𝑉⟶𝑅)
14 simp2 1155 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝑉 ∈ 𝑌)
15 inidm 4123 . . 3 (𝑉 ∩ 𝑉) = 𝑉
167, 10, 13, 14, 14, 15off 7712 . 2 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → (𝐴 ∘f + 𝐵):𝑉⟶𝑅)
174fvexi 6900 . . 3 𝑅 ∈ V
18 elmapg 8863 . . 3 ((𝑅 ∈ V ∧ 𝑉 ∈ 𝑌) → ((𝐴 ∘f + 𝐵) ∈ (𝑅 ↑m 𝑉) ↔ (𝐴 ∘f + 𝐵):𝑉⟶𝑅))
1917, 14, 18sylancr 599 . 2 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → ((𝐴 ∘f + 𝐵) ∈ (𝑅 ↑m 𝑉) ↔ (𝐴 ∘f + 𝐵):𝑉⟶𝑅))
2016, 19mpbird 260 1 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → (𝐴 ∘f + 𝐵) ∈ (𝑅 ↑m 𝑉))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟶wf 6535  ‘cfv 6539  (class class class)co 7421   ∘f cof 7692   ↑m cmap 8851  Basecbs 17393  +gcplusg 17434  Mndcmnd 18929
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-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  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-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-of 7694  df-1st 8002  df-2nd 8003  df-map 8853  df-mgm 18822  df-sgrp 18914  df-mnd 18930
This theorem is used by:  lincsumcl  49637
  Copyright terms: Public domain W3C validator