Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > gcdcllem2 | Structured version Visualization version GIF version |
Description: Lemma for gcdn0cl 16137, gcddvds 16138 and dvdslegcd 16139. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
gcdcllem2.1 | ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} |
gcdcllem2.2 | ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} |
Ref | Expression |
---|---|
gcdcllem2 | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | breq1 5073 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑀 ↔ 𝑥 ∥ 𝑀)) | |
2 | breq1 5073 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑁 ↔ 𝑥 ∥ 𝑁)) | |
3 | 1, 2 | anbi12d 630 | . . . 4 ⊢ (𝑧 = 𝑥 → ((𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁) ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
4 | gcdcllem2.2 | . . . 4 ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} | |
5 | 3, 4 | elrab2 3620 | . . 3 ⊢ (𝑥 ∈ 𝑅 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
6 | breq1 5073 | . . . . . 6 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑛 ↔ 𝑥 ∥ 𝑛)) | |
7 | 6 | ralbidv 3120 | . . . . 5 ⊢ (𝑧 = 𝑥 → (∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
8 | gcdcllem2.1 | . . . . 5 ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} | |
9 | 7, 8 | elrab2 3620 | . . . 4 ⊢ (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
10 | breq2 5074 | . . . . . 6 ⊢ (𝑛 = 𝑀 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑀)) | |
11 | breq2 5074 | . . . . . 6 ⊢ (𝑛 = 𝑁 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑁)) | |
12 | 10, 11 | ralprg 4627 | . . . . 5 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛 ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
13 | 12 | anbi2d 628 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛) ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
14 | 9, 13 | syl5bb 282 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
15 | 5, 14 | bitr4id 289 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑅 ↔ 𝑥 ∈ 𝑆)) |
16 | 15 | eqrdv 2736 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 395 = wceq 1539 ∈ wcel 2108 ∀wral 3063 {crab 3067 {cpr 4560 class class class wbr 5070 ℤcz 12249 ∥ cdvds 15891 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1784 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-ral 3068 df-rab 3072 df-v 3424 df-dif 3886 df-un 3888 df-nul 4254 df-if 4457 df-sn 4559 df-pr 4561 df-op 4565 df-br 5071 |
This theorem is referenced by: gcdcllem3 16136 |
Copyright terms: Public domain | W3C validator |