Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > gcdcllem2 | Structured version Visualization version GIF version |
Description: Lemma for gcdn0cl 16309, gcddvds 16310 and dvdslegcd 16311. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
gcdcllem2.1 | ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} |
gcdcllem2.2 | ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} |
Ref | Expression |
---|---|
gcdcllem2 | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | breq1 5100 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑀 ↔ 𝑥 ∥ 𝑀)) | |
2 | breq1 5100 | . . . . 5 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑁 ↔ 𝑥 ∥ 𝑁)) | |
3 | 1, 2 | anbi12d 632 | . . . 4 ⊢ (𝑧 = 𝑥 → ((𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁) ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
4 | gcdcllem2.2 | . . . 4 ⊢ 𝑅 = {𝑧 ∈ ℤ ∣ (𝑧 ∥ 𝑀 ∧ 𝑧 ∥ 𝑁)} | |
5 | 3, 4 | elrab2 3641 | . . 3 ⊢ (𝑥 ∈ 𝑅 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
6 | breq1 5100 | . . . . . 6 ⊢ (𝑧 = 𝑥 → (𝑧 ∥ 𝑛 ↔ 𝑥 ∥ 𝑛)) | |
7 | 6 | ralbidv 3171 | . . . . 5 ⊢ (𝑧 = 𝑥 → (∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
8 | gcdcllem2.1 | . . . . 5 ⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ {𝑀, 𝑁}𝑧 ∥ 𝑛} | |
9 | 7, 8 | elrab2 3641 | . . . 4 ⊢ (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛)) |
10 | breq2 5101 | . . . . . 6 ⊢ (𝑛 = 𝑀 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑀)) | |
11 | breq2 5101 | . . . . . 6 ⊢ (𝑛 = 𝑁 → (𝑥 ∥ 𝑛 ↔ 𝑥 ∥ 𝑁)) | |
12 | 10, 11 | ralprg 4647 | . . . . 5 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛 ↔ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁))) |
13 | 12 | anbi2d 630 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 ∈ ℤ ∧ ∀𝑛 ∈ {𝑀, 𝑁}𝑥 ∥ 𝑛) ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
14 | 9, 13 | bitrid 283 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑆 ↔ (𝑥 ∈ ℤ ∧ (𝑥 ∥ 𝑀 ∧ 𝑥 ∥ 𝑁)))) |
15 | 5, 14 | bitr4id 290 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑥 ∈ 𝑅 ↔ 𝑥 ∈ 𝑆)) |
16 | 15 | eqrdv 2735 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑅 = 𝑆) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 397 = wceq 1541 ∈ wcel 2106 ∀wral 3062 {crab 3404 {cpr 4580 class class class wbr 5097 ℤcz 12425 ∥ cdvds 16063 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-ext 2708 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 846 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-sb 2068 df-clab 2715 df-cleq 2729 df-clel 2815 df-ral 3063 df-rab 3405 df-v 3444 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-nul 4275 df-if 4479 df-sn 4579 df-pr 4581 df-op 4585 df-br 5098 |
This theorem is referenced by: gcdcllem3 16308 |
Copyright terms: Public domain | W3C validator |