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

Theorem irredmul 20664
Description: If product of two elements is irreducible, then one of the elements must be a unit. (Contributed by Mario Carneiro, 4-Dec-2014.)
Hypotheses
Ref Expression
irredn0.i 𝐼 = (Irred‘𝑅)
irredmul.b 𝐵 = (Base‘𝑅)
irredmul.u 𝑈 = (Unit‘𝑅)
irredmul.t · = (.r‘𝑅)
Assertion
Ref Expression
irredmul ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 · 𝑌) ∈ 𝐼) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))

Proof of Theorem irredmul
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 irredmul.b . . . . 5 𝐵 = (Base‘𝑅)
2 irredmul.u . . . . 5 𝑈 = (Unit‘𝑅)
3 irredn0.i . . . . 5 𝐼 = (Irred‘𝑅)
4 irredmul.t . . . . 5 · = (.r‘𝑅)
51, 2, 3, 4isirred2 20656 . . . 4 ((𝑋 · 𝑌) ∈ 𝐼 ↔ ((𝑋 · 𝑌) ∈ 𝐵 ∧ ¬ (𝑋 · 𝑌) ∈ 𝑈 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
65simp3bi 1165 . . 3 ((𝑋 · 𝑌) ∈ 𝐼 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
7 eqid 2760 . . . 4 (𝑋 · 𝑌) = (𝑋 · 𝑌)
8 oveq1 7427 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
98eqeq1d 2762 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑦) = (𝑋 · 𝑌)))
10 eleq1 2848 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 ∈ 𝑈 ↔ 𝑋 ∈ 𝑈))
1110orbi1d 930 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
129, 11imbi12d 347 . . . . 5 (𝑥 = 𝑋 → (((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
13 oveq2 7428 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
1413eqeq1d 2762 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑌) = (𝑋 · 𝑌)))
15 eleq1 2848 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 ∈ 𝑈 ↔ 𝑌 ∈ 𝑈))
1615orbi2d 929 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
1714, 16imbi12d 347 . . . . 5 (𝑦 = 𝑌 → (((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
1812, 17rspc2v 3586 . . . 4 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
197, 18mpii 47 . . 3 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
206, 19syl5 35 . 2 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ((𝑋 · 𝑌) ∈ 𝐼 → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
21203impia 1135 1 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 · 𝑌) ∈ 𝐼) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ‘cfv 6538  (class class class)co 7420  Basecbs 17392  .rcmulr 17434  Unitcui 20590  Irredcir 20591
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-irred 20594
This theorem is used by:  prmirredlem  21783  mxidlirred  34043  irredminply  34394
  Copyright terms: Public domain W3C validator