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

Theorem isunit 19814
Description: Property of being a unit of a ring. A unit is an element that left- and right-divides one. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Mario Carneiro, 8-Dec-2015.)
Hypotheses
Ref Expression
unit.1 𝑈 = (Unit‘𝑅)
unit.2 1 = (1r𝑅)
unit.3 = (∥r𝑅)
unit.4 𝑆 = (oppr𝑅)
unit.5 𝐸 = (∥r𝑆)
Assertion
Ref Expression
isunit (𝑋𝑈 ↔ (𝑋 1𝑋𝐸 1 ))

Proof of Theorem isunit
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 elfvdm 6788 . . . 4 (𝑋 ∈ (Unit‘𝑅) → 𝑅 ∈ dom Unit)
2 unit.1 . . . 4 𝑈 = (Unit‘𝑅)
31, 2eleq2s 2857 . . 3 (𝑋𝑈𝑅 ∈ dom Unit)
43elexd 3442 . 2 (𝑋𝑈𝑅 ∈ V)
5 df-br 5071 . . . 4 (𝑋 1 ↔ ⟨𝑋, 1 ⟩ ∈ )
6 elfvdm 6788 . . . . . 6 (⟨𝑋, 1 ⟩ ∈ (∥r𝑅) → 𝑅 ∈ dom ∥r)
7 unit.3 . . . . . 6 = (∥r𝑅)
86, 7eleq2s 2857 . . . . 5 (⟨𝑋, 1 ⟩ ∈ 𝑅 ∈ dom ∥r)
98elexd 3442 . . . 4 (⟨𝑋, 1 ⟩ ∈ 𝑅 ∈ V)
105, 9sylbi 216 . . 3 (𝑋 1𝑅 ∈ V)
1110adantr 480 . 2 ((𝑋 1𝑋𝐸 1 ) → 𝑅 ∈ V)
12 fveq2 6756 . . . . . . . . . 10 (𝑟 = 𝑅 → (∥r𝑟) = (∥r𝑅))
1312, 7eqtr4di 2797 . . . . . . . . 9 (𝑟 = 𝑅 → (∥r𝑟) = )
14 fveq2 6756 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (oppr𝑟) = (oppr𝑅))
15 unit.4 . . . . . . . . . . . 12 𝑆 = (oppr𝑅)
1614, 15eqtr4di 2797 . . . . . . . . . . 11 (𝑟 = 𝑅 → (oppr𝑟) = 𝑆)
1716fveq2d 6760 . . . . . . . . . 10 (𝑟 = 𝑅 → (∥r‘(oppr𝑟)) = (∥r𝑆))
18 unit.5 . . . . . . . . . 10 𝐸 = (∥r𝑆)
1917, 18eqtr4di 2797 . . . . . . . . 9 (𝑟 = 𝑅 → (∥r‘(oppr𝑟)) = 𝐸)
2013, 19ineq12d 4144 . . . . . . . 8 (𝑟 = 𝑅 → ((∥r𝑟) ∩ (∥r‘(oppr𝑟))) = ( 𝐸))
2120cnveqd 5773 . . . . . . 7 (𝑟 = 𝑅((∥r𝑟) ∩ (∥r‘(oppr𝑟))) = ( 𝐸))
22 fveq2 6756 . . . . . . . . 9 (𝑟 = 𝑅 → (1r𝑟) = (1r𝑅))
23 unit.2 . . . . . . . . 9 1 = (1r𝑅)
2422, 23eqtr4di 2797 . . . . . . . 8 (𝑟 = 𝑅 → (1r𝑟) = 1 )
2524sneqd 4570 . . . . . . 7 (𝑟 = 𝑅 → {(1r𝑟)} = { 1 })
2621, 25imaeq12d 5959 . . . . . 6 (𝑟 = 𝑅 → (((∥r𝑟) ∩ (∥r‘(oppr𝑟))) “ {(1r𝑟)}) = (( 𝐸) “ { 1 }))
27 df-unit 19799 . . . . . 6 Unit = (𝑟 ∈ V ↦ (((∥r𝑟) ∩ (∥r‘(oppr𝑟))) “ {(1r𝑟)}))
287fvexi 6770 . . . . . . . . 9 ∈ V
2928inex1 5236 . . . . . . . 8 ( 𝐸) ∈ V
3029cnvex 7746 . . . . . . 7 ( 𝐸) ∈ V
3130imaex 7737 . . . . . 6 (( 𝐸) “ { 1 }) ∈ V
3226, 27, 31fvmpt 6857 . . . . 5 (𝑅 ∈ V → (Unit‘𝑅) = (( 𝐸) “ { 1 }))
332, 32eqtrid 2790 . . . 4 (𝑅 ∈ V → 𝑈 = (( 𝐸) “ { 1 }))
3433eleq2d 2824 . . 3 (𝑅 ∈ V → (𝑋𝑈𝑋 ∈ (( 𝐸) “ { 1 })))
35 inss1 4159 . . . . . 6 ( 𝐸) ⊆
367reldvdsr 19801 . . . . . 6 Rel
37 relss 5682 . . . . . 6 (( 𝐸) ⊆ → (Rel → Rel ( 𝐸)))
3835, 36, 37mp2 9 . . . . 5 Rel ( 𝐸)
39 eliniseg2 6003 . . . . 5 (Rel ( 𝐸) → (𝑋 ∈ (( 𝐸) “ { 1 }) ↔ 𝑋( 𝐸) 1 ))
4038, 39ax-mp 5 . . . 4 (𝑋 ∈ (( 𝐸) “ { 1 }) ↔ 𝑋( 𝐸) 1 )
41 brin 5122 . . . 4 (𝑋( 𝐸) 1 ↔ (𝑋 1𝑋𝐸 1 ))
4240, 41bitri 274 . . 3 (𝑋 ∈ (( 𝐸) “ { 1 }) ↔ (𝑋 1𝑋𝐸 1 ))
4334, 42bitrdi 286 . 2 (𝑅 ∈ V → (𝑋𝑈 ↔ (𝑋 1𝑋𝐸 1 )))
444, 11, 43pm5.21nii 379 1 (𝑋𝑈 ↔ (𝑋 1𝑋𝐸 1 ))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cin 3882  wss 3883  {csn 4558  cop 4564   class class class wbr 5070  ccnv 5579  dom cdm 5580  cima 5583  Rel wrel 5585  cfv 6418  1rcur 19652  opprcoppr 19776  rcdsr 19795  Unitcui 19796
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fv 6426  df-dvdsr 19798  df-unit 19799
This theorem is referenced by:  1unit  19815  unitcl  19816  opprunit  19818  crngunit  19819  unitmulcl  19821  unitgrp  19824  unitnegcl  19838  unitpropd  19854  isdrng2  19916  subrguss  19954  subrgunit  19957  fidomndrng  20492  invrvald  21733  elrhmunit  31421
  Copyright terms: Public domain W3C validator