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 38947
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 6928 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = ((𝐻 ∘ 𝐹)‘𝑦))
3 simpl1 1212 . . . . . . 7 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴⟶onto𝐵)
4 fof 6836 . . . . . . 7 (𝐹:𝐴⟶onto𝐵 → 𝐹:𝐴⟶𝐵)
53, 4syl 18 . . . . . 6 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → 𝐹:𝐴⟶𝐵)
6 fvco3 7026 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
75, 6sylan 592 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐺 ∘ 𝐹)‘𝑦) = (𝐺‘(𝐹‘𝑦)))
8 fvco3 7026 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
95, 8sylan 592 . . . . 5 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → ((𝐻 ∘ 𝐹)‘𝑦) = (𝐻‘(𝐹‘𝑦)))
102, 7, 93eqtr3d 2812 . . . 4 ((((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) ∧ 𝑦 ∈ 𝐴) → (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
1110ralrimiva 3164 . . 3 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)))
12 fveq2 6926 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐺‘(𝐹‘𝑦)) = (𝐺‘𝑥))
13 fveq2 6926 . . . . . 6 ((𝐹‘𝑦) = 𝑥 → (𝐻‘(𝐹‘𝑦)) = (𝐻‘𝑥))
1412, 13eqeq12d 2785 . . . . 5 ((𝐹‘𝑦) = 𝑥 → ((𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ (𝐺‘𝑥) = (𝐻‘𝑥)))
1514cbvfo 7338 . . . 4 (𝐹:𝐴⟶onto𝐵 → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
163, 15syl 18 . . 3 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → (∀𝑦 ∈ 𝐴 (𝐺‘(𝐹‘𝑦)) = (𝐻‘(𝐹‘𝑦)) ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
1711, 16mpbid 235 . 2 (((𝐹:𝐴⟶onto𝐵 ∧ 𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) ∧ (𝐺 ∘ 𝐹) = (𝐻 ∘ 𝐹)) → ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥))
18 eqfnfv 7070 . . . 4 ((𝐺 Fn 𝐵 ∧ 𝐻 Fn 𝐵) → (𝐺 = 𝐻 ↔ ∀𝑥 ∈ 𝐵 (𝐺‘𝑥) = (𝐻‘𝑥)))
19183adant1 1149 . . 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 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086   ∘ ccom 5665   Fn wfn 6568  ⟶wf 6569  ⟶ontowfo 6571  ‘cfv 6573
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fo 6579  df-fv 6581
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator