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

Theorem monfval 16994
Description: Definition of a monomorphism in a category. (Contributed by Mario Carneiro, 3-Jan-2017.)
Hypotheses
Ref Expression
ismon.b 𝐵 = (Base‘𝐶)
ismon.h 𝐻 = (Hom ‘𝐶)
ismon.o · = (comp‘𝐶)
ismon.s 𝑀 = (Mono‘𝐶)
ismon.c (𝜑𝐶 ∈ Cat)
Assertion
Ref Expression
monfval (𝜑𝑀 = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
Distinct variable groups:   𝑓,𝑔,𝑥,𝑦,𝑧,𝐵   𝜑,𝑓,𝑔,𝑥,𝑦,𝑧   𝐶,𝑓,𝑔,𝑥,𝑦,𝑧   𝑓,𝐻,𝑔,𝑥,𝑦,𝑧   · ,𝑓,𝑔,𝑥,𝑦,𝑧   𝑓,𝑀
Allowed substitution hints:   𝑀(𝑥,𝑦,𝑧,𝑔)

Proof of Theorem monfval
Dummy variables 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ismon.s . 2 𝑀 = (Mono‘𝐶)
2 ismon.c . . 3 (𝜑𝐶 ∈ Cat)
3 fvexd 6660 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) ∈ V)
4 fveq2 6645 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
5 ismon.b . . . . . 6 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2851 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
7 fvexd 6660 . . . . . 6 ((𝑐 = 𝐶𝑏 = 𝐵) → (Hom ‘𝑐) ∈ V)
8 simpl 486 . . . . . . . 8 ((𝑐 = 𝐶𝑏 = 𝐵) → 𝑐 = 𝐶)
98fveq2d 6649 . . . . . . 7 ((𝑐 = 𝐶𝑏 = 𝐵) → (Hom ‘𝑐) = (Hom ‘𝐶))
10 ismon.h . . . . . . 7 𝐻 = (Hom ‘𝐶)
119, 10eqtr4di 2851 . . . . . 6 ((𝑐 = 𝐶𝑏 = 𝐵) → (Hom ‘𝑐) = 𝐻)
12 simplr 768 . . . . . . 7 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → 𝑏 = 𝐵)
13 simpr 488 . . . . . . . . 9 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → = 𝐻)
1413oveqd 7152 . . . . . . . 8 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑥𝑦) = (𝑥𝐻𝑦))
1513oveqd 7152 . . . . . . . . . . . 12 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑧𝑥) = (𝑧𝐻𝑥))
16 simpll 766 . . . . . . . . . . . . . . . 16 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → 𝑐 = 𝐶)
1716fveq2d 6649 . . . . . . . . . . . . . . 15 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
18 ismon.o . . . . . . . . . . . . . . 15 · = (comp‘𝐶)
1917, 18eqtr4di 2851 . . . . . . . . . . . . . 14 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (comp‘𝑐) = · )
2019oveqd 7152 . . . . . . . . . . . . 13 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦) = (⟨𝑧, 𝑥· 𝑦))
2120oveqd 7152 . . . . . . . . . . . 12 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔) = (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))
2215, 21mpteq12dv 5115 . . . . . . . . . . 11 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔)) = (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔)))
2322cnveqd 5710 . . . . . . . . . 10 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔)) = (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔)))
2423funeqd 6346 . . . . . . . . 9 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔)) ↔ Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))))
2512, 24raleqbidv 3354 . . . . . . . 8 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔)) ↔ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))))
2614, 25rabeqbidv 3433 . . . . . . 7 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → {𝑓 ∈ (𝑥𝑦) ∣ ∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔))} = {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))})
2712, 12, 26mpoeq123dv 7208 . . . . . 6 (((𝑐 = 𝐶𝑏 = 𝐵) ∧ = 𝐻) → (𝑥𝑏, 𝑦𝑏 ↦ {𝑓 ∈ (𝑥𝑦) ∣ ∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔))}) = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
287, 11, 27csbied2 3865 . . . . 5 ((𝑐 = 𝐶𝑏 = 𝐵) → (Hom ‘𝑐) / (𝑥𝑏, 𝑦𝑏 ↦ {𝑓 ∈ (𝑥𝑦) ∣ ∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔))}) = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
293, 6, 28csbied2 3865 . . . 4 (𝑐 = 𝐶(Base‘𝑐) / 𝑏(Hom ‘𝑐) / (𝑥𝑏, 𝑦𝑏 ↦ {𝑓 ∈ (𝑥𝑦) ∣ ∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔))}) = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
30 df-mon 16992 . . . 4 Mono = (𝑐 ∈ Cat ↦ (Base‘𝑐) / 𝑏(Hom ‘𝑐) / (𝑥𝑏, 𝑦𝑏 ↦ {𝑓 ∈ (𝑥𝑦) ∣ ∀𝑧𝑏 Fun (𝑔 ∈ (𝑧𝑥) ↦ (𝑓(⟨𝑧, 𝑥⟩(comp‘𝑐)𝑦)𝑔))}))
315fvexi 6659 . . . . 5 𝐵 ∈ V
3231, 31mpoex 7760 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}) ∈ V
3329, 30, 32fvmpt 6745 . . 3 (𝐶 ∈ Cat → (Mono‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
342, 33syl 17 . 2 (𝜑 → (Mono‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
351, 34syl5eq 2845 1 (𝜑𝑀 = (𝑥𝐵, 𝑦𝐵 ↦ {𝑓 ∈ (𝑥𝐻𝑦) ∣ ∀𝑧𝐵 Fun (𝑔 ∈ (𝑧𝐻𝑥) ↦ (𝑓(⟨𝑧, 𝑥· 𝑦)𝑔))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  wral 3106  {crab 3110  Vcvv 3441  csb 3828  cop 4531  cmpt 5110  ccnv 5518  Fun wfun 6318  cfv 6324  (class class class)co 7135  cmpo 7137  Basecbs 16475  Hom chom 16568  compcco 16569  Catccat 16927  Monocmon 16990
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-1st 7671  df-2nd 7672  df-mon 16992
This theorem is referenced by:  ismon  16995  monpropd  16999
  Copyright terms: Public domain W3C validator