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

Theorem oppcval 17893
Description: Value of the opposite category. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
oppcval.b 𝐵 = (Base‘𝐶)
oppcval.h 𝐻 = (Hom ‘𝐶)
oppcval.x · = (comp‘𝐶)
oppcval.o 𝑂 = (oppCat‘𝐶)
Assertion
Ref Expression
oppcval (𝐶 ∈ 𝑉 → 𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩))
Distinct variable group:   𝑧,𝑢,𝐶
Allowed substitution hints:   𝐵(𝑧, 𝑢)   · (𝑧, 𝑢)   𝐻(𝑧, 𝑢)   𝑂(𝑧, 𝑢)   𝑉(𝑧, 𝑢)

Proof of Theorem oppcval
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 oppcval.o . 2 𝑂 = (oppCat‘𝐶)
2 elex 3471 . . 3 (𝐶 ∈ 𝑉 → 𝐶 ∈ V)
3 id 23 . . . . . 6 (𝑐 = 𝐶 → 𝑐 = 𝐶)
4 fveq2 6886 . . . . . . . . 9 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
5 oppcval.h . . . . . . . . 9 𝐻 = (Hom ‘𝐶)
64, 5eqtr4di 2813 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
76tposeqd 8250 . . . . . . 7 (𝑐 = 𝐶 → tpos (Hom ‘𝑐) = tpos 𝐻)
87opeq2d 4846 . . . . . 6 (𝑐 = 𝐶 → ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩ = ⟨(Hom ‘ndx), tpos 𝐻⟩)
93, 8oveq12d 7439 . . . . 5 (𝑐 = 𝐶 → (𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) = (𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩))
10 fveq2 6886 . . . . . . . . 9 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
11 oppcval.b . . . . . . . . 9 𝐵 = (Base‘𝐶)
1210, 11eqtr4di 2813 . . . . . . . 8 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
1312sqxpeqd 5682 . . . . . . 7 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
14 fveq2 6886 . . . . . . . . . 10 (𝑐 = 𝐶 → (comp‘𝑐) = (comp‘𝐶))
15 oppcval.x . . . . . . . . . 10 · = (comp‘𝐶)
1614, 15eqtr4di 2813 . . . . . . . . 9 (𝑐 = 𝐶 → (comp‘𝑐) = · )
1716oveqd 7438 . . . . . . . 8 (𝑐 = 𝐶 → (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢)) = (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))
1817tposeqd 8250 . . . . . . 7 (𝑐 = 𝐶 → tpos (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢)) = tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))
1913, 12, 18mpoeq123dv 7496 . . . . . 6 (𝑐 = 𝐶 → (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢))))
2019opeq2d 4846 . . . . 5 (𝑐 = 𝐶 → ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢)))⟩ = ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩)
219, 20oveq12d 7439 . . . 4 (𝑐 = 𝐶 → ((𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢)))⟩) = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩))
22 df-oppc 17892 . . . 4 oppCat = (𝑐 ∈ V ↦ ((𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩(comp‘𝑐)(1st ‘𝑢)))⟩))
23 ovex 7454 . . . 4 ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩) ∈ V
2421, 22, 23fvmpt 6994 . . 3 (𝐶 ∈ V → (oppCat‘𝐶) = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩))
252, 24syl 18 . 2 (𝐶 ∈ 𝑉 → (oppCat‘𝐶) = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩))
261, 25eqtrid 2807 1 (𝐶 ∈ 𝑉 → 𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ tpos (⟨𝑧, (2nd ‘𝑢)⟩ · (1st ‘𝑢)))⟩))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   × cxp 5648  ‘cfv 6539  (class class class)co 7421   ∈ cmpo 7423  1st c1st 8000  2nd c2nd 8001  tpos ctpos 8246   sSet csts 17347  ndxcnx 17377  Basecbs 17393  Hom chom 17445  compcco 17446  oppCatcoppc 17891
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-res 5662  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-tpos 8247  df-oppc 17892
This theorem is used by:  oppchomfval  17894  oppccofval  17896  oppcbas  17898  catcoppccl  18298
  Copyright terms: Public domain W3C validator