ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ssimaex GIF version

Theorem ssimaex 5547
Description: The existence of a subimage. (Contributed by NM, 8-Apr-2007.)
Hypothesis
Ref Expression
ssimaex.1 𝐴 ∈ V
Assertion
Ref Expression
ssimaex ((Fun 𝐹𝐵 ⊆ (𝐹𝐴)) → ∃𝑥(𝑥𝐴𝐵 = (𝐹𝑥)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐹

Proof of Theorem ssimaex
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmres 4905 . . . . 5 dom (𝐹𝐴) = (𝐴 ∩ dom 𝐹)
21imaeq2i 4944 . . . 4 (𝐹 “ dom (𝐹𝐴)) = (𝐹 “ (𝐴 ∩ dom 𝐹))
3 imadmres 5096 . . . 4 (𝐹 “ dom (𝐹𝐴)) = (𝐹𝐴)
42, 3eqtr3i 2188 . . 3 (𝐹 “ (𝐴 ∩ dom 𝐹)) = (𝐹𝐴)
54sseq2i 3169 . 2 (𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹)) ↔ 𝐵 ⊆ (𝐹𝐴))
6 ssrab2 3227 . . . 4 {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ (𝐴 ∩ dom 𝐹)
7 ssel2 3137 . . . . . . . . 9 ((𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹)) ∧ 𝑧𝐵) → 𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)))
87adantll 468 . . . . . . . 8 (((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) ∧ 𝑧𝐵) → 𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)))
9 fvelima 5538 . . . . . . . . . . . 12 ((Fun 𝐹𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹))) → ∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧)
109ex 114 . . . . . . . . . . 11 (Fun 𝐹 → (𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)) → ∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧))
1110adantr 274 . . . . . . . . . 10 ((Fun 𝐹𝑧𝐵) → (𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)) → ∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧))
12 eleq1a 2238 . . . . . . . . . . . . . . . 16 (𝑧𝐵 → ((𝐹𝑤) = 𝑧 → (𝐹𝑤) ∈ 𝐵))
1312anim2d 335 . . . . . . . . . . . . . . 15 (𝑧𝐵 → ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) = 𝑧) → (𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) ∈ 𝐵)))
14 fveq2 5486 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑤 → (𝐹𝑦) = (𝐹𝑤))
1514eleq1d 2235 . . . . . . . . . . . . . . . 16 (𝑦 = 𝑤 → ((𝐹𝑦) ∈ 𝐵 ↔ (𝐹𝑤) ∈ 𝐵))
1615elrab 2882 . . . . . . . . . . . . . . 15 (𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ↔ (𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) ∈ 𝐵))
1713, 16syl6ibr 161 . . . . . . . . . . . . . 14 (𝑧𝐵 → ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) = 𝑧) → 𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}))
18 simpr 109 . . . . . . . . . . . . . . 15 ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) = 𝑧) → (𝐹𝑤) = 𝑧)
1918a1i 9 . . . . . . . . . . . . . 14 (𝑧𝐵 → ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) = 𝑧) → (𝐹𝑤) = 𝑧))
2017, 19jcad 305 . . . . . . . . . . . . 13 (𝑧𝐵 → ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) = 𝑧) → (𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ∧ (𝐹𝑤) = 𝑧)))
2120reximdv2 2565 . . . . . . . . . . . 12 (𝑧𝐵 → (∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧 → ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
2221adantl 275 . . . . . . . . . . 11 ((Fun 𝐹𝑧𝐵) → (∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧 → ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
23 funfn 5218 . . . . . . . . . . . . 13 (Fun 𝐹𝐹 Fn dom 𝐹)
24 inss2 3343 . . . . . . . . . . . . . . 15 (𝐴 ∩ dom 𝐹) ⊆ dom 𝐹
256, 24sstri 3151 . . . . . . . . . . . . . 14 {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ dom 𝐹
26 fvelimab 5542 . . . . . . . . . . . . . 14 ((𝐹 Fn dom 𝐹 ∧ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ dom 𝐹) → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) ↔ ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
2725, 26mpan2 422 . . . . . . . . . . . . 13 (𝐹 Fn dom 𝐹 → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) ↔ ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
2823, 27sylbi 120 . . . . . . . . . . . 12 (Fun 𝐹 → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) ↔ ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
2928adantr 274 . . . . . . . . . . 11 ((Fun 𝐹𝑧𝐵) → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) ↔ ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
3022, 29sylibrd 168 . . . . . . . . . 10 ((Fun 𝐹𝑧𝐵) → (∃𝑤 ∈ (𝐴 ∩ dom 𝐹)(𝐹𝑤) = 𝑧𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
3111, 30syld 45 . . . . . . . . 9 ((Fun 𝐹𝑧𝐵) → (𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)) → 𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
3231adantlr 469 . . . . . . . 8 (((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) ∧ 𝑧𝐵) → (𝑧 ∈ (𝐹 “ (𝐴 ∩ dom 𝐹)) → 𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
338, 32mpd 13 . . . . . . 7 (((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) ∧ 𝑧𝐵) → 𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}))
3433ex 114 . . . . . 6 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → (𝑧𝐵𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
35 fvelima 5538 . . . . . . . . 9 ((Fun 𝐹𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})) → ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧)
3635ex 114 . . . . . . . 8 (Fun 𝐹 → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) → ∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧))
37 eleq1 2229 . . . . . . . . . . . 12 ((𝐹𝑤) = 𝑧 → ((𝐹𝑤) ∈ 𝐵𝑧𝐵))
3837biimpcd 158 . . . . . . . . . . 11 ((𝐹𝑤) ∈ 𝐵 → ((𝐹𝑤) = 𝑧𝑧𝐵))
3938adantl 275 . . . . . . . . . 10 ((𝑤 ∈ (𝐴 ∩ dom 𝐹) ∧ (𝐹𝑤) ∈ 𝐵) → ((𝐹𝑤) = 𝑧𝑧𝐵))
4016, 39sylbi 120 . . . . . . . . 9 (𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} → ((𝐹𝑤) = 𝑧𝑧𝐵))
4140rexlimiv 2577 . . . . . . . 8 (∃𝑤 ∈ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} (𝐹𝑤) = 𝑧𝑧𝐵)
4236, 41syl6 33 . . . . . . 7 (Fun 𝐹 → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) → 𝑧𝐵))
4342adantr 274 . . . . . 6 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → (𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}) → 𝑧𝐵))
4434, 43impbid 128 . . . . 5 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → (𝑧𝐵𝑧 ∈ (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
4544eqrdv 2163 . . . 4 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → 𝐵 = (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}))
46 ssimaex.1 . . . . . . 7 𝐴 ∈ V
4746inex1 4116 . . . . . 6 (𝐴 ∩ dom 𝐹) ∈ V
4847rabex 4126 . . . . 5 {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ∈ V
49 sseq1 3165 . . . . . 6 (𝑥 = {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} → (𝑥 ⊆ (𝐴 ∩ dom 𝐹) ↔ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ (𝐴 ∩ dom 𝐹)))
50 imaeq2 4942 . . . . . . 7 (𝑥 = {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} → (𝐹𝑥) = (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}))
5150eqeq2d 2177 . . . . . 6 (𝑥 = {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} → (𝐵 = (𝐹𝑥) ↔ 𝐵 = (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})))
5249, 51anbi12d 465 . . . . 5 (𝑥 = {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} → ((𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹𝑥)) ↔ ({𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵}))))
5348, 52spcev 2821 . . . 4 (({𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵} ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹 “ {𝑦 ∈ (𝐴 ∩ dom 𝐹) ∣ (𝐹𝑦) ∈ 𝐵})) → ∃𝑥(𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹𝑥)))
546, 45, 53sylancr 411 . . 3 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → ∃𝑥(𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹𝑥)))
55 inss1 3342 . . . . . 6 (𝐴 ∩ dom 𝐹) ⊆ 𝐴
56 sstr 3150 . . . . . 6 ((𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ (𝐴 ∩ dom 𝐹) ⊆ 𝐴) → 𝑥𝐴)
5755, 56mpan2 422 . . . . 5 (𝑥 ⊆ (𝐴 ∩ dom 𝐹) → 𝑥𝐴)
5857anim1i 338 . . . 4 ((𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹𝑥)) → (𝑥𝐴𝐵 = (𝐹𝑥)))
5958eximi 1588 . . 3 (∃𝑥(𝑥 ⊆ (𝐴 ∩ dom 𝐹) ∧ 𝐵 = (𝐹𝑥)) → ∃𝑥(𝑥𝐴𝐵 = (𝐹𝑥)))
6054, 59syl 14 . 2 ((Fun 𝐹𝐵 ⊆ (𝐹 “ (𝐴 ∩ dom 𝐹))) → ∃𝑥(𝑥𝐴𝐵 = (𝐹𝑥)))
615, 60sylan2br 286 1 ((Fun 𝐹𝐵 ⊆ (𝐹𝐴)) → ∃𝑥(𝑥𝐴𝐵 = (𝐹𝑥)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1343  wex 1480  wcel 2136  wrex 2445  {crab 2448  Vcvv 2726  cin 3115  wss 3116  dom cdm 4604  cres 4606  cima 4607  Fun wfun 5182   Fn wfn 5183  cfv 5188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-fv 5196
This theorem is referenced by:  ssimaexg  5548
  Copyright terms: Public domain W3C validator