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

Theorem oppcval 16983
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 6670 . . . . . . . . 9 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
5 oppcval.h . . . . . . . . 9 𝐻 = (Hom ‘𝐶)
64, 5syl6eqr 2874 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
76tposeqd 7895 . . . . . . 7 (𝑐 = 𝐶 → tpos (Hom ‘𝑐) = tpos 𝐻)
87opeq2d 4810 . . . . . 6 (𝑐 = 𝐶 → ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩ = ⟨(Hom ‘ndx), tpos 𝐻⟩)
93, 8oveq12d 7174 . . . . 5 (𝑐 = 𝐶 → (𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) = (𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩))
10 fveq2 6670 . . . . . . . . 9 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
11 oppcval.b . . . . . . . . 9 𝐵 = (Base‘𝐶)
1210, 11syl6eqr 2874 . . . . . . . 8 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
1312sqxpeqd 5587 . . . . . . 7 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
14 fveq2 6670 . . . . . . . . . 10 (𝑐 = 𝐶 → (comp‘𝑐) = (comp‘𝐶))
15 oppcval.x . . . . . . . . . 10 · = (comp‘𝐶)
1614, 15syl6eqr 2874 . . . . . . . . 9 (𝑐 = 𝐶 → (comp‘𝑐) = · )
1716oveqd 7173 . . . . . . . 8 (𝑐 = 𝐶 → (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1817tposeqd 7895 . . . . . . 7 (𝑐 = 𝐶 → tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)) = tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))
1913, 12, 18mpoeq123dv 7229 . . . . . 6 (𝑐 = 𝐶 → (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢))))
2019opeq2d 4810 . . . . 5 (𝑐 = 𝐶 → ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩ = ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩)
219, 20oveq12d 7174 . . . 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 16982 . . . 4 oppCat = (𝑐 ∈ V ↦ ((𝑐 sSet ⟨(Hom ‘ndx), tpos (Hom ‘𝑐)⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ ((Base‘𝑐) × (Base‘𝑐)), 𝑧 ∈ (Base‘𝑐) ↦ tpos (⟨𝑧, (2nd𝑢)⟩(comp‘𝑐)(1st𝑢)))⟩))
23 ovex 7189 . . . 4 ((𝐶 sSet ⟨(Hom ‘ndx), tpos 𝐻⟩) sSet ⟨(comp‘ndx), (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ tpos (⟨𝑧, (2nd𝑢)⟩ · (1st𝑢)))⟩) ∈ V
2421, 22, 23fvmpt 6768 . . 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 1537  wcel 2114  Vcvv 3494  cop 4573   × cxp 5553  cfv 6355  (class class class)co 7156  cmpo 7158  1st c1st 7687  2nd c2nd 7688  tpos ctpos 7891  ndxcnx 16480   sSet csts 16481  Basecbs 16483  Hom chom 16576  compcco 16577  oppCatcoppc 16981
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  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 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-res 5567  df-iota 6314  df-fun 6357  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-tpos 7892  df-oppc 16982
This theorem is referenced by:  oppchomfval  16984  oppccofval  16986  oppcbas  16988  catcoppccl  17368
  Copyright terms: Public domain W3C validator