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 16324
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 16322 . 2 class lcm
2 vz . . 3 setvar 𝑧
3 cz 12347 . . . 4 class
43cpw 4536 . . 3 class 𝒫 ℤ
5 cc0 10899 . . . . 5 class 0
62cv 1536 . . . . 5 class 𝑧
75, 6wcel 2101 . . . 4 wff 0 ∈ 𝑧
8 vm . . . . . . . . 9 setvar 𝑚
98cv 1536 . . . . . . . 8 class 𝑚
10 vn . . . . . . . . 9 setvar 𝑛
1110cv 1536 . . . . . . . 8 class 𝑛
12 cdvds 15991 . . . . . . . 8 class
139, 11, 12wbr 5077 . . . . . . 7 wff 𝑚𝑛
1413, 8, 6wral 3059 . . . . . 6 wff 𝑚𝑧 𝑚𝑛
15 cn 12001 . . . . . 6 class
1614, 10, 15crab 3221 . . . . 5 class {𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}
17 cr 10898 . . . . 5 class
18 clt 11037 . . . . 5 class <
1916, 17, 18cinf 9228 . . . 4 class inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )
207, 5, 19cif 4462 . . 3 class if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < ))
212, 4, 20cmpt 5160 . 2 class (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
221, 21wceq 1537 1 wff lcm = (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
Colors of variables: wff setvar class
This definition is referenced by:  lcmfval  16354  lcmf0val  16355
  Copyright terms: Public domain W3C validator