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

Theorem imasetpreimafvbijlemfo 48595
Description: Lemma for imasetpreimafvbij 48596: the mapping 𝐻 is a function onto the range of function 𝐹. (Contributed by AV, 22-Mar-2024.)
Hypotheses
Ref Expression
fundcmpsurinj.p 𝑃 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = (◡𝐹 “ {(𝐹‘𝑥)})}
fundcmpsurinj.h 𝐻 = (𝑝 ∈ 𝑃 ↦ ∪ (𝐹 “ 𝑝))
Assertion
Ref Expression
imasetpreimafvbijlemfo ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐻:𝑃–onto→(𝐹 “ 𝐴))
Distinct variable groups:   𝑥,𝐴,𝑧   𝑥,𝐹,𝑧,𝑝   𝑃,𝑝   𝐴,𝑝,𝑥,𝑧   𝑥,𝑃   𝑉,𝑝
Allowed substitution hints:   𝑃(𝑧)   𝐻(𝑥, 𝑧, 𝑝)   𝑉(𝑥, 𝑧)

Proof of Theorem imasetpreimafvbijlemfo
Dummy variables 𝑦 𝑎 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fundcmpsurinj.p . . . 4 𝑃 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = (◡𝐹 “ {(𝐹‘𝑥)})}
2 fundcmpsurinj.h . . . 4 𝐻 = (𝑝 ∈ 𝑃 ↦ ∪ (𝐹 “ 𝑝))
31, 2imasetpreimafvbijlemf 48591 . . 3 (𝐹 Fn 𝐴 → 𝐻:𝑃⟶(𝐹 “ 𝐴))
43adantr 486 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐻:𝑃⟶(𝐹 “ 𝐴))
51preimafvelsetpreimafv 48578 . . . . . . . . 9 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉 ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
653expa 1136 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
7 imaeq2 6050 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹 “ 𝑝) = (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
87unieqd 4879 . . . . . . . . . 10 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ 𝑝) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
98eqeq2d 2771 . . . . . . . . 9 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
109adantl 487 . . . . . . . 8 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
11 uniimaprimaeqfv 48572 . . . . . . . . . 10 ((𝐹 Fn 𝐴 ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1211adantlr 728 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1312eqcomd 2766 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
146, 10, 13rspcedvd 3578 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
15 eqeq1 2764 . . . . . . . . 9 (𝑦 = (𝐹‘𝑎) → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1615eqcoms 2768 . . . . . . . 8 ((𝐹‘𝑎) = 𝑦 → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1716rexbidv 3186 . . . . . . 7 ((𝐹‘𝑎) = 𝑦 → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) ↔ ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1814, 17syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ((𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
1918rexlimdva 3163 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
208eqcomd 2766 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = ∪ (𝐹 “ 𝑝))
2113, 20sylan9eq 2815 . . . . . . . . . 10 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
2221ex 418 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
2322reximdva 3175 . . . . . . . 8 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
241elsetpreimafv 48575 . . . . . . . . 9 (𝑝 ∈ 𝑃 → ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
25 fveq2 6890 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹‘𝑎) = (𝐹‘𝑥))
2625sneqd 4592 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹‘𝑎)} = {(𝐹‘𝑥)})
2726imaeq2d 6054 . . . . . . . . . . 11 (𝑎 = 𝑥 → (◡𝐹 “ {(𝐹‘𝑎)}) = (◡𝐹 “ {(𝐹‘𝑥)}))
2827eqeq2d 2771 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)})))
2928cbvrexvw 3241 . . . . . . . . 9 (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
3024, 29sylibr 237 . . . . . . . 8 (𝑝 ∈ 𝑃 → ∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}))
3123, 30impel 515 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
32 eqeq2 2772 . . . . . . . 8 (𝑦 = ∪ (𝐹 “ 𝑝) → ((𝐹‘𝑎) = 𝑦 ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3332rexbidv 3186 . . . . . . 7 (𝑦 = ∪ (𝐹 “ 𝑝) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3431, 33syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → (𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3534rexlimdva 3163 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3619, 35impbid 215 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
3736abbidv 2826 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
38 fnfun 6644 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6647 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 3968 . . . . . . 7 (dom 𝐹 = 𝐴 → 𝐴 ⊆ dom 𝐹)
4139, 40syl 18 . . . . . 6 (𝐹 Fn 𝐴 → 𝐴 ⊆ dom 𝐹)
4238, 41jca 521 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
4342adantr 486 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
44 dfimafn 6952 . . . 4 ((Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
4543, 44syl 18 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
462rnmpt 5940 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
4837, 45, 473eqtr4rd 2806 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = (𝐹 “ 𝐴))
49 dffo2 6805 . 2 (𝐻:𝑃–onto→(𝐹 “ 𝐴) ↔ (𝐻:𝑃⟶(𝐹 “ 𝐴) ∧ ran 𝐻 = (𝐹 “ 𝐴)))
504, 48, 49sylanbrc 595 1 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐻:𝑃–onto→(𝐹 “ 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {cab 2738  ∃wrex 3086   ⊆ wss 3896  {csn 4584  ∪ cuni 4866   ↦ cmpt 5185  ◡ccnv 5650  dom cdm 5651  ran crn 5652   “ cima 5654  Fun wfun 6537   Fn wfn 6538  ⟶wf 6539  –onto→wfo 6541  ‘cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551
This theorem is used by:  imasetpreimafvbij  48596
  Copyright terms: Public domain W3C validator