MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  domssex2 Structured version   Visualization version   GIF version

Theorem domssex2 8924
Description: A corollary of disjenex 8922. If 𝐹 is an injection from 𝐴 to 𝐵 then there is a right inverse 𝑔 of 𝐹 from 𝐵 to a superset of 𝐴. (Contributed by Mario Carneiro, 7-Feb-2015.) (Revised by Mario Carneiro, 24-Jun-2015.)
Assertion
Ref Expression
domssex2 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ∃𝑔(𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴)))
Distinct variable groups:   𝐴,𝑔   𝐵,𝑔   𝑔,𝐹
Allowed substitution hints:   𝑉(𝑔)   𝑊(𝑔)

Proof of Theorem domssex2
StepHypRef Expression
1 f1f 6670 . . . . 5 (𝐹:𝐴1-1𝐵𝐹:𝐴𝐵)
2 fex2 7780 . . . . 5 ((𝐹:𝐴𝐵𝐴𝑉𝐵𝑊) → 𝐹 ∈ V)
31, 2syl3an1 1162 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → 𝐹 ∈ V)
4 f1stres 7855 . . . . 5 (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})):((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})⟶(𝐵 ∖ ran 𝐹)
5 difexg 5251 . . . . . . 7 (𝐵𝑊 → (𝐵 ∖ ran 𝐹) ∈ V)
653ad2ant3 1134 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐵 ∖ ran 𝐹) ∈ V)
7 snex 5354 . . . . . 6 {𝒫 ran 𝐴} ∈ V
8 xpexg 7600 . . . . . 6 (((𝐵 ∖ ran 𝐹) ∈ V ∧ {𝒫 ran 𝐴} ∈ V) → ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V)
96, 7, 8sylancl 586 . . . . 5 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V)
10 fex2 7780 . . . . 5 (((1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})):((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})⟶(𝐵 ∖ ran 𝐹) ∧ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V ∧ (𝐵 ∖ ran 𝐹) ∈ V) → (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V)
114, 9, 6, 10mp3an2i 1465 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V)
12 unexg 7599 . . . 4 ((𝐹 ∈ V ∧ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
133, 11, 12syl2anc 584 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
14 cnvexg 7771 . . 3 ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
1513, 14syl 17 . 2 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
16 eqid 2738 . . . . . . 7 (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})))
1716domss2 8923 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ 𝐴 ⊆ ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
1817simp1d 1141 . . . . 5 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
19 f1of1 6715 . . . . 5 ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
2018, 19syl 17 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
21 ssv 3945 . . . 4 ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ⊆ V
22 f1ss 6676 . . . 4 (((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ⊆ V) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V)
2320, 21, 22sylancl 586 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V)
2417simp3d 1143 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴))
2523, 24jca 512 . 2 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
26 f1eq1 6665 . . 3 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝑔:𝐵1-1→V ↔ (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V))
27 coeq1 5766 . . . 4 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝑔𝐹) = ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹))
2827eqeq1d 2740 . . 3 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → ((𝑔𝐹) = ( I ↾ 𝐴) ↔ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
2926, 28anbi12d 631 . 2 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → ((𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴)) ↔ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴))))
3015, 25, 29spcedv 3537 1 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ∃𝑔(𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  Vcvv 3432  cdif 3884  cun 3885  wss 3887  𝒫 cpw 4533  {csn 4561   cuni 4839   I cid 5488   × cxp 5587  ccnv 5588  ran crn 5590  cres 5591  ccom 5593  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432  1st c1st 7829
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-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-ral 3069  df-rex 3070  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-int 4880  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  df-1st 7831  df-2nd 7832  df-en 8734
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator