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

Theorem sursubmefmnd 18773
Description: The set of surjective endofunctions on a set 𝐴 is a submonoid of the monoid of endofunctions on 𝐴. (Contributed by AV, 25-Feb-2024.)
Hypothesis
Ref Expression
sursubmefmnd.m 𝑀 = (EndoFMnd‘𝐴)
Assertion
Ref Expression
sursubmefmnd (𝐴𝑉 → {:𝐴onto𝐴} ∈ (SubMnd‘𝑀))
Distinct variable group:   𝐴,
Allowed substitution hints:   𝑀()   𝑉()

Proof of Theorem sursubmefmnd
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3479 . . . . 5 𝑥 ∈ V
2 foeq1 6798 . . . . 5 ( = 𝑥 → (:𝐴onto𝐴𝑥:𝐴onto𝐴))
31, 2elab 3667 . . . 4 (𝑥 ∈ {:𝐴onto𝐴} ↔ 𝑥:𝐴onto𝐴)
4 fof 6802 . . . . 5 (𝑥:𝐴onto𝐴𝑥:𝐴𝐴)
5 sursubmefmnd.m . . . . . 6 𝑀 = (EndoFMnd‘𝐴)
6 eqid 2733 . . . . . 6 (Base‘𝑀) = (Base‘𝑀)
75, 6elefmndbas 18750 . . . . 5 (𝐴𝑉 → (𝑥 ∈ (Base‘𝑀) ↔ 𝑥:𝐴𝐴))
84, 7imbitrrid 245 . . . 4 (𝐴𝑉 → (𝑥:𝐴onto𝐴𝑥 ∈ (Base‘𝑀)))
93, 8biimtrid 241 . . 3 (𝐴𝑉 → (𝑥 ∈ {:𝐴onto𝐴} → 𝑥 ∈ (Base‘𝑀)))
109ssrdv 3987 . 2 (𝐴𝑉 → {:𝐴onto𝐴} ⊆ (Base‘𝑀))
115efmndid 18765 . . 3 (𝐴𝑉 → ( I ↾ 𝐴) = (0g𝑀))
12 resiexg 7900 . . . 4 (𝐴𝑉 → ( I ↾ 𝐴) ∈ V)
13 f1oi 6868 . . . . 5 ( I ↾ 𝐴):𝐴1-1-onto𝐴
14 f1ofo 6837 . . . . 5 (( I ↾ 𝐴):𝐴1-1-onto𝐴 → ( I ↾ 𝐴):𝐴onto𝐴)
1513, 14mp1i 13 . . . 4 (𝐴𝑉 → ( I ↾ 𝐴):𝐴onto𝐴)
16 foeq1 6798 . . . 4 ( = ( I ↾ 𝐴) → (:𝐴onto𝐴 ↔ ( I ↾ 𝐴):𝐴onto𝐴))
1712, 15, 16elabd 3670 . . 3 (𝐴𝑉 → ( I ↾ 𝐴) ∈ {:𝐴onto𝐴})
1811, 17eqeltrrd 2835 . 2 (𝐴𝑉 → (0g𝑀) ∈ {:𝐴onto𝐴})
19 vex 3479 . . . . . 6 𝑦 ∈ V
20 foeq1 6798 . . . . . 6 ( = 𝑦 → (:𝐴onto𝐴𝑦:𝐴onto𝐴))
2119, 20elab 3667 . . . . 5 (𝑦 ∈ {:𝐴onto𝐴} ↔ 𝑦:𝐴onto𝐴)
223, 21anbi12i 628 . . . 4 ((𝑥 ∈ {:𝐴onto𝐴} ∧ 𝑦 ∈ {:𝐴onto𝐴}) ↔ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴))
23 foco 6816 . . . . . . 7 ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥𝑦):𝐴onto𝐴)
2423adantl 483 . . . . . 6 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥𝑦):𝐴onto𝐴)
25 fof 6802 . . . . . . . . . . . 12 (𝑦:𝐴onto𝐴𝑦:𝐴𝐴)
264, 25anim12i 614 . . . . . . . . . . 11 ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥:𝐴𝐴𝑦:𝐴𝐴))
275, 6elefmndbas 18750 . . . . . . . . . . . 12 (𝐴𝑉 → (𝑦 ∈ (Base‘𝑀) ↔ 𝑦:𝐴𝐴))
287, 27anbi12d 632 . . . . . . . . . . 11 (𝐴𝑉 → ((𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)) ↔ (𝑥:𝐴𝐴𝑦:𝐴𝐴)))
2926, 28imbitrrid 245 . . . . . . . . . 10 (𝐴𝑉 → ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀))))
3029imp 408 . . . . . . . . 9 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)))
31 eqid 2733 . . . . . . . . . 10 (+g𝑀) = (+g𝑀)
325, 6, 31efmndov 18758 . . . . . . . . 9 ((𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)) → (𝑥(+g𝑀)𝑦) = (𝑥𝑦))
3330, 32syl 17 . . . . . . . 8 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥(+g𝑀)𝑦) = (𝑥𝑦))
3433eleq1d 2819 . . . . . . 7 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → ((𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦) ∈ {:𝐴onto𝐴}))
351, 19coex 7916 . . . . . . . 8 (𝑥𝑦) ∈ V
36 foeq1 6798 . . . . . . . 8 ( = (𝑥𝑦) → (:𝐴onto𝐴 ↔ (𝑥𝑦):𝐴onto𝐴))
3735, 36elab 3667 . . . . . . 7 ((𝑥𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦):𝐴onto𝐴)
3834, 37bitrdi 287 . . . . . 6 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → ((𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦):𝐴onto𝐴))
3924, 38mpbird 257 . . . . 5 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})
4039ex 414 . . . 4 (𝐴𝑉 → ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴}))
4122, 40biimtrid 241 . . 3 (𝐴𝑉 → ((𝑥 ∈ {:𝐴onto𝐴} ∧ 𝑦 ∈ {:𝐴onto𝐴}) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴}))
4241ralrimivv 3199 . 2 (𝐴𝑉 → ∀𝑥 ∈ {:𝐴onto𝐴}∀𝑦 ∈ {:𝐴onto𝐴} (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})
435efmndmnd 18766 . . 3 (𝐴𝑉𝑀 ∈ Mnd)
44 eqid 2733 . . . 4 (0g𝑀) = (0g𝑀)
456, 44, 31issubm 18680 . . 3 (𝑀 ∈ Mnd → ({:𝐴onto𝐴} ∈ (SubMnd‘𝑀) ↔ ({:𝐴onto𝐴} ⊆ (Base‘𝑀) ∧ (0g𝑀) ∈ {:𝐴onto𝐴} ∧ ∀𝑥 ∈ {:𝐴onto𝐴}∀𝑦 ∈ {:𝐴onto𝐴} (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})))
4643, 45syl 17 . 2 (𝐴𝑉 → ({:𝐴onto𝐴} ∈ (SubMnd‘𝑀) ↔ ({:𝐴onto𝐴} ⊆ (Base‘𝑀) ∧ (0g𝑀) ∈ {:𝐴onto𝐴} ∧ ∀𝑥 ∈ {:𝐴onto𝐴}∀𝑦 ∈ {:𝐴onto𝐴} (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})))
4710, 18, 42, 46mpbir3and 1343 1 (𝐴𝑉 → {:𝐴onto𝐴} ∈ (SubMnd‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  w3a 1088   = wceq 1542  wcel 2107  {cab 2710  wral 3062  Vcvv 3475  wss 3947   I cid 5572  cres 5677  ccom 5679  wf 6536  ontowfo 6538  1-1-ontowf1o 6539  cfv 6540  (class class class)co 7404  Basecbs 17140  +gcplusg 17193  0gc0g 17381  Mndcmnd 18621  SubMndcsubmnd 18666  EndoFMndcefmnd 18745
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5284  ax-sep 5298  ax-nul 5305  ax-pow 5362  ax-pr 5426  ax-un 7720  ax-cnex 11162  ax-resscn 11163  ax-1cn 11164  ax-icn 11165  ax-addcl 11166  ax-addrcl 11167  ax-mulcl 11168  ax-mulrcl 11169  ax-mulcom 11170  ax-addass 11171  ax-mulass 11172  ax-distr 11173  ax-i2m1 11174  ax-1ne0 11175  ax-1rid 11176  ax-rnegex 11177  ax-rrecex 11178  ax-cnre 11179  ax-pre-lttri 11180  ax-pre-lttrn 11181  ax-pre-ltadd 11182  ax-pre-mulgt0 11183
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3377  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-tp 4632  df-op 4634  df-uni 4908  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-tr 5265  df-id 5573  df-eprel 5579  df-po 5587  df-so 5588  df-fr 5630  df-we 5632  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-pred 6297  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6492  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-riota 7360  df-ov 7407  df-oprab 7408  df-mpo 7409  df-om 7851  df-1st 7970  df-2nd 7971  df-frecs 8261  df-wrecs 8292  df-recs 8366  df-rdg 8405  df-1o 8461  df-er 8699  df-map 8818  df-en 8936  df-dom 8937  df-sdom 8938  df-fin 8939  df-pnf 11246  df-mnf 11247  df-xr 11248  df-ltxr 11249  df-le 11250  df-sub 11442  df-neg 11443  df-nn 12209  df-2 12271  df-3 12272  df-4 12273  df-5 12274  df-6 12275  df-7 12276  df-8 12277  df-9 12278  df-n0 12469  df-z 12555  df-uz 12819  df-fz 13481  df-struct 17076  df-slot 17111  df-ndx 17123  df-base 17141  df-plusg 17206  df-tset 17212  df-0g 17383  df-mgm 18557  df-sgrp 18606  df-mnd 18622  df-submnd 18668  df-efmnd 18746
This theorem is referenced by:  symgsubmefmnd  19259
  Copyright terms: Public domain W3C validator