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

Theorem isnirred 18871
Description: The property of being a non-irreducible (reducible) element in a ring. (Contributed by Mario Carneiro, 4-Dec-2014.)
Hypotheses
Ref Expression
irred.1 𝐵 = (Base‘𝑅)
irred.2 𝑈 = (Unit‘𝑅)
irred.3 𝐼 = (Irred‘𝑅)
irred.4 𝑁 = (𝐵𝑈)
irred.5 · = (.r𝑅)
Assertion
Ref Expression
isnirred (𝑋𝐵 → (¬ 𝑋𝐼 ↔ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋)))
Distinct variable groups:   𝑥,𝑦,𝑁   𝑥,𝑅,𝑦   𝑥,𝑋,𝑦
Allowed substitution hints:   𝐵(𝑥,𝑦)   · (𝑥,𝑦)   𝑈(𝑥,𝑦)   𝐼(𝑥,𝑦)

Proof of Theorem isnirred
StepHypRef Expression
1 irred.4 . . . . . . 7 𝑁 = (𝐵𝑈)
21eleq2i 2819 . . . . . 6 (𝑋𝑁𝑋 ∈ (𝐵𝑈))
3 eldif 3713 . . . . . 6 (𝑋 ∈ (𝐵𝑈) ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
42, 3bitri 264 . . . . 5 (𝑋𝑁 ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
54baibr 983 . . . 4 (𝑋𝐵 → (¬ 𝑋𝑈𝑋𝑁))
6 df-ne 2921 . . . . . . . . 9 ((𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ (𝑥 · 𝑦) = 𝑋)
76ralbii 3106 . . . . . . . 8 (∀𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑦𝑁 ¬ (𝑥 · 𝑦) = 𝑋)
8 ralnex 3118 . . . . . . . 8 (∀𝑦𝑁 ¬ (𝑥 · 𝑦) = 𝑋 ↔ ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
97, 8bitri 264 . . . . . . 7 (∀𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
109ralbii 3106 . . . . . 6 (∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝑁 ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
11 ralnex 3118 . . . . . 6 (∀𝑥𝑁 ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
1210, 11bitr2i 265 . . . . 5 (¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋)
1312a1i 11 . . . 4 (𝑋𝐵 → (¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋))
145, 13anbi12d 749 . . 3 (𝑋𝐵 → ((¬ 𝑋𝑈 ∧ ¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋) ↔ (𝑋𝑁 ∧ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋)))
15 ioran 512 . . 3 (¬ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋) ↔ (¬ 𝑋𝑈 ∧ ¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋))
16 irred.1 . . . 4 𝐵 = (Base‘𝑅)
17 irred.2 . . . 4 𝑈 = (Unit‘𝑅)
18 irred.3 . . . 4 𝐼 = (Irred‘𝑅)
19 irred.5 . . . 4 · = (.r𝑅)
2016, 17, 18, 1, 19isirred 18870 . . 3 (𝑋𝐼 ↔ (𝑋𝑁 ∧ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋))
2114, 15, 203bitr4g 303 . 2 (𝑋𝐵 → (¬ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋) ↔ 𝑋𝐼))
2221con1bid 344 1 (𝑋𝐵 → (¬ 𝑋𝐼 ↔ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 382  wa 383   = wceq 1620  wcel 2127  wne 2920  wral 3038  wrex 3039  cdif 3700  cfv 6037  (class class class)co 6801  Basecbs 16030  .rcmulr 16115  Unitcui 18810  Irredcir 18811
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-8 2129  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-sep 4921  ax-nul 4929  ax-pow 4980  ax-pr 5043
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-eu 2599  df-mo 2600  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ne 2921  df-ral 3043  df-rex 3044  df-rab 3047  df-v 3330  df-sbc 3565  df-csb 3663  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-nul 4047  df-if 4219  df-sn 4310  df-pr 4312  df-op 4316  df-uni 4577  df-br 4793  df-opab 4853  df-mpt 4870  df-id 5162  df-xp 5260  df-rel 5261  df-cnv 5262  df-co 5263  df-dm 5264  df-iota 6000  df-fun 6039  df-fv 6045  df-ov 6804  df-irred 18814
This theorem is referenced by:  irredn0  18874  irredrmul  18878
  Copyright terms: Public domain W3C validator