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

Theorem inveq 16786
Description: If there are two inverses of a morphism, these inverses are equal. Corollary 3.11 of [Adamek] p. 28. (Contributed by AV, 10-Apr-2020.) (Revised by AV, 3-Jul-2022.)
Hypotheses
Ref Expression
inveq.b 𝐵 = (Base‘𝐶)
inveq.n 𝑁 = (Inv‘𝐶)
inveq.c (𝜑𝐶 ∈ Cat)
inveq.x (𝜑𝑋𝐵)
inveq.y (𝜑𝑌𝐵)
Assertion
Ref Expression
inveq (𝜑 → ((𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾) → 𝐺 = 𝐾))

Proof of Theorem inveq
StepHypRef Expression
1 inveq.b . . 3 𝐵 = (Base‘𝐶)
2 eqid 2825 . . 3 (Sect‘𝐶) = (Sect‘𝐶)
3 inveq.c . . . 4 (𝜑𝐶 ∈ Cat)
43adantr 474 . . 3 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝐶 ∈ Cat)
5 inveq.y . . . 4 (𝜑𝑌𝐵)
65adantr 474 . . 3 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝑌𝐵)
7 inveq.x . . . 4 (𝜑𝑋𝐵)
87adantr 474 . . 3 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝑋𝐵)
9 inveq.n . . . . . . . 8 𝑁 = (Inv‘𝐶)
101, 9, 3, 7, 5, 2isinv 16772 . . . . . . 7 (𝜑 → (𝐹(𝑋𝑁𝑌)𝐺 ↔ (𝐹(𝑋(Sect‘𝐶)𝑌)𝐺𝐺(𝑌(Sect‘𝐶)𝑋)𝐹)))
11 simpr 479 . . . . . . 7 ((𝐹(𝑋(Sect‘𝐶)𝑌)𝐺𝐺(𝑌(Sect‘𝐶)𝑋)𝐹) → 𝐺(𝑌(Sect‘𝐶)𝑋)𝐹)
1210, 11syl6bi 245 . . . . . 6 (𝜑 → (𝐹(𝑋𝑁𝑌)𝐺𝐺(𝑌(Sect‘𝐶)𝑋)𝐹))
1312com12 32 . . . . 5 (𝐹(𝑋𝑁𝑌)𝐺 → (𝜑𝐺(𝑌(Sect‘𝐶)𝑋)𝐹))
1413adantr 474 . . . 4 ((𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾) → (𝜑𝐺(𝑌(Sect‘𝐶)𝑋)𝐹))
1514impcom 398 . . 3 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝐺(𝑌(Sect‘𝐶)𝑋)𝐹)
161, 9, 3, 7, 5, 2isinv 16772 . . . . . 6 (𝜑 → (𝐹(𝑋𝑁𝑌)𝐾 ↔ (𝐹(𝑋(Sect‘𝐶)𝑌)𝐾𝐾(𝑌(Sect‘𝐶)𝑋)𝐹)))
17 simpl 476 . . . . . 6 ((𝐹(𝑋(Sect‘𝐶)𝑌)𝐾𝐾(𝑌(Sect‘𝐶)𝑋)𝐹) → 𝐹(𝑋(Sect‘𝐶)𝑌)𝐾)
1816, 17syl6bi 245 . . . . 5 (𝜑 → (𝐹(𝑋𝑁𝑌)𝐾𝐹(𝑋(Sect‘𝐶)𝑌)𝐾))
1918adantld 486 . . . 4 (𝜑 → ((𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾) → 𝐹(𝑋(Sect‘𝐶)𝑌)𝐾))
2019imp 397 . . 3 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝐹(𝑋(Sect‘𝐶)𝑌)𝐾)
211, 2, 4, 6, 8, 15, 20sectcan 16767 . 2 ((𝜑 ∧ (𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾)) → 𝐺 = 𝐾)
2221ex 403 1 (𝜑 → ((𝐹(𝑋𝑁𝑌)𝐺𝐹(𝑋𝑁𝑌)𝐾) → 𝐺 = 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 386   = wceq 1658  wcel 2166   class class class wbr 4873  cfv 6123  (class class class)co 6905  Basecbs 16222  Catccat 16677  Sectcsect 16756  Invcinv 16757
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-8 2168  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-13 2391  ax-ext 2803  ax-rep 4994  ax-sep 5005  ax-nul 5013  ax-pow 5065  ax-pr 5127  ax-un 7209
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-3an 1115  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ne 3000  df-ral 3122  df-rex 3123  df-reu 3124  df-rmo 3125  df-rab 3126  df-v 3416  df-sbc 3663  df-csb 3758  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-nul 4145  df-if 4307  df-pw 4380  df-sn 4398  df-pr 4400  df-op 4404  df-uni 4659  df-iun 4742  df-br 4874  df-opab 4936  df-mpt 4953  df-id 5250  df-xp 5348  df-rel 5349  df-cnv 5350  df-co 5351  df-dm 5352  df-rn 5353  df-res 5354  df-ima 5355  df-iota 6086  df-fun 6125  df-fn 6126  df-f 6127  df-f1 6128  df-fo 6129  df-f1o 6130  df-fv 6131  df-riota 6866  df-ov 6908  df-oprab 6909  df-mpt2 6910  df-1st 7428  df-2nd 7429  df-cat 16681  df-cid 16682  df-sect 16759  df-inv 16760
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator