ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mptfzshft GIF version

Theorem mptfzshft 11001
Description: 1-1 onto function in maps-to notation which shifts a finite set of sequential integers. (Contributed by AV, 24-Aug-2019.)
Hypotheses
Ref Expression
mptfzshft.1 (𝜑𝐾 ∈ ℤ)
mptfzshft.2 (𝜑𝑀 ∈ ℤ)
mptfzshft.3 (𝜑𝑁 ∈ ℤ)
Assertion
Ref Expression
mptfzshft (𝜑 → (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗𝐾)):((𝑀 + 𝐾)...(𝑁 + 𝐾))–1-1-onto→(𝑀...𝑁))
Distinct variable groups:   𝑗,𝐾   𝑗,𝑀   𝑗,𝑁   𝜑,𝑗

Proof of Theorem mptfzshft
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 eqid 2095 . 2 (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗𝐾)) = (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗𝐾))
2 elfzelz 9589 . . . 4 (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) → 𝑗 ∈ ℤ)
32adantl 272 . . 3 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝑗 ∈ ℤ)
4 mptfzshft.1 . . . 4 (𝜑𝐾 ∈ ℤ)
54adantr 271 . . 3 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝐾 ∈ ℤ)
63, 5zsubcld 8972 . 2 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → (𝑗𝐾) ∈ ℤ)
7 elfzelz 9589 . . . 4 (𝑘 ∈ (𝑀...𝑁) → 𝑘 ∈ ℤ)
87adantl 272 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → 𝑘 ∈ ℤ)
94adantr 271 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → 𝐾 ∈ ℤ)
108, 9zaddcld 8971 . 2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝑘 + 𝐾) ∈ ℤ)
11 simprr 500 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑘 = (𝑗𝐾))
1211oveq1d 5705 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑘 + 𝐾) = ((𝑗𝐾) + 𝐾))
132ad2antrl 475 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑗 ∈ ℤ)
144adantr 271 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝐾 ∈ ℤ)
15 zcn 8853 . . . . . . . . 9 (𝑗 ∈ ℤ → 𝑗 ∈ ℂ)
16 zcn 8853 . . . . . . . . 9 (𝐾 ∈ ℤ → 𝐾 ∈ ℂ)
17 npcan 7788 . . . . . . . . 9 ((𝑗 ∈ ℂ ∧ 𝐾 ∈ ℂ) → ((𝑗𝐾) + 𝐾) = 𝑗)
1815, 16, 17syl2an 284 . . . . . . . 8 ((𝑗 ∈ ℤ ∧ 𝐾 ∈ ℤ) → ((𝑗𝐾) + 𝐾) = 𝑗)
1913, 14, 18syl2anc 404 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → ((𝑗𝐾) + 𝐾) = 𝑗)
2012, 19eqtr2d 2128 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑗 = (𝑘 + 𝐾))
21 simprl 499 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
2220, 21eqeltrrd 2172 . . . . 5 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
23 mptfzshft.2 . . . . . . 7 (𝜑𝑀 ∈ ℤ)
2423adantr 271 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑀 ∈ ℤ)
25 mptfzshft.3 . . . . . . 7 (𝜑𝑁 ∈ ℤ)
2625adantr 271 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑁 ∈ ℤ)
2713, 14zsubcld 8972 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑗𝐾) ∈ ℤ)
2811, 27eqeltrd 2171 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑘 ∈ ℤ)
29 fzaddel 9622 . . . . . 6 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ (𝑘 ∈ ℤ ∧ 𝐾 ∈ ℤ)) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
3024, 26, 28, 14, 29syl22anc 1182 . . . . 5 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
3122, 30mpbird 166 . . . 4 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑘 ∈ (𝑀...𝑁))
3231, 20jca 301 . . 3 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾)))
33 simprr 500 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑗 = (𝑘 + 𝐾))
34 simprl 499 . . . . . 6 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 ∈ (𝑀...𝑁))
3523adantr 271 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑀 ∈ ℤ)
3625adantr 271 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑁 ∈ ℤ)
377ad2antrl 475 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 ∈ ℤ)
384adantr 271 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝐾 ∈ ℤ)
3935, 36, 37, 38, 29syl22anc 1182 . . . . . 6 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
4034, 39mpbid 146 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
4133, 40eqeltrd 2171 . . . 4 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
4233oveq1d 5705 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑗𝐾) = ((𝑘 + 𝐾) − 𝐾))
43 zcn 8853 . . . . . . 7 (𝑘 ∈ ℤ → 𝑘 ∈ ℂ)
44 pncan 7785 . . . . . . 7 ((𝑘 ∈ ℂ ∧ 𝐾 ∈ ℂ) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4543, 16, 44syl2an 284 . . . . . 6 ((𝑘 ∈ ℤ ∧ 𝐾 ∈ ℤ) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4637, 38, 45syl2anc 404 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4742, 46eqtr2d 2128 . . . 4 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 = (𝑗𝐾))
4841, 47jca 301 . . 3 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾)))
4932, 48impbida 564 . 2 (𝜑 → ((𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾)) ↔ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))))
501, 6, 10, 49f1od 5885 1 (𝜑 → (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗𝐾)):((𝑀 + 𝐾)...(𝑁 + 𝐾))–1-1-onto→(𝑀...𝑁))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1296  wcel 1445  cmpt 3921  1-1-ontowf1o 5048  (class class class)co 5690  cc 7445   + caddc 7450  cmin 7750  cz 8848  ...cfz 9573
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 582  ax-in2 583  ax-io 668  ax-5 1388  ax-7 1389  ax-gen 1390  ax-ie1 1434  ax-ie2 1435  ax-8 1447  ax-10 1448  ax-11 1449  ax-i12 1450  ax-bndl 1451  ax-4 1452  ax-13 1456  ax-14 1457  ax-17 1471  ax-i9 1475  ax-ial 1479  ax-i5r 1480  ax-ext 2077  ax-sep 3978  ax-pow 4030  ax-pr 4060  ax-un 4284  ax-setind 4381  ax-cnex 7533  ax-resscn 7534  ax-1cn 7535  ax-1re 7536  ax-icn 7537  ax-addcl 7538  ax-addrcl 7539  ax-mulcl 7540  ax-addcom 7542  ax-addass 7544  ax-distr 7546  ax-i2m1 7547  ax-0lt1 7548  ax-0id 7550  ax-rnegex 7551  ax-cnre 7553  ax-pre-ltirr 7554  ax-pre-ltwlin 7555  ax-pre-lttrn 7556  ax-pre-ltadd 7558
This theorem depends on definitions:  df-bi 116  df-3or 928  df-3an 929  df-tru 1299  df-fal 1302  df-nf 1402  df-sb 1700  df-eu 1958  df-mo 1959  df-clab 2082  df-cleq 2088  df-clel 2091  df-nfc 2224  df-ne 2263  df-nel 2358  df-ral 2375  df-rex 2376  df-reu 2377  df-rab 2379  df-v 2635  df-sbc 2855  df-dif 3015  df-un 3017  df-in 3019  df-ss 3026  df-pw 3451  df-sn 3472  df-pr 3473  df-op 3475  df-uni 3676  df-int 3711  df-br 3868  df-opab 3922  df-mpt 3923  df-id 4144  df-xp 4473  df-rel 4474  df-cnv 4475  df-co 4476  df-dm 4477  df-rn 4478  df-res 4479  df-ima 4480  df-iota 5014  df-fun 5051  df-fn 5052  df-f 5053  df-f1 5054  df-fo 5055  df-f1o 5056  df-fv 5057  df-riota 5646  df-ov 5693  df-oprab 5694  df-mpt2 5695  df-pnf 7621  df-mnf 7622  df-xr 7623  df-ltxr 7624  df-le 7625  df-sub 7752  df-neg 7753  df-inn 8521  df-n0 8772  df-z 8849  df-uz 9119  df-fz 9574
This theorem is referenced by:  fsumshft  11003
  Copyright terms: Public domain W3C validator