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

Theorem domssex2 8281
 Description: A corollary of disjenex 8279. 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 6258 . . . . 5 (𝐹:𝐴1-1𝐵𝐹:𝐴𝐵)
2 fex2 7282 . . . . 5 ((𝐹:𝐴𝐵𝐴𝑉𝐵𝑊) → 𝐹 ∈ V)
31, 2syl3an1 1167 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → 𝐹 ∈ V)
4 f1stres 7353 . . . . . 6 (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})):((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})⟶(𝐵 ∖ ran 𝐹)
54a1i 11 . . . . 5 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})):((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})⟶(𝐵 ∖ ran 𝐹))
6 difexg 4956 . . . . . . 7 (𝐵𝑊 → (𝐵 ∖ ran 𝐹) ∈ V)
763ad2ant3 1130 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐵 ∖ ran 𝐹) ∈ V)
8 snex 5053 . . . . . 6 {𝒫 ran 𝐴} ∈ V
9 xpexg 7121 . . . . . 6 (((𝐵 ∖ ran 𝐹) ∈ V ∧ {𝒫 ran 𝐴} ∈ V) → ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V)
107, 8, 9sylancl 697 . . . . 5 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V)
11 fex2 7282 . . . . 5 (((1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})):((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})⟶(𝐵 ∖ ran 𝐹) ∧ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}) ∈ V ∧ (𝐵 ∖ ran 𝐹) ∈ V) → (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V)
125, 10, 7, 11syl3anc 1477 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V)
13 unexg 7120 . . . 4 ((𝐹 ∈ V ∧ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})) ∈ V) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
143, 12, 13syl2anc 696 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
15 cnvexg 7273 . . 3 ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
1614, 15syl 17 . 2 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V)
17 eqid 2756 . . . . . . 7 (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴})))
1817domss2 8280 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ 𝐴 ⊆ ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
1918simp1d 1137 . . . . 5 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
20 f1of1 6293 . . . . 5 ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1-onto→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
2119, 20syl 17 . . . 4 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))))
22 ssv 3762 . . . 4 ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ⊆ V
23 f1ss 6263 . . . 4 (((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∧ ran (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ⊆ V) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V)
2421, 22, 23sylancl 697 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V)
2518simp3d 1139 . . 3 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴))
2624, 25jca 555 . 2 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
27 f1eq1 6253 . . . 4 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝑔:𝐵1-1→V ↔ (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V))
28 coeq1 5431 . . . . 5 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → (𝑔𝐹) = ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹))
2928eqeq1d 2758 . . . 4 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → ((𝑔𝐹) = ( I ↾ 𝐴) ↔ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)))
3027, 29anbi12d 749 . . 3 (𝑔 = (𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) → ((𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴)) ↔ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴))))
3130spcegv 3430 . 2 ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∈ V → (((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))):𝐵1-1→V ∧ ((𝐹 ∪ (1st ↾ ((𝐵 ∖ ran 𝐹) × {𝒫 ran 𝐴}))) ∘ 𝐹) = ( I ↾ 𝐴)) → ∃𝑔(𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴))))
3216, 26, 31sylc 65 1 ((𝐹:𝐴1-1𝐵𝐴𝑉𝐵𝑊) → ∃𝑔(𝑔:𝐵1-1→V ∧ (𝑔𝐹) = ( I ↾ 𝐴)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   ∧ w3a 1072   = wceq 1628  ∃wex 1849   ∈ wcel 2135  Vcvv 3336   ∖ cdif 3708   ∪ cun 3709   ⊆ wss 3711  𝒫 cpw 4298  {csn 4317  ∪ cuni 4584   I cid 5169   × cxp 5260  ◡ccnv 5261  ran crn 5263   ↾ cres 5264   ∘ ccom 5266  ⟶wf 6041  –1-1→wf1 6042  –1-1-onto→wf1o 6044  1st c1st 7327 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1867  ax-4 1882  ax-5 1984  ax-6 2050  ax-7 2086  ax-8 2137  ax-9 2144  ax-10 2164  ax-11 2179  ax-12 2192  ax-13 2387  ax-ext 2736  ax-sep 4929  ax-nul 4937  ax-pow 4988  ax-pr 5051  ax-un 7110 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1631  df-ex 1850  df-nf 1855  df-sb 2043  df-eu 2607  df-mo 2608  df-clab 2743  df-cleq 2749  df-clel 2752  df-nfc 2887  df-ne 2929  df-nel 3032  df-ral 3051  df-rex 3052  df-rab 3055  df-v 3338  df-sbc 3573  df-csb 3671  df-dif 3714  df-un 3716  df-in 3718  df-ss 3725  df-nul 4055  df-if 4227  df-pw 4300  df-sn 4318  df-pr 4320  df-op 4324  df-uni 4585  df-int 4624  df-iun 4670  df-br 4801  df-opab 4861  df-mpt 4878  df-id 5170  df-xp 5268  df-rel 5269  df-cnv 5270  df-co 5271  df-dm 5272  df-rn 5273  df-res 5274  df-ima 5275  df-iota 6008  df-fun 6047  df-fn 6048  df-f 6049  df-f1 6050  df-fo 6051  df-f1o 6052  df-fv 6053  df-1st 7329  df-2nd 7330  df-en 8118 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator