| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ismnd | Structured version Visualization version GIF version | ||
| Description: The predicate "is a monoid". This is the defining theorem of a monoid by showing that a set is a monoid if and only if it is a set equipped with a closed, everywhere defined internal operation (so, a magma, see mndcl 18658), whose operation is associative (so, a semigroup, see also mndass 18659) and has a two-sided neutral element (see mndid 18660). (Contributed by Mario Carneiro, 6-Jan-2015.) (Revised by AV, 1-Feb-2020.) |
| Ref | Expression |
|---|---|
| ismnd.b | ⊢ 𝐵 = (Base‘𝐺) |
| ismnd.p | ⊢ + = (+g‘𝐺) |
| Ref | Expression |
|---|---|
| ismnd | ⊢ (𝐺 ∈ Mnd ↔ (∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))) ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ismnd.b | . . 3 ⊢ 𝐵 = (Base‘𝐺) | |
| 2 | ismnd.p | . . 3 ⊢ + = (+g‘𝐺) | |
| 3 | 1, 2 | ismnddef 18652 | . 2 ⊢ (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| 4 | rexn0 4446 | . . . 4 ⊢ (∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎) → 𝐵 ≠ ∅) | |
| 5 | fvprc 6823 | . . . . . 6 ⊢ (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅) | |
| 6 | 1, 5 | eqtrid 2780 | . . . . 5 ⊢ (¬ 𝐺 ∈ V → 𝐵 = ∅) |
| 7 | 6 | necon1ai 2956 | . . . 4 ⊢ (𝐵 ≠ ∅ → 𝐺 ∈ V) |
| 8 | 1, 2 | issgrpv 18637 | . . . 4 ⊢ (𝐺 ∈ V → (𝐺 ∈ Smgrp ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))))) |
| 9 | 4, 7, 8 | 3syl 18 | . . 3 ⊢ (∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎) → (𝐺 ∈ Smgrp ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))))) |
| 10 | 9 | pm5.32ri 575 | . 2 ⊢ ((𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)) ↔ (∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))) ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| 11 | 3, 10 | bitri 275 | 1 ⊢ (𝐺 ∈ Mnd ↔ (∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))) ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 206 ∧ wa 395 = wceq 1541 ∈ wcel 2113 ≠ wne 2929 ∀wral 3048 ∃wrex 3057 Vcvv 3437 ∅c0 4282 ‘cfv 6489 (class class class)co 7355 Basecbs 17127 +gcplusg 17168 Smgrpcsgrp 18634 Mndcmnd 18650 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-ext 2705 ax-nul 5248 ax-pr 5374 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-sb 2068 df-mo 2537 df-eu 2566 df-clab 2712 df-cleq 2725 df-clel 2808 df-ne 2930 df-ral 3049 df-rex 3058 df-rab 3397 df-v 3439 df-sbc 3738 df-dif 3901 df-un 3903 df-ss 3915 df-nul 4283 df-if 4477 df-sn 4578 df-pr 4580 df-op 4584 df-uni 4861 df-br 5096 df-iota 6445 df-fv 6497 df-ov 7358 df-mgm 18556 df-sgrp 18635 df-mnd 18651 |
| This theorem is referenced by: mndid 18660 ismndd 18672 mndpropd 18675 pwmnd 18853 mhmmnd 18985 zsoring 28352 signswmnd 34642 nn0mnd 48341 |
| Copyright terms: Public domain | W3C validator |