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

Theorem isirred2 19943
Description: Expand out the class difference from isirred 19941. (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 3897 . . 3 (𝑋 ∈ (𝐵𝑈) ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈))
2 eldif 3897 . . . . . . . . 9 (𝑥 ∈ (𝐵𝑈) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝑈))
3 eldif 3897 . . . . . . . . 9 (𝑦 ∈ (𝐵𝑈) ↔ (𝑦𝐵 ∧ ¬ 𝑦𝑈))
42, 3anbi12i 627 . . . . . . . 8 ((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) ↔ ((𝑥𝐵 ∧ ¬ 𝑥𝑈) ∧ (𝑦𝐵 ∧ ¬ 𝑦𝑈)))
5 an4 653 . . . . . . . 8 (((𝑥𝐵 ∧ ¬ 𝑥𝑈) ∧ (𝑦𝐵 ∧ ¬ 𝑦𝑈)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)))
64, 5bitri 274 . . . . . . 7 ((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)))
76imbi1i 350 . . . . . 6 (((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ (((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋))
8 impexp 451 . . . . . . 7 ((((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋)))
9 pm4.56 986 . . . . . . . . . 10 ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) ↔ ¬ (𝑥𝑈𝑦𝑈))
10 df-ne 2944 . . . . . . . . . 10 ((𝑥 · 𝑦) ≠ 𝑋 ↔ ¬ (𝑥 · 𝑦) = 𝑋)
119, 10imbi12i 351 . . . . . . . . 9 (((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋) ↔ (¬ (𝑥𝑈𝑦𝑈) → ¬ (𝑥 · 𝑦) = 𝑋))
12 con34b 316 . . . . . . . . 9 (((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)) ↔ (¬ (𝑥𝑈𝑦𝑈) → ¬ (𝑥 · 𝑦) = 𝑋))
1311, 12bitr4i 277 . . . . . . . 8 (((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)))
1413imbi2i 336 . . . . . . 7 (((𝑥𝐵𝑦𝐵) → ((¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈) → (𝑥 · 𝑦) ≠ 𝑋)) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
158, 14bitri 274 . . . . . 6 ((((𝑥𝐵𝑦𝐵) ∧ (¬ 𝑥𝑈 ∧ ¬ 𝑦𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
167, 15bitri 274 . . . . 5 (((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
17162albii 1823 . . . 4 (∀𝑥𝑦((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋) ↔ ∀𝑥𝑦((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
18 r2al 3118 . . . 4 (∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝑦((𝑥 ∈ (𝐵𝑈) ∧ 𝑦 ∈ (𝐵𝑈)) → (𝑥 · 𝑦) ≠ 𝑋))
19 r2al 3118 . . . 4 (∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)) ↔ ∀𝑥𝑦((𝑥𝐵𝑦𝐵) → ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
2017, 18, 193bitr4i 303 . . 3 (∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋 ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈)))
211, 20anbi12i 627 . 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 19941 . 2 (𝑋𝐼 ↔ (𝑋 ∈ (𝐵𝑈) ∧ ∀𝑥 ∈ (𝐵𝑈)∀𝑦 ∈ (𝐵𝑈)(𝑥 · 𝑦) ≠ 𝑋))
28 df-3an 1088 . 2 ((𝑋𝐵 ∧ ¬ 𝑋𝑈 ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))) ↔ ((𝑋𝐵 ∧ ¬ 𝑋𝑈) ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
2921, 27, 283bitr4i 303 1 (𝑋𝐼 ↔ (𝑋𝐵 ∧ ¬ 𝑋𝑈 ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 · 𝑦) = 𝑋 → (𝑥𝑈𝑦𝑈))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3a 1086  wal 1537   = wceq 1539  wcel 2106  wne 2943  wral 3064  cdif 3884  cfv 6433  (class class class)co 7275  Basecbs 16912  .rcmulr 16963  Unitcui 19881  Irredcir 19882
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-csb 3833  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-irred 19885
This theorem is referenced by:  irredcl  19946  irrednu  19947  irredmul  19951  prmirredlem  20694
  Copyright terms: Public domain W3C validator