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

Theorem mhmf1o 17961
Description: A monoid homomorphism is bijective iff its converse is also a monoid homomorphism. (Contributed by AV, 22-Oct-2019.)
Hypotheses
Ref Expression
mhmf1o.b 𝐵 = (Base‘𝑅)
mhmf1o.c 𝐶 = (Base‘𝑆)
Assertion
Ref Expression
mhmf1o (𝐹 ∈ (𝑅 MndHom 𝑆) → (𝐹:𝐵1-1-onto𝐶𝐹 ∈ (𝑆 MndHom 𝑅)))

Proof of Theorem mhmf1o
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mhmrcl2 17955 . . . . 5 (𝐹 ∈ (𝑅 MndHom 𝑆) → 𝑆 ∈ Mnd)
2 mhmrcl1 17954 . . . . 5 (𝐹 ∈ (𝑅 MndHom 𝑆) → 𝑅 ∈ Mnd)
31, 2jca 512 . . . 4 (𝐹 ∈ (𝑅 MndHom 𝑆) → (𝑆 ∈ Mnd ∧ 𝑅 ∈ Mnd))
43adantr 481 . . 3 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝑆 ∈ Mnd ∧ 𝑅 ∈ Mnd))
5 f1ocnv 6626 . . . . . 6 (𝐹:𝐵1-1-onto𝐶𝐹:𝐶1-1-onto𝐵)
65adantl 482 . . . . 5 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → 𝐹:𝐶1-1-onto𝐵)
7 f1of 6614 . . . . 5 (𝐹:𝐶1-1-onto𝐵𝐹:𝐶𝐵)
86, 7syl 17 . . . 4 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → 𝐹:𝐶𝐵)
9 simpll 763 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝐹 ∈ (𝑅 MndHom 𝑆))
108adantr 481 . . . . . . . . 9 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝐹:𝐶𝐵)
11 simprl 767 . . . . . . . . 9 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝑥𝐶)
1210, 11ffvelrnd 6850 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹𝑥) ∈ 𝐵)
13 simprr 769 . . . . . . . . 9 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝑦𝐶)
1410, 13ffvelrnd 6850 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹𝑦) ∈ 𝐵)
15 mhmf1o.b . . . . . . . . 9 𝐵 = (Base‘𝑅)
16 eqid 2826 . . . . . . . . 9 (+g𝑅) = (+g𝑅)
17 eqid 2826 . . . . . . . . 9 (+g𝑆) = (+g𝑆)
1815, 16, 17mhmlin 17958 . . . . . . . 8 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ (𝐹𝑥) ∈ 𝐵 ∧ (𝐹𝑦) ∈ 𝐵) → (𝐹‘((𝐹𝑥)(+g𝑅)(𝐹𝑦))) = ((𝐹‘(𝐹𝑥))(+g𝑆)(𝐹‘(𝐹𝑦))))
199, 12, 14, 18syl3anc 1365 . . . . . . 7 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹‘((𝐹𝑥)(+g𝑅)(𝐹𝑦))) = ((𝐹‘(𝐹𝑥))(+g𝑆)(𝐹‘(𝐹𝑦))))
20 simpr 485 . . . . . . . . . 10 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → 𝐹:𝐵1-1-onto𝐶)
2120adantr 481 . . . . . . . . 9 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝐹:𝐵1-1-onto𝐶)
22 f1ocnvfv2 7030 . . . . . . . . 9 ((𝐹:𝐵1-1-onto𝐶𝑥𝐶) → (𝐹‘(𝐹𝑥)) = 𝑥)
2321, 11, 22syl2anc 584 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹‘(𝐹𝑥)) = 𝑥)
24 f1ocnvfv2 7030 . . . . . . . . 9 ((𝐹:𝐵1-1-onto𝐶𝑦𝐶) → (𝐹‘(𝐹𝑦)) = 𝑦)
2521, 13, 24syl2anc 584 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹‘(𝐹𝑦)) = 𝑦)
2623, 25oveq12d 7168 . . . . . . 7 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹‘(𝐹𝑥))(+g𝑆)(𝐹‘(𝐹𝑦))) = (𝑥(+g𝑆)𝑦))
2719, 26eqtrd 2861 . . . . . 6 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹‘((𝐹𝑥)(+g𝑅)(𝐹𝑦))) = (𝑥(+g𝑆)𝑦))
282adantr 481 . . . . . . . . 9 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → 𝑅 ∈ Mnd)
2928adantr 481 . . . . . . . 8 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → 𝑅 ∈ Mnd)
3015, 16mndcl 17914 . . . . . . . 8 ((𝑅 ∈ Mnd ∧ (𝐹𝑥) ∈ 𝐵 ∧ (𝐹𝑦) ∈ 𝐵) → ((𝐹𝑥)(+g𝑅)(𝐹𝑦)) ∈ 𝐵)
3129, 12, 14, 30syl3anc 1365 . . . . . . 7 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹𝑥)(+g𝑅)(𝐹𝑦)) ∈ 𝐵)
32 f1ocnvfv 7031 . . . . . . 7 ((𝐹:𝐵1-1-onto𝐶 ∧ ((𝐹𝑥)(+g𝑅)(𝐹𝑦)) ∈ 𝐵) → ((𝐹‘((𝐹𝑥)(+g𝑅)(𝐹𝑦))) = (𝑥(+g𝑆)𝑦) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦))))
3321, 31, 32syl2anc 584 . . . . . 6 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹‘((𝐹𝑥)(+g𝑅)(𝐹𝑦))) = (𝑥(+g𝑆)𝑦) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦))))
3427, 33mpd 15 . . . . 5 (((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) ∧ (𝑥𝐶𝑦𝐶)) → (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦)))
3534ralrimivva 3196 . . . 4 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → ∀𝑥𝐶𝑦𝐶 (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦)))
36 eqid 2826 . . . . . . . . 9 (0g𝑅) = (0g𝑅)
37 eqid 2826 . . . . . . . . 9 (0g𝑆) = (0g𝑆)
3836, 37mhm0 17959 . . . . . . . 8 (𝐹 ∈ (𝑅 MndHom 𝑆) → (𝐹‘(0g𝑅)) = (0g𝑆))
3938adantr 481 . . . . . . 7 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝐹‘(0g𝑅)) = (0g𝑆))
4039eqcomd 2832 . . . . . 6 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (0g𝑆) = (𝐹‘(0g𝑅)))
4140fveq2d 6673 . . . . 5 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝐹‘(0g𝑆)) = (𝐹‘(𝐹‘(0g𝑅))))
4215, 36mndidcl 17921 . . . . . . . 8 (𝑅 ∈ Mnd → (0g𝑅) ∈ 𝐵)
432, 42syl 17 . . . . . . 7 (𝐹 ∈ (𝑅 MndHom 𝑆) → (0g𝑅) ∈ 𝐵)
4443adantr 481 . . . . . 6 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (0g𝑅) ∈ 𝐵)
45 f1ocnvfv1 7029 . . . . . 6 ((𝐹:𝐵1-1-onto𝐶 ∧ (0g𝑅) ∈ 𝐵) → (𝐹‘(𝐹‘(0g𝑅))) = (0g𝑅))
4620, 44, 45syl2anc 584 . . . . 5 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝐹‘(𝐹‘(0g𝑅))) = (0g𝑅))
4741, 46eqtrd 2861 . . . 4 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝐹‘(0g𝑆)) = (0g𝑅))
488, 35, 473jca 1122 . . 3 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → (𝐹:𝐶𝐵 ∧ ∀𝑥𝐶𝑦𝐶 (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦)) ∧ (𝐹‘(0g𝑆)) = (0g𝑅)))
49 mhmf1o.c . . . 4 𝐶 = (Base‘𝑆)
5049, 15, 17, 16, 37, 36ismhm 17953 . . 3 (𝐹 ∈ (𝑆 MndHom 𝑅) ↔ ((𝑆 ∈ Mnd ∧ 𝑅 ∈ Mnd) ∧ (𝐹:𝐶𝐵 ∧ ∀𝑥𝐶𝑦𝐶 (𝐹‘(𝑥(+g𝑆)𝑦)) = ((𝐹𝑥)(+g𝑅)(𝐹𝑦)) ∧ (𝐹‘(0g𝑆)) = (0g𝑅))))
514, 48, 50sylanbrc 583 . 2 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹:𝐵1-1-onto𝐶) → 𝐹 ∈ (𝑆 MndHom 𝑅))
5215, 49mhmf 17956 . . . . 5 (𝐹 ∈ (𝑅 MndHom 𝑆) → 𝐹:𝐵𝐶)
5352adantr 481 . . . 4 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹 ∈ (𝑆 MndHom 𝑅)) → 𝐹:𝐵𝐶)
5453ffnd 6514 . . 3 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹 ∈ (𝑆 MndHom 𝑅)) → 𝐹 Fn 𝐵)
5549, 15mhmf 17956 . . . . 5 (𝐹 ∈ (𝑆 MndHom 𝑅) → 𝐹:𝐶𝐵)
5655adantl 482 . . . 4 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹 ∈ (𝑆 MndHom 𝑅)) → 𝐹:𝐶𝐵)
5756ffnd 6514 . . 3 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹 ∈ (𝑆 MndHom 𝑅)) → 𝐹 Fn 𝐶)
58 dff1o4 6622 . . 3 (𝐹:𝐵1-1-onto𝐶 ↔ (𝐹 Fn 𝐵𝐹 Fn 𝐶))
5954, 57, 58sylanbrc 583 . 2 ((𝐹 ∈ (𝑅 MndHom 𝑆) ∧ 𝐹 ∈ (𝑆 MndHom 𝑅)) → 𝐹:𝐵1-1-onto𝐶)
6051, 59impbida 797 1 (𝐹 ∈ (𝑅 MndHom 𝑆) → (𝐹:𝐵1-1-onto𝐶𝐹 ∈ (𝑆 MndHom 𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  w3a 1081   = wceq 1530  wcel 2107  wral 3143  ccnv 5553   Fn wfn 6349  wf 6350  1-1-ontowf1o 6353  cfv 6354  (class class class)co 7150  Basecbs 16478  +gcplusg 16560  0gc0g 16708  Mndcmnd 17906   MndHom cmhm 17949
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2798  ax-sep 5200  ax-nul 5207  ax-pow 5263  ax-pr 5326  ax-un 7455
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2620  df-eu 2652  df-clab 2805  df-cleq 2819  df-clel 2898  df-nfc 2968  df-ne 3022  df-ral 3148  df-rex 3149  df-reu 3150  df-rmo 3151  df-rab 3152  df-v 3502  df-sbc 3777  df-dif 3943  df-un 3945  df-in 3947  df-ss 3956  df-nul 4296  df-if 4471  df-pw 4544  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4838  df-br 5064  df-opab 5126  df-mpt 5144  df-id 5459  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-iota 6313  df-fun 6356  df-fn 6357  df-f 6358  df-f1 6359  df-fo 6360  df-f1o 6361  df-fv 6362  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-map 8403  df-0g 16710  df-mgm 17847  df-sgrp 17896  df-mnd 17907  df-mhm 17951
This theorem is referenced by:  rhmf1o  19420
  Copyright terms: Public domain W3C validator