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

Theorem fcof1 7042
 Description: An application is injective if a retraction exists. Proposition 8 of [BourbakiEns] p. E.II.18. (Contributed by FL, 11-Nov-2011.) (Revised by Mario Carneiro, 27-Dec-2014.)
Assertion
Ref Expression
fcof1 ((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) → 𝐹:𝐴1-1𝐵)

Proof of Theorem fcof1
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl 486 . 2 ((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) → 𝐹:𝐴𝐵)
2 simprr 772 . . . . . . . 8 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (𝐹𝑥) = (𝐹𝑦))
32fveq2d 6668 . . . . . . 7 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (𝑅‘(𝐹𝑥)) = (𝑅‘(𝐹𝑦)))
4 simpll 766 . . . . . . . 8 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → 𝐹:𝐴𝐵)
5 simprll 778 . . . . . . . 8 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → 𝑥𝐴)
6 fvco3 6757 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → ((𝑅𝐹)‘𝑥) = (𝑅‘(𝐹𝑥)))
74, 5, 6syl2anc 587 . . . . . . 7 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → ((𝑅𝐹)‘𝑥) = (𝑅‘(𝐹𝑥)))
8 simprlr 779 . . . . . . . 8 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → 𝑦𝐴)
9 fvco3 6757 . . . . . . . 8 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝑅𝐹)‘𝑦) = (𝑅‘(𝐹𝑦)))
104, 8, 9syl2anc 587 . . . . . . 7 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → ((𝑅𝐹)‘𝑦) = (𝑅‘(𝐹𝑦)))
113, 7, 103eqtr4d 2804 . . . . . 6 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → ((𝑅𝐹)‘𝑥) = ((𝑅𝐹)‘𝑦))
12 simplr 768 . . . . . . 7 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (𝑅𝐹) = ( I ↾ 𝐴))
1312fveq1d 6666 . . . . . 6 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → ((𝑅𝐹)‘𝑥) = (( I ↾ 𝐴)‘𝑥))
1412fveq1d 6666 . . . . . 6 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → ((𝑅𝐹)‘𝑦) = (( I ↾ 𝐴)‘𝑦))
1511, 13, 143eqtr3d 2802 . . . . 5 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (( I ↾ 𝐴)‘𝑥) = (( I ↾ 𝐴)‘𝑦))
16 fvresi 6933 . . . . . 6 (𝑥𝐴 → (( I ↾ 𝐴)‘𝑥) = 𝑥)
175, 16syl 17 . . . . 5 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (( I ↾ 𝐴)‘𝑥) = 𝑥)
18 fvresi 6933 . . . . . 6 (𝑦𝐴 → (( I ↾ 𝐴)‘𝑦) = 𝑦)
198, 18syl 17 . . . . 5 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → (( I ↾ 𝐴)‘𝑦) = 𝑦)
2015, 17, 193eqtr3d 2802 . . . 4 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ ((𝑥𝐴𝑦𝐴) ∧ (𝐹𝑥) = (𝐹𝑦))) → 𝑥 = 𝑦)
2120expr 460 . . 3 (((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) ∧ (𝑥𝐴𝑦𝐴)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
2221ralrimivva 3121 . 2 ((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) → ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
23 dff13 7012 . 2 (𝐹:𝐴1-1𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
241, 22, 23sylanbrc 586 1 ((𝐹:𝐴𝐵 ∧ (𝑅𝐹) = ( I ↾ 𝐴)) → 𝐹:𝐴1-1𝐵)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1539   ∈ wcel 2112  ∀wral 3071   I cid 5434   ↾ cres 5531   ∘ ccom 5533  ⟶wf 6337  –1-1→wf1 6338  ‘cfv 6341 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5174  ax-nul 5181  ax-pr 5303 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2902  df-ne 2953  df-ral 3076  df-rex 3077  df-rab 3080  df-v 3412  df-sbc 3700  df-dif 3864  df-un 3866  df-in 3868  df-ss 3878  df-nul 4229  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4803  df-br 5038  df-opab 5100  df-id 5435  df-xp 5535  df-rel 5536  df-cnv 5537  df-co 5538  df-dm 5539  df-rn 5540  df-res 5541  df-ima 5542  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fv 6349 This theorem is referenced by:  fcof1od  7049
 Copyright terms: Public domain W3C validator