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

Theorem sursubmefmnd 18921
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 3457 . . . . 5 𝑥 ∈ V
2 foeq1 6769 . . . . 5 ( = 𝑥 → (:𝐴onto𝐴𝑥:𝐴onto𝐴))
31, 2elab 3637 . . . 4 (𝑥 ∈ {:𝐴onto𝐴} ↔ 𝑥:𝐴onto𝐴)
4 fof 6773 . . . . 5 (𝑥:𝐴onto𝐴𝑥:𝐴𝐴)
5 sursubmefmnd.m . . . . . 6 𝑀 = (EndoFMnd‘𝐴)
6 eqid 2761 . . . . . 6 (Base‘𝑀) = (Base‘𝑀)
75, 6elefmndbas 18898 . . . . 5 (𝐴𝑉 → (𝑥 ∈ (Base‘𝑀) ↔ 𝑥:𝐴𝐴))
84, 7imbitrrid 248 . . . 4 (𝐴𝑉 → (𝑥:𝐴onto𝐴𝑥 ∈ (Base‘𝑀)))
93, 8biimtrid 244 . . 3 (𝐴𝑉 → (𝑥 ∈ {:𝐴onto𝐴} → 𝑥 ∈ (Base‘𝑀)))
109ssrdv 3940 . 2 (𝐴𝑉 → {:𝐴onto𝐴} ⊆ (Base‘𝑀))
115efmndid 18913 . . 3 (𝐴𝑉 → ( I ↾ 𝐴) = (0g𝑀))
12 resiexg 7888 . . . 4 (𝐴𝑉 → ( I ↾ 𝐴) ∈ V)
13 f1oi 6840 . . . . 5 ( I ↾ 𝐴):𝐴1-1-onto𝐴
14 f1ofo 6809 . . . . 5 (( I ↾ 𝐴):𝐴1-1-onto𝐴 → ( I ↾ 𝐴):𝐴onto𝐴)
1513, 14mp1i 13 . . . 4 (𝐴𝑉 → ( I ↾ 𝐴):𝐴onto𝐴)
16 foeq1 6769 . . . 4 ( = ( I ↾ 𝐴) → (:𝐴onto𝐴 ↔ ( I ↾ 𝐴):𝐴onto𝐴))
1712, 15, 16elabd 3639 . . 3 (𝐴𝑉 → ( I ↾ 𝐴) ∈ {:𝐴onto𝐴})
1811, 17eqeltrrd 2862 . 2 (𝐴𝑉 → (0g𝑀) ∈ {:𝐴onto𝐴})
19 vex 3457 . . . . . 6 𝑦 ∈ V
20 foeq1 6769 . . . . . 6 ( = 𝑦 → (:𝐴onto𝐴𝑦:𝐴onto𝐴))
2119, 20elab 3637 . . . . 5 (𝑦 ∈ {:𝐴onto𝐴} ↔ 𝑦:𝐴onto𝐴)
223, 21anbi12i 637 . . . 4 ((𝑥 ∈ {:𝐴onto𝐴} ∧ 𝑦 ∈ {:𝐴onto𝐴}) ↔ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴))
23 foco 6787 . . . . . . 7 ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥𝑦):𝐴onto𝐴)
2423adantl 485 . . . . . 6 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥𝑦):𝐴onto𝐴)
25 fof 6773 . . . . . . . . . . . 12 (𝑦:𝐴onto𝐴𝑦:𝐴𝐴)
264, 25anim12i 622 . . . . . . . . . . 11 ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥:𝐴𝐴𝑦:𝐴𝐴))
275, 6elefmndbas 18898 . . . . . . . . . . . 12 (𝐴𝑉 → (𝑦 ∈ (Base‘𝑀) ↔ 𝑦:𝐴𝐴))
287, 27anbi12d 641 . . . . . . . . . . 11 (𝐴𝑉 → ((𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)) ↔ (𝑥:𝐴𝐴𝑦:𝐴𝐴)))
2926, 28imbitrrid 248 . . . . . . . . . 10 (𝐴𝑉 → ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀))))
3029imp 410 . . . . . . . . 9 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)))
31 eqid 2761 . . . . . . . . . 10 (+g𝑀) = (+g𝑀)
325, 6, 31efmndov 18906 . . . . . . . . 9 ((𝑥 ∈ (Base‘𝑀) ∧ 𝑦 ∈ (Base‘𝑀)) → (𝑥(+g𝑀)𝑦) = (𝑥𝑦))
3330, 32syl 17 . . . . . . . 8 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥(+g𝑀)𝑦) = (𝑥𝑦))
3433eleq1d 2846 . . . . . . 7 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → ((𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦) ∈ {:𝐴onto𝐴}))
351, 19coex 7906 . . . . . . . 8 (𝑥𝑦) ∈ V
36 foeq1 6769 . . . . . . . 8 ( = (𝑥𝑦) → (:𝐴onto𝐴 ↔ (𝑥𝑦):𝐴onto𝐴))
3735, 36elab 3637 . . . . . . 7 ((𝑥𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦):𝐴onto𝐴)
3834, 37bitrdi 289 . . . . . 6 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → ((𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴} ↔ (𝑥𝑦):𝐴onto𝐴))
3924, 38mpbird 259 . . . . 5 ((𝐴𝑉 ∧ (𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴)) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})
4039ex 416 . . . 4 (𝐴𝑉 → ((𝑥:𝐴onto𝐴𝑦:𝐴onto𝐴) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴}))
4122, 40biimtrid 244 . . 3 (𝐴𝑉 → ((𝑥 ∈ {:𝐴onto𝐴} ∧ 𝑦 ∈ {:𝐴onto𝐴}) → (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴}))
4241ralrimivv 3202 . 2 (𝐴𝑉 → ∀𝑥 ∈ {:𝐴onto𝐴}∀𝑦 ∈ {:𝐴onto𝐴} (𝑥(+g𝑀)𝑦) ∈ {:𝐴onto𝐴})
435efmndmnd 18914 . . 3 (𝐴𝑉𝑀 ∈ Mnd)
44 eqid 2761 . . . 4 (0g𝑀) = (0g𝑀)
456, 44, 31issubm 18828 . . 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 1355 1 (𝐴𝑉 → {:𝐴onto𝐴} ∈ (SubMnd‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 399  w3a 1097   = wceq 1559  wcel 2141  {cab 2739  wral 3075  Vcvv 3453  wss 3902   I cid 5537  cres 5645  ccom 5647  wf 6512  ontowfo 6514  1-1-ontowf1o 6515  cfv 6516  (class class class)co 7391  Basecbs 17236  +gcplusg 17277  0gc0g 17459  Mndcmnd 18759  SubMndcsubmnd 18807  EndoFMndcefmnd 18893
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5224  ax-sep 5243  ax-nul 5253  ax-pow 5319  ax-pr 5387  ax-un 7713  ax-cnex 11123  ax-resscn 11124  ax-1cn 11125  ax-icn 11126  ax-addcl 11127  ax-addrcl 11128  ax-mulcl 11129  ax-mulrcl 11130  ax-mulcom 11131  ax-addass 11132  ax-mulass 11133  ax-distr 11134  ax-i2m1 11135  ax-1ne0 11136  ax-1rid 11137  ax-rnegex 11138  ax-rrecex 11139  ax-cnre 11140  ax-pre-lttri 11141  ax-pre-lttrn 11142  ax-pre-ltadd 11143  ax-pre-mulgt0 11144
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3061  df-ral 3076  df-rex 3086  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4580  df-pr 4582  df-tp 4584  df-op 4586  df-uni 4863  df-iun 4948  df-br 5098  df-opab 5160  df-mpt 5179  df-tr 5205  df-id 5538  df-eprel 5543  df-po 5551  df-so 5552  df-fr 5596  df-we 5598  df-xp 5649  df-rel 5650  df-cnv 5651  df-co 5652  df-dm 5653  df-rn 5654  df-res 5655  df-ima 5656  df-pred 6283  df-ord 6344  df-on 6345  df-lim 6346  df-suc 6347  df-iota 6472  df-fun 6518  df-fn 6519  df-f 6520  df-f1 6521  df-fo 6522  df-f1o 6523  df-fv 6524  df-riota 7348  df-ov 7394  df-oprab 7395  df-mpo 7396  df-om 7842  df-1st 7965  df-2nd 7966  df-frecs 8256  df-wrecs 8287  df-recs 8336  df-rdg 8375  df-1o 8431  df-er 8672  df-map 8804  df-en 8922  df-dom 8923  df-sdom 8924  df-fin 8925  df-pnf 11212  df-mnf 11213  df-xr 11214  df-ltxr 11215  df-le 11216  df-sub 11410  df-neg 11411  df-nn 12205  df-2 12274  df-3 12275  df-4 12276  df-5 12277  df-6 12278  df-7 12279  df-8 12280  df-9 12281  df-n0 12476  df-z 12563  df-uz 12834  df-fz 13507  df-struct 17174  df-slot 17209  df-ndx 17221  df-base 17237  df-plusg 17290  df-tset 17296  df-0g 17461  df-mgm 18665  df-sgrp 18744  df-mnd 18760  df-submnd 18809  df-efmnd 18894
This theorem is referenced by:  symgsubmefmnd  19429
  Copyright terms: Public domain W3C validator