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

Theorem irredmul 20692
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 20684 . . . 4 ((𝑋 · 𝑌) ∈ 𝐼 ↔ ((𝑋 · 𝑌) ∈ 𝐵 ∧ ¬ (𝑋 · 𝑌) ∈ 𝑈 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
65simp3bi 1165 . . 3 ((𝑋 · 𝑌) ∈ 𝐼 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
7 eqid 2763 . . . 4 (𝑋 · 𝑌) = (𝑋 · 𝑌)
8 oveq1 7453 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
98eqeq1d 2765 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑦) = (𝑋 · 𝑌)))
10 eleq1 2852 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 ∈ 𝑈 ↔ 𝑋 ∈ 𝑈))
1110orbi1d 930 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
129, 11imbi12d 347 . . . . 5 (𝑥 = 𝑋 → (((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
13 oveq2 7454 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
1413eqeq1d 2765 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑌) = (𝑋 · 𝑌)))
15 eleq1 2852 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 ∈ 𝑈 ↔ 𝑌 ∈ 𝑈))
1615orbi2d 929 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
1714, 16imbi12d 347 . . . . 5 (𝑦 = 𝑌 → (((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
1812, 17rspc2v 3590 . . . 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 1570   ∈ wcel 2147  ∀wral 3080  ‘cfv 6561  (class class class)co 7446  Basecbs 17419  .rcmulr 17461  Unitcui 20618  Irredcir 20619
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-iota 6515  df-fun 6563  df-fv 6569  df-ov 7449  df-irred 20622
This theorem is used by:  prmirredlem  21811  mxidlirred  34081  irredminply  34431
  Copyright terms: Public domain W3C validator