MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fvn0fvelrn Structured version   Visualization version   GIF version

Theorem fvn0fvelrn 6313
Description: If the value of a function is not null, the value is an element of the range of the function. (Contributed by Alexander van der Vekens, 22-Jul-2018.)
Assertion
Ref Expression
fvn0fvelrn ((𝐹𝑋) ≠ ∅ → (𝐹𝑋) ∈ ran 𝐹)

Proof of Theorem fvn0fvelrn
StepHypRef Expression
1 fvfundmfvn0 6121 . 2 ((𝐹𝑋) ≠ ∅ → (𝑋 ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {𝑋})))
2 eldmressnsn 5346 . . . 4 (𝑋 ∈ dom 𝐹𝑋 ∈ dom (𝐹 ↾ {𝑋}))
3 fvelrn 6245 . . . . . . 7 ((Fun (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom (𝐹 ↾ {𝑋})) → ((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}))
4 pm3.2 461 . . . . . . 7 (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
53, 4syl 17 . . . . . 6 ((Fun (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom (𝐹 ↾ {𝑋})) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
65ex 448 . . . . 5 (Fun (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))))
76com13 85 . . . 4 (𝑋 ∈ dom 𝐹 → (𝑋 ∈ dom (𝐹 ↾ {𝑋}) → (Fun (𝐹 ↾ {𝑋}) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))))
82, 7mpd 15 . . 3 (𝑋 ∈ dom 𝐹 → (Fun (𝐹 ↾ {𝑋}) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
98imp 443 . 2 ((𝑋 ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {𝑋})) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))
10 fvressn 6312 . . . . 5 (𝑋 ∈ dom 𝐹 → ((𝐹 ↾ {𝑋})‘𝑋) = (𝐹𝑋))
1110eleq1d 2671 . . . 4 (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ↔ (𝐹𝑋) ∈ ran (𝐹 ↾ {𝑋})))
12 fvrnressn 6311 . . . 4 (𝑋 ∈ dom 𝐹 → ((𝐹𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝐹𝑋) ∈ ran 𝐹))
1311, 12sylbid 228 . . 3 (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝐹𝑋) ∈ ran 𝐹))
1413impcom 444 . 2 ((((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹) → (𝐹𝑋) ∈ ran 𝐹)
151, 9, 143syl 18 1 ((𝐹𝑋) ≠ ∅ → (𝐹𝑋) ∈ ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382  wcel 1976  wne 2779  c0 3873  {csn 4124  dom cdm 5028  ran crn 5029  cres 5030  Fun wfun 5784  cfv 5790
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-sbc 3402  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-br 4578  df-opab 4638  df-id 4943  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-iota 5754  df-fun 5792  df-fn 5793  df-fv 5798
This theorem is referenced by:  edgwlk  25825  1wlkvtxiedg  40824
  Copyright terms: Public domain W3C validator