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

Theorem fcofo 7327
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 7113 . . . . 5 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
323ad2antl2 1205 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
4 simpl3 1212 . . . . . 6 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝐹 ∘ 𝑆) = ( I ↾ 𝐵))
54fveq1d 6918 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (( I ↾ 𝐵)‘𝑦))
6 fvco3 7016 . . . . . 6 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
763ad2antl2 1205 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
8 fvresi 7209 . . . . . 6 (𝑦 ∈ 𝐵 → (( I ↾ 𝐵)‘𝑦) = 𝑦)
98adantl 487 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (( I ↾ 𝐵)‘𝑦) = 𝑦)
105, 7, 93eqtr3rd 2807 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → 𝑦 = (𝐹‘(𝑆‘𝑦)))
11 fveq2 6916 . . . . 5 (𝑥 = (𝑆‘𝑦) → (𝐹‘𝑥) = (𝐹‘(𝑆‘𝑦)))
1211rspceeqv 3602 . . . 4 (((𝑆‘𝑦) ∈ 𝐴 ∧ 𝑦 = (𝐹‘(𝑆‘𝑦))) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
133, 10, 12syl2anc 596 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
1413ralrimiva 3158 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
15 dffo3 7134 . 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 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   I cid 5552   ↾ cres 5660   ∘ ccom 5662  ⟶wf 6562  ⟶ontowfo 6564  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fo 6572  df-fv 6574
This theorem is used by:  fcof1od  7333  smndex2dnrinv  19164  cofidf2a  50564  cofidf1a  50565  cofidf1  50568
  Copyright terms: Public domain W3C validator