ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fcofo GIF version

Theorem fcofo 5424
Description: An application is surjective if a section exists. Proposition 8 of [BourbakiEns] p. E.II.18. (Contributed by FL, 17-Nov-2011.) (Proof shortened by Mario Carneiro, 27-Dec-2014.)
Assertion
Ref Expression
fcofo ((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) → 𝐹:𝐴onto𝐵)

Proof of Theorem fcofo
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 904 . 2 ((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) → 𝐹:𝐴𝐵)
2 ffvelrn 5300 . . . . 5 ((𝑆:𝐵𝐴𝑦𝐵) → (𝑆𝑦) ∈ 𝐴)
323ad2antl2 1067 . . . 4 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → (𝑆𝑦) ∈ 𝐴)
4 simpl3 909 . . . . . 6 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → (𝐹𝑆) = ( I ↾ 𝐵))
54fveq1d 5180 . . . . 5 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → ((𝐹𝑆)‘𝑦) = (( I ↾ 𝐵)‘𝑦))
6 fvco3 5244 . . . . . 6 ((𝑆:𝐵𝐴𝑦𝐵) → ((𝐹𝑆)‘𝑦) = (𝐹‘(𝑆𝑦)))
763ad2antl2 1067 . . . . 5 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → ((𝐹𝑆)‘𝑦) = (𝐹‘(𝑆𝑦)))
8 fvresi 5356 . . . . . 6 (𝑦𝐵 → (( I ↾ 𝐵)‘𝑦) = 𝑦)
98adantl 262 . . . . 5 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → (( I ↾ 𝐵)‘𝑦) = 𝑦)
105, 7, 93eqtr3rd 2081 . . . 4 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → 𝑦 = (𝐹‘(𝑆𝑦)))
11 fveq2 5178 . . . . . 6 (𝑥 = (𝑆𝑦) → (𝐹𝑥) = (𝐹‘(𝑆𝑦)))
1211eqeq2d 2051 . . . . 5 (𝑥 = (𝑆𝑦) → (𝑦 = (𝐹𝑥) ↔ 𝑦 = (𝐹‘(𝑆𝑦))))
1312rspcev 2656 . . . 4 (((𝑆𝑦) ∈ 𝐴𝑦 = (𝐹‘(𝑆𝑦))) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
143, 10, 13syl2anc 391 . . 3 (((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
1514ralrimiva 2392 . 2 ((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
16 dffo3 5314 . 2 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
171, 15, 16sylanbrc 394 1 ((𝐹:𝐴𝐵𝑆:𝐵𝐴 ∧ (𝐹𝑆) = ( I ↾ 𝐵)) → 𝐹:𝐴onto𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  w3a 885   = wceq 1243  wcel 1393  wral 2306  wrex 2307   I cid 4025  cres 4347  ccom 4349  wf 4898  ontowfo 4900  cfv 4902
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-fo 4908  df-fv 4910
This theorem is referenced by:  fcof1o  5429
  Copyright terms: Public domain W3C validator