![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > lcmn0val | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
lcmn0val | ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ ¬ (𝑀 = 0 ∨ 𝑁 = 0)) → (𝑀 lcm 𝑁) = inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)}, ℝ, < )) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | lcmval 16632 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 lcm 𝑁) = if((𝑀 = 0 ∨ 𝑁 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)}, ℝ, < ))) | |
2 | iffalse 4541 | . 2 ⊢ (¬ (𝑀 = 0 ∨ 𝑁 = 0) → if((𝑀 = 0 ∨ 𝑁 = 0), 0, inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)}, ℝ, < )) = inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)}, ℝ, < )) | |
3 | 1, 2 | sylan9eq 2796 | 1 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ ¬ (𝑀 = 0 ∨ 𝑁 = 0)) → (𝑀 lcm 𝑁) = inf({𝑛 ∈ ℕ ∣ (𝑀 ∥ 𝑛 ∧ 𝑁 ∥ 𝑛)}, ℝ, < )) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 395 ∨ wo 847 = wceq 1538 ∈ wcel 2107 {crab 3434 ifcif 4532 class class class wbr 5149 (class class class)co 7435 infcinf 9485 ℝcr 11158 0cc0 11159 < clt 11299 ℕcn 12270 ℤcz 12617 ∥ cdvds 16293 lcm clcm 16628 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1966 ax-7 2006 ax-8 2109 ax-9 2117 ax-10 2140 ax-11 2156 ax-12 2176 ax-ext 2707 ax-sep 5303 ax-nul 5313 ax-pow 5372 ax-pr 5439 ax-un 7758 ax-resscn 11216 ax-1cn 11217 ax-icn 11218 ax-addcl 11219 ax-mulcl 11221 ax-i2m1 11227 ax-pre-lttri 11233 ax-pre-lttrn 11234 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1541 df-fal 1551 df-ex 1778 df-nf 1782 df-sb 2064 df-mo 2539 df-eu 2568 df-clab 2714 df-cleq 2728 df-clel 2815 df-nfc 2891 df-ne 2940 df-nel 3046 df-ral 3061 df-rex 3070 df-rmo 3379 df-rab 3435 df-v 3481 df-sbc 3793 df-csb 3910 df-dif 3967 df-un 3969 df-in 3971 df-ss 3981 df-nul 4341 df-if 4533 df-pw 4608 df-sn 4633 df-pr 4635 df-op 4639 df-uni 4914 df-br 5150 df-opab 5212 df-mpt 5233 df-id 5584 df-po 5598 df-so 5599 df-xp 5696 df-rel 5697 df-cnv 5698 df-co 5699 df-dm 5700 df-rn 5701 df-res 5702 df-ima 5703 df-iota 6519 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-ov 7438 df-oprab 7439 df-mpo 7440 df-er 8750 df-en 8991 df-dom 8992 df-sdom 8993 df-sup 9486 df-inf 9487 df-pnf 11301 df-mnf 11302 df-ltxr 11304 df-lcm 16630 |
This theorem is referenced by: lcmcllem 16636 lcmledvds 16639 lcmgcdlem 16646 |
Copyright terms: Public domain | W3C validator |