![]() |
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 4389 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
4 | 3 | ralrimivva 3134 | . . . . 5 ⊢ (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
5 | 4 | adantr 473 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵) |
6 | simprl 759 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑎 ∈ 𝐵) | |
7 | simprr 761 | . . . 4 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑏 ∈ 𝐵) | |
8 | opifismgm.p | . . . . 5 ⊢ (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ if(𝜓, 𝐶, 𝐷)) | |
9 | 8 | ovmpoelrn 7576 | . . . 4 ⊢ ((∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵 ∧ 𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
10 | 5, 6, 7, 9 | syl3anc 1352 | . . 3 ⊢ ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
11 | 10 | ralrimivva 3134 | . 2 ⊢ (𝜑 → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵) |
12 | opifismgm.n | . . 3 ⊢ (𝜑 → 𝐵 ≠ ∅) | |
13 | n0 4190 | . . . 4 ⊢ (𝐵 ≠ ∅ ↔ ∃𝑥 𝑥 ∈ 𝐵) | |
14 | opifismgm.b | . . . . . 6 ⊢ 𝐵 = (Base‘𝑀) | |
15 | eqid 2771 | . . . . . 6 ⊢ (+g‘𝑀) = (+g‘𝑀) | |
16 | 14, 15 | ismgmn0 17724 | . . . . 5 ⊢ (𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
17 | 16 | exlimiv 1890 | . . . 4 ⊢ (∃𝑥 𝑥 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
18 | 13, 17 | sylbi 209 | . . 3 ⊢ (𝐵 ≠ ∅ → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
19 | 12, 18 | syl 17 | . 2 ⊢ (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(+g‘𝑀)𝑏) ∈ 𝐵)) |
20 | 11, 19 | mpbird 249 | 1 ⊢ (𝜑 → 𝑀 ∈ Mgm) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 198 ∧ wa 387 = wceq 1508 ∃wex 1743 ∈ wcel 2051 ≠ wne 2960 ∀wral 3081 ∅c0 4172 ifcif 4344 ‘cfv 6185 (class class class)co 6974 ∈ cmpo 6976 Basecbs 16337 +gcplusg 16419 Mgmcmgm 17720 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1759 ax-4 1773 ax-5 1870 ax-6 1929 ax-7 1966 ax-8 2053 ax-9 2060 ax-10 2080 ax-11 2094 ax-12 2107 ax-13 2302 ax-ext 2743 ax-sep 5056 ax-nul 5063 ax-pow 5115 ax-pr 5182 ax-un 7277 |
This theorem depends on definitions: df-bi 199 df-an 388 df-or 835 df-3an 1071 df-tru 1511 df-ex 1744 df-nf 1748 df-sb 2017 df-mo 2548 df-eu 2585 df-clab 2752 df-cleq 2764 df-clel 2839 df-nfc 2911 df-ne 2961 df-ral 3086 df-rex 3087 df-rab 3090 df-v 3410 df-sbc 3675 df-csb 3780 df-dif 3825 df-un 3827 df-in 3829 df-ss 3836 df-nul 4173 df-if 4345 df-sn 4436 df-pr 4438 df-op 4442 df-uni 4709 df-iun 4790 df-br 4926 df-opab 4988 df-mpt 5005 df-id 5308 df-xp 5409 df-rel 5410 df-cnv 5411 df-co 5412 df-dm 5413 df-rn 5414 df-res 5415 df-ima 5416 df-iota 6149 df-fun 6187 df-fn 6188 df-f 6189 df-fv 6193 df-ov 6977 df-oprab 6978 df-mpo 6979 df-1st 7499 df-2nd 7500 df-mgm 17722 |
This theorem is referenced by: mgm2nsgrplem1 17886 sgrp2nmndlem1 17891 |
Copyright terms: Public domain | W3C validator |