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 33837
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 744 . . . . . 6 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺𝐹) = (𝐻𝐹))
21fveq1d 6334 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = ((𝐻𝐹)‘𝑦))
3 simpl1 1226 . . . . . . 7 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴onto𝐵)
4 fof 6256 . . . . . . 7 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
53, 4syl 17 . . . . . 6 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴𝐵)
6 fvco3 6417 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
75, 6sylan 561 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
8 fvco3 6417 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
95, 8sylan 561 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
102, 7, 93eqtr3d 2812 . . . 4 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
1110ralrimiva 3114 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
12 fveq2 6332 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐺‘(𝐹𝑦)) = (𝐺𝑥))
13 fveq2 6332 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐻‘(𝐹𝑦)) = (𝐻𝑥))
1412, 13eqeq12d 2785 . . . . 5 ((𝐹𝑦) = 𝑥 → ((𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ (𝐺𝑥) = (𝐻𝑥)))
1514cbvfo 6686 . . . 4 (𝐹:𝐴onto𝐵 → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
163, 15syl 17 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
1711, 16mpbid 222 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥))
18 eqfnfv 6454 . . . 4 ((𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
19183adant1 1123 . . 3 ((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2019adantr 466 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2117, 20mpbird 247 1 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐺 = 𝐻)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  w3a 1070   = wceq 1630  wcel 2144  wral 3060  ccom 5253   Fn wfn 6026  wf 6027  ontowfo 6029  cfv 6031
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-8 2146  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-sep 4912  ax-nul 4920  ax-pow 4971  ax-pr 5034
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3an 1072  df-tru 1633  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-mo 2622  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ne 2943  df-ral 3065  df-rex 3066  df-rab 3069  df-v 3351  df-sbc 3586  df-csb 3681  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-nul 4062  df-if 4224  df-sn 4315  df-pr 4317  df-op 4321  df-uni 4573  df-br 4785  df-opab 4845  df-mpt 4862  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-fo 6037  df-fv 6039
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator