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

Theorem isirred2 19858
Description: Expand out the class difference from isirred 19856. (Contributed by Mario Carneiro, 4-Dec-2014.)
Hypotheses
Ref Expression
isirred2.1 𝐵 = (Base‘𝑅)
isirred2.2 𝑈 = (Unit‘𝑅)
isirred2.3 𝐼 = (Irred‘𝑅)
isirred2.4 · = (.r𝑅)
Assertion
Ref Expression
isirred2 (𝑋𝐼 ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈 ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝑅,𝑦   𝑥,𝑈,𝑦   𝑥,𝑋,𝑦
Allowed substitution hints:   · (𝑥,𝑦)   𝐼(𝑥,𝑦)

Proof of Theorem isirred2
StepHypRef Expression
1 eldif 3893 . . 3 (𝑋 ∈ (𝐵𝑈) ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
2 eldif 3893 . . . . . . . . 9 (𝑥 ∈ (𝐵𝑈) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝑈))
3 eldif 3893 . . . . . . . . 9 (𝑦 ∈ (𝐵𝑈) ↔ (𝑦𝐵 ∧ ¬ 𝑦𝑈))
42, 3anbi12i 626 . . . . . . . 8 ((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) ↔ ((𝑥𝐵 ∧ ¬ 𝑥𝑈) ∧ (𝑦𝐵 ∧ ¬ 𝑦𝑈)))
5 an4 652 . . . . . . . 8 (((𝑥𝐵 ∧ ¬ 𝑥𝑈) ∧ (𝑦𝐵 ∧ ¬ 𝑦𝑈)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)))
64, 5bitri 274 . . . . . . 7 ((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)))
76imbi1i 349 . . . . . 6 (((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ (((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋))
8 impexp 450 . . . . . . 7 ((((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋)))
9 pm4.56 985 . . . . . . . . . 10 ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) ↔ ¬ (𝑥𝑈𝑦𝑈))
10 df-ne 2943 . . . . . . . . . 10 ((𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ (𝑥 · 𝑦) = 𝑋)
119, 10imbi12i 350 . . . . . . . . 9 (((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋) ↔ (¬ (𝑥𝑈𝑦𝑈) → ¬ (𝑥 · 𝑦) = 𝑋))
12 con34b 315 . . . . . . . . 9 (((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)) ↔ (¬ (𝑥𝑈𝑦𝑈) → ¬ (𝑥 · 𝑦) = 𝑋))
1311, 12bitr4i 277 . . . . . . . 8 (((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)))
1413imbi2i 335 . . . . . . 7 (((𝑥𝐵𝑦𝐵) → ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋)) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
158, 14bitri 274 . . . . . 6 ((((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
167, 15bitri 274 . . . . 5 (((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
17162albii 1824 . . . 4 (∀𝑥𝑦((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ∀𝑥𝑦((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
18 r2al 3124 . . . 4 (∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝑦((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋))
19 r2al 3124 . . . 4 (∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)) ↔ ∀𝑥𝑦((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
2017, 18, 193bitr4i 302 . . 3 (∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)))
211, 20anbi12i 626 . 2 ((𝑋 ∈ (𝐵𝑈) ∧ ∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑋𝐵 ∧ ¬ 𝑋𝑈) ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
22 isirred2.1 . . 3 𝐵 = (Base‘𝑅)
23 isirred2.2 . . 3 𝑈 = (Unit‘𝑅)
24 isirred2.3 . . 3 𝐼 = (Irred‘𝑅)
25 eqid 2738 . . 3 (𝐵𝑈) = (𝐵𝑈)
26 isirred2.4 . . 3 · = (.r𝑅)
2722, 23, 24, 25, 26isirred 19856 . 2 (𝑋𝐼 ↔ (𝑋 ∈ (𝐵𝑈) ∧ ∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋))
28 df-3an 1087 . 2 ((𝑋𝐵 ∧ ¬ 𝑋𝑈 ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))) ↔ ((𝑋𝐵 ∧ ¬ 𝑋𝑈) ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
2921, 27, 283bitr4i 302 1 (𝑋𝐼 ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈 ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085  wal 1537   = wceq 1539  wcel 2108  wne 2942  wral 3063  cdif 3880  cfv 6418  (class class class)co 7255  Basecbs 16840  .rcmulr 16889  Unitcui 19796  Irredcir 19797
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-irred 19800
This theorem is referenced by:  irredcl  19861  irrednu  19862  irredmul  19866  prmirredlem  20606
  Copyright terms: Public domain W3C validator