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

Theorem lcmf0val 15968
Description: The value, by convention, of the least common multiple for a set containing 0 is 0. (Contributed by AV, 21-Apr-2020.) (Proof shortened by AV, 16-Sep-2020.)
Assertion
Ref Expression
lcmf0val ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → (lcm𝑍) = 0)

Proof of Theorem lcmf0val
Dummy variables 𝑚 𝑛 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-lcmf 15937 . 2 lcm = (𝑧 ∈ 𝒫 ℤ ↦ if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )))
2 eleq2 2903 . . . 4 (𝑧 = 𝑍 → (0 ∈ 𝑧 ↔ 0 ∈ 𝑍))
3 raleq 3407 . . . . . 6 (𝑧 = 𝑍 → (∀𝑚𝑧 𝑚𝑛 ↔ ∀𝑚𝑍 𝑚𝑛))
43rabbidv 3482 . . . . 5 (𝑧 = 𝑍 → {𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛} = {𝑛 ∈ ℕ ∣ ∀𝑚𝑍 𝑚𝑛})
54infeq1d 8943 . . . 4 (𝑧 = 𝑍 → inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < ) = inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑍 𝑚𝑛}, ℝ, < ))
62, 5ifbieq2d 4494 . . 3 (𝑧 = 𝑍 → if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )) = if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑍 𝑚𝑛}, ℝ, < )))
7 iftrue 4475 . . . 4 (0 ∈ 𝑍 → if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑍 𝑚𝑛}, ℝ, < )) = 0)
87adantl 484 . . 3 ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → if(0 ∈ 𝑍, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑍 𝑚𝑛}, ℝ, < )) = 0)
96, 8sylan9eqr 2880 . 2 (((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) ∧ 𝑧 = 𝑍) → if(0 ∈ 𝑧, 0, inf({𝑛 ∈ ℕ ∣ ∀𝑚𝑧 𝑚𝑛}, ℝ, < )) = 0)
10 zex 11993 . . . . . 6 ℤ ∈ V
1110ssex 5227 . . . . 5 (𝑍 ⊆ ℤ → 𝑍 ∈ V)
12 elpwg 4544 . . . . 5 (𝑍 ∈ V → (𝑍 ∈ 𝒫 ℤ ↔ 𝑍 ⊆ ℤ))
1311, 12syl 17 . . . 4 (𝑍 ⊆ ℤ → (𝑍 ∈ 𝒫 ℤ ↔ 𝑍 ⊆ ℤ))
1413ibir 270 . . 3 (𝑍 ⊆ ℤ → 𝑍 ∈ 𝒫 ℤ)
1514adantr 483 . 2 ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → 𝑍 ∈ 𝒫 ℤ)
16 simpr 487 . 2 ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → 0 ∈ 𝑍)
171, 9, 15, 16fvmptd2 6778 1 ((𝑍 ⊆ ℤ ∧ 0 ∈ 𝑍) → (lcm𝑍) = 0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3140  {crab 3144  Vcvv 3496  wss 3938  ifcif 4469  𝒫 cpw 4541   class class class wbr 5068  cfv 6357  infcinf 8907  cr 10538  0cc0 10539   < clt 10677  cn 11640  cz 11984  cdvds 15609  lcmclcmf 15935
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332  ax-cnex 10595  ax-resscn 10596
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-iota 6316  df-fun 6359  df-fv 6365  df-ov 7161  df-sup 8908  df-inf 8909  df-neg 10875  df-z 11985  df-lcmf 15937
This theorem is referenced by:  lcmfcl  15974  lcmfeq0b  15976  dvdslcmf  15977  lcmftp  15982  lcmfunsnlem2  15986
  Copyright terms: Public domain W3C validator