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

Theorem isnirred 18466
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 2676 . . . . . 6 (𝑋𝑁𝑋 ∈ (𝐵𝑈))
3 eldif 3546 . . . . . 6 (𝑋 ∈ (𝐵𝑈) ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
42, 3bitri 262 . . . . 5 (𝑋𝑁 ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
54baibr 942 . . . 4 (𝑋𝐵 → (¬ 𝑋𝑈𝑋𝑁))
6 df-ne 2778 . . . . . . . . 9 ((𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ (𝑥 · 𝑦) = 𝑋)
76ralbii 2959 . . . . . . . 8 (∀𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑦𝑁 ¬ (𝑥 · 𝑦) = 𝑋)
8 ralnex 2971 . . . . . . . 8 (∀𝑦𝑁 ¬ (𝑥 · 𝑦) = 𝑋 ↔ ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
97, 8bitri 262 . . . . . . 7 (∀𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
109ralbii 2959 . . . . . 6 (∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝑁 ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
11 ralnex 2971 . . . . . 6 (∀𝑥𝑁 ¬ ∃𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋)
1210, 11bitr2i 263 . . . . 5 (¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋)
1312a1i 11 . . . 4 (𝑋𝐵 → (¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋 ↔ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋))
145, 13anbi12d 742 . . 3 (𝑋𝐵 → ((¬ 𝑋𝑈 ∧ ¬ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋) ↔ (𝑋𝑁 ∧ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋)))
15 ioran 509 . . 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 18465 . . 3 (𝑋𝐼 ↔ (𝑋𝑁 ∧ ∀𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) ≠ 𝑋))
2114, 15, 203bitr4g 301 . 2 (𝑋𝐵 → (¬ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋) ↔ 𝑋𝐼))
2221con1bid 343 1 (𝑋𝐵 → (¬ 𝑋𝐼 ↔ (𝑋𝑈 ∨ ∃𝑥𝑁𝑦𝑁 (𝑥 · 𝑦) = 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382   = wceq 1474  wcel 1976  wne 2776  wral 2892  wrex 2893  cdif 3533  cfv 5787  (class class class)co 6524  Basecbs 15638  .rcmulr 15712  Unitcui 18405  Irredcir 18406
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2229  ax-ext 2586  ax-sep 4700  ax-nul 4709  ax-pow 4761  ax-pr 4825
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2458  df-mo 2459  df-clab 2593  df-cleq 2599  df-clel 2602  df-nfc 2736  df-ne 2778  df-ral 2897  df-rex 2898  df-rab 2901  df-v 3171  df-sbc 3399  df-csb 3496  df-dif 3539  df-un 3541  df-in 3543  df-ss 3550  df-nul 3871  df-if 4033  df-sn 4122  df-pr 4124  df-op 4128  df-uni 4364  df-br 4575  df-opab 4635  df-mpt 4636  df-id 4940  df-xp 5031  df-rel 5032  df-cnv 5033  df-co 5034  df-dm 5035  df-iota 5751  df-fun 5789  df-fv 5795  df-ov 6527  df-irred 18409
This theorem is referenced by:  irredn0  18469  irredrmul  18473
  Copyright terms: Public domain W3C validator