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

Theorem isdomn2 19120
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 2610 . . 3 (.r𝑅) = (.r𝑅)
3 isdomn2.z . . 3 0 = (0g𝑅)
41, 2, 3isdomn 19115 . 2 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))))
5 dfss3 3558 . . . 4 ((𝐵 ∖ { 0 }) ⊆ 𝐸 ↔ ∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸)
6 isdomn2.t . . . . . . . . 9 𝐸 = (RLReg‘𝑅)
76, 1, 2, 3isrrg 19109 . . . . . . . 8 (𝑥𝐸 ↔ (𝑥𝐵 ∧ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
87baib 942 . . . . . . 7 (𝑥𝐵 → (𝑥𝐸 ↔ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
98imbi2d 329 . . . . . 6 (𝑥𝐵 → ((𝑥0𝑥𝐸) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ))))
109ralbiia 2962 . . . . 5 (∀𝑥𝐵 (𝑥0𝑥𝐸) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
11 eldifsn 4260 . . . . . . . 8 (𝑥 ∈ (𝐵 ∖ { 0 }) ↔ (𝑥𝐵𝑥0 ))
1211imbi1i 338 . . . . . . 7 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ ((𝑥𝐵𝑥0 ) → 𝑥𝐸))
13 impexp 461 . . . . . . 7 (((𝑥𝐵𝑥0 ) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1412, 13bitri 263 . . . . . 6 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1514ralbii2 2961 . . . . 5 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵 (𝑥0𝑥𝐸))
16 con34b 305 . . . . . . . . 9 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
17 impexp 461 . . . . . . . . . 10 (((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
18 ioran 510 . . . . . . . . . . 11 (¬ (𝑥 = 0𝑦 = 0 ) ↔ (¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ))
1918imbi1i 338 . . . . . . . . . 10 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ ((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
20 df-ne 2782 . . . . . . . . . . 11 (𝑥0 ↔ ¬ 𝑥 = 0 )
21 con34b 305 . . . . . . . . . . 11 (((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ) ↔ (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
2220, 21imbi12i 339 . . . . . . . . . 10 ((𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
2317, 19, 223bitr4i 291 . . . . . . . . 9 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2416, 23bitri 263 . . . . . . . 8 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2524ralbii 2963 . . . . . . 7 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
26 r19.21v 2943 . . . . . . 7 (∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2725, 26bitri 263 . . . . . 6 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2827ralbii 2963 . . . . 5 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2910, 15, 283bitr4i 291 . . . 4 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )))
305, 29bitr2i 264 . . 3 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝐵 ∖ { 0 }) ⊆ 𝐸)
3130anbi2i 726 . 2 ((𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))) ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
324, 31bitri 263 1 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383   = wceq 1475  wcel 1977  wne 2780  wral 2896  cdif 3537  wss 3540  {csn 4125  cfv 5804  (class class class)co 6549  Basecbs 15695  .rcmulr 15769  0gc0g 15923  NzRingcnzr 19078  RLRegcrlreg 19100  Domncdomn 19101
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-iota 5768  df-fun 5806  df-fv 5812  df-ov 6552  df-rlreg 19104  df-domn 19105
This theorem is referenced by:  domnrrg  19121  drngdomn  19124
  Copyright terms: Public domain W3C validator