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

Theorem mgmidpfod 18932
Description: The operation of a magma with identity as a function is an onto function. (Contributed by FL, 2-Nov-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (Revised by AV, 16-Aug-2026.)
Hypotheses
Ref Expression
mgmidpfod.b 𝐵 = (Base‘𝐺)
mgmidpfod.p + = (+g‘𝐺)
mgmidpfod.g (𝜑 → 𝐺 ∈ Mgm)
mgmidpfod.e (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))
mgmidpfod.f ⨣ = (+𝑓‘𝐺)
Assertion
Ref Expression
mgmidpfod (𝜑 → ⨣ :(𝐵 × 𝐵)⟶onto𝐵)
Distinct variable groups:   𝐵,𝑒,𝑥   𝜑,𝑒,𝑥   ⨣ ,𝑒,𝑥
Allowed substitution hints:   + (𝑥, 𝑒)   𝐺(𝑥, 𝑒)

Proof of Theorem mgmidpfod
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mgmidpfod.g . . 3 (𝜑 → 𝐺 ∈ Mgm)
2 mgmidpfod.b . . . 4 𝐵 = (Base‘𝐺)
3 mgmidpfod.f . . . 4 ⨣ = (+𝑓‘𝐺)
42, 3mgmplusf 18901 . . 3 (𝐺 ∈ Mgm → ⨣ :(𝐵 × 𝐵)⟶𝐵)
51, 4syl 18 . 2 (𝜑 → ⨣ :(𝐵 × 𝐵)⟶𝐵)
6 mgmidpfod.e . . . 4 (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))
7 mgmidpfod.p . . . . . . . . . 10 + = (+g‘𝐺)
82, 7, 3plusfval 18898 . . . . . . . . 9 ((𝑒 ∈ 𝐵 ∧ 𝑥 ∈ 𝐵) → (𝑒 ⨣ 𝑥) = (𝑒 + 𝑥))
98adantll 727 . . . . . . . 8 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 ∈ 𝐵) → (𝑒 ⨣ 𝑥) = (𝑒 + 𝑥))
109eqeq1d 2776 . . . . . . 7 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 ∈ 𝐵) → ((𝑒 ⨣ 𝑥) = 𝑥 ↔ (𝑒 + 𝑥) = 𝑥))
1110anbi1d 643 . . . . . 6 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 ∈ 𝐵) → (((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)))
1211ralbidva 3198 . . . . 5 ((𝜑 ∧ 𝑒 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)))
1312rexbidva 3199 . . . 4 (𝜑 → (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥)))
146, 13mpbird 260 . . 3 (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))
15 simpl 488 . . . . . . . 8 (((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → (𝑒 ⨣ 𝑥) = 𝑥)
1615ralimi 3114 . . . . . . 7 (∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → ∀𝑥 ∈ 𝐵 (𝑒 ⨣ 𝑥) = 𝑥)
17 oveq2 7475 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑒 ⨣ 𝑥) = (𝑒 ⨣ 𝑦))
18 id 23 . . . . . . . . . 10 (𝑥 = 𝑦 → 𝑥 = 𝑦)
1917, 18eqeq12d 2790 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑒 ⨣ 𝑥) = 𝑥 ↔ (𝑒 ⨣ 𝑦) = 𝑦))
2019rspcv 3583 . . . . . . . 8 (𝑦 ∈ 𝐵 → (∀𝑥 ∈ 𝐵 (𝑒 ⨣ 𝑥) = 𝑥 → (𝑒 ⨣ 𝑦) = 𝑦))
21 eqcom 2781 . . . . . . . . . . 11 (𝑦 = (𝑒 ⨣ 𝑥) ↔ (𝑒 ⨣ 𝑥) = 𝑦)
2217eqeq1d 2776 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝑒 ⨣ 𝑥) = 𝑦 ↔ (𝑒 ⨣ 𝑦) = 𝑦))
2321, 22bitrid 286 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑦 = (𝑒 ⨣ 𝑥) ↔ (𝑒 ⨣ 𝑦) = 𝑦))
2423rspcev 3587 . . . . . . . . 9 ((𝑦 ∈ 𝐵 ∧ (𝑒 ⨣ 𝑦) = 𝑦) → ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥))
2524ex 418 . . . . . . . 8 (𝑦 ∈ 𝐵 → ((𝑒 ⨣ 𝑦) = 𝑦 → ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥)))
2620, 25syld 48 . . . . . . 7 (𝑦 ∈ 𝐵 → (∀𝑥 ∈ 𝐵 (𝑒 ⨣ 𝑥) = 𝑥 → ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥)))
2716, 26syl5 35 . . . . . 6 (𝑦 ∈ 𝐵 → (∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥)))
2827reximdv 3192 . . . . 5 (𝑦 ∈ 𝐵 → (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → ∃𝑒 ∈ 𝐵 ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥)))
2928impcom 413 . . . 4 ((∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ∧ 𝑦 ∈ 𝐵) → ∃𝑒 ∈ 𝐵 ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥))
3029ralrimiva 3169 . . 3 (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 ⨣ 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → ∀𝑦 ∈ 𝐵 ∃𝑒 ∈ 𝐵 ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥))
3114, 30syl 18 . 2 (𝜑 → ∀𝑦 ∈ 𝐵 ∃𝑒 ∈ 𝐵 ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥))
32 foov 7643 . 2 ( ⨣ :(𝐵 × 𝐵)⟶onto𝐵 ↔ ( ⨣ :(𝐵 × 𝐵)⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑒 ∈ 𝐵 ∃𝑥 ∈ 𝐵 𝑦 = (𝑒 ⨣ 𝑥)))
335, 31, 32sylanbrc 595 1 (𝜑 → ⨣ :(𝐵 × 𝐵)⟶onto𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101   × cxp 5664  ⟶wf 6574  ⟶ontowfo 6576  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  +gcplusg 17493  +𝑓cplusf 18888  Mgmcmgm 18889
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fo 6584  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052  df-plusf 18890  df-mgm 18891
This theorem is used by:  mgmidprnd  18933  mgmfod  18934  mndpfo  19022
  Copyright terms: Public domain W3C validator