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

Theorem isdomn2 20570
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 2738 . . 3 (.r𝑅) = (.r𝑅)
3 isdomn2.z . . 3 0 = (0g𝑅)
41, 2, 3isdomn 20565 . 2 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))))
5 dfss3 3909 . . . 4 ((𝐵 ∖ { 0 }) ⊆ 𝐸 ↔ ∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸)
6 isdomn2.t . . . . . . . . 9 𝐸 = (RLReg‘𝑅)
76, 1, 2, 3isrrg 20559 . . . . . . . 8 (𝑥𝐸 ↔ (𝑥𝐵 ∧ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
87baib 536 . . . . . . 7 (𝑥𝐵 → (𝑥𝐸 ↔ ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
98imbi2d 341 . . . . . 6 (𝑥𝐵 → ((𝑥0𝑥𝐸) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ))))
109ralbiia 3091 . . . . 5 (∀𝑥𝐵 (𝑥0𝑥𝐸) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
11 eldifsn 4720 . . . . . . . 8 (𝑥 ∈ (𝐵 ∖ { 0 }) ↔ (𝑥𝐵𝑥0 ))
1211imbi1i 350 . . . . . . 7 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ ((𝑥𝐵𝑥0 ) → 𝑥𝐸))
13 impexp 451 . . . . . . 7 (((𝑥𝐵𝑥0 ) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1412, 13bitri 274 . . . . . 6 ((𝑥 ∈ (𝐵 ∖ { 0 }) → 𝑥𝐸) ↔ (𝑥𝐵 → (𝑥0𝑥𝐸)))
1514ralbii2 3090 . . . . 5 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵 (𝑥0𝑥𝐸))
16 con34b 316 . . . . . . . . 9 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
17 impexp 451 . . . . . . . . . 10 (((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
18 ioran 981 . . . . . . . . . . 11 (¬ (𝑥 = 0𝑦 = 0 ) ↔ (¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ))
1918imbi1i 350 . . . . . . . . . 10 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ ((¬ 𝑥 = 0 ∧ ¬ 𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
20 df-ne 2944 . . . . . . . . . . 11 (𝑥0 ↔ ¬ 𝑥 = 0 )
21 con34b 316 . . . . . . . . . . 11 (((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 ) ↔ (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 ))
2220, 21imbi12i 351 . . . . . . . . . 10 ((𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (¬ 𝑥 = 0 → (¬ 𝑦 = 0 → ¬ (𝑥(.r𝑅)𝑦) = 0 )))
2317, 19, 223bitr4i 303 . . . . . . . . 9 ((¬ (𝑥 = 0𝑦 = 0 ) → ¬ (𝑥(.r𝑅)𝑦) = 0 ) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2416, 23bitri 274 . . . . . . . 8 (((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2524ralbii 3092 . . . . . . 7 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
26 r19.21v 3113 . . . . . . 7 (∀𝑦𝐵 (𝑥0 → ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2725, 26bitri 274 . . . . . 6 (∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2827ralbii 3092 . . . . 5 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ ∀𝑥𝐵 (𝑥0 → ∀𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0𝑦 = 0 )))
2910, 15, 283bitr4i 303 . . . 4 (∀𝑥 ∈ (𝐵 ∖ { 0 })𝑥𝐸 ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )))
305, 29bitr2i 275 . . 3 (∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 )) ↔ (𝐵 ∖ { 0 }) ⊆ 𝐸)
3130anbi2i 623 . 2 ((𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥(.r𝑅)𝑦) = 0 → (𝑥 = 0𝑦 = 0 ))) ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
324, 31bitri 274 1 (𝑅 ∈ Domn ↔ (𝑅 ∈ NzRing ∧ (𝐵 ∖ { 0 }) ⊆ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wne 2943  wral 3064  cdif 3884  wss 3887  {csn 4561  cfv 6433  (class class class)co 7275  Basecbs 16912  .rcmulr 16963  0gc0g 17150  NzRingcnzr 20528  RLRegcrlreg 20550  Domncdomn 20551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-rlreg 20554  df-domn 20555
This theorem is referenced by:  domnrrg  20571  drngdomn  20574
  Copyright terms: Public domain W3C validator