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

Theorem 0gisid 18915
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 7468 . . . . . 6 (𝑒 = 𝑖 → (𝑒 + 𝑥) = (𝑖 + 𝑥))
32eqeq1d 2771 . . . . 5 (𝑒 = 𝑖 → ((𝑒 + 𝑥) = 𝑥 ↔ (𝑖 + 𝑥) = 𝑥))
43ovanraleqv 7485 . . . 4 (𝑒 = 𝑖 → (∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)))
54cbvrexvw 3248 . . 3 (∃𝑒 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑒 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑒) = 𝑥) ↔ ∃𝑖 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))
6 ismgmid.b . . . . . . 7 𝐵 = (Base‘𝐺)
7 ismgmid.o . . . . . . 7 0 = (0g‘𝐺)
8 ismgmid.p . . . . . . 7 + = (+g‘𝐺)
96, 7, 8, 1ismgmid 18912 . . . . . 6 (𝜑 → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ 0 = 𝑖))
109biimpa 482 . . . . 5 ((𝜑 ∧ (𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥))) → 0 = 𝑖)
11 eleq1 2858 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 ∈ 𝐵 ↔ 0 ∈ 𝐵))
12 oveq1 7468 . . . . . . . . . . . 12 (𝑖 = 0 → (𝑖 + 𝑥) = ( 0 + 𝑥))
1312eqeq1d 2771 . . . . . . . . . . 11 (𝑖 = 0 → ((𝑖 + 𝑥) = 𝑥 ↔ ( 0 + 𝑥) = 𝑥))
1413ovanraleqv 7485 . . . . . . . . . 10 (𝑖 = 0 → (∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥) ↔ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥)))
1511, 14anbi12d 644 . . . . . . . . 9 (𝑖 = 0 → ((𝑖 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑖 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑖) = 𝑥)) ↔ ( 0 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 (( 0 + 𝑥) = 𝑥 ∧ (𝑥 + 0 ) = 𝑥))))
1615eqcoms 2777 . . . . . . . 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 3174 . . 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 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096  ‘cfv 6573  (class class class)co 7461  Basecbs 17444  +gcplusg 17485  0gc0g 17677
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
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 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6527  df-fun 6575  df-fv 6581  df-riota 7418  df-ov 7464  df-0g 17679
This theorem is used by:  idressidex0  18927  idressid  18929
  Copyright terms: Public domain W3C validator