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

Theorem oppccofval 16980
Description: Composition in the opposite category. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
oppcco.b 𝐵 = (Base‘𝐶)
oppcco.c · = (comp‘𝐶)
oppcco.o 𝑂 = (oppCat‘𝐶)
oppcco.x (𝜑𝑋𝐵)
oppcco.y (𝜑𝑌𝐵)
oppcco.z (𝜑𝑍𝐵)
Assertion
Ref Expression
oppccofval (𝜑 → (⟨𝑋, 𝑌⟩(comp‘𝑂)𝑍) = tpos (⟨𝑍, 𝑌· 𝑋))

Proof of Theorem oppccofval
Dummy variables 𝑧 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oppcco.x . . . . 5 (𝜑𝑋𝐵)
2 elfvex 6697 . . . . . 6 (𝑋 ∈ (Base‘𝐶) → 𝐶 ∈ V)
3 oppcco.b . . . . . 6 𝐵 = (Base‘𝐶)
42, 3eleq2s 2931 . . . . 5 (𝑋𝐵𝐶 ∈ V)
5 eqid 2821 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
6 oppcco.c . . . . . 6 · = (comp‘𝐶)
7 oppcco.o . . . . . 6 𝑂 = (oppCat‘𝐶)
83, 5, 6, 7oppcval 16977 . . . . 5 (𝐶 ∈ V → 𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
91, 4, 83syl 18 . . . 4 (𝜑𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
109fveq2d 6668 . . 3 (𝜑 → (comp‘𝑂) = (comp‘((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩)))
11 ovex 7183 . . . 4 (𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) ∈ V
123fvexi 6678 . . . . . 6 𝐵 ∈ V
1312, 12xpex 7470 . . . . 5 (𝐵 × 𝐵) ∈ V
1413, 12mpoex 7771 . . . 4 (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))) ∈ V
15 ccoid 16684 . . . . 5 comp = Slot (comp‘ndx)
1615setsid 16532 . . . 4 (((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) ∈ V ∧ (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))) ∈ V) → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))) = (comp‘((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩)))
1711, 14, 16mp2an 690 . . 3 (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))) = (comp‘((𝐶 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝐶)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
1810, 17syl6eqr 2874 . 2 (𝜑 → (comp‘𝑂) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))))
19 simprr 771 . . . . 5 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → 𝑧 = 𝑍)
20 simprl 769 . . . . . . 7 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → 𝑢 = ⟨𝑋, 𝑌⟩)
2120fveq2d 6668 . . . . . 6 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd𝑢) = (2nd ‘⟨𝑋, 𝑌⟩))
22 oppcco.y . . . . . . . 8 (𝜑𝑌𝐵)
2322adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → 𝑌𝐵)
24 op2ndg 7696 . . . . . . 7 ((𝑋𝐵𝑌𝐵) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
251, 23, 24syl2an2r 683 . . . . . 6 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
2621, 25eqtrd 2856 . . . . 5 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd𝑢) = 𝑌)
2719, 26opeq12d 4804 . . . 4 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → ⟨𝑧, (2nd𝑢)⟩ = ⟨𝑍, 𝑌⟩)
2820fveq2d 6668 . . . . 5 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (1st𝑢) = (1st ‘⟨𝑋, 𝑌⟩))
29 op1stg 7695 . . . . . 6 ((𝑋𝐵𝑌𝐵) → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
301, 23, 29syl2an2r 683 . . . . 5 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
3128, 30eqtrd 2856 . . . 4 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (1st𝑢) = 𝑋)
3227, 31oveq12d 7168 . . 3 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)) = (⟨𝑍, 𝑌· 𝑋))
3332tposeqd 7889 . 2 ((𝜑 ∧ (𝑢 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)) = tpos (⟨𝑍, 𝑌· 𝑋))
341, 22opelxpd 5587 . 2 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
35 oppcco.z . 2 (𝜑𝑍𝐵)
36 ovex 7183 . . . 4 (⟨𝑍, 𝑌· 𝑋) ∈ V
3736tposex 7920 . . 3 tpos (⟨𝑍, 𝑌· 𝑋) ∈ V
3837a1i 11 . 2 (𝜑 → tpos (⟨𝑍, 𝑌· 𝑋) ∈ V)
3918, 33, 34, 35, 38ovmpod 7296 1 (𝜑 → (⟨𝑋, 𝑌⟩(comp‘𝑂)𝑍) = tpos (⟨𝑍, 𝑌· 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  Vcvv 3494  cop 4566   × cxp 5547  cfv 6349  (class class class)co 7150  cmpo 7152  1st c1st 7681  2nd c2nd 7682  tpos ctpos 7885  ndxcnx 16474   sSet csts 16475  Basecbs 16477  Hom chom 16570  compcco 16571  oppCatcoppc 16975
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-1st 7683  df-2nd 7684  df-tpos 7886  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-er 8283  df-en 8504  df-dom 8505  df-sdom 8506  df-pnf 10671  df-mnf 10672  df-ltxr 10674  df-nn 11633  df-2 11694  df-3 11695  df-4 11696  df-5 11697  df-6 11698  df-7 11699  df-8 11700  df-9 11701  df-n0 11892  df-dec 12093  df-ndx 16480  df-slot 16481  df-sets 16484  df-cco 16584  df-oppc 16976
This theorem is referenced by:  oppcco  16981
  Copyright terms: Public domain W3C validator