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 44857
Description: Lemma for imasetpreimafvbij 44858: 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 44853 . . 3 (𝐹 Fn 𝐴𝐻:𝑃⟶(𝐹𝐴))
43adantr 481 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃⟶(𝐹𝐴))
51preimafvelsetpreimafv 44840 . . . . . . . . 9 ((𝐹 Fn 𝐴𝐴𝑉𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
653expa 1117 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
7 imaeq2 5965 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
87unieqd 4853 . . . . . . . . . 10 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
98eqeq2d 2749 . . . . . . . . 9 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
109adantl 482 . . . . . . . 8 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
11 uniimaprimaeqfv 44834 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1211adantlr 712 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1312eqcomd 2744 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
146, 10, 13rspcedvd 3563 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝))
15 eqeq1 2742 . . . . . . . . 9 (𝑦 = (𝐹𝑎) → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1615eqcoms 2746 . . . . . . . 8 ((𝐹𝑎) = 𝑦 → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1716rexbidv 3226 . . . . . . 7 ((𝐹𝑎) = 𝑦 → (∃𝑝𝑃 𝑦 = (𝐹𝑝) ↔ ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝)))
1814, 17syl5ibrcom 246 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ((𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
1918rexlimdva 3213 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
208eqcomd 2744 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑝))
2113, 20sylan9eq 2798 . . . . . . . . . 10 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → (𝐹𝑎) = (𝐹𝑝))
2221ex 413 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑎) = (𝐹𝑝)))
2322reximdva 3203 . . . . . . . 8 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
241elsetpreimafv 44837 . . . . . . . . 9 (𝑝𝑃 → ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
25 fveq2 6774 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹𝑎) = (𝐹𝑥))
2625sneqd 4573 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹𝑎)} = {(𝐹𝑥)})
2726imaeq2d 5969 . . . . . . . . . . 11 (𝑎 = 𝑥 → (𝐹 “ {(𝐹𝑎)}) = (𝐹 “ {(𝐹𝑥)}))
2827eqeq2d 2749 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ 𝑝 = (𝐹 “ {(𝐹𝑥)})))
2928cbvrexvw 3384 . . . . . . . . 9 (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
3024, 29sylibr 233 . . . . . . . 8 (𝑝𝑃 → ∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}))
3123, 30impel 506 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝))
32 eqeq2 2750 . . . . . . . 8 (𝑦 = (𝐹𝑝) → ((𝐹𝑎) = 𝑦 ↔ (𝐹𝑎) = (𝐹𝑝)))
3332rexbidv 3226 . . . . . . 7 (𝑦 = (𝐹𝑝) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
3431, 33syl5ibrcom 246 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → (𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3534rexlimdva 3213 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑝𝑃 𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3619, 35impbid 211 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
3736abbidv 2807 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
38 fnfun 6533 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6536 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 3978 . . . . . . 7 (dom 𝐹 = 𝐴𝐴 ⊆ dom 𝐹)
4139, 40syl 17 . . . . . 6 (𝐹 Fn 𝐴𝐴 ⊆ dom 𝐹)
4238, 41jca 512 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹𝐴 ⊆ dom 𝐹))
4342adantr 481 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (Fun 𝐹𝐴 ⊆ dom 𝐹))
44 dfimafn 6832 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
4543, 44syl 17 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
462rnmpt 5864 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
4837, 45, 473eqtr4rd 2789 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = (𝐹𝐴))
49 dffo2 6692 . 2 (𝐻:𝑃onto→(𝐹𝐴) ↔ (𝐻:𝑃⟶(𝐹𝐴) ∧ ran 𝐻 = (𝐹𝐴)))
504, 48, 49sylanbrc 583 1 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃onto→(𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  {cab 2715  wrex 3065  wss 3887  {csn 4561   cuni 4839  cmpt 5157  ccnv 5588  dom cdm 5589  ran crn 5590  cima 5592  Fun wfun 6427   Fn wfn 6428  wf 6429  ontowfo 6431  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441
This theorem is referenced by:  imasetpreimafvbij  44858
  Copyright terms: Public domain W3C validator