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

Theorem fcofo 7297
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 1154 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) → 𝐹:𝐴⟶𝐵)
2 ffvelcdm 7082 . . . . 5 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
323ad2antl2 1205 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
4 simpl3 1212 . . . . . 6 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝐹 ∘ 𝑆) = ( I ↾ 𝐵))
54fveq1d 6888 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (( I ↾ 𝐵)‘𝑦))
6 fvco3 6986 . . . . . 6 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
763ad2antl2 1205 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
8 fvresi 7179 . . . . . 6 (𝑦 ∈ 𝐵 → (( I ↾ 𝐵)‘𝑦) = 𝑦)
98adantl 487 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (( I ↾ 𝐵)‘𝑦) = 𝑦)
105, 7, 93eqtr3rd 2804 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → 𝑦 = (𝐹‘(𝑆‘𝑦)))
11 fveq2 6886 . . . . 5 (𝑥 = (𝑆‘𝑦) → (𝐹‘𝑥) = (𝐹‘(𝑆‘𝑦)))
1211rspceeqv 3598 . . . 4 (((𝑆‘𝑦) ∈ 𝐴 ∧ 𝑦 = (𝐹‘(𝑆‘𝑦))) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
133, 10, 12syl2anc 596 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
1413ralrimiva 3154 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
15 dffo3 7103 . 2 (𝐹:𝐴–onto→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥)))
161, 14, 15sylanbrc 595 1 ((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) → 𝐹:𝐴–onto→𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   I cid 5544   ↾ cres 5652   ∘ ccom 5654  ⟶wf 6535  –onto→wfo 6537  ‘cfv 6539
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fo 6545  df-fv 6547
This theorem is used by:  fcof1od  7303  smndex2dnrinv  19120  cofidf2a  50327  cofidf1a  50328  cofidf1  50331
  Copyright terms: Public domain W3C validator