| 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 18701), whose operation is associative (so, a semigroup, see also mndass 18702) and has a two-sided neutral element (see mndid 18703). (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 18695 | . 2 ⊢ (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| 4 | rexn0 4424 | . . . 4 ⊢ (∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎) → 𝐵 ≠ ∅) | |
| 5 | fvprc 6819 | . . . . . 6 ⊢ (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅) | |
| 6 | 1, 5 | eqtrid 2786 | . . . . 5 ⊢ (¬ 𝐺 ∈ V → 𝐵 = ∅) |
| 7 | 6 | necon1ai 2961 | . . . 4 ⊢ (𝐵 ≠ ∅ → 𝐺 ∈ V) |
| 8 | 1, 2 | issgrpv 18680 | . . . 4 ⊢ (𝐺 ∈ V → (𝐺 ∈ Smgrp ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))))) |
| 9 | 4, 7, 8 | 3syl 18 | . . 3 ⊢ (∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎) → (𝐺 ∈ Smgrp ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))))) |
| 10 | 9 | pm5.32ri 580 | . 2 ⊢ ((𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)) ↔ (∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))) ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| 11 | 3, 10 | bitri 276 | 1 ⊢ (𝐺 ∈ Mnd ↔ (∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ((𝑎 + 𝑏) ∈ 𝐵 ∧ ∀𝑐 ∈ 𝐵 ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐))) ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 207 ∧ wa 396 = wceq 1547 ∈ wcel 2119 ≠ wne 2934 ∀wral 3053 ∃wrex 3063 Vcvv 3431 ∅c0 4261 ‘cfv 6485 (class class class)co 7356 Basecbs 17170 +gcplusg 17211 Smgrpcsgrp 18677 Mndcmnd 18693 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-ext 2711 ax-nul 5228 ax-pr 5362 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-ne 2935 df-ral 3054 df-rex 3064 df-rab 3392 df-v 3433 df-sbc 3724 df-dif 3886 df-un 3888 df-ss 3900 df-nul 4262 df-if 4455 df-sn 4556 df-pr 4558 df-op 4562 df-uni 4839 df-br 5073 df-iota 6441 df-fv 6493 df-ov 7359 df-mgm 18599 df-sgrp 18678 df-mnd 18694 |
| This theorem is referenced by: mndid 18703 ismndd 18715 mndpropd 18718 pwmnd 18899 mhmmnd 19031 zsoring 28419 signswmnd 34741 nn0mnd 48670 |
| Copyright terms: Public domain | W3C validator |