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

Theorem natffn 16609
Description: The natural transformation set operation is a well-defined function. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypothesis
Ref Expression
natrcl.1 𝑁 = (𝐶 Nat 𝐷)
Assertion
Ref Expression
natffn 𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷))

Proof of Theorem natffn
Dummy variables 𝑥 𝑓 𝑦 𝑎 𝑔 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 natrcl.1 . . 3 𝑁 = (𝐶 Nat 𝐷)
2 eqid 2622 . . 3 (Base‘𝐶) = (Base‘𝐶)
3 eqid 2622 . . 3 (Hom ‘𝐶) = (Hom ‘𝐶)
4 eqid 2622 . . 3 (Hom ‘𝐷) = (Hom ‘𝐷)
5 eqid 2622 . . 3 (comp‘𝐷) = (comp‘𝐷)
61, 2, 3, 4, 5natfval 16606 . 2 𝑁 = (𝑓 ∈ (𝐶 Func 𝐷), 𝑔 ∈ (𝐶 Func 𝐷) ↦ (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∣ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀ ∈ (𝑥(Hom ‘𝐶)𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩(comp‘𝐷)(𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩(comp‘𝐷)(𝑠𝑦))(𝑎𝑥))})
7 ovex 6678 . . . . . . 7 ((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∈ V
87rgenw 2924 . . . . . 6 𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∈ V
9 ixpexg 7932 . . . . . 6 (∀𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∈ V → X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∈ V)
108, 9ax-mp 5 . . . . 5 X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∈ V
1110rabex 4813 . . . 4 {𝑎X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∣ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀ ∈ (𝑥(Hom ‘𝐶)𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩(comp‘𝐷)(𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩(comp‘𝐷)(𝑠𝑦))(𝑎𝑥))} ∈ V
1211csbex 4793 . . 3 (1st𝑔) / 𝑠{𝑎X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∣ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀ ∈ (𝑥(Hom ‘𝐶)𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩(comp‘𝐷)(𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩(comp‘𝐷)(𝑠𝑦))(𝑎𝑥))} ∈ V
1312csbex 4793 . 2 (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥 ∈ (Base‘𝐶)((𝑟𝑥)(Hom ‘𝐷)(𝑠𝑥)) ∣ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀ ∈ (𝑥(Hom ‘𝐶)𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩(comp‘𝐷)(𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩(comp‘𝐷)(𝑠𝑦))(𝑎𝑥))} ∈ V
146, 13fnmpt2i 7239 1 𝑁 Fn ((𝐶 Func 𝐷) × (𝐶 Func 𝐷))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1483  wcel 1990  wral 2912  {crab 2916  Vcvv 3200  csb 3533  cop 4183   × cxp 5112   Fn wfn 5883  cfv 5888  (class class class)co 6650  1st c1st 7166  2nd c2nd 7167  Xcixp 7908  Basecbs 15857  Hom chom 15952  compcco 15953   Func cfunc 16514   Nat cnat 16601
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-1st 7168  df-2nd 7169  df-ixp 7909  df-func 16518  df-nat 16603
This theorem is referenced by:  fuchom  16621
  Copyright terms: Public domain W3C validator