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 49161
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 480 . . . 4 ((𝜑𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = 𝑂)
3 eqid 2734 . . . . . . 7 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
4 eqid 2734 . . . . . . 7 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
5 prcof1.k . . . . . . . . . 10 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
65adantr 480 . . . . . . . . 9 ((𝜑𝐹 ∈ V) → 𝐾 ∈ (𝐷 Func 𝐸))
76func1st2nd 48936 . . . . . . . 8 ((𝜑𝐹 ∈ V) → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
87funcrcl2 48937 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐷 ∈ Cat)
97funcrcl3 48938 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐸 ∈ Cat)
10 simpr 484 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐹 ∈ V)
113, 4, 8, 9, 10prcofvala 49151 . . . . . 6 ((𝜑𝐹 ∈ V) → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩)
1211fveq2d 6877 . . . . 5 ((𝜑𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩))
13 ovex 7433 . . . . . . 7 (𝐷 Func 𝐸) ∈ V
1413mptex 7212 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)) ∈ V
1513, 13mpoex 8073 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹)))) ∈ V
1614, 15op1st 7991 . . . . 5 (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹))
1712, 16eqtrdi 2785 . . . 4 ((𝜑𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)))
182, 17eqtr3d 2771 . . 3 ((𝜑𝐹 ∈ V) → 𝑂 = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)))
19 simpr 484 . . . 4 (((𝜑𝐹 ∈ V) ∧ 𝑘 = 𝐾) → 𝑘 = 𝐾)
2019oveq1d 7415 . . 3 (((𝜑𝐹 ∈ V) ∧ 𝑘 = 𝐾) → (𝑘func 𝐹) = (𝐾func 𝐹))
21 ovexd 7435 . . 3 ((𝜑𝐹 ∈ V) → (𝐾func 𝐹) ∈ V)
2218, 20, 6, 21fvmptd 6990 . 2 ((𝜑𝐹 ∈ V) → (𝑂𝐾) = (𝐾func 𝐹))
23 0fv 6917 . . 3 (∅‘𝐾) = ∅
24 reldmprcof 49149 . . . . . . . 8 Rel dom −∘F
2524ovprc2 7440 . . . . . . 7 𝐹 ∈ V → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ∅)
2625fveq2d 6877 . . . . . 6 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘∅))
27 1st0 7989 . . . . . 6 (1st ‘∅) = ∅
2826, 27eqtrdi 2785 . . . . 5 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = ∅)
291, 28sylan9req 2790 . . . 4 ((𝜑 ∧ ¬ 𝐹 ∈ V) → 𝑂 = ∅)
3029fveq1d 6875 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂𝐾) = (∅‘𝐾))
31 df-cofu 17860 . . . . . 6 func = (𝑙 ∈ V, 𝑘 ∈ V ↦ ⟨((1st𝑙) ∘ (1st𝑘)), (𝑎 ∈ dom dom (2nd𝑘), 𝑏 ∈ dom dom (2nd𝑘) ↦ ((((1st𝑘)‘𝑎)(2nd𝑙)((1st𝑘)‘𝑏)) ∘ (𝑎(2nd𝑘)𝑏)))⟩)
3231reldmmpo 7536 . . . . 5 Rel dom ∘func
3332ovprc2 7440 . . . 4 𝐹 ∈ V → (𝐾func 𝐹) = ∅)
3433adantl 481 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝐾func 𝐹) = ∅)
3523, 30, 343eqtr4a 2795 . 2 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂𝐾) = (𝐾func 𝐹))
3622, 35pm2.61dan 812 1 (𝜑 → (𝑂𝐾) = (𝐾func 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wcel 2107  Vcvv 3457  c0 4306  cop 4605  cmpt 5199  dom cdm 5652  ccom 5656  cfv 6528  (class class class)co 7400  cmpo 7402  1st c1st 7981  2nd c2nd 7982  Catccat 17663   Func cfunc 17854  func ccofu 17856   Nat cnat 17944   −∘F cprcof 49147
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-rep 5247  ax-sep 5264  ax-nul 5274  ax-pow 5333  ax-pr 5400  ax-un 7724
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-ral 3051  df-rex 3060  df-reu 3358  df-rab 3414  df-v 3459  df-sbc 3764  df-csb 3873  df-dif 3927  df-un 3929  df-in 3931  df-ss 3941  df-nul 4307  df-if 4499  df-pw 4575  df-sn 4600  df-pr 4602  df-op 4606  df-uni 4882  df-iun 4967  df-br 5118  df-opab 5180  df-mpt 5200  df-id 5546  df-xp 5658  df-rel 5659  df-cnv 5660  df-co 5661  df-dm 5662  df-rn 5663  df-res 5664  df-ima 5665  df-iota 6481  df-fun 6530  df-fn 6531  df-f 6532  df-f1 6533  df-fo 6534  df-f1o 6535  df-fv 6536  df-ov 7403  df-oprab 7404  df-mpo 7405  df-1st 7983  df-2nd 7984  df-func 17858  df-cofu 17860  df-prcof 49148
This theorem is referenced by:  lanrcl5  49370  ranrcl5  49375  lanup  49376  ranup  49377
  Copyright terms: Public domain W3C validator