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

Theorem prcof1 51039
Description: The object part of the pre-composition functor. (Contributed by Zhi Wang, 3-Nov-2025.)
Hypotheses
Ref Expression
prcof1.k (𝜑 → 𝐾 ∈ (𝐷 Func 𝐸))
prcof1.o (𝜑 → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = 𝑂)
Assertion
Ref Expression
prcof1 (𝜑 → (𝑂‘𝐾) = (𝐾 ∘func 𝐹))

Proof of Theorem prcof1
Dummy variables 𝑎 𝑏 𝑘 𝑙 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prcof1.o . . . . 5 (𝜑 → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = 𝑂)
21adantr 486 . . . 4 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = 𝑂)
3 eqid 2774 . . . . . . 7 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
4 eqid 2774 . . . . . . 7 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
5 prcof1.k . . . . . . . . . 10 (𝜑 → 𝐾 ∈ (𝐷 Func 𝐸))
65adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝐹 ∈ V) → 𝐾 ∈ (𝐷 Func 𝐸))
76func1st2nd 50706 . . . . . . . 8 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘𝐾)(𝐷 Func 𝐸)(2nd ‘𝐾))
87funcrcl2 50709 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐷 ∈ Cat)
97funcrcl3 50710 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐸 ∈ Cat)
10 simpr 490 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐹 ∈ V)
113, 4, 8, 9, 10prcofvala 51028 . . . . . 6 ((𝜑 ∧ 𝐹 ∈ V) → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
1211fveq2d 6938 . . . . 5 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩))
13 ovex 7503 . . . . . . 7 (𝐷 Func 𝐸) ∈ V
1413mptex 7278 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)) ∈ V
1513, 13mpoex 8146 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹)))) ∈ V
1614, 15op1st 8062 . . . . 5 (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹))
1712, 16eqtrdi 2825 . . . 4 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)))
182, 17eqtr3d 2811 . . 3 ((𝜑 ∧ 𝐹 ∈ V) → 𝑂 = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)))
19 simpr 490 . . . 4 (((𝜑 ∧ 𝐹 ∈ V) ∧ 𝑘 = 𝐾) → 𝑘 = 𝐾)
2019oveq1d 7485 . . 3 (((𝜑 ∧ 𝐹 ∈ V) ∧ 𝑘 = 𝐾) → (𝑘 ∘func 𝐹) = (𝐾 ∘func 𝐹))
21 ovexd 7505 . . 3 ((𝜑 ∧ 𝐹 ∈ V) → (𝐾 ∘func 𝐹) ∈ V)
2218, 20, 6, 21fvmptd 7050 . 2 ((𝜑 ∧ 𝐹 ∈ V) → (𝑂‘𝐾) = (𝐾 ∘func 𝐹))
23 0fv 6975 . . 3 (∅‘𝐾) = ∅
24 reldmprcof 51026 . . . . . . . 8 Rel dom −∘F
2524ovprc2 7510 . . . . . . 7 (¬ 𝐹 ∈ V → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ∅)
2625fveq2d 6938 . . . . . 6 (¬ 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘∅))
27 1st0 8060 . . . . . 6 (1st ‘∅) = ∅
2826, 27eqtrdi 2825 . . . . 5 (¬ 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = ∅)
291, 28sylan9req 2830 . . . 4 ((𝜑 ∧ ¬ 𝐹 ∈ V) → 𝑂 = ∅)
3029fveq1d 6936 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂‘𝐾) = (∅‘𝐾))
31 df-cofu 18113 . . . . . 6 ∘func = (𝑙 ∈ V, 𝑘 ∈ V ↦ ⟨((1st ‘𝑙) ∘ (1st ‘𝑘)), (𝑎 ∈ dom dom (2nd ‘𝑘), 𝑏 ∈ dom dom (2nd ‘𝑘) ↦ ((((1st ‘𝑘)‘𝑎)(2nd ‘𝑙)((1st ‘𝑘)‘𝑏)) ∘ (𝑎(2nd ‘𝑘)𝑏)))⟩)
3231reldmmpo 7603 . . . . 5 Rel dom ∘func
3332ovprc2 7510 . . . 4 (¬ 𝐹 ∈ V → (𝐾 ∘func 𝐹) = ∅)
3433adantl 487 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝐾 ∘func 𝐹) = ∅)
3523, 30, 343eqtr4a 2835 . 2 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂‘𝐾) = (𝐾 ∘func 𝐹))
3622, 35pm2.61dan 825 1 (𝜑 → (𝑂‘𝐾) = (𝐾 ∘func 𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ∅c0 4288  ⟨cop 4848   ↦ cmpt 5200  dom cdm 5666   ∘ ccom 5670  ‘cfv 6579  (class class class)co 7470   ∈ cmpo 7472  1st c1st 8052  2nd c2nd 8053  Catccat 17916   Func cfunc 18107   ∘func ccofu 18109   Nat cnat 18197   −∘F cprcof 51024
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 7802
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 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-1st 8054  df-2nd 8055  df-func 18111  df-cofu 18113  df-prcof 51025
This theorem is used by:  prcofdiag  51045  lanrcl5  51334  ranrcl5  51339  lanup  51340  ranup  51341
  Copyright terms: Public domain W3C validator