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

Theorem lcm0val 16507
Description: The value, by convention, of the lcm operator when either operand is 0. (Use lcmcom 16506 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 12486 . 2 0 ∈ ℤ
2 lcmval 16505 . . 3 ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < )))
3 eqid 2733 . . . . 5 0 = 0
43olci 866 . . . 4 (𝑀 = 0 ∨ 0 = 0)
54iftruei 4481 . . 3 if((𝑀 = 0 ∨ 0 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛 ∧ 0 ∥ 𝑛)}, ℝ, < )) = 0
62, 5eqtrdi 2784 . 2 ((𝑀 ∈ ℤ ∧ 0 ∈ ℤ) → (𝑀 lcm 0) = 0)
71, 6mpan2 691 1 (𝑀 ∈ ℤ → (𝑀 lcm 0) = 0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wo 847   = wceq 1541  wcel 2113  {crab 3396  ifcif 4474   class class class wbr 5093  (class class class)co 7352  infcinf 9332  cr 11012  0cc0 11013   < clt 11153  cn 12132  cz 12475  cdvds 16165   lcm clcm 16501
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-sep 5236  ax-nul 5246  ax-pow 5305  ax-pr 5372  ax-un 7674  ax-resscn 11070  ax-1cn 11071  ax-icn 11072  ax-addcl 11073  ax-addrcl 11074  ax-mulcl 11075  ax-i2m1 11081  ax-rnegex 11084  ax-cnre 11086  ax-pre-lttri 11087  ax-pre-lttrn 11088
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-nel 3034  df-ral 3049  df-rex 3058  df-rmo 3347  df-rab 3397  df-v 3439  df-sbc 3738  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4283  df-if 4475  df-pw 4551  df-sn 4576  df-pr 4578  df-op 4582  df-uni 4859  df-br 5094  df-opab 5156  df-mpt 5175  df-id 5514  df-po 5527  df-so 5528  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-ov 7355  df-oprab 7356  df-mpo 7357  df-er 8628  df-en 8876  df-dom 8877  df-sdom 8878  df-sup 9333  df-inf 9334  df-pnf 11155  df-mnf 11156  df-ltxr 11158  df-neg 11354  df-z 12476  df-lcm 16503
This theorem is referenced by:  dvdslcm  16511  lcmeq0  16513  lcmcl  16514  lcmneg  16516  lcmgcd  16520  lcmdvds  16521  lcmid  16522  lcmftp  16549  lcmfunsnlem2  16553
  Copyright terms: Public domain W3C validator