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 38845
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 6910 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = ((𝐻 ∘ 𝐹)‘𝑦))
3 simpl1 1210 . . . . . . 7 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴⟶onto𝐵)
4 fof 6818 . . . . . . 7 (𝐹:𝐴⟶onto𝐵 → 𝐹:𝐴⟶𝐵)
53, 4syl 18 . . . . . 6 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴⟶𝐵)
6 fvco3 7008 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
75, 6sylan 592 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
8 fvco3 7008 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
95, 8sylan 592 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
102, 7, 93eqtr3d 2806 . . . 4 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
1110ralrimiva 3158 . . 3 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
12 fveq2 6908 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐺‘(𝐹‘𝑦)) = (𝐺‘𝑥))
13 fveq2 6908 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐻‘(𝐹‘𝑦)) = (𝐻‘𝑥))
1412, 13eqeq12d 2779 . . . . 5 ((𝐹‘𝑦) = 𝑥 → ((𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ (𝐺‘𝑥) = (𝐻‘𝑥)))
1514cbvfo 7320 . . . 4 (𝐹:𝐴⟶onto𝐵 → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
163, 15syl 18 . . 3 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
1711, 16mpbid 235 . 2 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥))
18 eqfnfv 7052 . . . 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 2147  ∀wral 3080   ∘ ccom 5659   Fn wfn 6553  ⟶wf 6554  ⟶ontowfo 6556  ‘cfv 6558
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fo 6564  df-fv 6566
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator