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

Theorem prmidl2 21602
Description: A condition that shows an ideal is prime. For commutative rings, this is often taken to be the definition. See ispridlc 38972 for the equivalence in the commutative case. (Contributed by Jeff Madsen, 19-Jun-2010.) (Revised by Thierry Arnoux, 12-Jan-2024.)
Hypotheses
Ref Expression
prmidlval.1 𝐵 = (Base‘𝑅)
prmidlval.2 · = (.r‘𝑅)
Assertion
Ref Expression
prmidl2 (((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ (𝑃 ≠ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)))) → 𝑃 ∈ (PrmIdeal‘𝑅))
Distinct variable groups:   𝑥,𝑅,𝑦   𝑥,𝑃,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   · (𝑥, 𝑦)

Proof of Theorem prmidl2
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 490 . . . . . . 7 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃)
2 simplrr 790 . . . . . . . . 9 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → 𝑏 ∈ (LIdeal‘𝑅))
3 prmidlval.1 . . . . . . . . . 10 𝐵 = (Base‘𝑅)
4 eqid 2761 . . . . . . . . . 10 (LIdeal‘𝑅) = (LIdeal‘𝑅)
53, 4lidlss 21470 . . . . . . . . 9 (𝑏 ∈ (LIdeal‘𝑅) → 𝑏 ⊆ 𝐵)
62, 5syl 18 . . . . . . . 8 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → 𝑏 ⊆ 𝐵)
7 simplrl 789 . . . . . . . . . 10 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → 𝑎 ∈ (LIdeal‘𝑅))
83, 4lidlss 21470 . . . . . . . . . 10 (𝑎 ∈ (LIdeal‘𝑅) → 𝑎 ⊆ 𝐵)
97, 8syl 18 . . . . . . . . 9 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → 𝑎 ⊆ 𝐵)
10 simpllr 788 . . . . . . . . 9 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)))
11 ssralv 4000 . . . . . . . . 9 (𝑎 ⊆ 𝐵 → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))))
129, 10, 11sylc 66 . . . . . . . 8 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)))
13 ssralv 4000 . . . . . . . . 9 (𝑏 ⊆ 𝐵 → (∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)) → ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))))
1413ralimdv 3177 . . . . . . . 8 (𝑏 ⊆ 𝐵 → (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))))
156, 12, 14sylc 66 . . . . . . 7 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)))
16 r19.26-2 3148 . . . . . . . 8 (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 ∧ ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ↔ (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))))
17 pm3.35 815 . . . . . . . . 9 (((𝑥 · 𝑦) ∈ 𝑃 ∧ ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))
18172ralimi 3133 . . . . . . . 8 (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 ∧ ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))
1916, 18sylbir 238 . . . . . . 7 ((∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))
201, 15, 19syl2anc 596 . . . . . 6 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))
21 2ralor 3237 . . . . . . 7 (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃) ↔ (∀𝑥 ∈ 𝑎 𝑥 ∈ 𝑃 ∨ ∀𝑦 ∈ 𝑏 𝑦 ∈ 𝑃))
22 dfss3 3920 . . . . . . . 8 (𝑎 ⊆ 𝑃 ↔ ∀𝑥 ∈ 𝑎 𝑥 ∈ 𝑃)
23 dfss3 3920 . . . . . . . 8 (𝑏 ⊆ 𝑃 ↔ ∀𝑦 ∈ 𝑏 𝑦 ∈ 𝑃)
2422, 23orbi12i 928 . . . . . . 7 ((𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃) ↔ (∀𝑥 ∈ 𝑎 𝑥 ∈ 𝑃 ∨ ∀𝑦 ∈ 𝑏 𝑦 ∈ 𝑃))
2521, 24sylbb2 241 . . . . . 6 (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃) → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃))
2620, 25syl 18 . . . . 5 ((((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) ∧ ∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃) → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃))
2726ex 418 . . . 4 (((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) ∧ (𝑎 ∈ (LIdeal‘𝑅) ∧ 𝑏 ∈ (LIdeal‘𝑅))) → (∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃)))
2827ralrimivva 3206 . . 3 ((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) → ∀𝑎 ∈ (LIdeal‘𝑅)∀𝑏 ∈ (LIdeal‘𝑅)(∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃)))
29 prmidlval.2 . . . . . 6 · = (.r‘𝑅)
303, 29isprmidl 21599 . . . . 5 (𝑅 ∈ Ring → (𝑃 ∈ (PrmIdeal‘𝑅) ↔ (𝑃 ∈ (LIdeal‘𝑅) ∧ 𝑃 ≠ 𝐵 ∧ ∀𝑎 ∈ (LIdeal‘𝑅)∀𝑏 ∈ (LIdeal‘𝑅)(∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃)))))
3130biimpar 483 . . . 4 ((𝑅 ∈ Ring ∧ (𝑃 ∈ (LIdeal‘𝑅) ∧ 𝑃 ≠ 𝐵 ∧ ∀𝑎 ∈ (LIdeal‘𝑅)∀𝑏 ∈ (LIdeal‘𝑅)(∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃)))) → 𝑃 ∈ (PrmIdeal‘𝑅))
32313anassrs 1381 . . 3 ((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑎 ∈ (LIdeal‘𝑅)∀𝑏 ∈ (LIdeal‘𝑅)(∀𝑥 ∈ 𝑎 ∀𝑦 ∈ 𝑏 (𝑥 · 𝑦) ∈ 𝑃 → (𝑎 ⊆ 𝑃 ∨ 𝑏 ⊆ 𝑃))) → 𝑃 ∈ (PrmIdeal‘𝑅))
3328, 32syldan 603 . 2 ((((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ 𝑃 ≠ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃))) → 𝑃 ∈ (PrmIdeal‘𝑅))
3433anasss 472 1 (((𝑅 ∈ Ring ∧ 𝑃 ∈ (LIdeal‘𝑅)) ∧ (𝑃 ≠ 𝐵 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) ∈ 𝑃 → (𝑥 ∈ 𝑃 ∨ 𝑦 ∈ 𝑃)))) → 𝑃 ∈ (PrmIdeal‘𝑅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077   ⊆ wss 3899  ‘cfv 6531  (class class class)co 7412  Basecbs 17367  .rcmulr 17409  Ringcrg 20439  LIdealclidl 21464  PrmIdealcprmidl 21596
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-2 12386  df-3 12387  df-4 12388  df-5 12389  df-6 12390  df-7 12391  df-8 12392  df-sets 17322  df-slot 17340  df-ndx 17352  df-base 17368  df-sca 17424  df-vsca 17425  df-ip 17426  df-lss 21187  df-sra 21428  df-rgmod 21429  df-lidl 21466  df-prmidl 21597
This theorem is used by:  isprmidlc  21608  rhmpreimaprmidl  21615  qsidomlem1  21616  mxidlprm  33977
  Copyright terms: Public domain W3C validator