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

Theorem isdomn2 20291
Description: A ring is a domain iff all nonzero elements are nonzero-divisors. (Contributed by Mario Carneiro, 28-Mar-2015.)
Hypotheses
Ref Expression
isdomn2.b 𝐵 = (Base‘𝑅)
isdomn2.t 𝐸 = (RLReg‘𝑅)
isdomn2.z 0 = (0g𝑅)
Assertion
Ref Expression
isdomn2 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))

Proof of Theorem isdomn2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isdomn2.b . . 3 𝐵 = (Base‘𝑅)
2 eqid 2736 . . 3 (.r𝑅) = (.r𝑅)
3 isdomn2.z . . 3 0 = (0g𝑅)
41, 2, 3isdomn 20286 . 2 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))))
5 dfss3 3875 . . . 4 ((𝐵 ∖ { 0 }) ⊆ 𝐸 ↔ ∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸)
6 isdomn2.t . . . . . . . . 9 𝐸 = (RLReg‘𝑅)
76, 1, 2, 3isrrg 20280 . . . . . . . 8 (𝑥𝐸 ↔ (𝑥𝐵 ∧ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
87baib 539 . . . . . . 7 (𝑥𝐵 → (𝑥𝐸 ↔ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
98imbi2d 344 . . . . . 6 (𝑥𝐵 → ((𝑥0𝑥𝐸) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ))))
109ralbiia 3077 . . . . 5 (∀𝑥𝐵 (𝑥0𝑥𝐸) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
11 eldifsn 4686 . . . . . . . 8 (𝑥 ∈ (𝐵 ∖ { 0 }) ↔ (𝑥𝐵𝑥0 ))
1211imbi1i 353 . . . . . . 7 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ ((𝑥𝐵𝑥0 ) → 𝑥𝐸))
13 impexp 454 . . . . . . 7 (((𝑥𝐵𝑥0 ) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1412, 13bitri 278 . . . . . 6 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1514ralbii2 3076 . . . . 5 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵 (𝑥0𝑥𝐸))
16 con34b 319 . . . . . . . . 9 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
17 impexp 454 . . . . . . . . . 10 (((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
18 ioran 984 . . . . . . . . . . 11 (¬ (𝑥 = 0𝑦 = 0 ) ↔ (¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ))
1918imbi1i 353 . . . . . . . . . 10 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ ((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
20 df-ne 2933 . . . . . . . . . . 11 (𝑥0 ↔ ¬ 𝑥 = 0 )
21 con34b 319 . . . . . . . . . . 11 (((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ) ↔ (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
2220, 21imbi12i 354 . . . . . . . . . 10 ((𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
2317, 19, 223bitr4i 306 . . . . . . . . 9 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2416, 23bitri 278 . . . . . . . 8 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2524ralbii 3078 . . . . . . 7 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
26 r19.21v 3088 . . . . . . 7 (∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2725, 26bitri 278 . . . . . 6 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2827ralbii 3078 . . . . 5 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2910, 15, 283bitr4i 306 . . . 4 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )))
305, 29bitr2i 279 . . 3 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝐵 ∖ { 0 }) ⊆ 𝐸)
3130anbi2i 626 . 2 ((𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))) ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
324, 31bitri 278 1 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2112  wne 2932  wral 3051  cdif 3850  wss 3853  {csn 4527  cfv 6358  (class class class)co 7191  Basecbs 16666  .rcmulr 16750  0gc0g 16898  NzRingcnzr 20249  RLRegcrlreg 20271  Domncdomn 20272
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-iota 6316  df-fun 6360  df-fv 6366  df-ov 7194  df-rlreg 20275  df-domn 20276
This theorem is referenced by:  domnrrg  20292  drngdomn  20295
  Copyright terms: Public domain W3C validator