Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fargshiftf Structured version   Visualization version   GIF version

Theorem fargshiftf 48855
Description: If a class is a function, then also its "shifted function" is a function. (Contributed by Alexander van der Vekens, 23-Nov-2017.)
Hypothesis
Ref Expression
fargshift.g 𝐺 = (𝑥 ∈ (0..^(♯‘𝐹)) ↦ (𝐹‘(𝑥 + 1)))
Assertion
Ref Expression
fargshiftf ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) → 𝐺:(0..^(♯‘𝐹))⟶dom 𝐸)
Distinct variable groups:   𝑥,𝐹   𝑥,𝐸
Allowed substitution hints:   𝐺(𝑥)   𝑁(𝑥)

Proof of Theorem fargshiftf
StepHypRef Expression
1 ffn 6739 . . . 4 (𝐹:(1...𝑁)⟶dom 𝐸 → 𝐹 Fn (1...𝑁))
2 fseq1hash 14561 . . . 4 ((𝑁 ∈ ℕ0 ∧ 𝐹 Fn (1...𝑁)) → (♯‘𝐹) = 𝑁)
31, 2sylan2 605 . . 3 ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) → (♯‘𝐹) = 𝑁)
4 eleq1 2855 . . . . . 6 (𝑁 = (♯‘𝐹) → (𝑁 ∈ ℕ0 ↔ (♯‘𝐹) ∈ ℕ0))
5 oveq2 7459 . . . . . . 7 (𝑁 = (♯‘𝐹) → (1...𝑁) = (1...(♯‘𝐹)))
65feq2d 6723 . . . . . 6 (𝑁 = (♯‘𝐹) → (𝐹:(1...𝑁)⟶dom 𝐸 ↔ 𝐹:(1...(♯‘𝐹))⟶dom 𝐸))
74, 6anbi12d 644 . . . . 5 (𝑁 = (♯‘𝐹) → ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) ↔ ((♯‘𝐹) ∈ ℕ0 ∧ 𝐹:(1...(♯‘𝐹))⟶dom 𝐸)))
87eqcoms 2774 . . . 4 ((♯‘𝐹) = 𝑁 → ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) ↔ ((♯‘𝐹) ∈ ℕ0 ∧ 𝐹:(1...(♯‘𝐹))⟶dom 𝐸)))
9 fz0add1fz1 13910 . . . . . . 7 (((♯‘𝐹) ∈ ℕ0 ∧ 𝑥 ∈ (0..^(♯‘𝐹))) → (𝑥 + 1) ∈ (1...(♯‘𝐹)))
10 ffvelcdm 7113 . . . . . . . 8 ((𝐹:(1...(♯‘𝐹))⟶dom 𝐸 ∧ (𝑥 + 1) ∈ (1...(♯‘𝐹))) → (𝐹‘(𝑥 + 1)) ∈ dom 𝐸)
1110expcom 419 . . . . . . 7 ((𝑥 + 1) ∈ (1...(♯‘𝐹)) → (𝐹:(1...(♯‘𝐹))⟶dom 𝐸 → (𝐹‘(𝑥 + 1)) ∈ dom 𝐸))
129, 11syl 18 . . . . . 6 (((♯‘𝐹) ∈ ℕ0 ∧ 𝑥 ∈ (0..^(♯‘𝐹))) → (𝐹:(1...(♯‘𝐹))⟶dom 𝐸 → (𝐹‘(𝑥 + 1)) ∈ dom 𝐸))
1312impancom 457 . . . . 5 (((♯‘𝐹) ∈ ℕ0 ∧ 𝐹:(1...(♯‘𝐹))⟶dom 𝐸) → (𝑥 ∈ (0..^(♯‘𝐹)) → (𝐹‘(𝑥 + 1)) ∈ dom 𝐸))
1413ralrimiv 3160 . . . 4 (((♯‘𝐹) ∈ ℕ0 ∧ 𝐹:(1...(♯‘𝐹))⟶dom 𝐸) → ∀𝑥 ∈ (0..^(♯‘𝐹))(𝐹‘(𝑥 + 1)) ∈ dom 𝐸)
158, 14biimtrdi 256 . . 3 ((♯‘𝐹) = 𝑁 → ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) → ∀𝑥 ∈ (0..^(♯‘𝐹))(𝐹‘(𝑥 + 1)) ∈ dom 𝐸))
163, 15mpcom 39 . 2 ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) → ∀𝑥 ∈ (0..^(♯‘𝐹))(𝐹‘(𝑥 + 1)) ∈ dom 𝐸)
17 fargshift.g . . 3 𝐺 = (𝑥 ∈ (0..^(♯‘𝐹)) ↦ (𝐹‘(𝑥 + 1)))
1817fmpt 7142 . 2 (∀𝑥 ∈ (0..^(♯‘𝐹))(𝐹‘(𝑥 + 1)) ∈ dom 𝐸 ↔ 𝐺:(0..^(♯‘𝐹))⟶dom 𝐸)
1916, 18sylib 221 1 ((𝑁 ∈ ℕ0 ∧ 𝐹:(1...𝑁)⟶dom 𝐸) → 𝐺:(0..^(♯‘𝐹))⟶dom 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ∀wral 3083   ↦ cmpt 5191  dom cdm 5657   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  0cc0 11239  1c1 11240   + caddc 11242  ℕ0cn0 12646  ...cfz 13679  ..^cfzo 13828  ♯chash 14515
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-card 10057  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-n0 12647  df-z 12734  df-uz 13006  df-fz 13680  df-fzo 13829  df-hash 14516
This theorem is used by:  fargshiftf1  48856  fargshiftfo  48857
  Copyright terms: Public domain W3C validator