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

Definition df-lcmf 16224
Description: Define the lcm function on a set of integers. (Contributed by AV, 21-Aug-2020.) (Revised by AV, 16-Sep-2020.)
Assertion
Ref Expression
df-lcmf lcm = (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
Distinct variable group:   𝑚,𝑛,𝑧

Detailed syntax breakdown of Definition df-lcmf
StepHypRef Expression
1 clcmf 16222 . 2 class lcm
2 vz . . 3 setvar 𝑧
3 cz 12249 . . . 4 class
43cpw 4530 . . 3 class 𝒫 ℤ
5 cc0 10802 . . . . 5 class 0
62cv 1538 . . . . 5 class 𝑧
75, 6wcel 2108 . . . 4 wff 0 ∈ 𝑧
8 vm . . . . . . . . 9 setvar 𝑚
98cv 1538 . . . . . . . 8 class 𝑚
10 vn . . . . . . . . 9 setvar 𝑛
1110cv 1538 . . . . . . . 8 class 𝑛
12 cdvds 15891 . . . . . . . 8 class
139, 11, 12wbr 5070 . . . . . . 7 wff 𝑚𝑛
1413, 8, 6wral 3063 . . . . . 6 wff 𝑚𝑧 𝑚𝑛
15 cn 11903 . . . . . 6 class
1614, 10, 15crab 3067 . . . . 5 class {𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}
17 cr 10801 . . . . 5 class
18 clt 10940 . . . . 5 class <
1916, 17, 18cinf 9130 . . . 4 class inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )
207, 5, 19cif 4456 . . 3 class if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < ))
212, 4, 20cmpt 5153 . 2 class (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
221, 21wceq 1539 1 wff lcm = (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
Colors of variables: wff setvar class
This definition is referenced by:  lcmfval  16254  lcmf0val  16255
  Copyright terms: Public domain W3C validator