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 44745
Description: Lemma for imasetpreimafvbij 44746: 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 44741 . . 3 (𝐹 Fn 𝐴𝐻:𝑃⟶(𝐹𝐴))
43adantr 480 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃⟶(𝐹𝐴))
51preimafvelsetpreimafv 44728 . . . . . . . . 9 ((𝐹 Fn 𝐴𝐴𝑉𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
653expa 1116 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
7 imaeq2 5954 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
87unieqd 4850 . . . . . . . . . 10 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
98eqeq2d 2749 . . . . . . . . 9 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
109adantl 481 . . . . . . . 8 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
11 uniimaprimaeqfv 44722 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1211adantlr 711 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1312eqcomd 2744 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
146, 10, 13rspcedvd 3555 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝))
15 eqeq1 2742 . . . . . . . . 9 (𝑦 = (𝐹𝑎) → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1615eqcoms 2746 . . . . . . . 8 ((𝐹𝑎) = 𝑦 → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1716rexbidv 3225 . . . . . . 7 ((𝐹𝑎) = 𝑦 → (∃𝑝𝑃 𝑦 = (𝐹𝑝) ↔ ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝)))
1814, 17syl5ibrcom 246 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ((𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
1918rexlimdva 3212 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
208eqcomd 2744 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑝))
2113, 20sylan9eq 2799 . . . . . . . . . 10 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → (𝐹𝑎) = (𝐹𝑝))
2221ex 412 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑎) = (𝐹𝑝)))
2322reximdva 3202 . . . . . . . 8 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
241elsetpreimafv 44725 . . . . . . . . 9 (𝑝𝑃 → ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
25 fveq2 6756 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹𝑎) = (𝐹𝑥))
2625sneqd 4570 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹𝑎)} = {(𝐹𝑥)})
2726imaeq2d 5958 . . . . . . . . . . 11 (𝑎 = 𝑥 → (𝐹 “ {(𝐹𝑎)}) = (𝐹 “ {(𝐹𝑥)}))
2827eqeq2d 2749 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ 𝑝 = (𝐹 “ {(𝐹𝑥)})))
2928cbvrexvw 3373 . . . . . . . . 9 (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
3024, 29sylibr 233 . . . . . . . 8 (𝑝𝑃 → ∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}))
3123, 30impel 505 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝))
32 eqeq2 2750 . . . . . . . 8 (𝑦 = (𝐹𝑝) → ((𝐹𝑎) = 𝑦 ↔ (𝐹𝑎) = (𝐹𝑝)))
3332rexbidv 3225 . . . . . . 7 (𝑦 = (𝐹𝑝) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
3431, 33syl5ibrcom 246 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → (𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3534rexlimdva 3212 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑝𝑃 𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3619, 35impbid 211 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
3736abbidv 2808 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
38 fnfun 6517 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6520 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 3974 . . . . . . 7 (dom 𝐹 = 𝐴𝐴 ⊆ dom 𝐹)
4139, 40syl 17 . . . . . 6 (𝐹 Fn 𝐴𝐴 ⊆ dom 𝐹)
4238, 41jca 511 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹𝐴 ⊆ dom 𝐹))
4342adantr 480 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (Fun 𝐹𝐴 ⊆ dom 𝐹))
44 dfimafn 6814 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
4543, 44syl 17 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
462rnmpt 5853 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
4837, 45, 473eqtr4rd 2789 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = (𝐹𝐴))
49 dffo2 6676 . 2 (𝐻:𝑃onto→(𝐹𝐴) ↔ (𝐻:𝑃⟶(𝐹𝐴) ∧ ran 𝐻 = (𝐹𝐴)))
504, 48, 49sylanbrc 582 1 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃onto→(𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  wrex 3064  wss 3883  {csn 4558   cuni 4836  cmpt 5153  ccnv 5579  dom cdm 5580  ran crn 5581  cima 5583  Fun wfun 6412   Fn wfn 6413  wf 6414  ontowfo 6416  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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
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-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  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-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  imasetpreimafvbij  44746
  Copyright terms: Public domain W3C validator