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

Theorem homafval 18279
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 6931 . . . . . . 7 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 homafval.b . . . . . . 7 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2827 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
65sqxpeqd 5698 . . . . 5 (𝑐 = 𝐶 → ((Base‘𝑐) × (Base‘𝑐)) = (𝐵 × 𝐵))
7 fveq2 6931 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 homafval.j . . . . . . . 8 𝐽 = (Hom ‘𝐶)
97, 8eqtr4di 2827 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐽)
109fveq1d 6933 . . . . . 6 (𝑐 = 𝐶 → ((Hom ‘𝑐)‘𝑥) = (𝐽‘𝑥))
1110xpeq2d 5696 . . . . 5 (𝑐 = 𝐶 → ({𝑥} × ((Hom ‘𝑐)‘𝑥)) = ({𝑥} × (𝐽‘𝑥)))
126, 11mpteq12dv 5206 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
13 df-homa 18276 . . . 4 Homa = (𝑐 ∈ Cat ↦ (𝑥 ∈ ((Base‘𝑐) × (Base‘𝑐)) ↦ ({𝑥} × ((Hom ‘𝑐)‘𝑥))))
144fvexi 6945 . . . . . 6 𝐵 ∈ V
1514, 14xpex 7815 . . . . 5 (𝐵 × 𝐵) ∈ V
1615mptex 7275 . . . 4 (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))) ∈ V
1712, 13, 16fvmpt 7039 . . 3 (𝐶 ∈ Cat → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
182, 17syl 18 . 2 (𝜑 → (Homa‘𝐶) = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
191, 18eqtrid 2821 1 (𝜑 → 𝐻 = (𝑥 ∈ (𝐵 × 𝐵) ↦ ({𝑥} × (𝐽‘𝑥))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156  {csn 4595   ↦ cmpt 5200   × cxp 5664  ‘cfv 6578  Basecbs 17452  Hom chom 17504  Catccat 17913  Homachoma 18273
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-homa 18276
This theorem is used by:  homaf  18280  homaval  18281
  Copyright terms: Public domain W3C validator