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 35613
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 769 . . . . . 6 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺𝐹) = (𝐻𝐹))
21fveq1d 6719 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = ((𝐻𝐹)‘𝑦))
3 simpl1 1193 . . . . . . 7 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴onto𝐵)
4 fof 6633 . . . . . . 7 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
53, 4syl 17 . . . . . 6 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐹:𝐴𝐵)
6 fvco3 6810 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
75, 6sylan 583 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐺𝐹)‘𝑦) = (𝐺‘(𝐹𝑦)))
8 fvco3 6810 . . . . . 6 ((𝐹:𝐴𝐵𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
95, 8sylan 583 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → ((𝐻𝐹)‘𝑦) = (𝐻‘(𝐹𝑦)))
102, 7, 93eqtr3d 2785 . . . 4 ((((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) ∧ 𝑦𝐴) → (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
1110ralrimiva 3105 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)))
12 fveq2 6717 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐺‘(𝐹𝑦)) = (𝐺𝑥))
13 fveq2 6717 . . . . . 6 ((𝐹𝑦) = 𝑥 → (𝐻‘(𝐹𝑦)) = (𝐻𝑥))
1412, 13eqeq12d 2753 . . . . 5 ((𝐹𝑦) = 𝑥 → ((𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ (𝐺𝑥) = (𝐻𝑥)))
1514cbvfo 7099 . . . 4 (𝐹:𝐴onto𝐵 → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
163, 15syl 17 . . 3 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (∀𝑦𝐴 (𝐺‘(𝐹𝑦)) = (𝐻‘(𝐹𝑦)) ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
1711, 16mpbid 235 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥))
18 eqfnfv 6852 . . . 4 ((𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
19183adant1 1132 . . 3 ((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2019adantr 484 . 2 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → (𝐺 = 𝐻 ↔ ∀𝑥𝐵 (𝐺𝑥) = (𝐻𝑥)))
2117, 20mpbird 260 1 (((𝐹:𝐴onto𝐵𝐺 Fn 𝐵𝐻 Fn 𝐵) ∧ (𝐺𝐹) = (𝐻𝐹)) → 𝐺 = 𝐻)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  ccom 5555   Fn wfn 6375  wf 6376  ontowfo 6378  cfv 6380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fo 6386  df-fv 6388
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator