| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > opifismgm | Structured version Visualization version GIF version | ||
| Description: A structure with a group addition operation expressed by a conditional operator is a magma if both values of the conditional operator are contained in the base set. (Contributed by AV, 9-Feb-2020.) |
| Ref | Expression |
|---|---|
| opifismgm.b | ⊢ 𝐵 = (Base‘𝑀) |
| opifismgm.p | ⊢ (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ if(𝜓, 𝐶, 𝐷)) |
| opifismgm.n | ⊢ (𝜑 → 𝐵 ≠ ∅) |
| opifismgm.c | ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐶 ∈ 𝐵) |
| opifismgm.d | ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐷 ∈ 𝐵) |
| Ref | Expression |
|---|---|
| opifismgm | ⊢ (𝜑 → 𝑀 ∈ Mgm) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | opifismgm.c | . . . . . . 7 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐶 ∈ 𝐵) | |
| 2 | opifismgm.d | . . . . . . 7 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝐷 ∈ 𝐵) | |
| 3 | 1, 2 | ifcld 4528 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
| 4 | 3 | ralrimivva 3205 | . . . . 5 ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
| 5 | 4 | adantr 486 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
| 6 | simprl 783 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑎 ∈ 𝐵) | |
| 7 | simprr 785 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑏 ∈ 𝐵) | |
| 8 | opifismgm.p | . . . . 5 ⊢ (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ if(𝜓, 𝐶, 𝐷)) | |
| 9 | 8 | ovmpoelrn 8068 | . . . 4 ⊢ ((∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵 ∧ 𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
| 10 | 5, 6, 7, 9 | syl3anc 1398 | . . 3 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
| 11 | 10 | ralrimivva 3205 | . 2 ⊢ (𝜑 → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
| 12 | opifismgm.n | . . 3 ⊢ (𝜑 → 𝐵 ≠ ∅) | |
| 13 | n0 4299 | . . . 4 ⊢ (𝐵 ≠ ∅ ↔ ∃𝑥 𝑥 ∈ 𝐵) | |
| 14 | opifismgm.b | . . . . . 6 ⊢ 𝐵 = (Base‘𝑀) | |
| 15 | eqid 2760 | . . . . . 6 ⊢ (+g‘𝑀) = (+g‘𝑀) | |
| 16 | 14, 15 | ismgmn0 18779 | . . . . 5 ⊢ (𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
| 17 | 16 | exlimiv 1963 | . . . 4 ⊢ (∃𝑥 𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
| 18 | 13, 17 | sylbi 220 | . . 3 ⊢ (𝐵 ≠ ∅ → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
| 19 | 12, 18 | syl 18 | . 2 ⊢ (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
| 20 | 11, 19 | mpbird 260 | 1 ⊢ (𝜑 → 𝑀 ∈ Mgm) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1570 ∃wex 1812 ∈ wcel 2145 ≠ wne 2955 ∀wral 3076 ∅c0 4278 ifcif 4481 ‘cfv 6527 (class class class)co 7408 ∈ cmpo 7410 Basecbs 17348 +gcplusg 17389 Mgmcmgm 18775 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2732 ax-sep 5248 ax-nul 5259 ax-pr 5390 ax-un 7734 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-ral 3077 df-rex 3087 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3847 df-dif 3901 df-un 3903 df-in 3905 df-ss 3915 df-nul 4279 df-if 4482 df-sn 4584 df-pr 4586 df-op 4590 df-uni 4867 df-iun 4952 df-br 5103 df-opab 5167 df-mpt 5186 df-id 5542 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-iota 6483 df-fun 6529 df-fn 6530 df-f 6531 df-fv 6535 df-ov 7411 df-oprab 7412 df-mpo 7413 df-1st 7984 df-2nd 7985 df-mgm 18777 |
| This theorem is used by: mgm2nsgrplem1 19078 sgrp2nmndlem1 19083 |
| Copyright terms: Public domain | W3C validator |