| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > lcm0val | Structured version Visualization version GIF version | ||
| Description: The value, by convention, of the lcm operator when either operand is 0. (Use lcmcom 16652 for a left-hand 0.) (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Ref | Expression |
|---|---|
| lcm0val | ⊢ (𝑀 ∈ ℤ → (𝑀 lcm 0) = 0) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 0z 12603 | . 2 ⊢ 0 ∈ ℤ | |
| 2 | lcmval 16651 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < ))) | |
| 3 | eqid 2763 | . . . . 5 ⊢ 0 = 0 | |
| 4 | 3 | olci 879 | . . . 4 ⊢ (𝑀 = 0 ∨ 0 = 0) |
| 5 | 4 | iftruei 4495 | . . 3 ⊢ if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < )) = 0 |
| 6 | 2, 5 | eqtrdi 2814 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = 0) |
| 7 | 1, 6 | mpan2 703 | 1 ⊢ (𝑀 ∈ ℤ → (𝑀 lcm 0) = 0) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 400 ∨ wo 860 = wceq 1570 ∈ wcel 2143 {crab 3416 ifcif 4488 class class class wbr 5110 (class class class)co 7412 infcinf 9402 ℝcr 11100 0cc0 11101 < clt 11244 ℕcn 12234 ℤcz 12592 ∥ cdvds 16311 lcm clcm 16647 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5258 ax-nul 5270 ax-pow 5338 ax-pr 5406 ax-un 7734 ax-resscn 11158 ax-1cn 11159 ax-icn 11160 ax-addcl 11161 ax-addrcl 11162 ax-mulcl 11163 ax-i2m1 11169 ax-rnegex 11172 ax-cnre 11174 ax-pre-lttri 11175 ax-pre-lttrn 11176 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3065 df-ral 3080 df-rex 3090 df-rmo 3369 df-rab 3417 df-v 3457 df-sbc 3746 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4489 df-pw 4565 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-br 5111 df-opab 5175 df-mpt 5194 df-id 5558 df-po 5571 df-so 5572 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-ov 7415 df-oprab 7416 df-mpo 7417 df-er 8695 df-en 8945 df-dom 8946 df-sdom 8947 df-sup 9403 df-inf 9404 df-pnf 11246 df-mnf 11247 df-ltxr 11249 df-neg 11445 df-z 12593 df-lcm 16649 |
| This theorem is referenced by: dvdslcm 16657 lcmeq0 16659 lcmcl 16660 lcmneg 16662 lcmgcd 16666 lcmdvds 16667 lcmid 16668 lcmftp 16695 lcmfunsnlem2 16699 |
| Copyright terms: Public domain | W3C validator |