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

Theorem opifismgmdc 13014
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.)
Hypotheses
Ref Expression
opifismgm.b 𝐵 = (Base‘𝑀)
opifismgm.p (+g𝑀) = (𝑥𝐵, 𝑦𝐵 ↦ if(𝜓, 𝐶, 𝐷))
opifismgmdc.dc ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → DECID 𝜓)
opifismgm.m (𝜑 → ∃𝑥 𝑥𝐵)
opifismgm.c ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐶𝐵)
opifismgm.d ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐷𝐵)
Assertion
Ref Expression
opifismgmdc (𝜑𝑀 ∈ Mgm)
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑀   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝑀(𝑦)

Proof of Theorem opifismgmdc
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opifismgm.c . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐶𝐵)
2 opifismgm.d . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐷𝐵)
3 opifismgmdc.dc . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → DECID 𝜓)
41, 2, 3ifcldcd 3597 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → if(𝜓, 𝐶, 𝐷) ∈ 𝐵)
54ralrimivva 2579 . . . . 5 (𝜑 → ∀𝑥𝐵𝑦𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵)
65adantr 276 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥𝐵𝑦𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵)
7 simprl 529 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑎𝐵)
8 simprr 531 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑏𝐵)
9 opifismgm.p . . . . 5 (+g𝑀) = (𝑥𝐵, 𝑦𝐵 ↦ if(𝜓, 𝐶, 𝐷))
109ovmpoelrn 6265 . . . 4 ((∀𝑥𝐵𝑦𝐵 if(𝜓, 𝐶, 𝐷) ∈ 𝐵𝑎𝐵𝑏𝐵) → (𝑎(+g𝑀)𝑏) ∈ 𝐵)
116, 7, 8, 10syl3anc 1249 . . 3 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑀)𝑏) ∈ 𝐵)
1211ralrimivva 2579 . 2 (𝜑 → ∀𝑎𝐵𝑏𝐵 (𝑎(+g𝑀)𝑏) ∈ 𝐵)
13 opifismgm.m . . 3 (𝜑 → ∃𝑥 𝑥𝐵)
14 opifismgm.b . . . . 5 𝐵 = (Base‘𝑀)
15 eqid 2196 . . . . 5 (+g𝑀) = (+g𝑀)
1614, 15ismgmn0 13001 . . . 4 (𝑥𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(+g𝑀)𝑏) ∈ 𝐵))
1716exlimiv 1612 . . 3 (∃𝑥 𝑥𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(+g𝑀)𝑏) ∈ 𝐵))
1813, 17syl 14 . 2 (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(+g𝑀)𝑏) ∈ 𝐵))
1912, 18mpbird 167 1 (𝜑𝑀 ∈ Mgm)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  DECID wdc 835   = wceq 1364  wex 1506  wcel 2167  wral 2475  ifcif 3561  cfv 5258  (class class class)co 5922  cmpo 5924  Basecbs 12678  +gcplusg 12755  Mgmcmgm 12997
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-sep 4151  ax-pow 4207  ax-pr 4242  ax-un 4468  ax-cnex 7970  ax-resscn 7971  ax-1re 7973  ax-addrcl 7976
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3an 982  df-tru 1367  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ral 2480  df-rex 2481  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-un 3161  df-in 3163  df-ss 3170  df-if 3562  df-pw 3607  df-sn 3628  df-pr 3629  df-op 3631  df-uni 3840  df-int 3875  df-iun 3918  df-br 4034  df-opab 4095  df-mpt 4096  df-id 4328  df-xp 4669  df-rel 4670  df-cnv 4671  df-co 4672  df-dm 4673  df-rn 4674  df-res 4675  df-ima 4676  df-iota 5219  df-fun 5260  df-fn 5261  df-f 5262  df-fv 5266  df-ov 5925  df-oprab 5926  df-mpo 5927  df-1st 6198  df-2nd 6199  df-inn 8991  df-2 9049  df-ndx 12681  df-slot 12682  df-base 12684  df-plusg 12768  df-mgm 12999
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator