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

Theorem fargshiftfo 45720
Description: If a function is onto, then also the shifted function is onto. (Contributed by Alexander van der Vekens, 24-Nov-2017.)
Hypothesis
Ref Expression
fargshift.g 𝐺 = (𝑥 ∈ (0..^(♯‘𝐹)) ↦ (𝐹‘(𝑥 + 1)))
Assertion
Ref Expression
fargshiftfo ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → 𝐺:(0..^(♯‘𝐹))–onto→dom 𝐸)
Distinct variable groups:   𝑥,𝐹   𝑥,𝐸   𝑥,𝑁
Allowed substitution hint:   𝐺(𝑥)

Proof of Theorem fargshiftfo
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fof 6757 . . 3 (𝐹:(1...𝑁)–onto→dom 𝐸𝐹:(1...𝑁)⟶dom 𝐸)
2 fargshift.g . . . 4 𝐺 = (𝑥 ∈ (0..^(♯‘𝐹)) ↦ (𝐹‘(𝑥 + 1)))
32fargshiftf 45718 . . 3 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)⟶dom 𝐸) → 𝐺:(0..^(♯‘𝐹))⟶dom 𝐸)
41, 3sylan2 594 . 2 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → 𝐺:(0..^(♯‘𝐹))⟶dom 𝐸)
52rnmpt 5911 . . 3 ran 𝐺 = {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))}
6 fofn 6759 . . . . . 6 (𝐹:(1...𝑁)–onto→dom 𝐸𝐹 Fn (1...𝑁))
7 fnrnfv 6903 . . . . . 6 (𝐹 Fn (1...𝑁) → ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)})
86, 7syl 17 . . . . 5 (𝐹:(1...𝑁)–onto→dom 𝐸 → ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)})
98adantl 483 . . . 4 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)})
10 df-fo 6503 . . . . . . 7 (𝐹:(1...𝑁)–onto→dom 𝐸 ↔ (𝐹 Fn (1...𝑁) ∧ ran 𝐹 = dom 𝐸))
1110biimpi 215 . . . . . 6 (𝐹:(1...𝑁)–onto→dom 𝐸 → (𝐹 Fn (1...𝑁) ∧ ran 𝐹 = dom 𝐸))
1211adantl 483 . . . . 5 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (𝐹 Fn (1...𝑁) ∧ ran 𝐹 = dom 𝐸))
13 eqeq1 2737 . . . . . . . . 9 (ran 𝐹 = dom 𝐸 → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} ↔ dom 𝐸 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)}))
14 eqcom 2740 . . . . . . . . 9 (dom 𝐸 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} ↔ {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} = dom 𝐸)
1513, 14bitrdi 287 . . . . . . . 8 (ran 𝐹 = dom 𝐸 → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} ↔ {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} = dom 𝐸))
16 ffn 6669 . . . . . . . . . . . . . 14 (𝐹:(1...𝑁)⟶dom 𝐸𝐹 Fn (1...𝑁))
17 fseq1hash 14282 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ0𝐹 Fn (1...𝑁)) → (♯‘𝐹) = 𝑁)
1816, 17sylan2 594 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)⟶dom 𝐸) → (♯‘𝐹) = 𝑁)
191, 18sylan2 594 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (♯‘𝐹) = 𝑁)
20 fz0add1fz1 13648 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ0𝑥 ∈ (0..^𝑁)) → (𝑥 + 1) ∈ (1...𝑁))
21 nn0z 12529 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
22 fzval3 13647 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℤ → (1...𝑁) = (1..^(𝑁 + 1)))
2321, 22syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → (1...𝑁) = (1..^(𝑁 + 1)))
24 nn0cn 12428 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℕ0𝑁 ∈ ℂ)
25 1cnd 11155 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℕ0 → 1 ∈ ℂ)
2624, 25addcomd 11362 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0 → (𝑁 + 1) = (1 + 𝑁))
2726oveq2d 7374 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → (1..^(𝑁 + 1)) = (1..^(1 + 𝑁)))
2823, 27eqtrd 2773 . . . . . . . . . . . . . . . . . . 19 (𝑁 ∈ ℕ0 → (1...𝑁) = (1..^(1 + 𝑁)))
2928eleq2d 2820 . . . . . . . . . . . . . . . . . 18 (𝑁 ∈ ℕ0 → (𝑧 ∈ (1...𝑁) ↔ 𝑧 ∈ (1..^(1 + 𝑁))))
3029biimpa 478 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → 𝑧 ∈ (1..^(1 + 𝑁)))
3121adantr 482 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → 𝑁 ∈ ℤ)
32 fzosubel3 13639 . . . . . . . . . . . . . . . . 17 ((𝑧 ∈ (1..^(1 + 𝑁)) ∧ 𝑁 ∈ ℤ) → (𝑧 − 1) ∈ (0..^𝑁))
3330, 31, 32syl2anc 585 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → (𝑧 − 1) ∈ (0..^𝑁))
34 oveq1 7365 . . . . . . . . . . . . . . . . . 18 (𝑥 = (𝑧 − 1) → (𝑥 + 1) = ((𝑧 − 1) + 1))
3534eqeq2d 2744 . . . . . . . . . . . . . . . . 17 (𝑥 = (𝑧 − 1) → (𝑧 = (𝑥 + 1) ↔ 𝑧 = ((𝑧 − 1) + 1)))
3635adantl 483 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) ∧ 𝑥 = (𝑧 − 1)) → (𝑧 = (𝑥 + 1) ↔ 𝑧 = ((𝑧 − 1) + 1)))
37 elfzelz 13447 . . . . . . . . . . . . . . . . . . . 20 (𝑧 ∈ (1...𝑁) → 𝑧 ∈ ℤ)
3837zcnd 12613 . . . . . . . . . . . . . . . . . . 19 (𝑧 ∈ (1...𝑁) → 𝑧 ∈ ℂ)
3938adantl 483 . . . . . . . . . . . . . . . . . 18 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → 𝑧 ∈ ℂ)
40 1cnd 11155 . . . . . . . . . . . . . . . . . 18 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → 1 ∈ ℂ)
4139, 40npcand 11521 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → ((𝑧 − 1) + 1) = 𝑧)
4241eqcomd 2739 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → 𝑧 = ((𝑧 − 1) + 1))
4333, 36, 42rspcedvd 3582 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ0𝑧 ∈ (1...𝑁)) → ∃𝑥 ∈ (0..^𝑁)𝑧 = (𝑥 + 1))
44 fveq2 6843 . . . . . . . . . . . . . . . . 17 (𝑧 = (𝑥 + 1) → (𝐹𝑧) = (𝐹‘(𝑥 + 1)))
4544eqeq2d 2744 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑥 + 1) → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹‘(𝑥 + 1))))
4645adantl 483 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ0𝑧 = (𝑥 + 1)) → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹‘(𝑥 + 1))))
4720, 43, 46rexxfrd 5365 . . . . . . . . . . . . . 14 (𝑁 ∈ ℕ0 → (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^𝑁)𝑦 = (𝐹‘(𝑥 + 1))))
4847adantr 482 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ0 ∧ (♯‘𝐹) = 𝑁) → (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^𝑁)𝑦 = (𝐹‘(𝑥 + 1))))
49 oveq2 7366 . . . . . . . . . . . . . . . 16 ((♯‘𝐹) = 𝑁 → (0..^(♯‘𝐹)) = (0..^𝑁))
5049rexeqdv 3313 . . . . . . . . . . . . . . 15 ((♯‘𝐹) = 𝑁 → (∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1)) ↔ ∃𝑥 ∈ (0..^𝑁)𝑦 = (𝐹‘(𝑥 + 1))))
5150bibi2d 343 . . . . . . . . . . . . . 14 ((♯‘𝐹) = 𝑁 → ((∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))) ↔ (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^𝑁)𝑦 = (𝐹‘(𝑥 + 1)))))
5251adantl 483 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ0 ∧ (♯‘𝐹) = 𝑁) → ((∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))) ↔ (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^𝑁)𝑦 = (𝐹‘(𝑥 + 1)))))
5348, 52mpbird 257 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ0 ∧ (♯‘𝐹) = 𝑁) → (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))))
5419, 53syldan 592 . . . . . . . . . . 11 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧) ↔ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))))
5554abbidv 2802 . . . . . . . . . 10 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} = {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))})
5655eqeq1d 2735 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → ({𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} = dom 𝐸 ↔ {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸))
5756biimpcd 249 . . . . . . . 8 ({𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} = dom 𝐸 → ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸))
5815, 57syl6bi 253 . . . . . . 7 (ran 𝐹 = dom 𝐸 → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} → ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸)))
5958com23 86 . . . . . 6 (ran 𝐹 = dom 𝐸 → ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸)))
6059adantl 483 . . . . 5 ((𝐹 Fn (1...𝑁) ∧ ran 𝐹 = dom 𝐸) → ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸)))
6112, 60mpcom 38 . . . 4 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → (ran 𝐹 = {𝑦 ∣ ∃𝑧 ∈ (1...𝑁)𝑦 = (𝐹𝑧)} → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸))
629, 61mpd 15 . . 3 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → {𝑦 ∣ ∃𝑥 ∈ (0..^(♯‘𝐹))𝑦 = (𝐹‘(𝑥 + 1))} = dom 𝐸)
635, 62eqtrid 2785 . 2 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → ran 𝐺 = dom 𝐸)
64 dffo2 6761 . 2 (𝐺:(0..^(♯‘𝐹))–onto→dom 𝐸 ↔ (𝐺:(0..^(♯‘𝐹))⟶dom 𝐸 ∧ ran 𝐺 = dom 𝐸))
654, 63, 64sylanbrc 584 1 ((𝑁 ∈ ℕ0𝐹:(1...𝑁)–onto→dom 𝐸) → 𝐺:(0..^(♯‘𝐹))–onto→dom 𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wcel 2107  {cab 2710  wrex 3070  cmpt 5189  dom cdm 5634  ran crn 5635   Fn wfn 6492  wf 6493  ontowfo 6495  cfv 6497  (class class class)co 7358  cc 11054  0cc0 11056  1c1 11057   + caddc 11059  cmin 11390  0cn0 12418  cz 12504  ...cfz 13430  ..^cfzo 13573  chash 14236
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5243  ax-sep 5257  ax-nul 5264  ax-pow 5321  ax-pr 5385  ax-un 7673  ax-cnex 11112  ax-resscn 11113  ax-1cn 11114  ax-icn 11115  ax-addcl 11116  ax-addrcl 11117  ax-mulcl 11118  ax-mulrcl 11119  ax-mulcom 11120  ax-addass 11121  ax-mulass 11122  ax-distr 11123  ax-i2m1 11124  ax-1ne0 11125  ax-1rid 11126  ax-rnegex 11127  ax-rrecex 11128  ax-cnre 11129  ax-pre-lttri 11130  ax-pre-lttrn 11131  ax-pre-ltadd 11132  ax-pre-mulgt0 11133
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3741  df-csb 3857  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3930  df-nul 4284  df-if 4488  df-pw 4563  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4867  df-int 4909  df-iun 4957  df-br 5107  df-opab 5169  df-mpt 5190  df-tr 5224  df-id 5532  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5589  df-we 5591  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-pred 6254  df-ord 6321  df-on 6322  df-lim 6323  df-suc 6324  df-iota 6449  df-fun 6499  df-fn 6500  df-f 6501  df-f1 6502  df-fo 6503  df-f1o 6504  df-fv 6505  df-riota 7314  df-ov 7361  df-oprab 7362  df-mpo 7363  df-om 7804  df-1st 7922  df-2nd 7923  df-frecs 8213  df-wrecs 8244  df-recs 8318  df-rdg 8357  df-1o 8413  df-er 8651  df-en 8887  df-dom 8888  df-sdom 8889  df-fin 8890  df-card 9880  df-pnf 11196  df-mnf 11197  df-xr 11198  df-ltxr 11199  df-le 11200  df-sub 11392  df-neg 11393  df-nn 12159  df-n0 12419  df-z 12505  df-uz 12769  df-fz 13431  df-fzo 13574  df-hash 14237
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator