MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rcaninv Structured version   Visualization version   GIF version

Theorem rcaninv 17423
Description: Right cancellation of an inverse of an isomorphism. (Contributed by AV, 5-Apr-2020.)
Hypotheses
Ref Expression
rcaninv.b 𝐵 = (Base‘𝐶)
rcaninv.n 𝑁 = (Inv‘𝐶)
rcaninv.c (𝜑𝐶 ∈ Cat)
rcaninv.x (𝜑𝑋𝐵)
rcaninv.y (𝜑𝑌𝐵)
rcaninv.z (𝜑𝑍𝐵)
rcaninv.f (𝜑𝐹 ∈ (𝑌(Iso‘𝐶)𝑋))
rcaninv.g (𝜑𝐺 ∈ (𝑌(Hom ‘𝐶)𝑍))
rcaninv.h (𝜑𝐻 ∈ (𝑌(Hom ‘𝐶)𝑍))
rcaninv.1 𝑅 = ((𝑌𝑁𝑋)‘𝐹)
rcaninv.o = (⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)
Assertion
Ref Expression
rcaninv (𝜑 → ((𝐺 𝑅) = (𝐻 𝑅) → 𝐺 = 𝐻))

Proof of Theorem rcaninv
StepHypRef Expression
1 rcaninv.b . . . . . 6 𝐵 = (Base‘𝐶)
2 eqid 2738 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
3 eqid 2738 . . . . . 6 (comp‘𝐶) = (comp‘𝐶)
4 rcaninv.c . . . . . 6 (𝜑𝐶 ∈ Cat)
5 rcaninv.y . . . . . 6 (𝜑𝑌𝐵)
6 rcaninv.x . . . . . 6 (𝜑𝑋𝐵)
7 eqid 2738 . . . . . . . 8 (Iso‘𝐶) = (Iso‘𝐶)
81, 2, 7, 4, 5, 6isohom 17405 . . . . . . 7 (𝜑 → (𝑌(Iso‘𝐶)𝑋) ⊆ (𝑌(Hom ‘𝐶)𝑋))
9 rcaninv.f . . . . . . 7 (𝜑𝐹 ∈ (𝑌(Iso‘𝐶)𝑋))
108, 9sseldd 3918 . . . . . 6 (𝜑𝐹 ∈ (𝑌(Hom ‘𝐶)𝑋))
111, 2, 7, 4, 6, 5isohom 17405 . . . . . . 7 (𝜑 → (𝑋(Iso‘𝐶)𝑌) ⊆ (𝑋(Hom ‘𝐶)𝑌))
12 rcaninv.n . . . . . . . . 9 𝑁 = (Inv‘𝐶)
131, 12, 4, 5, 6, 7invf 17397 . . . . . . . 8 (𝜑 → (𝑌𝑁𝑋):(𝑌(Iso‘𝐶)𝑋)⟶(𝑋(Iso‘𝐶)𝑌))
1413, 9ffvelrnd 6944 . . . . . . 7 (𝜑 → ((𝑌𝑁𝑋)‘𝐹) ∈ (𝑋(Iso‘𝐶)𝑌))
1511, 14sseldd 3918 . . . . . 6 (𝜑 → ((𝑌𝑁𝑋)‘𝐹) ∈ (𝑋(Hom ‘𝐶)𝑌))
16 rcaninv.z . . . . . 6 (𝜑𝑍𝐵)
17 rcaninv.g . . . . . 6 (𝜑𝐺 ∈ (𝑌(Hom ‘𝐶)𝑍))
181, 2, 3, 4, 5, 6, 5, 10, 15, 16, 17catass 17312 . . . . 5 (𝜑 → ((𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹))(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = (𝐺(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)))
19 eqid 2738 . . . . . . . 8 (Id‘𝐶) = (Id‘𝐶)
20 eqid 2738 . . . . . . . 8 (⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌) = (⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)
211, 7, 12, 4, 5, 6, 9, 19, 20invcoisoid 17421 . . . . . . 7 (𝜑 → (((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹) = ((Id‘𝐶)‘𝑌))
2221eqcomd 2744 . . . . . 6 (𝜑 → ((Id‘𝐶)‘𝑌) = (((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹))
2322oveq2d 7271 . . . . 5 (𝜑 → (𝐺(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)((Id‘𝐶)‘𝑌)) = (𝐺(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)))
241, 2, 19, 4, 5, 3, 16, 17catrid 17310 . . . . 5 (𝜑 → (𝐺(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)((Id‘𝐶)‘𝑌)) = 𝐺)
2518, 23, 243eqtr2rd 2785 . . . 4 (𝜑𝐺 = ((𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹))(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹))
2625adantr 480 . . 3 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → 𝐺 = ((𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹))(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹))
27 rcaninv.o . . . . . . . . 9 = (⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)
2827eqcomi 2747 . . . . . . . 8 (⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍) =
2928a1i 11 . . . . . . 7 (𝜑 → (⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍) = )
30 eqidd 2739 . . . . . . 7 (𝜑𝐺 = 𝐺)
31 rcaninv.1 . . . . . . . . 9 𝑅 = ((𝑌𝑁𝑋)‘𝐹)
3231eqcomi 2747 . . . . . . . 8 ((𝑌𝑁𝑋)‘𝐹) = 𝑅
3332a1i 11 . . . . . . 7 (𝜑 → ((𝑌𝑁𝑋)‘𝐹) = 𝑅)
3429, 30, 33oveq123d 7276 . . . . . 6 (𝜑 → (𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹)) = (𝐺 𝑅))
3534adantr 480 . . . . 5 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → (𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹)) = (𝐺 𝑅))
36 simpr 484 . . . . 5 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → (𝐺 𝑅) = (𝐻 𝑅))
3735, 36eqtrd 2778 . . . 4 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → (𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹)) = (𝐻 𝑅))
3837oveq1d 7270 . . 3 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → ((𝐺(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)((𝑌𝑁𝑋)‘𝐹))(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = ((𝐻 𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹))
3927oveqi 7268 . . . . . . 7 (𝐻 𝑅) = (𝐻(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)𝑅)
4039oveq1i 7265 . . . . . 6 ((𝐻 𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = ((𝐻(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹)
4140a1i 11 . . . . 5 (𝜑 → ((𝐻 𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = ((𝐻(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹))
4231, 15eqeltrid 2843 . . . . . . 7 (𝜑𝑅 ∈ (𝑋(Hom ‘𝐶)𝑌))
43 rcaninv.h . . . . . . 7 (𝜑𝐻 ∈ (𝑌(Hom ‘𝐶)𝑍))
441, 2, 3, 4, 5, 6, 5, 10, 42, 16, 43catass 17312 . . . . . 6 (𝜑 → ((𝐻(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(𝑅(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)))
4531oveq1i 7265 . . . . . . . 8 (𝑅(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹) = (((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)
4645oveq2i 7266 . . . . . . 7 (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(𝑅(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)) = (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹))
4746a1i 11 . . . . . 6 (𝜑 → (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(𝑅(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)) = (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)))
4821oveq2d 7271 . . . . . 6 (𝜑 → (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)(((𝑌𝑁𝑋)‘𝐹)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑌)𝐹)) = (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)((Id‘𝐶)‘𝑌)))
4944, 47, 483eqtrd 2782 . . . . 5 (𝜑 → ((𝐻(⟨𝑋, 𝑌⟩(comp‘𝐶)𝑍)𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)((Id‘𝐶)‘𝑌)))
501, 2, 19, 4, 5, 3, 16, 43catrid 17310 . . . . 5 (𝜑 → (𝐻(⟨𝑌, 𝑌⟩(comp‘𝐶)𝑍)((Id‘𝐶)‘𝑌)) = 𝐻)
5141, 49, 503eqtrd 2782 . . . 4 (𝜑 → ((𝐻 𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = 𝐻)
5251adantr 480 . . 3 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → ((𝐻 𝑅)(⟨𝑌, 𝑋⟩(comp‘𝐶)𝑍)𝐹) = 𝐻)
5326, 38, 523eqtrd 2782 . 2 ((𝜑 ∧ (𝐺 𝑅) = (𝐻 𝑅)) → 𝐺 = 𝐻)
5453ex 412 1 (𝜑 → ((𝐺 𝑅) = (𝐻 𝑅) → 𝐺 = 𝐻))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  cop 4564  cfv 6418  (class class class)co 7255  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290  Idccid 17291  Invcinv 17374  Isociso 17375
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-cat 17294  df-cid 17295  df-sect 17376  df-inv 17377  df-iso 17378
This theorem is referenced by:  initoeu2lem0  17644
  Copyright terms: Public domain W3C validator