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 4511 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
4 | 3 | ralrimivva 3191 | . . . . 5 ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
5 | 4 | adantr 483 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
6 | simprl 769 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑎 ∈ 𝐵) | |
7 | simprr 771 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑏 ∈ 𝐵) | |
8 | opifismgm.p | . . . . 5 ⊢ (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ if(𝜓, 𝐶, 𝐷)) | |
9 | 8 | ovmpoelrn 7769 | . . . 4 ⊢ ((∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵 ∧ 𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
10 | 5, 6, 7, 9 | syl3anc 1367 | . . 3 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
11 | 10 | ralrimivva 3191 | . 2 ⊢ (𝜑 → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
12 | opifismgm.n | . . 3 ⊢ (𝜑 → 𝐵 ≠ ∅) | |
13 | n0 4309 | . . . 4 ⊢ (𝐵 ≠ ∅ ↔ ∃𝑥 𝑥 ∈ 𝐵) | |
14 | opifismgm.b | . . . . . 6 ⊢ 𝐵 = (Base‘𝑀) | |
15 | eqid 2821 | . . . . . 6 ⊢ (+g‘𝑀) = (+g‘𝑀) | |
16 | 14, 15 | ismgmn0 17853 | . . . . 5 ⊢ (𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
17 | 16 | exlimiv 1927 | . . . 4 ⊢ (∃𝑥 𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
18 | 13, 17 | sylbi 219 | . . 3 ⊢ (𝐵 ≠ ∅ → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
19 | 12, 18 | syl 17 | . 2 ⊢ (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
20 | 11, 19 | mpbird 259 | 1 ⊢ (𝜑 → 𝑀 ∈ Mgm) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 208 ∧ wa 398 = wceq 1533 ∃wex 1776 ∈ wcel 2110 ≠ wne 3016 ∀wral 3138 ∅c0 4290 ifcif 4466 ‘cfv 6354 (class class class)co 7155 ∈ cmpo 7157 Basecbs 16482 +gcplusg 16564 Mgmcmgm 17849 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1792 ax-4 1806 ax-5 1907 ax-6 1966 ax-7 2011 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2157 ax-12 2173 ax-ext 2793 ax-sep 5202 ax-nul 5209 ax-pow 5265 ax-pr 5329 ax-un 7460 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3an 1085 df-tru 1536 df-ex 1777 df-nf 1781 df-sb 2066 df-mo 2618 df-eu 2650 df-clab 2800 df-cleq 2814 df-clel 2893 df-nfc 2963 df-ne 3017 df-ral 3143 df-rex 3144 df-rab 3147 df-v 3496 df-sbc 3772 df-csb 3883 df-dif 3938 df-un 3940 df-in 3942 df-ss 3951 df-nul 4291 df-if 4467 df-sn 4567 df-pr 4569 df-op 4573 df-uni 4838 df-iun 4920 df-br 5066 df-opab 5128 df-mpt 5146 df-id 5459 df-xp 5560 df-rel 5561 df-cnv 5562 df-co 5563 df-dm 5564 df-rn 5565 df-res 5566 df-ima 5567 df-iota 6313 df-fun 6356 df-fn 6357 df-f 6358 df-fv 6362 df-ov 7158 df-oprab 7159 df-mpo 7160 df-1st 7688 df-2nd 7689 df-mgm 17851 |
This theorem is referenced by: mgm2nsgrplem1 18082 sgrp2nmndlem1 18087 |
Copyright terms: Public domain | W3C validator |