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

Theorem mptfzshft 12235
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 2238 . 2 (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗 − 𝐾)) = (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗 − 𝐾))
2 elfzelz 10446 . . . 4 (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) → 𝑗 ∈ ℤ)
32adantl 277 . . 3 ((𝜑 ∧ 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝑗 ∈ ℤ)
4 mptfzshft.1 . . . 4 (𝜑 → 𝐾 ∈ ℤ)
54adantr 276 . . 3 ((𝜑 ∧ 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝐾 ∈ ℤ)
63, 5zsubcld 9785 . 2 ((𝜑 ∧ 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → (𝑗 − 𝐾) ∈ ℤ)
7 elfzelz 10446 . . . 4 (𝑘 ∈ (𝑀...𝑁) → 𝑘 ∈ ℤ)
87adantl 277 . . 3 ((𝜑 ∧ 𝑘 ∈ (𝑀...𝑁)) → 𝑘 ∈ ℤ)
94adantr 276 . . 3 ((𝜑 ∧ 𝑘 ∈ (𝑀...𝑁)) → 𝐾 ∈ ℤ)
108, 9zaddcld 9784 . 2 ((𝜑 ∧ 𝑘 ∈ (𝑀...𝑁)) → (𝑘 + 𝐾) ∈ ℤ)
11 simprr 537 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑘 = (𝑗 − 𝐾))
1211oveq1d 6103 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → (𝑘 + 𝐾) = ((𝑗 − 𝐾) + 𝐾))
132ad2antrl 494 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑗 ∈ ℤ)
144adantr 276 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝐾 ∈ ℤ)
15 zcn 9661 . . . . . . . . 9 (𝑗 ∈ ℤ → 𝑗 ∈ ℂ)
16 zcn 9661 . . . . . . . . 9 (𝐾 ∈ ℤ → 𝐾 ∈ ℂ)
17 npcan 8543 . . . . . . . . 9 ((𝑗 ∈ ℂ ∧ 𝐾 ∈ ℂ) → ((𝑗 − 𝐾) + 𝐾) = 𝑗)
1815, 16, 17syl2an 289 . . . . . . . 8 ((𝑗 ∈ ℤ ∧ 𝐾 ∈ ℤ) → ((𝑗 − 𝐾) + 𝐾) = 𝑗)
1913, 14, 18syl2anc 415 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → ((𝑗 − 𝐾) + 𝐾) = 𝑗)
2012, 19eqtr2d 2272 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑗 = (𝑘 + 𝐾))
21 simprl 535 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
2220, 21eqeltrrd 2316 . . . . 5 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
23 mptfzshft.2 . . . . . . 7 (𝜑 → 𝑀 ∈ ℤ)
2423adantr 276 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑀 ∈ ℤ)
25 mptfzshft.3 . . . . . . 7 (𝜑 → 𝑁 ∈ ℤ)
2625adantr 276 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑁 ∈ ℤ)
2713, 14zsubcld 9785 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → (𝑗 − 𝐾) ∈ ℤ)
2811, 27eqeltrd 2315 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑘 ∈ ℤ)
29 fzaddel 10483 . . . . . 6 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ (𝑘 ∈ ℤ ∧ 𝐾 ∈ ℤ)) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
3024, 26, 28, 14, 29syl22anc 1279 . . . . 5 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
3122, 30mpbird 167 . . . 4 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → 𝑘 ∈ (𝑀...𝑁))
3231, 20jca 306 . . 3 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾))) → (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾)))
33 simprr 537 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑗 = (𝑘 + 𝐾))
34 simprl 535 . . . . . 6 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 ∈ (𝑀...𝑁))
3523adantr 276 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑀 ∈ ℤ)
3625adantr 276 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑁 ∈ ℤ)
377ad2antrl 494 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 ∈ ℤ)
384adantr 276 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝐾 ∈ ℤ)
3935, 36, 37, 38, 29syl22anc 1279 . . . . . 6 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑘 ∈ (𝑀...𝑁) ↔ (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))))
4034, 39mpbid 147 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑘 + 𝐾) ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
4133, 40eqeltrd 2315 . . . 4 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)))
4233oveq1d 6103 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑗 − 𝐾) = ((𝑘 + 𝐾) − 𝐾))
43 zcn 9661 . . . . . . 7 (𝑘 ∈ ℤ → 𝑘 ∈ ℂ)
44 pncan 8540 . . . . . . 7 ((𝑘 ∈ ℂ ∧ 𝐾 ∈ ℂ) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4543, 16, 44syl2an 289 . . . . . 6 ((𝑘 ∈ ℤ ∧ 𝐾 ∈ ℤ) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4637, 38, 45syl2anc 415 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → ((𝑘 + 𝐾) − 𝐾) = 𝑘)
4742, 46eqtr2d 2272 . . . 4 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → 𝑘 = (𝑗 − 𝐾))
4841, 47jca 306 . . 3 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾)))
4932, 48impbida 604 . 2 (𝜑 → ((𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗 − 𝐾)) ↔ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))))
501, 6, 10, 49f1od 6296 1 (𝜑 → (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ↦ (𝑗 − 𝐾)):((𝑀 + 𝐾)...(𝑁 + 𝐾))–1-1-onto→(𝑀...𝑁))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209   ↦ cmpt 4193  –1-1-onto→wf1o 5379  (class class class)co 6088  ℂcc 8184   + caddc 8189   − cmin 8505  ℤcz 9656  ...cfz 10429
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-cnex 8277  ax-resscn 8278  ax-1cn 8279  ax-1re 8280  ax-icn 8281  ax-addcl 8282  ax-addrcl 8283  ax-mulcl 8284  ax-addcom 8286  ax-addass 8288  ax-distr 8290  ax-i2m1 8291  ax-0lt1 8292  ax-0id 8294  ax-rnegex 8295  ax-cnre 8297  ax-pre-ltirr 8298  ax-pre-ltwlin 8299  ax-pre-lttrn 8300  ax-pre-ltadd 8302
This proof depends on definitions:  df-bi 117  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-riota 6041  df-ov 6091  df-oprab 6092  df-mpo 6093  df-pnf 8369  df-mnf 8370  df-xr 8371  df-ltxr 8372  df-le 8373  df-sub 8507  df-neg 8508  df-inn 9315  df-n0 9576  df-z 9657  df-uz 9939  df-fz 10430
This theorem is used by:  fsumshft  12237  fprodshft  12411  gzsumshift  14240  gzsumgsum  14246
  Copyright terms: Public domain W3C validator