| 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 18669), whose operation is associative (so, a semigroup, see also mndass 18670) and has a two-sided neutral element (see mndid 18671). (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 18663 | . 2 ⊢ (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))) |
| 4 | rexn0 4474 | . . . 4 ⊢ (∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎) → 𝐵 ≠ ∅) | |
| 5 | fvprc 6850 | . . . . . 6 ⊢ (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅) | |
| 6 | 1, 5 | eqtrid 2776 | . . . . 5 ⊢ (¬ 𝐺 ∈ V → 𝐵 = ∅) |
| 7 | 6 | necon1ai 2952 | . . . 4 ⊢ (𝐵 ≠ ∅ → 𝐺 ∈ V) |
| 8 | 1, 2 | issgrpv 18648 | . . . 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 1540 ∈ wcel 2109 ≠ wne 2925 ∀wral 3044 ∃wrex 3053 Vcvv 3447 ∅c0 4296 ‘cfv 6511 (class class class)co 7387 Basecbs 17179 +gcplusg 17220 Smgrpcsgrp 18645 Mndcmnd 18661 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2701 ax-nul 5261 ax-pr 5387 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-ne 2926 df-ral 3045 df-rex 3054 df-rab 3406 df-v 3449 df-sbc 3754 df-dif 3917 df-un 3919 df-ss 3931 df-nul 4297 df-if 4489 df-sn 4590 df-pr 4592 df-op 4596 df-uni 4872 df-br 5108 df-iota 6464 df-fv 6519 df-ov 7390 df-mgm 18567 df-sgrp 18646 df-mnd 18662 |
| This theorem is referenced by: mndid 18671 ismndd 18683 mndpropd 18686 pwmnd 18864 mhmmnd 18996 signswmnd 34548 nn0mnd 48167 |
| Copyright terms: Public domain | W3C validator |