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

Theorem fcofo 7294
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 7079 . . . . 5 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
323ad2antl2 1205 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝑆‘𝑦) ∈ 𝐴)
4 simpl3 1212 . . . . . 6 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (𝐹 ∘ 𝑆) = ( I ↾ 𝐵))
54fveq1d 6885 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (( I ↾ 𝐵)‘𝑦))
6 fvco3 6983 . . . . . 6 ((𝑆:𝐵⟶𝐴 ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
763ad2antl2 1205 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ((𝐹 ∘ 𝑆)‘𝑦) = (𝐹‘(𝑆‘𝑦)))
8 fvresi 7176 . . . . . 6 (𝑦 ∈ 𝐵 → (( I ↾ 𝐵)‘𝑦) = 𝑦)
98adantl 487 . . . . 5 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → (( I ↾ 𝐵)‘𝑦) = 𝑦)
105, 7, 93eqtr3rd 2805 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → 𝑦 = (𝐹‘(𝑆‘𝑦)))
11 fveq2 6883 . . . . 5 (𝑥 = (𝑆‘𝑦) → (𝐹‘𝑥) = (𝐹‘(𝑆‘𝑦)))
1211rspceeqv 3599 . . . 4 (((𝑆‘𝑦) ∈ 𝐴 ∧ 𝑦 = (𝐹‘(𝑆‘𝑦))) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
133, 10, 12syl2anc 596 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
1413ralrimiva 3155 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝑆:𝐵⟶𝐴 ∧ (𝐹 ∘ 𝑆) = ( I ↾ 𝐵)) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
15 dffo3 7100 . 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 2145  ∀wral 3077  ∃wrex 3087   I cid 5545   ↾ cres 5653   ∘ ccom 5655  ⟶wf 6533  –onto→wfo 6535  ‘cfv 6537
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fo 6543  df-fv 6545
This theorem is used by:  fcof1od  7300  smndex2dnrinv  19107  cofidf2a  50194  cofidf1a  50195  cofidf1  50198
  Copyright terms: Public domain W3C validator