ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ismgm GIF version

Theorem ismgm 13736
Description: The predicate "is a magma". (Contributed by FL, 2-Nov-2009.) (Revised by AV, 6-Jan-2020.)
Hypotheses
Ref Expression
ismgm.b 𝐵 = (Base‘𝑀)
ismgm.o ⚬ = (+g‘𝑀)
Assertion
Ref Expression
ismgm (𝑀 ∈ 𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑀,𝑦   𝑥, ⚬ ,𝑦
Allowed substitution hints:   𝑉(𝑥, 𝑦)

Proof of Theorem ismgm
Dummy variables 𝑏 𝑚 𝑜 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 basfn 13469 . . . . 5 Base Fn V
2 vex 2824 . . . . 5 𝑚 ∈ V
3 funfvex 5715 . . . . . 6 ((Fun Base ∧ 𝑚 ∈ dom Base) → (Base‘𝑚) ∈ V)
43funfni 5486 . . . . 5 ((Base Fn V ∧ 𝑚 ∈ V) → (Base‘𝑚) ∈ V)
51, 2, 4mp2an 430 . . . 4 (Base‘𝑚) ∈ V
65a1i 9 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) ∈ V)
7 fveq2 5698 . . . 4 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
8 ismgm.b . . . 4 𝐵 = (Base‘𝑀)
97, 8eqtr4di 2289 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐵)
10 plusgslid 13525 . . . . . . 7 (+g = Slot (+g‘ndx) ∧ (+g‘ndx) ∈ ℕ)
1110slotex 13437 . . . . . 6 (𝑚 ∈ V → (+g‘𝑚) ∈ V)
1211elv 2825 . . . . 5 (+g‘𝑚) ∈ V
1312a1i 9 . . . 4 ((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) → (+g‘𝑚) ∈ V)
14 fveq2 5698 . . . . . 6 (𝑚 = 𝑀 → (+g‘𝑚) = (+g‘𝑀))
1514adantr 276 . . . . 5 ((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) → (+g‘𝑚) = (+g‘𝑀))
16 ismgm.o . . . . 5 ⚬ = (+g‘𝑀)
1715, 16eqtr4di 2289 . . . 4 ((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) → (+g‘𝑚) = ⚬ )
18 simplr 533 . . . . 5 (((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) ∧ 𝑜 = ⚬ ) → 𝑏 = 𝐵)
19 oveq 6094 . . . . . . . 8 (𝑜 = ⚬ → (𝑥𝑜𝑦) = (𝑥 ⚬ 𝑦))
2019adantl 277 . . . . . . 7 (((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) ∧ 𝑜 = ⚬ ) → (𝑥𝑜𝑦) = (𝑥 ⚬ 𝑦))
2120, 18eleq12d 2309 . . . . . 6 (((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) ∧ 𝑜 = ⚬ ) → ((𝑥𝑜𝑦) ∈ 𝑏 ↔ (𝑥 ⚬ 𝑦) ∈ 𝐵))
2218, 21raleqbidv 2765 . . . . 5 (((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) ∧ 𝑜 = ⚬ ) → (∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
2318, 22raleqbidv 2765 . . . 4 (((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) ∧ 𝑜 = ⚬ ) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
2413, 17, 23sbcied2 3089 . . 3 ((𝑚 = 𝑀 ∧ 𝑏 = 𝐵) → ([(+g‘𝑚) / 𝑜]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
256, 9, 24sbcied2 3089 . 2 (𝑚 = 𝑀 → ([(Base‘𝑚) / 𝑏][(+g‘𝑚) / 𝑜]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
26 df-mgm 13735 . 2 Mgm = {𝑚 ∣ [(Base‘𝑚) / 𝑏][(+g‘𝑚) / 𝑜]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑜𝑦) ∈ 𝑏}
2725, 26elab2g 2973 1 (𝑀 ∈ 𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ⚬ 𝑦) ∈ 𝐵))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528  Vcvv 2821  [wsbc 3051   Fn wfn 5375  ‘cfv 5380  (class class class)co 6088  Basecbs 13410  +gcplusg 13490  Mgmcmgm 13733
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-cnex 8276  ax-resscn 8277  ax-1re 8279  ax-addrcl 8282
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-iota 5340  df-fun 5382  df-fn 5383  df-fv 5388  df-ov 6091  df-inn 9314  df-2 9372  df-ndx 13413  df-slot 13414  df-base 13416  df-plusg 13503  df-mgm 13735
This theorem is used by:  ismgmn0  13737  mgmcl  13738  mgm0  13748  issgrpv  13778  rnglidlmmgm  14942
  Copyright terms: Public domain W3C validator