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

Theorem oppcval 16977
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 3512 . . 3 (𝐶𝑉𝐶 ∈ V)
3 id 22 . . . . . 6 (𝑐 = 𝐶𝑐 = 𝐶)
4 fveq2 6664 . . . . . . . . 9 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
5 oppcval.h . . . . . . . . 9 𝐻 = (Hom ‘𝐶)
64, 5syl6eqr 2874 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
76tposeqd 7889 . . . . . . 7 (𝑐 = 𝐶 → tpos (Hom ‘𝑐) = tpos 𝐻)
87opeq2d 4803 . . . . . 6 (𝑐 = 𝐶 → ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩ = ⟨(Hom ‘ndx), tpos 𝐻⟩)
93, 8oveq12d 7168 . . . . 5 (𝑐 = 𝐶 → (𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) = (𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩))
10 fveq2 6664 . . . . . . . . 9 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
11 oppcval.b . . . . . . . . 9 𝐵 = (Base‘𝐶)
1210, 11syl6eqr 2874 . . . . . . . 8 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
1312sqxpeqd 5581 . . . . . . 7 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
14 fveq2 6664 . . . . . . . . . 10 (𝑐 = 𝐶 → (comp‘𝑐) = (comp‘𝐶))
15 oppcval.x . . . . . . . . . 10 · = (comp‘𝐶)
1614, 15syl6eqr 2874 . . . . . . . . 9 (𝑐 = 𝐶 → (comp‘𝑐) = · )
1716oveqd 7167 . . . . . . . 8 (𝑐 = 𝐶 → (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1817tposeqd 7889 . . . . . . 7 (𝑐 = 𝐶 → tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1913, 12, 18mpoeq123dv 7223 . . . . . 6 (𝑐 = 𝐶 → (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))))
2019opeq2d 4803 . . . . 5 (𝑐 = 𝐶 → ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩ = ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩)
219, 20oveq12d 7168 . . . 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 16976 . . . 4 oppCat = (𝑐 ∈ V ↦ ((𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩))
23 ovex 7183 . . . 4 ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩) ∈ V
2421, 22, 23fvmpt 6762 . . 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, 25syl5eq 2868 1 (𝐶𝑉𝑂 = ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = 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-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  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-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-res 5561  df-iota 6308  df-fun 6351  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-tpos 7886  df-oppc 16976
This theorem is referenced by:  oppchomfval  16978  oppccofval  16980  oppcbas  16982  catcoppccl  17362
  Copyright terms: Public domain W3C validator