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 38621
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 781 . . . . . 6 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹))
21fveq1d 6879 . . . . 5 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = ((𝐻 ∘ 𝐹)‘𝑦))
3 simpl1 1210 . . . . . . 7 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴–onto→𝐵)
4 fof 6788 . . . . . . 7 (𝐹:𝐴–onto→𝐵 → 𝐹:𝐴⟶𝐵)
53, 4syl 18 . . . . . 6 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴⟶𝐵)
6 fvco3 6977 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
75, 6sylan 592 . . . . 5 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
8 fvco3 6977 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
95, 8sylan 592 . . . . 5 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
102, 7, 93eqtr3d 2804 . . . 4 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
1110ralrimiva 3155 . . 3 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
12 fveq2 6877 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐺‘(𝐹‘𝑦)) = (𝐺‘𝑥))
13 fveq2 6877 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐻‘(𝐹‘𝑦)) = (𝐻‘𝑥))
1412, 13eqeq12d 2777 . . . . 5 ((𝐹‘𝑦) = 𝑥 → ((𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ (𝐺‘𝑥) = (𝐻‘𝑥)))
1514cbvfo 7289 . . . 4 (𝐹:𝐴–onto→𝐵 → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
163, 15syl 18 . . 3 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
1711, 16mpbid 235 . 2 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥))
18 eqfnfv 7021 . . . 4 ((𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
19183adant1 1148 . . 3 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
2019adantr 486 . 2 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → (𝐺 = 𝐻 ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
2117, 20mpbird 260 1 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐺 = 𝐻)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3077   ∘ ccom 5655   Fn wfn 6526  ⟶wf 6527  –onto→wfo 6529  ‘cfv 6531
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-sbc 3740  df-csb 3848  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 6487  df-fun 6533  df-fn 6534  df-f 6535  df-fo 6537  df-fv 6539
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator