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

Theorem lanfval 49868
Description: Value of the function generating the set of left Kan extensions. (Contributed by Zhi Wang, 3-Nov-2025.)
Hypotheses
Ref Expression
lanfval.r 𝑅 = (𝐷 FuncCat 𝐸)
lanfval.s 𝑆 = (𝐶 FuncCat 𝐸)
lanfval.c (𝜑𝐶𝑈)
lanfval.d (𝜑𝐷𝑉)
lanfval.e (𝜑𝐸𝑊)
Assertion
Ref Expression
lanfval (𝜑 → (⟨𝐶, 𝐷⟩ Lan 𝐸) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)))
Distinct variable groups:   𝐶,𝑓,𝑥   𝐷,𝑓,𝑥   𝑓,𝐸,𝑥   𝜑,𝑓,𝑥
Allowed substitution hints:   𝑅(𝑥,𝑓)   𝑆(𝑥,𝑓)   𝑈(𝑥,𝑓)   𝑉(𝑥,𝑓)   𝑊(𝑥,𝑓)

Proof of Theorem lanfval
Dummy variables 𝑐 𝑑 𝑒 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-lan 49862 . . 3 Lan = (𝑝 ∈ (V × V), 𝑒 ∈ V ↦ (1st𝑝) / 𝑐(2nd𝑝) / 𝑑(𝑓 ∈ (𝑐 Func 𝑑), 𝑥 ∈ (𝑐 Func 𝑒) ↦ ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥)))
21a1i 11 . 2 (𝜑 → Lan = (𝑝 ∈ (V × V), 𝑒 ∈ V ↦ (1st𝑝) / 𝑐(2nd𝑝) / 𝑑(𝑓 ∈ (𝑐 Func 𝑑), 𝑥 ∈ (𝑐 Func 𝑒) ↦ ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥))))
3 fvexd 6849 . . 3 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → (1st𝑝) ∈ V)
4 simprl 770 . . . . 5 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → 𝑝 = ⟨𝐶, 𝐷⟩)
54fveq2d 6838 . . . 4 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → (1st𝑝) = (1st ‘⟨𝐶, 𝐷⟩))
6 lanfval.c . . . . . 6 (𝜑𝐶𝑈)
7 lanfval.d . . . . . 6 (𝜑𝐷𝑉)
8 op1stg 7945 . . . . . 6 ((𝐶𝑈𝐷𝑉) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
96, 7, 8syl2anc 584 . . . . 5 (𝜑 → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
109adantr 480 . . . 4 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
115, 10eqtrd 2771 . . 3 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → (1st𝑝) = 𝐶)
12 fvexd 6849 . . . 4 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → (2nd𝑝) ∈ V)
13 simplrl 776 . . . . . 6 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → 𝑝 = ⟨𝐶, 𝐷⟩)
1413fveq2d 6838 . . . . 5 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → (2nd𝑝) = (2nd ‘⟨𝐶, 𝐷⟩))
15 op2ndg 7946 . . . . . . 7 ((𝐶𝑈𝐷𝑉) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
166, 7, 15syl2anc 584 . . . . . 6 (𝜑 → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
1716ad2antrr 726 . . . . 5 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
1814, 17eqtrd 2771 . . . 4 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → (2nd𝑝) = 𝐷)
19 simplr 768 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → 𝑐 = 𝐶)
20 simpr 484 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → 𝑑 = 𝐷)
2119, 20oveq12d 7376 . . . . 5 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑐 Func 𝑑) = (𝐶 Func 𝐷))
22 simpllr 775 . . . . . . 7 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸))
2322simprd 495 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → 𝑒 = 𝐸)
2419, 23oveq12d 7376 . . . . 5 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑐 Func 𝑒) = (𝐶 Func 𝐸))
2520, 23oveq12d 7376 . . . . . . . 8 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑑 FuncCat 𝑒) = (𝐷 FuncCat 𝐸))
26 lanfval.r . . . . . . . 8 𝑅 = (𝐷 FuncCat 𝐸)
2725, 26eqtr4di 2789 . . . . . . 7 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑑 FuncCat 𝑒) = 𝑅)
2819, 23oveq12d 7376 . . . . . . . 8 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑐 FuncCat 𝑒) = (𝐶 FuncCat 𝐸))
29 lanfval.s . . . . . . . 8 𝑆 = (𝐶 FuncCat 𝐸)
3028, 29eqtr4di 2789 . . . . . . 7 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑐 FuncCat 𝑒) = 𝑆)
3127, 30oveq12d 7376 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → ((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒)) = (𝑅 UP 𝑆))
3220, 23opeq12d 4837 . . . . . . 7 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → ⟨𝑑, 𝑒⟩ = ⟨𝐷, 𝐸⟩)
3332oveq1d 7373 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (⟨𝑑, 𝑒⟩ −∘F 𝑓) = (⟨𝐷, 𝐸⟩ −∘F 𝑓))
34 eqidd 2737 . . . . . 6 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → 𝑥 = 𝑥)
3531, 33, 34oveq123d 7379 . . . . 5 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥) = ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥))
3621, 24, 35mpoeq123dv 7433 . . . 4 ((((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) ∧ 𝑑 = 𝐷) → (𝑓 ∈ (𝑐 Func 𝑑), 𝑥 ∈ (𝑐 Func 𝑒) ↦ ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥)) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)))
3712, 18, 36csbied2 3886 . . 3 (((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) ∧ 𝑐 = 𝐶) → (2nd𝑝) / 𝑑(𝑓 ∈ (𝑐 Func 𝑑), 𝑥 ∈ (𝑐 Func 𝑒) ↦ ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥)) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)))
383, 11, 37csbied2 3886 . 2 ((𝜑 ∧ (𝑝 = ⟨𝐶, 𝐷⟩ ∧ 𝑒 = 𝐸)) → (1st𝑝) / 𝑐(2nd𝑝) / 𝑑(𝑓 ∈ (𝑐 Func 𝑑), 𝑥 ∈ (𝑐 Func 𝑒) ↦ ((⟨𝑑, 𝑒⟩ −∘F 𝑓)((𝑑 FuncCat 𝑒) UP (𝑐 FuncCat 𝑒))𝑥)) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)))
396elexd 3464 . . 3 (𝜑𝐶 ∈ V)
407elexd 3464 . . 3 (𝜑𝐷 ∈ V)
4139, 40opelxpd 5663 . 2 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ (V × V))
42 lanfval.e . . 3 (𝜑𝐸𝑊)
4342elexd 3464 . 2 (𝜑𝐸 ∈ V)
44 ovex 7391 . . . 4 (𝐶 Func 𝐷) ∈ V
45 ovex 7391 . . . 4 (𝐶 Func 𝐸) ∈ V
4644, 45mpoex 8023 . . 3 (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)) ∈ V
4746a1i 11 . 2 (𝜑 → (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)) ∈ V)
482, 38, 41, 43, 47ovmpod 7510 1 (𝜑 → (⟨𝐶, 𝐷⟩ Lan 𝐸) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥 ∈ (𝐶 Func 𝐸) ↦ ((⟨𝐷, 𝐸⟩ −∘F 𝑓)(𝑅 UP 𝑆)𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2113  Vcvv 3440  csb 3849  cop 4586   × cxp 5622  cfv 6492  (class class class)co 7358  cmpo 7360  1st c1st 7931  2nd c2nd 7932   Func cfunc 17778   FuncCat cfuc 17869   UP cup 49428   −∘F cprcof 49628   Lan clan 49860
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2184  ax-ext 2708  ax-rep 5224  ax-sep 5241  ax-nul 5251  ax-pow 5310  ax-pr 5377  ax-un 7680
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-reu 3351  df-rab 3400  df-v 3442  df-sbc 3741  df-csb 3850  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-iun 4948  df-br 5099  df-opab 5161  df-mpt 5180  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-ov 7361  df-oprab 7362  df-mpo 7363  df-1st 7933  df-2nd 7934  df-lan 49862
This theorem is referenced by:  lanpropd  49870  reldmlan2  49872  lanval  49874  lanrcl  49876
  Copyright terms: Public domain W3C validator