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

Theorem mptfzshft 12211
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 10430 . . . 4 (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) → 𝑗 ∈ ℤ)
32adantl 277 . . 3 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝑗 ∈ ℤ)
4 mptfzshft.1 . . . 4 (𝜑𝐾 ∈ ℤ)
54adantr 276 . . 3 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → 𝐾 ∈ ℤ)
63, 5zsubcld 9775 . 2 ((𝜑𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾))) → (𝑗𝐾) ∈ ℤ)
7 elfzelz 10430 . . . 4 (𝑘 ∈ (𝑀...𝑁) → 𝑘 ∈ ℤ)
87adantl 277 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → 𝑘 ∈ ℤ)
94adantr 276 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → 𝐾 ∈ ℤ)
108, 9zaddcld 9774 . 2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝑘 + 𝐾) ∈ ℤ)
11 simprr 537 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑘 = (𝑗𝐾))
1211oveq1d 6100 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑘 + 𝐾) = ((𝑗𝐾) + 𝐾))
132ad2antrl 494 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑗 ∈ ℤ)
144adantr 276 . . . . . . . 8 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝐾 ∈ ℤ)
15 zcn 9651 . . . . . . . . 9 (𝑗 ∈ ℤ → 𝑗 ∈ ℂ)
16 zcn 9651 . . . . . . . . 9 (𝐾 ∈ ℤ → 𝐾 ∈ ℂ)
17 npcan 8535 . . . . . . . . 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 9775 . . . . . . 7 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → (𝑗𝐾) ∈ ℤ)
2811, 27eqeltrd 2315 . . . . . 6 ((𝜑 ∧ (𝑗 ∈ ((𝑀 + 𝐾)...(𝑁 + 𝐾)) ∧ 𝑘 = (𝑗𝐾))) → 𝑘 ∈ ℤ)
29 fzaddel 10467 . . . . . 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 6100 . . . . 5 ((𝜑 ∧ (𝑘 ∈ (𝑀...𝑁) ∧ 𝑗 = (𝑘 + 𝐾))) → (𝑗𝐾) = ((𝑘 + 𝐾) − 𝐾))
43 zcn 9651 . . . . . . 7 (𝑘 ∈ ℤ → 𝑘 ∈ ℂ)
44 pncan 8532 . . . . . . 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 6293 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 4192  1-1-ontowf1o 5376  (class class class)co 6085  cc 8177   + caddc 8182  cmin 8497  cz 9646  ...cfz 10413
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 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-addcom 8279  ax-addass 8281  ax-distr 8283  ax-i2m1 8284  ax-0lt1 8285  ax-0id 8287  ax-rnegex 8288  ax-cnre 8290  ax-pre-ltirr 8291  ax-pre-ltwlin 8292  ax-pre-lttrn 8293  ax-pre-ltadd 8295
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 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-pnf 8362  df-mnf 8363  df-xr 8364  df-ltxr 8365  df-le 8366  df-sub 8499  df-neg 8500  df-inn 9306  df-n0 9566  df-z 9647  df-uz 9924  df-fz 10414
This theorem is used by:  fsumshft  12213  fprodshft  12387  gzsumshift  14151  gzsumgsum  14157
  Copyright terms: Public domain W3C validator