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

Theorem lcmn0val 16565
Description: The value of the lcm operator when both operands are nonzero. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Revised by AV, 16-Sep-2020.)
Assertion
Ref Expression
lcmn0val (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ ¬ (𝑀 = 0 ∨ 𝑁 = 0)) → (𝑀 lcm 𝑁) = inf({𝑛 ∈ ℕ ∣ (𝑀𝑛𝑁𝑛)}, ℝ, < ))
Distinct variable groups:   𝑛,𝑀   𝑛,𝑁

Proof of Theorem lcmn0val
StepHypRef Expression
1 lcmval 16562 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 lcm 𝑁) = if((𝑀 = 0 ∨ 𝑁 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛𝑁𝑛)}, ℝ, < )))
2 iffalse 4538 . 2 (¬ (𝑀 = 0 ∨ 𝑁 = 0) → if((𝑀 = 0 ∨ 𝑁 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀𝑛𝑁𝑛)}, ℝ, < )) = inf({𝑛 ∈ ℕ ∣ (𝑀𝑛𝑁𝑛)}, ℝ, < ))
31, 2sylan9eq 2785 1 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ ¬ (𝑀 = 0 ∨ 𝑁 = 0)) → (𝑀 lcm 𝑁) = inf({𝑛 ∈ ℕ ∣ (𝑀𝑛𝑁𝑛)}, ℝ, < ))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 394  wo 845   = wceq 1533  wcel 2098  {crab 3419  ifcif 4529   class class class wbr 5148  (class class class)co 7417  infcinf 9464  cr 11137  0cc0 11138   < clt 11278  cn 12242  cz 12588  cdvds 16230   lcm clcm 16558
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5299  ax-nul 5306  ax-pow 5364  ax-pr 5428  ax-un 7739  ax-resscn 11195  ax-1cn 11196  ax-icn 11197  ax-addcl 11198  ax-mulcl 11200  ax-i2m1 11206  ax-pre-lttri 11212  ax-pre-lttrn 11213
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2931  df-nel 3037  df-ral 3052  df-rex 3061  df-rmo 3364  df-rab 3420  df-v 3465  df-sbc 3775  df-csb 3891  df-dif 3948  df-un 3950  df-in 3952  df-ss 3962  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5575  df-po 5589  df-so 5590  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6499  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7420  df-oprab 7421  df-mpo 7422  df-er 8723  df-en 8963  df-dom 8964  df-sdom 8965  df-sup 9465  df-inf 9466  df-pnf 11280  df-mnf 11281  df-ltxr 11283  df-lcm 16560
This theorem is referenced by:  lcmcllem  16566  lcmledvds  16569  lcmgcdlem  16576
  Copyright terms: Public domain W3C validator