Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prcof2 Structured version   Visualization version   GIF version

Theorem prcof2 50324
Description: The morphism part of the pre-composition functor. (Contributed by Zhi Wang, 3-Nov-2025.)
Hypotheses
Ref Expression
prcof2a.n 𝑁 = (𝐷 Nat 𝐸)
prcof2a.k (𝜑𝐾 ∈ (𝐷 Func 𝐸))
prcof2a.l (𝜑𝐿 ∈ (𝐷 Func 𝐸))
prcof2.p (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = 𝑃)
prcof2.r Rel 𝑅
prcof2.f (𝜑𝐹𝑅𝐺)
Assertion
Ref Expression
prcof2 (𝜑 → (𝐾𝑃𝐿) = (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)))
Distinct variable groups:   𝐷,𝑎   𝐸,𝑎   𝐹,𝑎   𝐺,𝑎   𝐾,𝑎   𝐿,𝑎   𝑁,𝑎   𝜑,𝑎
Allowed substitution hints:   𝑃(𝑎)   𝑅(𝑎)

Proof of Theorem prcof2
Dummy variables 𝑘 𝑙 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prcof2.p . . 3 (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = 𝑃)
2 eqid 2762 . . . . . 6 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
3 prcof2a.n . . . . . 6 𝑁 = (𝐷 Nat 𝐸)
4 prcof2a.k . . . . . . . 8 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
54func1st2nd 50010 . . . . . . 7 (𝜑 → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
65funcrcl2 50013 . . . . . 6 (𝜑𝐷 ∈ Cat)
75funcrcl3 50014 . . . . . 6 (𝜑𝐸 ∈ Cat)
8 prcof2.r . . . . . 6 Rel 𝑅
9 prcof2.f . . . . . 6 (𝜑𝐹𝑅𝐺)
102, 3, 6, 7, 8, 9prcofval 50312 . . . . 5 (𝜑 → (⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩)
1110fveq2d 6886 . . . 4 (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = (2nd ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩))
12 ovex 7450 . . . . . 6 (𝐷 Func 𝐸) ∈ V
1312mptex 7226 . . . . 5 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)) ∈ V
1412, 12mpoex 8082 . . . . 5 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))) ∈ V
1513, 14op2nd 7999 . . . 4 (2nd ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩) = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))
1611, 15eqtrdi 2813 . . 3 (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))))
171, 16eqtr3d 2799 . 2 (𝜑𝑃 = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))))
18 simprl 783 . . . 4 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → 𝑘 = 𝐾)
19 simprr 785 . . . 4 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → 𝑙 = 𝐿)
2018, 19oveq12d 7435 . . 3 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑘𝑁𝑙) = (𝐾𝑁𝐿))
2120mpteq1d 5199 . 2 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)) = (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)))
22 prcof2a.l . 2 (𝜑𝐿 ∈ (𝐷 Func 𝐸))
23 ovex 7450 . . . 4 (𝐾𝑁𝐿) ∈ V
2423mptex 7226 . . 3 (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)) ∈ V
2524a1i 11 . 2 (𝜑 → (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)) ∈ V)
2617, 21, 4, 22, 25ovmpod 7569 1 (𝜑 → (𝐾𝑃𝐿) = (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2145  Vcvv 3453  cop 4593   class class class wbr 5107  cmpt 5190  ccom 5663  Rel wrel 5664  cfv 6537  (class class class)co 7417  cmpo 7419  1st c1st 7988  2nd c2nd 7989  Catccat 17758   Func cfunc 17949  func ccofu 17951   Nat cnat 18039   −∘F cprcof 50307
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 2215  ax-ext 2734  ax-rep 5236  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7740
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 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  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-ov 7420  df-oprab 7421  df-mpo 7422  df-1st 7990  df-2nd 7991  df-func 17953  df-prcof 50308
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator