| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > lcmf0val | Structured version Visualization version GIF version | ||
| Description: The value, by convention, of the least common multiple for a set containing 0 is 0. (Contributed by AV, 21-Apr-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Ref | Expression |
|---|---|
| lcmf0val | ⊢ ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → (lcm‘𝑍) = 0) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-lcmf 16674 | . 2 ⊢ lcm = (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛}, ℝ, < ))) | |
| 2 | eleq2 2855 | . . . 4 ⊢ (𝑧 = 𝑍 → (0 ∈ 𝑧 ↔ 0 ∈ 𝑍)) | |
| 3 | raleq 3323 | . . . . . 6 ⊢ (𝑧 = 𝑍 → (∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛 ↔ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛)) | |
| 4 | 3 | rabbidv 3426 | . . . . 5 ⊢ (𝑧 = 𝑍 → {𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛} = {𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛}) |
| 5 | 4 | infeq1d 9448 | . . . 4 ⊢ (𝑧 = 𝑍 → inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛}, ℝ, < ) = inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛}, ℝ, < )) |
| 6 | 2, 5 | ifbieq2d 4519 | . . 3 ⊢ (𝑧 = 𝑍 → if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛}, ℝ, < )) = if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛}, ℝ, < ))) |
| 7 | iftrue 4498 | . . . 4 ⊢ (0 ∈ 𝑍 → if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛}, ℝ, < )) = 0) | |
| 8 | 7 | adantl 487 | . . 3 ⊢ ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑍 𝑚 ∥ 𝑛}, ℝ, < )) = 0) |
| 9 | 6, 8 | sylan9eqr 2823 | . 2 ⊢ (((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) ∧ 𝑧 = 𝑍) → if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚 ∈ 𝑧 𝑚 ∥ 𝑛}, ℝ, < )) = 0) |
| 10 | zex 12618 | . . . . . 6 ⊢ ℤ ∈ V | |
| 11 | 10 | ssex 5296 | . . . . 5 ⊢ (𝑍 ⊆ ℤ → 𝑍 ∈ V) |
| 12 | elpwg 4570 | . . . . 5 ⊢ (𝑍 ∈ V → (𝑍 ∈ 𝒫 ℤ ↔ 𝑍 ⊆ ℤ)) | |
| 13 | 11, 12 | syl 18 | . . . 4 ⊢ (𝑍 ⊆ ℤ → (𝑍 ∈ 𝒫 ℤ ↔ 𝑍 ⊆ ℤ)) |
| 14 | 13 | ibir 271 | . . 3 ⊢ (𝑍 ⊆ ℤ → 𝑍 ∈ 𝒫 ℤ) |
| 15 | 14 | adantr 486 | . 2 ⊢ ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → 𝑍 ∈ 𝒫 ℤ) |
| 16 | simpr 490 | . 2 ⊢ ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → 0 ∈ 𝑍) | |
| 17 | 1, 9, 15, 16 | fvmptd2 7005 | 1 ⊢ ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → (lcm‘𝑍) = 0) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1570 ∈ wcel 2146 ∀wral 3082 {crab 3419 Vcvv 3458 ⊆ wss 3908 ifcif 4492 𝒫 cpw 4567 class class class wbr 5114 ‘cfv 6543 infcinf 9411 ℝcr 11117 0cc0 11118 < clt 11261 ℕcn 12251 ℤcz 12609 ∥ cdvds 16335 lcmclcmf 16672 |
| 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 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-pr 5409 ax-cnex 11174 ax-resscn 11175 |
| 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 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ral 3083 df-rex 3093 df-rab 3420 df-v 3460 df-sbc 3748 df-csb 3857 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5561 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-iota 6499 df-fun 6545 df-fv 6551 df-ov 7426 df-sup 9412 df-inf 9413 df-neg 11462 df-z 12610 df-lcmf 16674 |
| This theorem is used by: lcmfcl 16711 lcmfeq0b 16713 dvdslcmf 16714 lcmftp 16719 lcmfunsnlem2 16723 |
| Copyright terms: Public domain | W3C validator |