Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > gcdcllem2 | Structured version Visualization version GIF version |
Description: Lemma for gcdn0cl 15224, gcddvds 15225 and dvdslegcd 15226. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
gcdcllem2.1 | ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} |
gcdcllem2.2 | ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} |
Ref | Expression |
---|---|
gcdcllem2 | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | breq1 4656 | . . . . . 6 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑛 ↔ 𝑥 ∥ 𝑛)) | |
2 | 1 | ralbidv 2986 | . . . . 5 ⊢ (𝑧 = 𝑥 → (∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
3 | gcdcllem2.1 | . . . . 5 ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} | |
4 | 2, 3 | elrab2 3366 | . . . 4 ⊢ (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
5 | breq2 4657 | . . . . . 6 ⊢ (𝑛 = 𝑀 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑀)) | |
6 | breq2 4657 | . . . . . 6 ⊢ (𝑛 = 𝑁 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑁)) | |
7 | 5, 6 | ralprg 4234 | . . . . 5 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛 ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
8 | 7 | anbi2d 740 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛) ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
9 | 4, 8 | syl5bb 272 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
10 | breq1 4656 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑀 ↔ 𝑥 ∥ 𝑀)) | |
11 | breq1 4656 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑁 ↔ 𝑥 ∥ 𝑁)) | |
12 | 10, 11 | anbi12d 747 | . . . 4 ⊢ (𝑧 = 𝑥 → ((𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁) ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
13 | gcdcllem2.2 | . . . 4 ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} | |
14 | 12, 13 | elrab2 3366 | . . 3 ⊢ (𝑥 ∈ 𝑅 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
15 | 9, 14 | syl6rbbr 279 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑅 ↔ 𝑥 ∈ 𝑆)) |
16 | 15 | eqrdv 2620 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 384 = wceq 1483 ∈ wcel 1990 ∀wral 2912 {crab 2916 {cpr 4179 class class class wbr 4653 ℤcz 11377 ∥ cdvds 14983 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1722 ax-4 1737 ax-5 1839 ax-6 1888 ax-7 1935 ax-9 1999 ax-10 2019 ax-11 2034 ax-12 2047 ax-13 2246 ax-ext 2602 |
This theorem depends on definitions: df-bi 197 df-or 385 df-an 386 df-3an 1039 df-tru 1486 df-ex 1705 df-nf 1710 df-sb 1881 df-clab 2609 df-cleq 2615 df-clel 2618 df-nfc 2753 df-ral 2917 df-rab 2921 df-v 3202 df-sbc 3436 df-dif 3577 df-un 3579 df-in 3581 df-ss 3588 df-nul 3916 df-if 4087 df-sn 4178 df-pr 4180 df-op 4184 df-br 4654 |
This theorem is referenced by: gcdcllem3 15223 |
Copyright terms: Public domain | W3C validator |