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

Theorem prcofvalg 50483
Description: Value of the pre-composition functor. (Contributed by Zhi Wang, 2-Nov-2025.)
Hypotheses
Ref Expression
prcofvalg.b 𝐵 = (𝐷 Func 𝐸)
prcofvalg.n 𝑁 = (𝐷 Nat 𝐸)
prcofvalg.f (𝜑 → 𝐹 ∈ 𝑈)
prcofvalg.p (𝜑 → 𝑃 ∈ 𝑉)
prcofvalg.d (𝜑 → (1st ‘𝑃) = 𝐷)
prcofvalg.e (𝜑 → (2nd ‘𝑃) = 𝐸)
Assertion
Ref Expression
prcofvalg (𝜑 → (𝑃 −∘F 𝐹) = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
Distinct variable groups:   𝐵,𝑎,𝑘,𝑙   𝐷,𝑎,𝑘,𝑙   𝐸,𝑎,𝑘,𝑙   𝐹,𝑎,𝑘,𝑙   𝑃,𝑎,𝑘,𝑙   𝜑,𝑎,𝑘,𝑙
Allowed substitution hints:   𝑈(𝑘, 𝑎, 𝑙)   𝑁(𝑘, 𝑎, 𝑙)   𝑉(𝑘, 𝑎, 𝑙)

Proof of Theorem prcofvalg
Dummy variables 𝑏 𝑑 𝑒 𝑓 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-prcof 50481 . . 3 −∘F = (𝑝 ∈ V, 𝑓 ∈ V ↦ ⦋(1st ‘𝑝) / 𝑑⦌⦋(2nd ‘𝑝) / 𝑒⦌⦋(𝑑 Func 𝑒) / 𝑏⦌⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩)
21a1i 11 . 2 (𝜑 → −∘F = (𝑝 ∈ V, 𝑓 ∈ V ↦ ⦋(1st ‘𝑝) / 𝑑⦌⦋(2nd ‘𝑝) / 𝑒⦌⦋(𝑑 Func 𝑒) / 𝑏⦌⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩))
3 fvexd 6900 . . 3 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → (1st ‘𝑝) ∈ V)
4 simprl 783 . . . . 5 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → 𝑝 = 𝑃)
54fveq2d 6889 . . . 4 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → (1st ‘𝑝) = (1st ‘𝑃))
6 prcofvalg.d . . . . 5 (𝜑 → (1st ‘𝑃) = 𝐷)
76adantr 486 . . . 4 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → (1st ‘𝑃) = 𝐷)
85, 7eqtrd 2796 . . 3 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → (1st ‘𝑝) = 𝐷)
9 fvexd 6900 . . . 4 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → (2nd ‘𝑝) ∈ V)
104adantr 486 . . . . . 6 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → 𝑝 = 𝑃)
1110fveq2d 6889 . . . . 5 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → (2nd ‘𝑝) = (2nd ‘𝑃))
12 prcofvalg.e . . . . . 6 (𝜑 → (2nd ‘𝑃) = 𝐸)
1312ad2antrr 739 . . . . 5 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → (2nd ‘𝑃) = 𝐸)
1411, 13eqtrd 2796 . . . 4 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → (2nd ‘𝑝) = 𝐸)
15 ovexd 7455 . . . . 5 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → (𝑑 Func 𝑒) ∈ V)
16 simplr 781 . . . . . . 7 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → 𝑑 = 𝐷)
17 simpr 490 . . . . . . 7 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → 𝑒 = 𝐸)
1816, 17oveq12d 7438 . . . . . 6 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → (𝑑 Func 𝑒) = (𝐷 Func 𝐸))
19 prcofvalg.b . . . . . 6 𝐵 = (𝐷 Func 𝐸)
2018, 19eqtr4di 2814 . . . . 5 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → (𝑑 Func 𝑒) = 𝐵)
21 simpr 490 . . . . . . 7 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
22 simp-4r 796 . . . . . . . . 9 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑝 = 𝑃 ∧ 𝑓 = 𝐹))
2322simprd 501 . . . . . . . 8 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → 𝑓 = 𝐹)
2423oveq2d 7436 . . . . . . 7 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑘 ∘func 𝑓) = (𝑘 ∘func 𝐹))
2521, 24mpteq12dv 5192 . . . . . 6 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)) = (𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)))
2616, 17oveq12d 7438 . . . . . . . . . 10 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → (𝑑 Nat 𝑒) = (𝐷 Nat 𝐸))
27 prcofvalg.n . . . . . . . . . 10 𝑁 = (𝐷 Nat 𝐸)
2826, 27eqtr4di 2814 . . . . . . . . 9 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → (𝑑 Nat 𝑒) = 𝑁)
2928oveqdr 7448 . . . . . . . 8 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑘(𝑑 Nat 𝑒)𝑙) = (𝑘𝑁𝑙))
3023fveq2d 6889 . . . . . . . . 9 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (1st ‘𝑓) = (1st ‘𝐹))
3130coeq2d 5840 . . . . . . . 8 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑎 ∘ (1st ‘𝑓)) = (𝑎 ∘ (1st ‘𝐹)))
3229, 31mpteq12dv 5192 . . . . . . 7 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))) = (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))
3321, 21, 32mpoeq123dv 7495 . . . . . 6 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓)))) = (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹)))))
3425, 33opeq12d 4841 . . . . 5 (((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) ∧ 𝑏 = 𝐵) → ⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩ = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
3515, 20, 34csbied2 3884 . . . 4 ((((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) ∧ 𝑒 = 𝐸) → ⦋(𝑑 Func 𝑒) / 𝑏⦌⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩ = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
369, 14, 35csbied2 3884 . . 3 (((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) ∧ 𝑑 = 𝐷) → ⦋(2nd ‘𝑝) / 𝑒⦌⦋(𝑑 Func 𝑒) / 𝑏⦌⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩ = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
373, 8, 36csbied2 3884 . 2 ((𝜑 ∧ (𝑝 = 𝑃 ∧ 𝑓 = 𝐹)) → ⦋(1st ‘𝑝) / 𝑑⦌⦋(2nd ‘𝑝) / 𝑒⦌⦋(𝑑 Func 𝑒) / 𝑏⦌⟨(𝑘 ∈ 𝑏 ↦ (𝑘 ∘func 𝑓)), (𝑘 ∈ 𝑏, 𝑙 ∈ 𝑏 ↦ (𝑎 ∈ (𝑘(𝑑 Nat 𝑒)𝑙) ↦ (𝑎 ∘ (1st ‘𝑓))))⟩ = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
38 prcofvalg.p . . 3 (𝜑 → 𝑃 ∈ 𝑉)
3938elexd 3474 . 2 (𝜑 → 𝑃 ∈ V)
40 prcofvalg.f . . 3 (𝜑 → 𝐹 ∈ 𝑈)
4140elexd 3474 . 2 (𝜑 → 𝐹 ∈ V)
42 opex 5432 . . 3 ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩ ∈ V
4342a1i 11 . 2 (𝜑 → ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩ ∈ V)
442, 37, 39, 41, 43ovmpod 7572 1 (𝜑 → (𝑃 −∘F 𝐹) = ⟨(𝑘 ∈ 𝐵 ↦ (𝑘 ∘func 𝐹)), (𝑘 ∈ 𝐵, 𝑙 ∈ 𝐵 ↦ (𝑎 ∈ (𝑘𝑁𝑙) ↦ (𝑎 ∘ (1st ‘𝐹))))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847  ⟨cop 4590   ↦ cmpt 5186   ∘ ccom 5655  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000   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-sep 5249  ax-nul 5260  ax-pr 5391
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-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-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  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-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-prcof 50481
This theorem is used by:  prcofvala  50484  prcofelvv  50487  reldmprcof1  50488  reldmprcof2  50489
  Copyright terms: Public domain W3C validator