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

Theorem rinvmod 19410
Description: Uniqueness of a right inverse element in a commutative monoid, if it exists. Corresponds to caovmo 7509. (Contributed by AV, 31-Dec-2023.)
Hypotheses
Ref Expression
rinvmod.b 𝐵 = (Base‘𝐺)
rinvmod.0 0 = (0g𝐺)
rinvmod.p + = (+g𝐺)
rinvmod.m (𝜑𝐺 ∈ CMnd)
rinvmod.a (𝜑𝐴𝐵)
Assertion
Ref Expression
rinvmod (𝜑 → ∃*𝑤𝐵 (𝐴 + 𝑤) = 0 )
Distinct variable groups:   𝑤,𝐴   𝑤,𝐵   𝑤, 0   𝑤, +   𝜑,𝑤
Allowed substitution hint:   𝐺(𝑤)

Proof of Theorem rinvmod
StepHypRef Expression
1 rinvmod.m . . . . . . . . 9 (𝜑𝐺 ∈ CMnd)
21adantr 481 . . . . . . . 8 ((𝜑𝑤𝐵) → 𝐺 ∈ CMnd)
3 simpr 485 . . . . . . . 8 ((𝜑𝑤𝐵) → 𝑤𝐵)
4 rinvmod.a . . . . . . . . 9 (𝜑𝐴𝐵)
54adantr 481 . . . . . . . 8 ((𝜑𝑤𝐵) → 𝐴𝐵)
6 rinvmod.b . . . . . . . . 9 𝐵 = (Base‘𝐺)
7 rinvmod.p . . . . . . . . 9 + = (+g𝐺)
86, 7cmncom 19403 . . . . . . . 8 ((𝐺 ∈ CMnd ∧ 𝑤𝐵𝐴𝐵) → (𝑤 + 𝐴) = (𝐴 + 𝑤))
92, 3, 5, 8syl3anc 1370 . . . . . . 7 ((𝜑𝑤𝐵) → (𝑤 + 𝐴) = (𝐴 + 𝑤))
109adantr 481 . . . . . 6 (((𝜑𝑤𝐵) ∧ (𝐴 + 𝑤) = 0 ) → (𝑤 + 𝐴) = (𝐴 + 𝑤))
11 simpr 485 . . . . . 6 (((𝜑𝑤𝐵) ∧ (𝐴 + 𝑤) = 0 ) → (𝐴 + 𝑤) = 0 )
1210, 11eqtrd 2778 . . . . 5 (((𝜑𝑤𝐵) ∧ (𝐴 + 𝑤) = 0 ) → (𝑤 + 𝐴) = 0 )
1312, 11jca 512 . . . 4 (((𝜑𝑤𝐵) ∧ (𝐴 + 𝑤) = 0 ) → ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 ))
1413ex 413 . . 3 ((𝜑𝑤𝐵) → ((𝐴 + 𝑤) = 0 → ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 )))
1514ralrimiva 3103 . 2 (𝜑 → ∀𝑤𝐵 ((𝐴 + 𝑤) = 0 → ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 )))
16 rinvmod.0 . . 3 0 = (0g𝐺)
17 cmnmnd 19402 . . . 4 (𝐺 ∈ CMnd → 𝐺 ∈ Mnd)
181, 17syl 17 . . 3 (𝜑𝐺 ∈ Mnd)
196, 16, 7, 18, 4mndinvmod 18415 . 2 (𝜑 → ∃*𝑤𝐵 ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 ))
20 rmoim 3675 . 2 (∀𝑤𝐵 ((𝐴 + 𝑤) = 0 → ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 )) → (∃*𝑤𝐵 ((𝑤 + 𝐴) = 0 ∧ (𝐴 + 𝑤) = 0 ) → ∃*𝑤𝐵 (𝐴 + 𝑤) = 0 ))
2115, 19, 20sylc 65 1 (𝜑 → ∃*𝑤𝐵 (𝐴 + 𝑤) = 0 )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  wral 3064  ∃*wrmo 3067  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  0gc0g 17150  Mndcmnd 18385  CMndccmn 19386
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-riota 7232  df-ov 7278  df-0g 17152  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-cmn 19388
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator