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

Theorem 0gisid 18828
Description: In a structure with an identity element, the group identity element is an identity element of the structure. (Contributed by Jeff Madsen, 8-Jun-2010.) (Revised by Mario Carneiro, 23-Dec-2013.) (Revised by AV, 11-Aug-2026.)
Hypotheses
Ref Expression
ismgmid.b 𝐵 = (Base‘𝐺)
ismgmid.o 0 = (0g‘𝐺)
ismgmid.p + = (+g‘𝐺)
mgmidcl.e (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))
Assertion
Ref Expression
0gisid (𝜑 → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
Distinct variable groups:   𝑥,𝑒, +   0 ,𝑒,𝑥   𝐵,𝑒,𝑥   𝑒,𝐺,𝑥
Allowed substitution hints:   𝜑(𝑥, 𝑒)

Proof of Theorem 0gisid
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 mgmidcl.e . 2 (𝜑 → ∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥))
2 oveq1 7419 . . . . . 6 (𝑒 = 𝑖 → (𝑒 + 𝑥) = (𝑖 + 𝑥))
32eqeq1d 2763 . . . . 5 (𝑒 = 𝑖 → ((𝑒 + 𝑥) = 𝑥 ↔ (𝑖 + 𝑥) = 𝑥))
43ovanraleqv 7436 . . . 4 (𝑒 = 𝑖 → (∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)))
54cbvrexvw 3242 . . 3 (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∃𝑖 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))
6 ismgmid.b . . . . . . 7 𝐵 = (Base‘𝐺)
7 ismgmid.o . . . . . . 7 0 = (0g‘𝐺)
8 ismgmid.p . . . . . . 7 + = (+g‘𝐺)
96, 7, 8, 1ismgmid 18825 . . . . . 6 (𝜑 → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ 0 = 𝑖))
109biimpa 482 . . . . 5 ((𝜑 ∧ (𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))) → 0 = 𝑖)
11 eleq1 2849 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 ∈ 𝐵 ↔ 0 ∈ 𝐵))
12 oveq1 7419 . . . . . . . . . . . 12 (𝑖 = 0 → (𝑖 + 𝑥) = ( 0 + 𝑥))
1312eqeq1d 2763 . . . . . . . . . . 11 (𝑖 = 0 → ((𝑖 + 𝑥) = 𝑥 ↔ ( 0 + 𝑥) = 𝑥))
1413ovanraleqv 7436 . . . . . . . . . 10 (𝑖 = 0 → (∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥) ↔ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
1511, 14anbi12d 644 . . . . . . . . 9 (𝑖 = 0 → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
1615eqcoms 2769 . . . . . . . 8 ( 0 = 𝑖 → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
1716adantl 487 . . . . . . 7 ((𝜑 ∧ 0 = 𝑖) → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
1817biimpd 232 . . . . . 6 ((𝜑 ∧ 0 = 𝑖) → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
1918impancom 457 . . . . 5 ((𝜑 ∧ (𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))) → ( 0 = 𝑖 → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
2010, 19mpd 16 . . . 4 ((𝜑 ∧ (𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))) → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
2120rexlimdvaa 3165 . . 3 (𝜑 → (∃𝑖 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥) → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
225, 21biimtrid 245 . 2 (𝜑 → (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
231, 22mpd 16 1 (𝜑 → ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  ‘cfv 6531  (class class class)co 7412  Basecbs 17367  +gcplusg 17408  0gc0g 17590
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
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-rmo 3366  df-reu 3367  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-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  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-riota 7369  df-ov 7415  df-0g 17592
This theorem is used by:  idressidex0  18840  idressid  18842
  Copyright terms: Public domain W3C validator