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 49370
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 2729 . . . . . . 7 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
4 eqid 2729 . . . . . . 7 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
5 prcof1.k . . . . . . . . . 10 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
65adantr 480 . . . . . . . . 9 ((𝜑𝐹 ∈ V) → 𝐾 ∈ (𝐷 Func 𝐸))
76func1st2nd 49058 . . . . . . . 8 ((𝜑𝐹 ∈ V) → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
87funcrcl2 49061 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐷 ∈ Cat)
97funcrcl3 49062 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐸 ∈ Cat)
10 simpr 484 . . . . . . 7 ((𝜑𝐹 ∈ V) → 𝐹 ∈ V)
113, 4, 8, 9, 10prcofvala 49359 . . . . . 6 ((𝜑𝐹 ∈ V) → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩)
1211fveq2d 6844 . . . . 5 ((𝜑𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩))
13 ovex 7402 . . . . . . 7 (𝐷 Func 𝐸) ∈ V
1413mptex 7179 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)) ∈ V
1513, 13mpoex 8037 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹)))) ∈ V
1614, 15op1st 7955 . . . . 5 (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹))
1712, 16eqtrdi 2780 . . . 4 ((𝜑𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)))
182, 17eqtr3d 2766 . . 3 ((𝜑𝐹 ∈ V) → 𝑂 = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘func 𝐹)))
19 simpr 484 . . . 4 (((𝜑𝐹 ∈ V) ∧ 𝑘 = 𝐾) → 𝑘 = 𝐾)
2019oveq1d 7384 . . 3 (((𝜑𝐹 ∈ V) ∧ 𝑘 = 𝐾) → (𝑘func 𝐹) = (𝐾func 𝐹))
21 ovexd 7404 . . 3 ((𝜑𝐹 ∈ V) → (𝐾func 𝐹) ∈ V)
2218, 20, 6, 21fvmptd 6957 . 2 ((𝜑𝐹 ∈ V) → (𝑂𝐾) = (𝐾func 𝐹))
23 0fv 6884 . . 3 (∅‘𝐾) = ∅
24 reldmprcof 49357 . . . . . . . 8 Rel dom −∘F
2524ovprc2 7409 . . . . . . 7 𝐹 ∈ V → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ∅)
2625fveq2d 6844 . . . . . 6 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘∅))
27 1st0 7953 . . . . . 6 (1st ‘∅) = ∅
2826, 27eqtrdi 2780 . . . . 5 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = ∅)
291, 28sylan9req 2785 . . . 4 ((𝜑 ∧ ¬ 𝐹 ∈ V) → 𝑂 = ∅)
3029fveq1d 6842 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂𝐾) = (∅‘𝐾))
31 df-cofu 17802 . . . . . 6 func = (𝑙 ∈ V, 𝑘 ∈ V ↦ ⟨((1st𝑙) ∘ (1st𝑘)), (𝑎 ∈ dom dom (2nd𝑘), 𝑏 ∈ dom dom (2nd𝑘) ↦ ((((1st𝑘)‘𝑎)(2nd𝑙)((1st𝑘)‘𝑏)) ∘ (𝑎(2nd𝑘)𝑏)))⟩)
3231reldmmpo 7503 . . . . 5 Rel dom ∘func
3332ovprc2 7409 . . . 4 𝐹 ∈ V → (𝐾func 𝐹) = ∅)
3433adantl 481 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝐾func 𝐹) = ∅)
3523, 30, 343eqtr4a 2790 . 2 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂𝐾) = (𝐾func 𝐹))
3622, 35pm2.61dan 812 1 (𝜑 → (𝑂𝐾) = (𝐾func 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1540  wcel 2109  Vcvv 3444  c0 4292  cop 4591  cmpt 5183  dom cdm 5631  ccom 5635  cfv 6499  (class class class)co 7369  cmpo 7371  1st c1st 7945  2nd c2nd 7946  Catccat 17605   Func cfunc 17796  func ccofu 17798   Nat cnat 17886   −∘F cprcof 49355
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5229  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-reu 3352  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-f1 6504  df-fo 6505  df-f1o 6506  df-fv 6507  df-ov 7372  df-oprab 7373  df-mpo 7374  df-1st 7947  df-2nd 7948  df-func 17800  df-cofu 17802  df-prcof 49356
This theorem is referenced by:  prcofdiag  49376  lanrcl5  49617  ranrcl5  49622  lanup  49623  ranup  49624
  Copyright terms: Public domain W3C validator