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

Theorem oppcval 17422
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 3450 . . 3 (𝐶𝑉𝐶 ∈ V)
3 id 22 . . . . . 6 (𝑐 = 𝐶𝑐 = 𝐶)
4 fveq2 6774 . . . . . . . . 9 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
5 oppcval.h . . . . . . . . 9 𝐻 = (Hom ‘𝐶)
64, 5eqtr4di 2796 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
76tposeqd 8045 . . . . . . 7 (𝑐 = 𝐶 → tpos (Hom ‘𝑐) = tpos 𝐻)
87opeq2d 4811 . . . . . 6 (𝑐 = 𝐶 → ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩ = ⟨(Hom ‘ndx), tpos 𝐻⟩)
93, 8oveq12d 7293 . . . . 5 (𝑐 = 𝐶 → (𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) = (𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩))
10 fveq2 6774 . . . . . . . . 9 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
11 oppcval.b . . . . . . . . 9 𝐵 = (Base‘𝐶)
1210, 11eqtr4di 2796 . . . . . . . 8 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
1312sqxpeqd 5621 . . . . . . 7 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
14 fveq2 6774 . . . . . . . . . 10 (𝑐 = 𝐶 → (comp‘𝑐) = (comp‘𝐶))
15 oppcval.x . . . . . . . . . 10 · = (comp‘𝐶)
1614, 15eqtr4di 2796 . . . . . . . . 9 (𝑐 = 𝐶 → (comp‘𝑐) = · )
1716oveqd 7292 . . . . . . . 8 (𝑐 = 𝐶 → (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1817tposeqd 8045 . . . . . . 7 (𝑐 = 𝐶 → tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1913, 12, 18mpoeq123dv 7350 . . . . . 6 (𝑐 = 𝐶 → (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))))
2019opeq2d 4811 . . . . 5 (𝑐 = 𝐶 → ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩ = ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩)
219, 20oveq12d 7293 . . . 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 17421 . . . 4 oppCat = (𝑐 ∈ V ↦ ((𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩))
23 ovex 7308 . . . 4 ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩) ∈ V
2421, 22, 23fvmpt 6875 . . 3 (𝐶 ∈ V → (oppCat‘𝐶) = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
252, 24syl 17 . 2 (𝐶𝑉 → (oppCat‘𝐶) = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
261, 25eqtrid 2790 1 (𝐶𝑉𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2106  Vcvv 3432  cop 4567   × cxp 5587  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830  tpos ctpos 8041   sSet csts 16864  ndxcnx 16894  Basecbs 16912  Hom chom 16973  compcco 16974  oppCatcoppc 17420
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-res 5601  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-tpos 8042  df-oppc 17421
This theorem is referenced by:  oppchomfval  17423  oppchomfvalOLD  17424  oppccofval  17426  oppcbas  17428  oppcbasOLD  17429  catcoppccl  17832  catcoppcclOLD  17833
  Copyright terms: Public domain W3C validator