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

Theorem fvn0fvelrn 6922
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 6701 . 2 ((𝐹𝑋) ≠ ∅ → (𝑋 ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {𝑋})))
2 eldmressnsn 5871 . . . 4 (𝑋 ∈ dom 𝐹𝑋 ∈ dom (𝐹 ↾ {𝑋}))
3 fvelrn 6841 . . . . . . 7 ((Fun (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom (𝐹 ↾ {𝑋})) → ((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}))
4 pm3.2 473 . . . . . . 7 (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
53, 4syl 17 . . . . . 6 ((Fun (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom (𝐹 ↾ {𝑋})) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
65ex 416 . . . . 5 (Fun (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom (𝐹 ↾ {𝑋}) → (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))))
76com13 88 . . . 4 (𝑋 ∈ dom 𝐹 → (𝑋 ∈ dom (𝐹 ↾ {𝑋}) → (Fun (𝐹 ↾ {𝑋}) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))))
82, 7mpd 15 . . 3 (𝑋 ∈ dom 𝐹 → (Fun (𝐹 ↾ {𝑋}) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹)))
98imp 410 . 2 ((𝑋 ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {𝑋})) → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹))
10 fvressn 6921 . . . . 5 (𝑋 ∈ dom 𝐹 → ((𝐹 ↾ {𝑋})‘𝑋) = (𝐹𝑋))
1110eleq1d 2836 . . . 4 (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ↔ (𝐹𝑋) ∈ ran (𝐹 ↾ {𝑋})))
12 fvrnressn 6920 . . . 4 (𝑋 ∈ dom 𝐹 → ((𝐹𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝐹𝑋) ∈ ran 𝐹))
1311, 12sylbid 243 . . 3 (𝑋 ∈ dom 𝐹 → (((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) → (𝐹𝑋) ∈ ran 𝐹))
1413impcom 411 . 2 ((((𝐹 ↾ {𝑋})‘𝑋) ∈ ran (𝐹 ↾ {𝑋}) ∧ 𝑋 ∈ dom 𝐹) → (𝐹𝑋) ∈ ran 𝐹)
151, 9, 143syl 18 1 ((𝐹𝑋) ≠ ∅ → (𝐹𝑋) ∈ ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wcel 2111  wne 2951  c0 4227  {csn 4525  dom cdm 5528  ran crn 5529  cres 5530  Fun wfun 6334  cfv 6340
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5173  ax-nul 5180  ax-pr 5302
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3699  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5037  df-opab 5099  df-id 5434  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-iota 6299  df-fun 6342  df-fn 6343  df-fv 6348
This theorem is referenced by:  wlkvtxiedg  27527
  Copyright terms: Public domain W3C validator