Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > gcdcllem2 | Structured version Visualization version GIF version |
Description: Lemma for gcdn0cl 16209, gcddvds 16210 and dvdslegcd 16211. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
gcdcllem2.1 | ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} |
gcdcllem2.2 | ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} |
Ref | Expression |
---|---|
gcdcllem2 | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | breq1 5077 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑀 ↔ 𝑥 ∥ 𝑀)) | |
2 | breq1 5077 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑁 ↔ 𝑥 ∥ 𝑁)) | |
3 | 1, 2 | anbi12d 631 | . . . 4 ⊢ (𝑧 = 𝑥 → ((𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁) ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
4 | gcdcllem2.2 | . . . 4 ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} | |
5 | 3, 4 | elrab2 3627 | . . 3 ⊢ (𝑥 ∈ 𝑅 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
6 | breq1 5077 | . . . . . 6 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑛 ↔ 𝑥 ∥ 𝑛)) | |
7 | 6 | ralbidv 3112 | . . . . 5 ⊢ (𝑧 = 𝑥 → (∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
8 | gcdcllem2.1 | . . . . 5 ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} | |
9 | 7, 8 | elrab2 3627 | . . . 4 ⊢ (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
10 | breq2 5078 | . . . . . 6 ⊢ (𝑛 = 𝑀 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑀)) | |
11 | breq2 5078 | . . . . . 6 ⊢ (𝑛 = 𝑁 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑁)) | |
12 | 10, 11 | ralprg 4630 | . . . . 5 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛 ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
13 | 12 | anbi2d 629 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛) ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
14 | 9, 13 | bitrid 282 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
15 | 5, 14 | bitr4id 290 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑅 ↔ 𝑥 ∈ 𝑆)) |
16 | 15 | eqrdv 2736 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1539 ∈ wcel 2106 ∀wral 3064 {crab 3068 {cpr 4563 class class class wbr 5074 ℤcz 12319 ∥ cdvds 15963 |
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-ext 2709 |
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-sb 2068 df-clab 2716 df-cleq 2730 df-clel 2816 df-ral 3069 df-rab 3073 df-v 3434 df-dif 3890 df-un 3892 df-nul 4257 df-if 4460 df-sn 4562 df-pr 4564 df-op 4568 df-br 5075 |
This theorem is referenced by: gcdcllem3 16208 |
Copyright terms: Public domain | W3C validator |