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 49880
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 2739 . . . . . 6 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
3 prcof2a.n . . . . . 6 𝑁 = (𝐷 Nat 𝐸)
4 prcof2a.k . . . . . . . 8 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
54func1st2nd 49566 . . . . . . 7 (𝜑 → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
65funcrcl2 49569 . . . . . 6 (𝜑𝐷 ∈ Cat)
75funcrcl3 49570 . . . . . 6 (𝜑𝐸 ∈ Cat)
8 prcof2.r . . . . . 6 Rel 𝑅
9 prcof2.f . . . . . 6 (𝜑𝐹𝑅𝐺)
102, 3, 6, 7, 8, 9prcofval 49868 . . . . 5 (𝜑 → (⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩)
1110fveq2d 6831 . . . 4 (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = (2nd ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩))
12 ovex 7389 . . . . . 6 (𝐷 Func 𝐸) ∈ V
1312mptex 7167 . . . . 5 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)) ∈ V
1412, 12mpoex 8021 . . . . 5 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))) ∈ V
1513, 14op2nd 7940 . . . 4 (2nd ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func𝐹, 𝐺⟩)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))⟩) = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)))
1611, 15eqtrdi 2790 . . 3 (𝜑 → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F𝐹, 𝐺⟩)) = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))))
171, 16eqtr3d 2776 . 2 (𝜑𝑃 = (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹))))
18 simprl 776 . . . 4 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → 𝑘 = 𝐾)
19 simprr 778 . . . 4 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → 𝑙 = 𝐿)
2018, 19oveq12d 7374 . . 3 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑘𝑁𝑙) = (𝐾𝑁𝐿))
2120mpteq1d 5162 . 2 ((𝜑 ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎𝐹)) = (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)))
22 prcof2a.l . 2 (𝜑𝐿 ∈ (𝐷 Func 𝐸))
23 ovex 7389 . . . 4 (𝐾𝑁𝐿) ∈ V
2423mptex 7167 . . 3 (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)) ∈ V
2524a1i 11 . 2 (𝜑 → (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)) ∈ V)
2617, 21, 4, 22, 25ovmpod 7508 1 (𝜑 → (𝐾𝑃𝐿) = (𝑎 ∈ (𝐾𝑁𝐿) ↦ (𝑎𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wcel 2119  Vcvv 3431  cop 4561   class class class wbr 5072  cmpt 5153  ccom 5622  Rel wrel 5623  cfv 6485  (class class class)co 7356  cmpo 7358  1st c1st 7929  2nd c2nd 7930  Catccat 17621   Func cfunc 17812  func ccofu 17814   Nat cnat 17902   −∘F cprcof 49863
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711  ax-rep 5199  ax-sep 5218  ax-nul 5228  ax-pow 5294  ax-pr 5362  ax-un 7678
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-ral 3054  df-rex 3064  df-reu 3345  df-rab 3392  df-v 3433  df-sbc 3724  df-csb 3832  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4262  df-if 4455  df-pw 4531  df-sn 4556  df-pr 4558  df-op 4562  df-uni 4839  df-iun 4923  df-br 5073  df-opab 5135  df-mpt 5154  df-id 5513  df-xp 5624  df-rel 5625  df-cnv 5626  df-co 5627  df-dm 5628  df-rn 5629  df-res 5630  df-ima 5631  df-iota 6441  df-fun 6487  df-fn 6488  df-f 6489  df-f1 6490  df-fo 6491  df-f1o 6492  df-fv 6493  df-ov 7359  df-oprab 7360  df-mpo 7361  df-1st 7931  df-2nd 7932  df-func 17816  df-prcof 49864
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator