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

Theorem homafval 18197
Description: Value of the disjointified hom-set function. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
homarcl.h 𝐻 = (Homa‘𝐶)
homafval.b 𝐵 = (Base‘𝐶)
homafval.c (𝜑 → 𝐶 ∈ Cat)
homafval.j 𝐽 = (Hom ‘𝐶)
Assertion
Ref Expression
homafval (𝜑 → 𝐻 = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
Distinct variable groups:   𝑥,𝐵   𝑥,𝐶   𝜑,𝑥
Allowed substitution hints:   𝐻(𝑥)   𝐽(𝑥)

Proof of Theorem homafval
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 homarcl.h . 2 𝐻 = (Homa‘𝐶)
2 homafval.c . . 3 (𝜑 → 𝐶 ∈ Cat)
3 fveq2 6883 . . . . . . 7 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 homafval.b . . . . . . 7 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2814 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
65sqxpeqd 5683 . . . . 5 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
7 fveq2 6883 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 homafval.j . . . . . . . 8 𝐽 = (Hom ‘𝐶)
97, 8eqtr4di 2814 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐽)
109fveq1d 6885 . . . . . 6 (𝑐 = 𝐶 → ((Hom ‘𝑐)‘𝑥) = (𝐽‘𝑥))
1110xpeq2d 5681 . . . . 5 (𝑐 = 𝐶 → ({𝑥} × ((Hom ‘𝑐)‘𝑥)) = ({𝑥} × (𝐽‘𝑥)))
126, 11mpteq12dv 5192 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
13 df-homa 18194 . . . 4 Homa = (𝑐 ∈ Cat ↦ (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))))
144fvexi 6897 . . . . . 6 𝐵 ∈ V
1514, 14xpex 7765 . . . . 5 (𝐵 × 𝐵) ∈ V
1615mptex 7227 . . . 4 (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))) ∈ V
1712, 13, 16fvmpt 6991 . . 3 (𝐶 ∈ Cat → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
182, 17syl 18 . 2 (𝜑 → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
191, 18eqtrid 2808 1 (𝜑 → 𝐻 = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2145  {csn 4584   ↦ cmpt 5186   × cxp 5649  ‘cfv 6537  Basecbs 17380  Hom chom 17432  Catccat 17831  Homachoma 18191
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-homa 18194
This theorem is used by:  homaf  18198  homaval  18199
  Copyright terms: Public domain W3C validator