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 43614
Description: Lemma for imasetpreimafvbij 43615: 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 43610 . . 3 (𝐹 Fn 𝐴𝐻:𝑃⟶(𝐹𝐴))
43adantr 483 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃⟶(𝐹𝐴))
51preimafvelsetpreimafv 43597 . . . . . . . . 9 ((𝐹 Fn 𝐴𝐴𝑉𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
653expa 1114 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ {(𝐹𝑎)}) ∈ 𝑃)
7 imaeq2 5925 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
87unieqd 4852 . . . . . . . . . 10 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑝) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
98eqeq2d 2832 . . . . . . . . 9 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
109adantl 484 . . . . . . . 8 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → ((𝐹𝑎) = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)}))))
11 uniimaprimaeqfv 43591 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1211adantlr 713 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑎))
1312eqcomd 2827 . . . . . . . 8 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝐹𝑎) = (𝐹 “ (𝐹 “ {(𝐹𝑎)})))
146, 10, 13rspcedvd 3626 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝))
15 eqeq1 2825 . . . . . . . . 9 (𝑦 = (𝐹𝑎) → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1615eqcoms 2829 . . . . . . . 8 ((𝐹𝑎) = 𝑦 → (𝑦 = (𝐹𝑝) ↔ (𝐹𝑎) = (𝐹𝑝)))
1716rexbidv 3297 . . . . . . 7 ((𝐹𝑎) = 𝑦 → (∃𝑝𝑃 𝑦 = (𝐹𝑝) ↔ ∃𝑝𝑃 (𝐹𝑎) = (𝐹𝑝)))
1814, 17syl5ibrcom 249 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → ((𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
1918rexlimdva 3284 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 → ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
208eqcomd 2827 . . . . . . . . . . 11 (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹 “ (𝐹 “ {(𝐹𝑎)})) = (𝐹𝑝))
2113, 20sylan9eq 2876 . . . . . . . . . 10 ((((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) ∧ 𝑝 = (𝐹 “ {(𝐹𝑎)})) → (𝐹𝑎) = (𝐹𝑝))
2221ex 415 . . . . . . . . 9 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑎𝐴) → (𝑝 = (𝐹 “ {(𝐹𝑎)}) → (𝐹𝑎) = (𝐹𝑝)))
2322reximdva 3274 . . . . . . . 8 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
241elsetpreimafv 43594 . . . . . . . . 9 (𝑝𝑃 → ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
25 fveq2 6670 . . . . . . . . . . . . 13 (𝑎 = 𝑥 → (𝐹𝑎) = (𝐹𝑥))
2625sneqd 4579 . . . . . . . . . . . 12 (𝑎 = 𝑥 → {(𝐹𝑎)} = {(𝐹𝑥)})
2726imaeq2d 5929 . . . . . . . . . . 11 (𝑎 = 𝑥 → (𝐹 “ {(𝐹𝑎)}) = (𝐹 “ {(𝐹𝑥)}))
2827eqeq2d 2832 . . . . . . . . . 10 (𝑎 = 𝑥 → (𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ 𝑝 = (𝐹 “ {(𝐹𝑥)})))
2928cbvrexvw 3450 . . . . . . . . 9 (∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}) ↔ ∃𝑥𝐴 𝑝 = (𝐹 “ {(𝐹𝑥)}))
3024, 29sylibr 236 . . . . . . . 8 (𝑝𝑃 → ∃𝑎𝐴 𝑝 = (𝐹 “ {(𝐹𝑎)}))
3123, 30impel 508 . . . . . . 7 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝))
32 eqeq2 2833 . . . . . . . 8 (𝑦 = (𝐹𝑝) → ((𝐹𝑎) = 𝑦 ↔ (𝐹𝑎) = (𝐹𝑝)))
3332rexbidv 3297 . . . . . . 7 (𝑦 = (𝐹𝑝) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑎𝐴 (𝐹𝑎) = (𝐹𝑝)))
3431, 33syl5ibrcom 249 . . . . . 6 (((𝐹 Fn 𝐴𝐴𝑉) ∧ 𝑝𝑃) → (𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3534rexlimdva 3284 . . . . 5 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑝𝑃 𝑦 = (𝐹𝑝) → ∃𝑎𝐴 (𝐹𝑎) = 𝑦))
3619, 35impbid 214 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (∃𝑎𝐴 (𝐹𝑎) = 𝑦 ↔ ∃𝑝𝑃 𝑦 = (𝐹𝑝)))
3736abbidv 2885 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦} = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
38 fnfun 6453 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
39 fndm 6455 . . . . . . 7 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
40 eqimss2 4024 . . . . . . 7 (dom 𝐹 = 𝐴𝐴 ⊆ dom 𝐹)
4139, 40syl 17 . . . . . 6 (𝐹 Fn 𝐴𝐴 ⊆ dom 𝐹)
4238, 41jca 514 . . . . 5 (𝐹 Fn 𝐴 → (Fun 𝐹𝐴 ⊆ dom 𝐹))
4342adantr 483 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → (Fun 𝐹𝐴 ⊆ dom 𝐹))
44 dfimafn 6728 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
4543, 44syl 17 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → (𝐹𝐴) = {𝑦 ∣ ∃𝑎𝐴 (𝐹𝑎) = 𝑦})
462rnmpt 5827 . . . 4 ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)}
4746a1i 11 . . 3 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = {𝑦 ∣ ∃𝑝𝑃 𝑦 = (𝐹𝑝)})
4837, 45, 473eqtr4rd 2867 . 2 ((𝐹 Fn 𝐴𝐴𝑉) → ran 𝐻 = (𝐹𝐴))
49 dffo2 6594 . 2 (𝐻:𝑃onto→(𝐹𝐴) ↔ (𝐻:𝑃⟶(𝐹𝐴) ∧ ran 𝐻 = (𝐹𝐴)))
504, 48, 49sylanbrc 585 1 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐻:𝑃onto→(𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  {cab 2799  wrex 3139  wss 3936  {csn 4567   cuni 4838  cmpt 5146  ccnv 5554  dom cdm 5555  ran crn 5556  cima 5558  Fun wfun 6349   Fn wfn 6350  wf 6351  ontowfo 6353  cfv 6355
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363
This theorem is referenced by:  imasetpreimafvbij  43615
  Copyright terms: Public domain W3C validator