Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cocanfo Structured version   Visualization version   GIF version

Theorem cocanfo 33819
Description: Cancellation of a surjective function from the right side of a composition. (Contributed by Jeff Madsen, 1-Jun-2011.) (Proof shortened by Mario Carneiro, 27-Dec-2014.)
Assertion
Ref Expression
cocanfo (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐺 = 𝐻)

Proof of Theorem cocanfo
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simplr 776 . . . . . 6 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺𝐹) = (𝐻𝐹))
21fveq1d 6406 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = ((𝐻𝐹)‘𝑦))
3 simpl1 1235 . . . . . . 7 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴onto𝐵)
4 fof 6327 . . . . . . 7 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
53, 4syl 17 . . . . . 6 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴𝐵)
6 fvco3 6492 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
75, 6sylan 571 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
8 fvco3 6492 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
95, 8sylan 571 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
102, 7, 93eqtr3d 2848 . . . 4 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
1110ralrimiva 3154 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
12 fveq2 6404 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐺‘(𝐹𝑦)) = (𝐺𝑥))
13 fveq2 6404 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐻‘(𝐹𝑦)) = (𝐻𝑥))
1412, 13eqeq12d 2821 . . . . 5 ((𝐹𝑦) = 𝑥 → ((𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ (𝐺𝑥) = (𝐻𝑥)))
1514cbvfo 6764 . . . 4 (𝐹:𝐴onto𝐵 → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
163, 15syl 17 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
1711, 16mpbid 223 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥))
18 eqfnfv 6529 . . . 4 ((𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
19183adant1 1153 . . 3 ((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2019adantr 468 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2117, 20mpbird 248 1 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐺 = 𝐻)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  w3a 1100   = wceq 1637  wcel 2156  wral 3096  ccom 5315   Fn wfn 6092  wf 6093  ontowfo 6095  cfv 6097
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-8 2158  ax-9 2165  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420  ax-ext 2784  ax-sep 4975  ax-nul 4983  ax-pow 5035  ax-pr 5096
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061  df-eu 2634  df-mo 2635  df-clab 2793  df-cleq 2799  df-clel 2802  df-nfc 2937  df-ne 2979  df-ral 3101  df-rex 3102  df-rab 3105  df-v 3393  df-sbc 3634  df-csb 3729  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4117  df-if 4280  df-sn 4371  df-pr 4373  df-op 4377  df-uni 4631  df-br 4845  df-opab 4907  df-mpt 4924  df-id 5219  df-xp 5317  df-rel 5318  df-cnv 5319  df-co 5320  df-dm 5321  df-rn 5322  df-res 5323  df-ima 5324  df-iota 6060  df-fun 6099  df-fn 6100  df-f 6101  df-fo 6103  df-fv 6105
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator