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

Theorem homafval 18210
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 6886 . . . . . . 7 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 homafval.b . . . . . . 7 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2813 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
65sqxpeqd 5682 . . . . 5 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
7 fveq2 6886 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 homafval.j . . . . . . . 8 𝐽 = (Hom ‘𝐶)
97, 8eqtr4di 2813 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐽)
109fveq1d 6888 . . . . . 6 (𝑐 = 𝐶 → ((Hom ‘𝑐)‘𝑥) = (𝐽‘𝑥))
1110xpeq2d 5680 . . . . 5 (𝑐 = 𝐶 → ({𝑥} × ((Hom ‘𝑐)‘𝑥)) = ({𝑥} × (𝐽‘𝑥)))
126, 11mpteq12dv 5191 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
13 df-homa 18207 . . . 4 Homa = (𝑐 ∈ Cat ↦ (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))))
144fvexi 6900 . . . . . 6 𝐵 ∈ V
1514, 14xpex 7768 . . . . 5 (𝐵 × 𝐵) ∈ V
1615mptex 7230 . . . 4 (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))) ∈ V
1712, 13, 16fvmpt 6994 . . 3 (𝐶 ∈ Cat → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
182, 17syl 18 . 2 (𝜑 → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
191, 18eqtrid 2807 1 (𝜑 → 𝐻 = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2144  {csn 4584   ↦ cmpt 5185   × cxp 5648  ‘cfv 6539  Basecbs 17393  Hom chom 17445  Catccat 17844  Homachoma 18204
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-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
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-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  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-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-homa 18207
This theorem is used by:  homaf  18211  homaval  18212
  Copyright terms: Public domain W3C validator