MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  lcm0val Structured version   Visualization version   GIF version

Theorem lcm0val 16401
Description: The value, by convention, of the lcm operator when either operand is 0. (Use lcmcom 16400 for a left-hand 0.) (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.)
Assertion
Ref Expression
lcm0val (𝑀 ∈ ℤ → (𝑀 lcm 0) = 0)

Proof of Theorem lcm0val
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 0z 12440 . 2 0 ∈ ℤ
2 lcmval 16399 . . 3 ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < )))
3 eqid 2737 . . . . 5 0 = 0
43olci 864 . . . 4 (𝑀 = 0 ∨ 0 = 0)
54iftruei 4488 . . 3 if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < )) = 0
62, 5eqtrdi 2793 . 2 ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = 0)
71, 6mpan2 689 1 (𝑀 ∈ ℤ → (𝑀 lcm 0) = 0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  wo 845   = wceq 1541  wcel 2106  {crab 3405  ifcif 4481   class class class wbr 5100  (class class class)co 7346  infcinf 9307  cr 10980  0cc0 10981   < clt 11119  cn 12083  cz 12429  cdvds 16067   lcm clcm 16395
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-10 2137  ax-11 2154  ax-12 2171  ax-ext 2708  ax-sep 5251  ax-nul 5258  ax-pow 5315  ax-pr 5379  ax-un 7659  ax-resscn 11038  ax-1cn 11039  ax-icn 11040  ax-addcl 11041  ax-addrcl 11042  ax-mulcl 11043  ax-i2m1 11049  ax-rnegex 11052  ax-cnre 11054  ax-pre-lttri 11055  ax-pre-lttrn 11056
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3351  df-rab 3406  df-v 3445  df-sbc 3735  df-csb 3851  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-nul 4278  df-if 4482  df-pw 4557  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4861  df-br 5101  df-opab 5163  df-mpt 5184  df-id 5525  df-po 5539  df-so 5540  df-xp 5633  df-rel 5634  df-cnv 5635  df-co 5636  df-dm 5637  df-rn 5638  df-res 5639  df-ima 5640  df-iota 6440  df-fun 6490  df-fn 6491  df-f 6492  df-f1 6493  df-fo 6494  df-f1o 6495  df-fv 6496  df-ov 7349  df-oprab 7350  df-mpo 7351  df-er 8578  df-en 8814  df-dom 8815  df-sdom 8816  df-sup 9308  df-inf 9309  df-pnf 11121  df-mnf 11122  df-ltxr 11124  df-neg 11318  df-z 12430  df-lcm 16397
This theorem is referenced by:  dvdslcm  16405  lcmeq0  16407  lcmcl  16408  lcmneg  16410  lcmgcd  16414  lcmdvds  16415  lcmid  16416  lcmftp  16443  lcmfunsnlem2  16447
  Copyright terms: Public domain W3C validator