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 50495
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 2761 . . . . . . 7 (𝐷 Func 𝐸) = (𝐷 Func 𝐸)
4 eqid 2761 . . . . . . 7 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
5 prcof1.k . . . . . . . . . 10 (𝜑 → 𝐾 ∈ (𝐷 Func 𝐸))
65adantr 486 . . . . . . . . 9 ((𝜑 ∧ 𝐹 ∈ V) → 𝐾 ∈ (𝐷 Func 𝐸))
76func1st2nd 50183 . . . . . . . 8 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘𝐾)(𝐷 Func 𝐸)(2nd ‘𝐾))
87funcrcl2 50186 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐷 ∈ Cat)
97funcrcl3 50187 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐸 ∈ Cat)
10 simpr 490 . . . . . . 7 ((𝜑 ∧ 𝐹 ∈ V) → 𝐹 ∈ V)
113, 4, 8, 9, 10prcofvala 50484 . . . . . 6 ((𝜑 ∧ 𝐹 ∈ V) → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
1211fveq2d 6889 . . . . 5 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩))
13 ovex 7453 . . . . . . 7 (𝐷 Func 𝐸) ∈ V
1413mptex 7229 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)) ∈ V
1513, 13mpoex 8092 . . . . . 6 (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹)))) ∈ V
1614, 15op1st 8009 . . . . 5 (1st ‘⟨(𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ (𝐷 Func 𝐸), 𝑙 ∈ (𝐷 Func 𝐸) ↦ (𝑎 ∈ (𝑘(𝐷 Nat 𝐸)𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹))
1712, 16eqtrdi 2812 . . . 4 ((𝜑 ∧ 𝐹 ∈ V) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)))
182, 17eqtr3d 2798 . . 3 ((𝜑 ∧ 𝐹 ∈ V) → 𝑂 = (𝑘 ∈ (𝐷 Func 𝐸) ↦ (𝑘 ∘func 𝐹)))
19 simpr 490 . . . 4 (((𝜑 ∧ 𝐹 ∈ V) ∧ 𝑘 = 𝐾) → 𝑘 = 𝐾)
2019oveq1d 7435 . . 3 (((𝜑 ∧ 𝐹 ∈ V) ∧ 𝑘 = 𝐾) → (𝑘 ∘func 𝐹) = (𝐾 ∘func 𝐹))
21 ovexd 7455 . . 3 ((𝜑 ∧ 𝐹 ∈ V) → (𝐾 ∘func 𝐹) ∈ V)
2218, 20, 6, 21fvmptd 7001 . 2 ((𝜑 ∧ 𝐹 ∈ V) → (𝑂‘𝐾) = (𝐾 ∘func 𝐹))
23 0fv 6926 . . 3 (∅‘𝐾) = ∅
24 reldmprcof 50482 . . . . . . . 8 Rel dom −∘F
2524ovprc2 7460 . . . . . . 7 (¬ 𝐹 ∈ V → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ∅)
2625fveq2d 6889 . . . . . 6 (¬ 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘∅))
27 1st0 8007 . . . . . 6 (1st ‘∅) = ∅
2826, 27eqtrdi 2812 . . . . 5 (¬ 𝐹 ∈ V → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = ∅)
291, 28sylan9req 2817 . . . 4 ((𝜑 ∧ ¬ 𝐹 ∈ V) → 𝑂 = ∅)
3029fveq1d 6887 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝑂‘𝐾) = (∅‘𝐾))
31 df-cofu 18035 . . . . . 6 ∘func = (𝑙 ∈ V, 𝑘 ∈ V ↦ ⟨((1st ‘𝑙) ∘ (1st ‘𝑘)), (𝑎 ∈ dom dom (2nd ‘𝑘), 𝑏 ∈ dom dom (2nd ‘𝑘) ↦ ((((1st ‘𝑘)‘𝑎)(2nd ‘𝑙)((1st ‘𝑘)‘𝑏)) ∘ (𝑎(2nd ‘𝑘)𝑏)))⟩)
3231reldmmpo 7554 . . . . 5 Rel dom ∘func
3332ovprc2 7460 . . . 4 (¬ 𝐹 ∈ V → (𝐾 ∘func 𝐹) = ∅)
3433adantl 487 . . 3 ((𝜑 ∧ ¬ 𝐹 ∈ V) → (𝐾 ∘func 𝐹) = ∅)
3523, 30, 343eqtr4a 2822 . 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 1570   ∈ wcel 2145  Vcvv 3451  ∅c0 4279  ⟨cop 4590   ↦ cmpt 5186  dom cdm 5651   ∘ ccom 5655  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000  Catccat 17838   Func cfunc 18029   ∘func ccofu 18031   Nat cnat 18119   −∘F cprcof 50480
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 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-func 18033  df-cofu 18035  df-prcof 50481
This theorem is used by:  prcofdiag  50501  lanrcl5  50742  ranrcl5  50747  lanup  50748  ranup  50749
  Copyright terms: Public domain W3C validator