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 49786
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 18981 . . . 4 ((𝑀 ∈ Mnd ∧ 𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) → (𝑥 + 𝑦) ∈ 𝑅)
71, 2, 3, 6syl3anc 1399 . . 3 (((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) ∧ (𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅)) → (𝑥 + 𝑦) ∈ 𝑅)
8 elmapi 8907 . . . . 5 (𝐴 ∈ (𝑅 ↑m 𝑉) → 𝐴:𝑉⟶𝑅)
98adantr 486 . . . 4 ((𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉)) → 𝐴:𝑉⟶𝑅)
1093ad2ant3 1153 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝐴:𝑉⟶𝑅)
11 elmapi 8907 . . . . 5 (𝐵 ∈ (𝑅 ↑m 𝑉) → 𝐵:𝑉⟶𝑅)
1211adantl 487 . . . 4 ((𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉)) → 𝐵:𝑉⟶𝑅)
13123ad2ant3 1153 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝐵:𝑉⟶𝑅)
14 simp2 1155 . . 3 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → 𝑉 ∈ 𝑌)
15 inidm 4126 . . 3 (𝑉 ∩ 𝑉) = 𝑉
167, 10, 13, 14, 14, 15off 7743 . 2 ((𝑀 ∈ Mnd ∧ 𝑉 ∈ 𝑌 ∧ (𝐴 ∈ (𝑅 ↑m 𝑉) ∧ 𝐵 ∈ (𝑅 ↑m 𝑉))) → (𝐴 ∘f + 𝐵):𝑉⟶𝑅)
174fvexi 6930 . . 3 𝑅 ∈ V
18 elmapg 8897 . . 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 1570   ∈ wcel 2147  Vcvv 3454  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451   ∘f cof 7723   ↑m cmap 8885  Basecbs 17431  +gcplusg 17472  Mndcmnd 18973
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-of 7725  df-1st 8035  df-2nd 8036  df-map 8887  df-mgm 18866  df-sgrp 18958  df-mnd 18974
This theorem is used by:  lincsumcl  49874
  Copyright terms: Public domain W3C validator