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

Theorem imaelsetpreimafv 44735
Description: The image of an element of the preimage of a function value is the singleton consisting of the function value at one of its elements. (Contributed by AV, 5-Mar-2024.)
Hypothesis
Ref Expression
setpreimafvex.p 𝑃 = {𝑧 ∣ ∃𝑥𝐴 𝑧 = (𝐹 “ {(𝐹𝑥)})}
Assertion
Ref Expression
imaelsetpreimafv ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (𝐹𝑆) = {(𝐹𝑋)})
Distinct variable groups:   𝑥,𝐴,𝑧   𝑥,𝐹,𝑧   𝑥,𝑆,𝑧   𝑥,𝑋   𝑥,𝑃
Allowed substitution hints:   𝑃(𝑧)   𝑋(𝑧)

Proof of Theorem imaelsetpreimafv
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 setpreimafvex.p . . . . 5 𝑃 = {𝑧 ∣ ∃𝑥𝐴 𝑧 = (𝐹 “ {(𝐹𝑥)})}
21fvelsetpreimafv 44727 . . . 4 ((𝐹 Fn 𝐴𝑆𝑃) → ∃𝑥𝑆 𝑆 = (𝐹 “ {(𝐹𝑥)}))
3 fveq2 6756 . . . . . . . 8 (𝑦 = 𝑥 → (𝐹𝑦) = (𝐹𝑥))
43sneqd 4570 . . . . . . 7 (𝑦 = 𝑥 → {(𝐹𝑦)} = {(𝐹𝑥)})
54imaeq2d 5958 . . . . . 6 (𝑦 = 𝑥 → (𝐹 “ {(𝐹𝑦)}) = (𝐹 “ {(𝐹𝑥)}))
65eqeq2d 2749 . . . . 5 (𝑦 = 𝑥 → (𝑆 = (𝐹 “ {(𝐹𝑦)}) ↔ 𝑆 = (𝐹 “ {(𝐹𝑥)})))
76cbvrexvw 3373 . . . 4 (∃𝑦𝑆 𝑆 = (𝐹 “ {(𝐹𝑦)}) ↔ ∃𝑥𝑆 𝑆 = (𝐹 “ {(𝐹𝑥)}))
82, 7sylibr 233 . . 3 ((𝐹 Fn 𝐴𝑆𝑃) → ∃𝑦𝑆 𝑆 = (𝐹 “ {(𝐹𝑦)}))
983adant3 1130 . 2 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → ∃𝑦𝑆 𝑆 = (𝐹 “ {(𝐹𝑦)}))
10 imaeq2 5954 . . . . 5 (𝑆 = (𝐹 “ {(𝐹𝑦)}) → (𝐹𝑆) = (𝐹 “ (𝐹 “ {(𝐹𝑦)})))
11103ad2ant3 1133 . . . 4 (((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) ∧ 𝑦𝑆𝑆 = (𝐹 “ {(𝐹𝑦)})) → (𝐹𝑆) = (𝐹 “ (𝐹 “ {(𝐹𝑦)})))
12 fnfun 6517 . . . . . . 7 (𝐹 Fn 𝐴 → Fun 𝐹)
13 funimacnv 6499 . . . . . . 7 (Fun 𝐹 → (𝐹 “ (𝐹 “ {(𝐹𝑦)})) = ({(𝐹𝑦)} ∩ ran 𝐹))
1412, 13syl 17 . . . . . 6 (𝐹 Fn 𝐴 → (𝐹 “ (𝐹 “ {(𝐹𝑦)})) = ({(𝐹𝑦)} ∩ ran 𝐹))
15143ad2ant1 1131 . . . . 5 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (𝐹 “ (𝐹 “ {(𝐹𝑦)})) = ({(𝐹𝑦)} ∩ ran 𝐹))
16153ad2ant1 1131 . . . 4 (((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) ∧ 𝑦𝑆𝑆 = (𝐹 “ {(𝐹𝑦)})) → (𝐹 “ (𝐹 “ {(𝐹𝑦)})) = ({(𝐹𝑦)} ∩ ran 𝐹))
171elsetpreimafvbi 44731 . . . . . . 7 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (𝑦𝑆 ↔ (𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋))))
18 fnfvelrn 6940 . . . . . . . . . . . . 13 ((𝐹 Fn 𝐴𝑦𝐴) → (𝐹𝑦) ∈ ran 𝐹)
1918snssd 4739 . . . . . . . . . . . 12 ((𝐹 Fn 𝐴𝑦𝐴) → {(𝐹𝑦)} ⊆ ran 𝐹)
20 df-ss 3900 . . . . . . . . . . . 12 ({(𝐹𝑦)} ⊆ ran 𝐹 ↔ ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑦)})
2119, 20sylib 217 . . . . . . . . . . 11 ((𝐹 Fn 𝐴𝑦𝐴) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑦)})
22213adant3 1130 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑦)})
23 simp3 1136 . . . . . . . . . . 11 ((𝐹 Fn 𝐴𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → (𝐹𝑦) = (𝐹𝑋))
2423sneqd 4570 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → {(𝐹𝑦)} = {(𝐹𝑋)})
2522, 24eqtrd 2778 . . . . . . . . 9 ((𝐹 Fn 𝐴𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)})
26253expib 1120 . . . . . . . 8 (𝐹 Fn 𝐴 → ((𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)}))
27263ad2ant1 1131 . . . . . . 7 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → ((𝑦𝐴 ∧ (𝐹𝑦) = (𝐹𝑋)) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)}))
2817, 27sylbid 239 . . . . . 6 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (𝑦𝑆 → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)}))
2928imp 406 . . . . 5 (((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) ∧ 𝑦𝑆) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)})
30293adant3 1130 . . . 4 (((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) ∧ 𝑦𝑆𝑆 = (𝐹 “ {(𝐹𝑦)})) → ({(𝐹𝑦)} ∩ ran 𝐹) = {(𝐹𝑋)})
3111, 16, 303eqtrd 2782 . . 3 (((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) ∧ 𝑦𝑆𝑆 = (𝐹 “ {(𝐹𝑦)})) → (𝐹𝑆) = {(𝐹𝑋)})
3231rexlimdv3a 3214 . 2 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (∃𝑦𝑆 𝑆 = (𝐹 “ {(𝐹𝑦)}) → (𝐹𝑆) = {(𝐹𝑋)}))
339, 32mpd 15 1 ((𝐹 Fn 𝐴𝑆𝑃𝑋𝑆) → (𝐹𝑆) = {(𝐹𝑋)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  wrex 3064  cin 3882  wss 3883  {csn 4558  ccnv 5579  ran crn 5581  cima 5583  Fun wfun 6412   Fn wfn 6413  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426
This theorem is referenced by:  uniimaelsetpreimafv  44736
  Copyright terms: Public domain W3C validator