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 48760
Description: Lemma for imasetpreimafvbij 48761: 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 48756 . . 3 (𝐹 Fn 𝐴 → 𝐻:𝑃⟶(𝐹 “ 𝐴))
43adantr 486 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐻:𝑃⟶(𝐹 “ 𝐴))
51preimafvelsetpreimafv 48743 . . . . . . . . 9 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉 ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
653expa 1136 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
7 imaeq2 6066 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹 “ 𝑝) = (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
87unieqd 4885 . . . . . . . . . 10 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ 𝑝) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
98eqeq2d 2774 . . . . . . . . 9 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
109adantl 487 . . . . . . . 8 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
11 uniimaprimaeqfv 48737 . . . . . . . . . 10 ((𝐹 Fn 𝐴 ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1211adantlr 728 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1312eqcomd 2769 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
146, 10, 13rspcedvd 3582 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
15 eqeq1 2767 . . . . . . . . 9 (𝑦 = (𝐹‘𝑎) → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1615eqcoms 2771 . . . . . . . 8 ((𝐹‘𝑎) = 𝑦 → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1716rexbidv 3190 . . . . . . 7 ((𝐹‘𝑎) = 𝑦 → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) ↔ ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1814, 17syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ((𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
1918rexlimdva 3167 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
208eqcomd 2769 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = ∪ (𝐹 “ 𝑝))
2113, 20sylan9eq 2818 . . . . . . . . . 10 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
2221ex 418 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
2322reximdva 3179 . . . . . . . 8 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
241elsetpreimafv 48740 . . . . . . . . 9 (𝑝 ∈ 𝑃 → ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
25 fveq2 6916 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹‘𝑎) = (𝐹‘𝑥))
2625sneqd 4596 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹‘𝑎)} = {(𝐹‘𝑥)})
2726imaeq2d 6070 . . . . . . . . . . 11 (𝑎 = 𝑥 → (◡𝐹 “ {(𝐹‘𝑎)}) = (◡𝐹 “ {(𝐹‘𝑥)}))
2827eqeq2d 2774 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)})))
2928cbvrexvw 3245 . . . . . . . . 9 (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
3024, 29sylibr 237 . . . . . . . 8 (𝑝 ∈ 𝑃 → ∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}))
3123, 30impel 515 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
32 eqeq2 2775 . . . . . . . 8 (𝑦 = ∪ (𝐹 “ 𝑝) → ((𝐹‘𝑎) = 𝑦 ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3332rexbidv 3190 . . . . . . 7 (𝑦 = ∪ (𝐹 “ 𝑝) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3431, 33syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → (𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3534rexlimdva 3167 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3619, 35impbid 215 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
3736abbidv 2829 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
38 fnfun 6669 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6672 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 3972 . . . . . . 7 (dom 𝐹 = 𝐴 → 𝐴 ⊆ dom 𝐹)
4139, 40syl 18 . . . . . 6 (𝐹 Fn 𝐴 → 𝐴 ⊆ dom 𝐹)
4238, 41jca 521 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
4342adantr 486 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
44 dfimafn 6978 . . . 4 ((Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
4543, 44syl 18 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
462rnmpt 5951 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
4837, 45, 473eqtr4rd 2809 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = (𝐹 “ 𝐴))
49 dffo2 6830 . 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 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090   ⊆ wss 3900  {csn 4588  ∪ cuni 4872   ↦ cmpt 5192  ◡ccnv 5657  dom cdm 5658  ran crn 5659   “ cima 5661  Fun wfun 6560   Fn wfn 6561  ⟶wf 6562  ⟶ontowfo 6564  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574
This theorem is used by:  imasetpreimafvbij  48761
  Copyright terms: Public domain W3C validator