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 48917
Description: Lemma for imasetpreimafvbij 48918: 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 48913 . . 3 (𝐹 Fn 𝐴 → 𝐻:𝑃⟶(𝐹 “ 𝐴))
43adantr 486 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐻:𝑃⟶(𝐹 “ 𝐴))
51preimafvelsetpreimafv 48900 . . . . . . . . 9 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉 ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
653expa 1137 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (◡𝐹 “ {(𝐹‘𝑎)}) ∈ 𝑃)
7 imaeq2 6075 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹 “ 𝑝) = (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
87unieqd 4893 . . . . . . . . . 10 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ 𝑝) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
98eqeq2d 2785 . . . . . . . . 9 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
109adantl 487 . . . . . . . 8 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → ((𝐹‘𝑎) = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)}))))
11 uniimaprimaeqfv 48894 . . . . . . . . . 10 ((𝐹 Fn 𝐴 ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1211adantlr 728 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = (𝐹‘𝑎))
1312eqcomd 2780 . . . . . . . 8 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝐹‘𝑎) = ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})))
146, 10, 13rspcedvd 3589 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
15 eqeq1 2778 . . . . . . . . 9 (𝑦 = (𝐹‘𝑎) → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1615eqcoms 2782 . . . . . . . 8 ((𝐹‘𝑎) = 𝑦 → (𝑦 = ∪ (𝐹 “ 𝑝) ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1716rexbidv 3201 . . . . . . 7 ((𝐹‘𝑎) = 𝑦 → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) ↔ ∃𝑝 ∈ 𝑃 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
1814, 17syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → ((𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
1918rexlimdva 3178 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 → ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
208eqcomd 2780 . . . . . . . . . . 11 (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∪ (𝐹 “ (◡𝐹 “ {(𝐹‘𝑎)})) = ∪ (𝐹 “ 𝑝))
2113, 20sylan9eq 2829 . . . . . . . . . 10 ((((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) ∧ 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)})) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
2221ex 418 . . . . . . . . 9 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑎 ∈ 𝐴) → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
2322reximdva 3190 . . . . . . . 8 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
241elsetpreimafv 48897 . . . . . . . . 9 (𝑝 ∈ 𝑃 → ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
25 fveq2 6934 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹‘𝑎) = (𝐹‘𝑥))
2625sneqd 4603 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹‘𝑎)} = {(𝐹‘𝑥)})
2726imaeq2d 6079 . . . . . . . . . . 11 (𝑎 = 𝑥 → (◡𝐹 “ {(𝐹‘𝑎)}) = (◡𝐹 “ {(𝐹‘𝑥)}))
2827eqeq2d 2785 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)})))
2928cbvrexvw 3253 . . . . . . . . 9 (∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}) ↔ ∃𝑥 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑥)}))
3024, 29sylibr 237 . . . . . . . 8 (𝑝 ∈ 𝑃 → ∃𝑎 ∈ 𝐴 𝑝 = (◡𝐹 “ {(𝐹‘𝑎)}))
3123, 30impel 515 . . . . . . 7 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝))
32 eqeq2 2786 . . . . . . . 8 (𝑦 = ∪ (𝐹 “ 𝑝) → ((𝐹‘𝑎) = 𝑦 ↔ (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3332rexbidv 3201 . . . . . . 7 (𝑦 = ∪ (𝐹 “ 𝑝) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = ∪ (𝐹 “ 𝑝)))
3431, 33syl5ibrcom 250 . . . . . 6 (((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) ∧ 𝑝 ∈ 𝑃) → (𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3534rexlimdva 3178 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝) → ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦))
3619, 35impbid 215 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦 ↔ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)))
3736abbidv 2840 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
38 fnfun 6685 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6688 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 3979 . . . . . . 7 (dom 𝐹 = 𝐴 → 𝐴 ⊆ dom 𝐹)
4139, 40syl 18 . . . . . 6 (𝐹 Fn 𝐴 → 𝐴 ⊆ dom 𝐹)
4238, 41jca 521 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
4342adantr 486 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹))
44 dfimafn 6996 . . . 4 ((Fun 𝐹 ∧ 𝐴 ⊆ dom 𝐹) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
4543, 44syl 18 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → (𝐹 “ 𝐴) = {𝑦 ∣ ∃𝑎 ∈ 𝐴 (𝐹‘𝑎) = 𝑦})
462rnmpt 5959 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝 ∈ 𝑃 𝑦 = ∪ (𝐹 “ 𝑝)})
4837, 45, 473eqtr4rd 2820 . 2 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → ran 𝐻 = (𝐹 “ 𝐴))
49 dffo2 6848 . 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 1572   ∈ wcel 2156  {cab 2752  ∃wrex 3101   ⊆ wss 3907  {csn 4595  ∪ cuni 4880   ↦ cmpt 5200  ◡ccnv 5665  dom cdm 5666  ran crn 5667   “ cima 5669  Fun wfun 6573   Fn wfn 6574  ⟶wf 6575  ⟶ontowfo 6577  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587
This theorem is used by:  imasetpreimafvbij  48918
  Copyright terms: Public domain W3C validator