Users' Mathboxes Mathbox for Steve Rodriguez < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nzin Structured version   Visualization version   GIF version

Theorem nzin 40740
Description: The intersection of the set of multiples of m, mℤ, and those of n, nℤ, is the set of multiples of their least common multiple. Roughly Lemma 2.1(c) of https://www.mscs.dal.ca/~selinger/3343/handouts/ideals.pdf p. 5 and Problem 1(b) of https://people.math.binghamton.edu/mazur/teach/40107/40107h16sol.pdf p. 1, with mℤ and nℤ as images of the divides relation under m and n. (Contributed by Steve Rodriguez, 20-Jan-2020.)
Hypotheses
Ref Expression
nzin.m (𝜑𝑀 ∈ ℤ)
nzin.n (𝜑𝑁 ∈ ℤ)
Assertion
Ref Expression
nzin (𝜑 → (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) = ( ∥ “ {(𝑀 lcm 𝑁)}))

Proof of Theorem nzin
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 dvdszrcl 15597 . . . . . . . . 9 (𝑀𝑛 → (𝑀 ∈ ℤ ∧ 𝑛 ∈ ℤ))
2 dvdszrcl 15597 . . . . . . . . 9 (𝑁𝑛 → (𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ))
31, 2anim12i 614 . . . . . . . 8 ((𝑀𝑛𝑁𝑛) → ((𝑀 ∈ ℤ ∧ 𝑛 ∈ ℤ) ∧ (𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ)))
4 anandir 675 . . . . . . . 8 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑛 ∈ ℤ) ↔ ((𝑀 ∈ ℤ ∧ 𝑛 ∈ ℤ) ∧ (𝑁 ∈ ℤ ∧ 𝑛 ∈ ℤ)))
53, 4sylibr 236 . . . . . . 7 ((𝑀𝑛𝑁𝑛) → ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑛 ∈ ℤ))
65ancomd 464 . . . . . 6 ((𝑀𝑛𝑁𝑛) → (𝑛 ∈ ℤ ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)))
7 lcmdvds 15935 . . . . . . 7 ((𝑛 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀𝑛𝑁𝑛) → (𝑀 lcm 𝑁) ∥ 𝑛))
873expb 1116 . . . . . 6 ((𝑛 ∈ ℤ ∧ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝑀𝑛𝑁𝑛) → (𝑀 lcm 𝑁) ∥ 𝑛))
96, 8mpcom 38 . . . . 5 ((𝑀𝑛𝑁𝑛) → (𝑀 lcm 𝑁) ∥ 𝑛)
10 elin 4157 . . . . . 6 (𝑛 ∈ (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) ↔ (𝑛 ∈ ( ∥ “ {𝑀}) ∧ 𝑛 ∈ ( ∥ “ {𝑁})))
11 reldvds 40737 . . . . . . . 8 Rel ∥
12 elrelimasn 5939 . . . . . . . 8 (Rel ∥ → (𝑛 ∈ ( ∥ “ {𝑀}) ↔ 𝑀𝑛))
1311, 12ax-mp 5 . . . . . . 7 (𝑛 ∈ ( ∥ “ {𝑀}) ↔ 𝑀𝑛)
14 elrelimasn 5939 . . . . . . . 8 (Rel ∥ → (𝑛 ∈ ( ∥ “ {𝑁}) ↔ 𝑁𝑛))
1511, 14ax-mp 5 . . . . . . 7 (𝑛 ∈ ( ∥ “ {𝑁}) ↔ 𝑁𝑛)
1613, 15anbi12i 628 . . . . . 6 ((𝑛 ∈ ( ∥ “ {𝑀}) ∧ 𝑛 ∈ ( ∥ “ {𝑁})) ↔ (𝑀𝑛𝑁𝑛))
1710, 16bitri 277 . . . . 5 (𝑛 ∈ (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) ↔ (𝑀𝑛𝑁𝑛))
18 elrelimasn 5939 . . . . . 6 (Rel ∥ → (𝑛 ∈ ( ∥ “ {(𝑀 lcm 𝑁)}) ↔ (𝑀 lcm 𝑁) ∥ 𝑛))
1911, 18ax-mp 5 . . . . 5 (𝑛 ∈ ( ∥ “ {(𝑀 lcm 𝑁)}) ↔ (𝑀 lcm 𝑁) ∥ 𝑛)
209, 17, 193imtr4i 294 . . . 4 (𝑛 ∈ (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) → 𝑛 ∈ ( ∥ “ {(𝑀 lcm 𝑁)}))
2120ssriv 3959 . . 3 (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) ⊆ ( ∥ “ {(𝑀 lcm 𝑁)})
2221a1i 11 . 2 (𝜑 → (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) ⊆ ( ∥ “ {(𝑀 lcm 𝑁)}))
23 nzin.m . . . . . 6 (𝜑𝑀 ∈ ℤ)
24 nzin.n . . . . . 6 (𝜑𝑁 ∈ ℤ)
25 dvdslcm 15925 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ (𝑀 lcm 𝑁) ∧ 𝑁 ∥ (𝑀 lcm 𝑁)))
2623, 24, 25syl2anc 586 . . . . 5 (𝜑 → (𝑀 ∥ (𝑀 lcm 𝑁) ∧ 𝑁 ∥ (𝑀 lcm 𝑁)))
2726simpld 497 . . . 4 (𝜑𝑀 ∥ (𝑀 lcm 𝑁))
28 lcmcl 15928 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 lcm 𝑁) ∈ ℕ0)
2923, 24, 28syl2anc 586 . . . . . 6 (𝜑 → (𝑀 lcm 𝑁) ∈ ℕ0)
3029nn0zd 12072 . . . . 5 (𝜑 → (𝑀 lcm 𝑁) ∈ ℤ)
3130, 23nzss 40739 . . . 4 (𝜑 → (( ∥ “ {(𝑀 lcm 𝑁)}) ⊆ ( ∥ “ {𝑀}) ↔ 𝑀 ∥ (𝑀 lcm 𝑁)))
3227, 31mpbird 259 . . 3 (𝜑 → ( ∥ “ {(𝑀 lcm 𝑁)}) ⊆ ( ∥ “ {𝑀}))
3326simprd 498 . . . 4 (𝜑𝑁 ∥ (𝑀 lcm 𝑁))
3430, 24nzss 40739 . . . 4 (𝜑 → (( ∥ “ {(𝑀 lcm 𝑁)}) ⊆ ( ∥ “ {𝑁}) ↔ 𝑁 ∥ (𝑀 lcm 𝑁)))
3533, 34mpbird 259 . . 3 (𝜑 → ( ∥ “ {(𝑀 lcm 𝑁)}) ⊆ ( ∥ “ {𝑁}))
3632, 35ssind 4197 . 2 (𝜑 → ( ∥ “ {(𝑀 lcm 𝑁)}) ⊆ (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})))
3722, 36eqssd 3972 1 (𝜑 → (( ∥ “ {𝑀}) ∩ ( ∥ “ {𝑁})) = ( ∥ “ {(𝑀 lcm 𝑁)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  cin 3923  wss 3924  {csn 4553   class class class wbr 5052  cima 5544  Rel wrel 5546  (class class class)co 7142  0cn0 11884  cz 11968  cdvds 15592   lcm clcm 15915
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 2793  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-un 7447  ax-cnex 10579  ax-resscn 10580  ax-1cn 10581  ax-icn 10582  ax-addcl 10583  ax-addrcl 10584  ax-mulcl 10585  ax-mulrcl 10586  ax-mulcom 10587  ax-addass 10588  ax-mulass 10589  ax-distr 10590  ax-i2m1 10591  ax-1ne0 10592  ax-1rid 10593  ax-rnegex 10594  ax-rrecex 10595  ax-cnre 10596  ax-pre-lttri 10597  ax-pre-lttrn 10598  ax-pre-ltadd 10599  ax-pre-mulgt0 10600  ax-pre-sup 10601
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 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-pss 3942  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-tp 4558  df-op 4560  df-uni 4825  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-tr 5159  df-id 5446  df-eprel 5451  df-po 5460  df-so 5461  df-fr 5500  df-we 5502  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-pred 6134  df-ord 6180  df-on 6181  df-lim 6182  df-suc 6183  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-riota 7100  df-ov 7145  df-oprab 7146  df-mpo 7147  df-om 7567  df-2nd 7676  df-wrecs 7933  df-recs 7994  df-rdg 8032  df-er 8275  df-en 8496  df-dom 8497  df-sdom 8498  df-sup 8892  df-inf 8893  df-pnf 10663  df-mnf 10664  df-xr 10665  df-ltxr 10666  df-le 10667  df-sub 10858  df-neg 10859  df-div 11284  df-nn 11625  df-2 11687  df-3 11688  df-n0 11885  df-z 11969  df-uz 12231  df-rp 12377  df-fl 13152  df-mod 13228  df-seq 13360  df-exp 13420  df-cj 14443  df-re 14444  df-im 14445  df-sqrt 14579  df-abs 14580  df-dvds 15593  df-gcd 15827  df-lcm 15917
This theorem is referenced by:  nzprmdif  40741
  Copyright terms: Public domain W3C validator