MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  pwmnd Structured version   Visualization version   GIF version

Theorem pwmnd 19123
Description: The power set of a class 𝐴 is a monoid under union. (Contributed by AV, 27-Feb-2024.)
Hypotheses
Ref Expression
pwmnd.b (Base‘𝑀) = 𝒫 𝐴
pwmnd.p (+g‘𝑀) = (𝑥 ∈ 𝒫 𝐴, 𝑦 ∈ 𝒫 𝐴 ↦ (𝑥 ∪ 𝑦))
Assertion
Ref Expression
pwmnd 𝑀 ∈ Mnd
Distinct variable group:   𝑥,𝐴,𝑦
Allowed substitution hints:   𝑀(𝑥, 𝑦)

Proof of Theorem pwmnd
Dummy variables 𝑎 𝑏 𝑐 𝑒 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 pwmnd.b . . . . . 6 (Base‘𝑀) = 𝒫 𝐴
21eleq2i 2853 . . . . 5 (𝑎 ∈ (Base‘𝑀) ↔ 𝑎 ∈ 𝒫 𝐴)
31eleq2i 2853 . . . . 5 (𝑏 ∈ (Base‘𝑀) ↔ 𝑏 ∈ 𝒫 𝐴)
4 pwuncl 7773 . . . . . . 7 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (𝑎 ∪ 𝑏) ∈ 𝒫 𝐴)
5 pwmnd.p . . . . . . . 8 (+g‘𝑀) = (𝑥 ∈ 𝒫 𝐴, 𝑦 ∈ 𝒫 𝐴 ↦ (𝑥 ∪ 𝑦))
61, 5pwmndgplus 19121 . . . . . . 7 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)𝑏) = (𝑎 ∪ 𝑏))
71a1i 11 . . . . . . 7 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (Base‘𝑀) = 𝒫 𝐴)
84, 6, 73eltr4d 2876 . . . . . 6 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀))
91eleq2i 2853 . . . . . . . 8 (𝑐 ∈ (Base‘𝑀) ↔ 𝑐 ∈ 𝒫 𝐴)
10 unass 4118 . . . . . . . . . 10 ((𝑎 ∪ 𝑏) ∪ 𝑐) = (𝑎 ∪ (𝑏 ∪ 𝑐))
116adantr 486 . . . . . . . . . . . 12 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)𝑏) = (𝑎 ∪ 𝑏))
1211oveq1d 7427 . . . . . . . . . . 11 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → ((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = ((𝑎 ∪ 𝑏)(+g‘𝑀)𝑐))
131, 5pwmndgplus 19121 . . . . . . . . . . . 12 (((𝑎 ∪ 𝑏) ∈ 𝒫 𝐴 ∧ 𝑐 ∈ 𝒫 𝐴) → ((𝑎 ∪ 𝑏)(+g‘𝑀)𝑐) = ((𝑎 ∪ 𝑏) ∪ 𝑐))
144, 13sylan 592 . . . . . . . . . . 11 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → ((𝑎 ∪ 𝑏)(+g‘𝑀)𝑐) = ((𝑎 ∪ 𝑏) ∪ 𝑐))
1512, 14eqtrd 2796 . . . . . . . . . 10 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → ((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = ((𝑎 ∪ 𝑏) ∪ 𝑐))
161, 5pwmndgplus 19121 . . . . . . . . . . . . 13 ((𝑏 ∈ 𝒫 𝐴 ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑏(+g‘𝑀)𝑐) = (𝑏 ∪ 𝑐))
1716adantll 727 . . . . . . . . . . . 12 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑏(+g‘𝑀)𝑐) = (𝑏 ∪ 𝑐))
1817oveq2d 7428 . . . . . . . . . . 11 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐)) = (𝑎(+g‘𝑀)(𝑏 ∪ 𝑐)))
19 simpll 779 . . . . . . . . . . . . 13 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → 𝑎 ∈ 𝒫 𝐴)
20 pwuncl 7773 . . . . . . . . . . . . . 14 ((𝑏 ∈ 𝒫 𝐴 ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑏 ∪ 𝑐) ∈ 𝒫 𝐴)
2120adantll 727 . . . . . . . . . . . . 13 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑏 ∪ 𝑐) ∈ 𝒫 𝐴)
2219, 21jca 521 . . . . . . . . . . . 12 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑎 ∈ 𝒫 𝐴 ∧ (𝑏 ∪ 𝑐) ∈ 𝒫 𝐴))
231, 5pwmndgplus 19121 . . . . . . . . . . . 12 ((𝑎 ∈ 𝒫 𝐴 ∧ (𝑏 ∪ 𝑐) ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)(𝑏 ∪ 𝑐)) = (𝑎 ∪ (𝑏 ∪ 𝑐)))
2422, 23syl 18 . . . . . . . . . . 11 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)(𝑏 ∪ 𝑐)) = (𝑎 ∪ (𝑏 ∪ 𝑐)))
2518, 24eqtrd 2796 . . . . . . . . . 10 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐)) = (𝑎 ∪ (𝑏 ∪ 𝑐)))
2610, 15, 253eqtr4a 2822 . . . . . . . . 9 (((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) ∧ 𝑐 ∈ 𝒫 𝐴) → ((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐)))
2726ex 418 . . . . . . . 8 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (𝑐 ∈ 𝒫 𝐴 → ((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))))
289, 27biimtrid 245 . . . . . . 7 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → (𝑐 ∈ (Base‘𝑀) → ((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))))
2928ralrimiv 3154 . . . . . 6 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐)))
308, 29jca 521 . . . . 5 ((𝑎 ∈ 𝒫 𝐴 ∧ 𝑏 ∈ 𝒫 𝐴) → ((𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀) ∧ ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))))
312, 3, 30syl2anb 610 . . . 4 ((𝑎 ∈ (Base‘𝑀) ∧ 𝑏 ∈ (Base‘𝑀)) → ((𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀) ∧ ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))))
3231rgen2 3203 . . 3 ∀𝑎 ∈ (Base‘𝑀)∀𝑏 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀) ∧ ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐)))
33 0ex 5261 . . . . 5 ∅ ∈ V
34 eleq1 2849 . . . . . 6 (𝑒 = ∅ → (𝑒 ∈ (Base‘𝑀) ↔ ∅ ∈ (Base‘𝑀)))
35 oveq1 7419 . . . . . . . . 9 (𝑒 = ∅ → (𝑒(+g‘𝑀)𝑎) = (∅(+g‘𝑀)𝑎))
3635eqeq1d 2763 . . . . . . . 8 (𝑒 = ∅ → ((𝑒(+g‘𝑀)𝑎) = 𝑎 ↔ (∅(+g‘𝑀)𝑎) = 𝑎))
37 oveq2 7420 . . . . . . . . 9 (𝑒 = ∅ → (𝑎(+g‘𝑀)𝑒) = (𝑎(+g‘𝑀)∅))
3837eqeq1d 2763 . . . . . . . 8 (𝑒 = ∅ → ((𝑎(+g‘𝑀)𝑒) = 𝑎 ↔ (𝑎(+g‘𝑀)∅) = 𝑎))
3936, 38anbi12d 644 . . . . . . 7 (𝑒 = ∅ → (((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎) ↔ ((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎)))
4039ralbidv 3186 . . . . . 6 (𝑒 = ∅ → (∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎) ↔ ∀𝑎 ∈ (Base‘𝑀)((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎)))
4134, 40anbi12d 644 . . . . 5 (𝑒 = ∅ → ((𝑒 ∈ (Base‘𝑀) ∧ ∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎)) ↔ (∅ ∈ (Base‘𝑀) ∧ ∀𝑎 ∈ (Base‘𝑀)((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎))))
42 0elpw 5317 . . . . . . 7 ∅ ∈ 𝒫 𝐴
4342, 1eleqtrri 2860 . . . . . 6 ∅ ∈ (Base‘𝑀)
441, 5pwmndgplus 19121 . . . . . . . . . . 11 ((∅ ∈ 𝒫 𝐴 ∧ 𝑎 ∈ 𝒫 𝐴) → (∅(+g‘𝑀)𝑎) = (∅ ∪ 𝑎))
45 0un 4346 . . . . . . . . . . 11 (∅ ∪ 𝑎) = 𝑎
4644, 45eqtrdi 2812 . . . . . . . . . 10 ((∅ ∈ 𝒫 𝐴 ∧ 𝑎 ∈ 𝒫 𝐴) → (∅(+g‘𝑀)𝑎) = 𝑎)
471, 5pwmndgplus 19121 . . . . . . . . . . . 12 ((𝑎 ∈ 𝒫 𝐴 ∧ ∅ ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)∅) = (𝑎 ∪ ∅))
4847ancoms 464 . . . . . . . . . . 11 ((∅ ∈ 𝒫 𝐴 ∧ 𝑎 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)∅) = (𝑎 ∪ ∅))
49 un0 4344 . . . . . . . . . . 11 (𝑎 ∪ ∅) = 𝑎
5048, 49eqtrdi 2812 . . . . . . . . . 10 ((∅ ∈ 𝒫 𝐴 ∧ 𝑎 ∈ 𝒫 𝐴) → (𝑎(+g‘𝑀)∅) = 𝑎)
5146, 50jca 521 . . . . . . . . 9 ((∅ ∈ 𝒫 𝐴 ∧ 𝑎 ∈ 𝒫 𝐴) → ((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎))
5242, 51mpan 703 . . . . . . . 8 (𝑎 ∈ 𝒫 𝐴 → ((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎))
532, 52sylbi 220 . . . . . . 7 (𝑎 ∈ (Base‘𝑀) → ((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎))
5453rgen 3079 . . . . . 6 ∀𝑎 ∈ (Base‘𝑀)((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎)
5543, 54pm3.2i 476 . . . . 5 (∅ ∈ (Base‘𝑀) ∧ ∀𝑎 ∈ (Base‘𝑀)((∅(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)∅) = 𝑎))
5633, 41, 55ceqsexv2d 3500 . . . 4 ∃𝑒(𝑒 ∈ (Base‘𝑀) ∧ ∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎))
57 df-rex 3088 . . . 4 (∃𝑒 ∈ (Base‘𝑀)∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎) ↔ ∃𝑒(𝑒 ∈ (Base‘𝑀) ∧ ∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎)))
5856, 57mpbir 234 . . 3 ∃𝑒 ∈ (Base‘𝑀)∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎)
5932, 58pm3.2i 476 . 2 (∀𝑎 ∈ (Base‘𝑀)∀𝑏 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀) ∧ ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))) ∧ ∃𝑒 ∈ (Base‘𝑀)∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎))
60 eqid 2761 . . 3 (Base‘𝑀) = (Base‘𝑀)
61 eqid 2761 . . 3 (+g‘𝑀) = (+g‘𝑀)
6260, 61ismnd 18906 . 2 (𝑀 ∈ Mnd ↔ (∀𝑎 ∈ (Base‘𝑀)∀𝑏 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏) ∈ (Base‘𝑀) ∧ ∀𝑐 ∈ (Base‘𝑀)((𝑎(+g‘𝑀)𝑏)(+g‘𝑀)𝑐) = (𝑎(+g‘𝑀)(𝑏(+g‘𝑀)𝑐))) ∧ ∃𝑒 ∈ (Base‘𝑀)∀𝑎 ∈ (Base‘𝑀)((𝑒(+g‘𝑀)𝑎) = 𝑎 ∧ (𝑎(+g‘𝑀)𝑒) = 𝑎)))
6359, 62mpbir 234 1 𝑀 ∈ Mnd
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087   ∪ cun 3897  ∅c0 4279  𝒫 cpw 4557  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  Basecbs 17367  +gcplusg 17408  Mndcmnd 18903
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 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-mgm 18796  df-sgrp 18888  df-mnd 18904
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator