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

Theorem ringurd 20416
Description: Deduce the unity element of a ring from its properties. (Contributed by Thierry Arnoux, 6-Sep-2016.)
Hypotheses
Ref Expression
ringurd.b (𝜑 → 𝐵 = (Base‘𝑅))
ringurd.p (𝜑 → · = (.r‘𝑅))
ringurd.z (𝜑 → 1 ∈ 𝐵)
ringurd.i ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 1 · 𝑥) = 𝑥)
ringurd.j ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 · 1 ) = 𝑥)
Assertion
Ref Expression
ringurd (𝜑 → 1 = (1r‘𝑅))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑅   𝑥, 1   𝑥, ·   𝜑,𝑥

Proof of Theorem ringurd
Dummy variable 𝑒 is distinct from all other variables.
StepHypRef Expression
1 eqid 2760 . . 3 (Base‘𝑅) = (Base‘𝑅)
2 eqid 2760 . . 3 (.r‘𝑅) = (.r‘𝑅)
3 eqid 2760 . . 3 (1r‘𝑅) = (1r‘𝑅)
41, 2, 3dfur2 20415 . 2 (1r‘𝑅) = (℩𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)))
5 ringurd.z . . . 4 (𝜑 → 1 ∈ 𝐵)
6 ringurd.b . . . 4 (𝜑 → 𝐵 = (Base‘𝑅))
75, 6eleqtrd 2862 . . 3 (𝜑 → 1 ∈ (Base‘𝑅))
8 ringurd.i . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 1 · 𝑥) = 𝑥)
9 ringurd.j . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 · 1 ) = 𝑥)
108, 9jca 521 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (( 1 · 𝑥) = 𝑥 ∧ (𝑥 · 1 ) = 𝑥))
1110ralrimiva 3154 . . . 4 (𝜑 → ∀𝑥 ∈ 𝐵 (( 1 · 𝑥) = 𝑥 ∧ (𝑥 · 1 ) = 𝑥))
12 ringurd.p . . . . . . . . 9 (𝜑 → · = (.r‘𝑅))
1312adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐵) → · = (.r‘𝑅))
1413oveqd 7437 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ( 1 · 𝑥) = ( 1 (.r‘𝑅)𝑥))
1514eqeq1d 2762 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (( 1 · 𝑥) = 𝑥 ↔ ( 1 (.r‘𝑅)𝑥) = 𝑥))
1613oveqd 7437 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 · 1 ) = (𝑥(.r‘𝑅) 1 ))
1716eqeq1d 2762 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((𝑥 · 1 ) = 𝑥 ↔ (𝑥(.r‘𝑅) 1 ) = 𝑥))
1815, 17anbi12d 644 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((( 1 · 𝑥) = 𝑥 ∧ (𝑥 · 1 ) = 𝑥) ↔ (( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)))
196, 18raleqbidva 3325 . . . 4 (𝜑 → (∀𝑥 ∈ 𝐵 (( 1 · 𝑥) = 𝑥 ∧ (𝑥 · 1 ) = 𝑥) ↔ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)))
2011, 19mpbid 235 . . 3 (𝜑 → ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥))
216eleq2d 2846 . . . . . . . 8 (𝜑 → (𝑒 ∈ 𝐵 ↔ 𝑒 ∈ (Base‘𝑅)))
2213oveqd 7437 . . . . . . . . . . 11 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑒 · 𝑥) = (𝑒(.r‘𝑅)𝑥))
2322eqeq1d 2762 . . . . . . . . . 10 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((𝑒 · 𝑥) = 𝑥 ↔ (𝑒(.r‘𝑅)𝑥) = 𝑥))
2413oveqd 7437 . . . . . . . . . . 11 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 · 𝑒) = (𝑥(.r‘𝑅)𝑒))
2524eqeq1d 2762 . . . . . . . . . 10 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((𝑥 · 𝑒) = 𝑥 ↔ (𝑥(.r‘𝑅)𝑒) = 𝑥))
2623, 25anbi12d 644 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥) ↔ ((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)))
276, 26raleqbidva 3325 . . . . . . . 8 (𝜑 → (∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥) ↔ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)))
2821, 27anbi12d 644 . . . . . . 7 (𝜑 → ((𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥)) ↔ (𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥))))
298ralrimiva 3154 . . . . . . . . . . . 12 (𝜑 → ∀𝑥 ∈ 𝐵 ( 1 · 𝑥) = 𝑥)
3029adantr 486 . . . . . . . . . . 11 ((𝜑 ∧ 𝑒 ∈ 𝐵) → ∀𝑥 ∈ 𝐵 ( 1 · 𝑥) = 𝑥)
31 simpr 490 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑒 ∈ 𝐵) → 𝑒 ∈ 𝐵)
32 simpr 490 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 = 𝑒) → 𝑥 = 𝑒)
3332oveq2d 7436 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 = 𝑒) → ( 1 · 𝑥) = ( 1 · 𝑒))
3433, 32eqeq12d 2776 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑒 ∈ 𝐵) ∧ 𝑥 = 𝑒) → (( 1 · 𝑥) = 𝑥 ↔ ( 1 · 𝑒) = 𝑒))
3531, 34rspcdv 3568 . . . . . . . . . . 11 ((𝜑 ∧ 𝑒 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ( 1 · 𝑥) = 𝑥 → ( 1 · 𝑒) = 𝑒))
3630, 35mpd 16 . . . . . . . . . 10 ((𝜑 ∧ 𝑒 ∈ 𝐵) → ( 1 · 𝑒) = 𝑒)
3736adantrr 730 . . . . . . . . 9 ((𝜑 ∧ (𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))) → ( 1 · 𝑒) = 𝑒)
385adantr 486 . . . . . . . . . 10 ((𝜑 ∧ (𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))) → 1 ∈ 𝐵)
39 simprr 785 . . . . . . . . . 10 ((𝜑 ∧ (𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))) → ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))
40 oveq2 7428 . . . . . . . . . . . . . 14 (𝑥 = 1 → (𝑒 · 𝑥) = (𝑒 · 1 ))
41 id 23 . . . . . . . . . . . . . 14 (𝑥 = 1 → 𝑥 = 1 )
4240, 41eqeq12d 2776 . . . . . . . . . . . . 13 (𝑥 = 1 → ((𝑒 · 𝑥) = 𝑥 ↔ (𝑒 · 1 ) = 1 ))
43 oveq1 7427 . . . . . . . . . . . . . 14 (𝑥 = 1 → (𝑥 · 𝑒) = ( 1 · 𝑒))
4443, 41eqeq12d 2776 . . . . . . . . . . . . 13 (𝑥 = 1 → ((𝑥 · 𝑒) = 𝑥 ↔ ( 1 · 𝑒) = 1 ))
4542, 44anbi12d 644 . . . . . . . . . . . 12 (𝑥 = 1 → (((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥) ↔ ((𝑒 · 1 ) = 1 ∧ ( 1 · 𝑒) = 1 )))
4645rspcva 3574 . . . . . . . . . . 11 (( 1 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥)) → ((𝑒 · 1 ) = 1 ∧ ( 1 · 𝑒) = 1 ))
4746simprd 501 . . . . . . . . . 10 (( 1 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥)) → ( 1 · 𝑒) = 1 )
4838, 39, 47syl2anc 596 . . . . . . . . 9 ((𝜑 ∧ (𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))) → ( 1 · 𝑒) = 1 )
4937, 48eqtr3d 2797 . . . . . . . 8 ((𝜑 ∧ (𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥))) → 𝑒 = 1 )
5049ex 418 . . . . . . 7 (𝜑 → ((𝑒 ∈ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ((𝑒 · 𝑥) = 𝑥 ∧ (𝑥 · 𝑒) = 𝑥)) → 𝑒 = 1 ))
5128, 50sylbird 263 . . . . . 6 (𝜑 → ((𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)) → 𝑒 = 1 ))
5251alrimiv 1959 . . . . 5 (𝜑 → ∀𝑒((𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)) → 𝑒 = 1 ))
53 eleq1 2848 . . . . . . 7 (𝑒 = 1 → (𝑒 ∈ (Base‘𝑅) ↔ 1 ∈ (Base‘𝑅)))
54 oveq1 7427 . . . . . . . . 9 (𝑒 = 1 → (𝑒(.r‘𝑅)𝑥) = ( 1 (.r‘𝑅)𝑥))
5554eqeq1d 2762 . . . . . . . 8 (𝑒 = 1 → ((𝑒(.r‘𝑅)𝑥) = 𝑥 ↔ ( 1 (.r‘𝑅)𝑥) = 𝑥))
5655ovanraleqv 7444 . . . . . . 7 (𝑒 = 1 → (∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥) ↔ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)))
5753, 56anbi12d 644 . . . . . 6 (𝑒 = 1 → ((𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)) ↔ ( 1 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥))))
5857eqeu 3663 . . . . 5 (( 1 ∈ (Base‘𝑅) ∧ ( 1 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)) ∧ ∀𝑒((𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)) → 𝑒 = 1 )) → ∃!𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)))
597, 7, 20, 52, 58syl121anc 1402 . . . 4 (𝜑 → ∃!𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥)))
6057iota2 6527 . . . 4 (( 1 ∈ 𝐵 ∧ ∃!𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥))) → (( 1 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)) ↔ (℩𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥))) = 1 ))
615, 59, 60syl2anc 596 . . 3 (𝜑 → (( 1 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)(( 1 (.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅) 1 ) = 𝑥)) ↔ (℩𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥))) = 1 ))
627, 20, 61mpbi2and 725 . 2 (𝜑 → (℩𝑒(𝑒 ∈ (Base‘𝑅) ∧ ∀𝑥 ∈ (Base‘𝑅)((𝑒(.r‘𝑅)𝑥) = 𝑥 ∧ (𝑥(.r‘𝑅)𝑒) = 𝑥))) = 1 )
634, 62eqtr2id 2808 1 (𝜑 → 1 = (1r‘𝑅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ∈ wcel 2144  ∃!weu 2593  ∀wral 3076  ℩cio 6492  ‘cfv 6538  (class class class)co 7420  Basecbs 17392  .rcmulr 17434  1rcur 20412
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11259  ax-resscn 11260  ax-1cn 11261  ax-icn 11262  ax-addcl 11263  ax-addrcl 11264  ax-mulcl 11265  ax-mulrcl 11266  ax-mulcom 11267  ax-addass 11268  ax-mulass 11269  ax-distr 11270  ax-i2m1 11271  ax-1ne0 11272  ax-1rid 11273  ax-rnegex 11274  ax-rrecex 11275  ax-cnre 11276  ax-pre-lttri 11277  ax-pre-lttrn 11278  ax-pre-ltadd 11279  ax-pre-mulgt0 11280
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-er 8720  df-en 8977  df-dom 8978  df-sdom 8979  df-pnf 11348  df-mnf 11349  df-xr 11350  df-ltxr 11351  df-le 11352  df-sub 11546  df-neg 11547  df-nn 12339  df-2 12408  df-sets 17347  df-slot 17365  df-ndx 17377  df-base 17393  df-plusg 17446  df-0g 17617  df-mgp 20366  df-ur 20413
This theorem is used by:  rngisomring1  20703  ress1r  33839
  Copyright terms: Public domain W3C validator