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

Theorem ranup 49897
Description: The universal property of the right Kan extension; expressed explicitly. (Contributed by Zhi Wang, 5-Nov-2025.)
Hypotheses
Ref Expression
lanup.s 𝑆 = (𝐶 FuncCat 𝐸)
lanup.m 𝑀 = (𝐷 Nat 𝐸)
lanup.n 𝑁 = (𝐶 Nat 𝐸)
lanup.x = (comp‘𝑆)
lanup.f (𝜑𝐹 ∈ (𝐶 Func 𝐷))
lanup.l (𝜑𝐿 ∈ (𝐷 Func 𝐸))
ranup.a (𝜑𝐴 ∈ ((𝐿func 𝐹)𝑁𝑋))
Assertion
Ref Expression
ranup (𝜑 → (𝐿(𝐹(⟨𝐶, 𝐷⟩ Ran 𝐸)𝑋)𝐴 ↔ ∀𝑙 ∈ (𝐷 Func 𝐸)∀𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹)))))
Distinct variable groups:   𝐴,𝑎,𝑏,𝑙   𝐶,𝑎,𝑏,𝑙   𝐷,𝑎,𝑏,𝑙   𝐸,𝑎,𝑏,𝑙   𝐹,𝑎,𝑏,𝑙   𝐿,𝑎,𝑏,𝑙   𝑀,𝑏   𝑁,𝑎,𝑏   𝑆,𝑎,𝑏,𝑙   𝑋,𝑎,𝑏,𝑙   𝜑,𝑎,𝑏,𝑙
Allowed substitution hints:   (𝑎,𝑏,𝑙)   𝑀(𝑎,𝑙)   𝑁(𝑙)

Proof of Theorem ranup
StepHypRef Expression
1 eqid 2736 . . . 4 (𝐷 FuncCat 𝐸) = (𝐷 FuncCat 𝐸)
21fucbas 17887 . . 3 (𝐷 Func 𝐸) = (Base‘(𝐷 FuncCat 𝐸))
3 lanup.s . . . 4 𝑆 = (𝐶 FuncCat 𝐸)
43fucbas 17887 . . 3 (𝐶 Func 𝐸) = (Base‘𝑆)
5 lanup.m . . . 4 𝑀 = (𝐷 Nat 𝐸)
61, 5fuchom 17888 . . 3 𝑀 = (Hom ‘(𝐷 FuncCat 𝐸))
7 lanup.n . . . 4 𝑁 = (𝐶 Nat 𝐸)
83, 7fuchom 17888 . . 3 𝑁 = (Hom ‘𝑆)
9 lanup.x . . 3 = (comp‘𝑆)
10 ranup.a . . . . 5 (𝜑𝐴 ∈ ((𝐿func 𝐹)𝑁𝑋))
117natrcl 17877 . . . . 5 (𝐴 ∈ ((𝐿func 𝐹)𝑁𝑋) → ((𝐿func 𝐹) ∈ (𝐶 Func 𝐸) ∧ 𝑋 ∈ (𝐶 Func 𝐸)))
1210, 11syl 17 . . . 4 (𝜑 → ((𝐿func 𝐹) ∈ (𝐶 Func 𝐸) ∧ 𝑋 ∈ (𝐶 Func 𝐸)))
1312simprd 495 . . 3 (𝜑𝑋 ∈ (𝐶 Func 𝐸))
1413func1st2nd 49331 . . . . 5 (𝜑 → (1st𝑋)(𝐶 Func 𝐸)(2nd𝑋))
1514funcrcl3 49335 . . . 4 (𝜑𝐸 ∈ Cat)
16 lanup.f . . . 4 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
17 opex 5412 . . . . . . 7 𝐷, 𝐸⟩ ∈ V
1817a1i 11 . . . . . 6 (𝜑 → ⟨𝐷, 𝐸⟩ ∈ V)
1916, 18prcofelvv 49635 . . . . 5 (𝜑 → (⟨𝐷, 𝐸⟩ −∘F 𝐹) ∈ (V × V))
20 1st2nd2 7972 . . . . 5 ((⟨𝐷, 𝐸⟩ −∘F 𝐹) ∈ (V × V) → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)), (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))⟩)
2119, 20syl 17 . . . 4 (𝜑 → (⟨𝐷, 𝐸⟩ −∘F 𝐹) = ⟨(1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)), (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))⟩)
221, 15, 3, 16, 21prcoffunca2 49642 . . 3 (𝜑 → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))((𝐷 FuncCat 𝐸) Func 𝑆)(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)))
23 lanup.l . . 3 (𝜑𝐿 ∈ (𝐷 Func 𝐸))
24 eqidd 2737 . . . . . 6 (𝜑 → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)))
2523, 24prcof1 49643 . . . . 5 (𝜑 → ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿) = (𝐿func 𝐹))
2625oveq1d 7373 . . . 4 (𝜑 → (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)𝑁𝑋) = ((𝐿func 𝐹)𝑁𝑋))
2710, 26eleqtrrd 2839 . . 3 (𝜑𝐴 ∈ (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)𝑁𝑋))
28 eqid 2736 . . 3 (oppCat‘(𝐷 FuncCat 𝐸)) = (oppCat‘(𝐷 FuncCat 𝐸))
29 eqid 2736 . . 3 (oppCat‘𝑆) = (oppCat‘𝑆)
302, 4, 6, 8, 9, 13, 22, 23, 27, 28, 29oppcup 49462 . 2 (𝜑 → (𝐿(⟨(1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)), tpos (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))⟩((oppCat‘(𝐷 FuncCat 𝐸)) UP (oppCat‘𝑆))𝑋)𝐴 ↔ ∀𝑙 ∈ (𝐷 Func 𝐸)∀𝑎 ∈ (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏))))
313fveq2i 6837 . . . 4 (oppCat‘𝑆) = (oppCat‘(𝐶 FuncCat 𝐸))
3228, 31, 21, 16ranval2 49885 . . 3 (𝜑 → (𝐹(⟨𝐶, 𝐷⟩ Ran 𝐸)𝑋) = (⟨(1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)), tpos (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))⟩((oppCat‘(𝐷 FuncCat 𝐸)) UP (oppCat‘𝑆))𝑋))
3332breqd 5109 . 2 (𝜑 → (𝐿(𝐹(⟨𝐶, 𝐷⟩ Ran 𝐸)𝑋)𝐴𝐿(⟨(1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)), tpos (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))⟩((oppCat‘(𝐷 FuncCat 𝐸)) UP (oppCat‘𝑆))𝑋)𝐴))
34 simpr 484 . . . . . . 7 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → 𝑙 ∈ (𝐷 Func 𝐸))
35 eqidd 2737 . . . . . . 7 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)))
3634, 35prcof1 49643 . . . . . 6 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙) = (𝑙func 𝐹))
3736eqcomd 2742 . . . . 5 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → (𝑙func 𝐹) = ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙))
3837oveq1d 7373 . . . 4 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → ((𝑙func 𝐹)𝑁𝑋) = (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙)𝑁𝑋))
3936ad2antrr 726 . . . . . . . . . 10 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙) = (𝑙func 𝐹))
4025ad3antrrr 730 . . . . . . . . . 10 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿) = (𝐿func 𝐹))
4139, 40opeq12d 4837 . . . . . . . . 9 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → ⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ = ⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩)
4241oveq1d 7373 . . . . . . . 8 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → (⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋) = (⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋))
43 eqidd 2737 . . . . . . . 8 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → 𝐴 = 𝐴)
44 simpr 484 . . . . . . . . 9 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → 𝑏 ∈ (𝑙𝑀𝐿))
45 eqidd 2737 . . . . . . . . 9 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)) = (2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹)))
4616ad3antrrr 730 . . . . . . . . 9 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → 𝐹 ∈ (𝐶 Func 𝐷))
475, 44, 45, 46prcof21a 49646 . . . . . . . 8 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → ((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏) = (𝑏 ∘ (1st𝐹)))
4842, 43, 47oveq123d 7379 . . . . . . 7 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏)) = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))))
4948eqcomd 2742 . . . . . 6 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))) = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏)))
5049eqeq2d 2747 . . . . 5 ((((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) ∧ 𝑏 ∈ (𝑙𝑀𝐿)) → (𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))) ↔ 𝑎 = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏))))
5150reubidva 3364 . . . 4 (((𝜑𝑙 ∈ (𝐷 Func 𝐸)) ∧ 𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)) → (∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))) ↔ ∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏))))
5238, 51raleqbidva 3302 . . 3 ((𝜑𝑙 ∈ (𝐷 Func 𝐸)) → (∀𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))) ↔ ∀𝑎 ∈ (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏))))
5352ralbidva 3157 . 2 (𝜑 → (∀𝑙 ∈ (𝐷 Func 𝐸)∀𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹))) ↔ ∀𝑙 ∈ (𝐷 Func 𝐸)∀𝑎 ∈ (((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝑙), ((1st ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))‘𝐿)⟩ 𝑋)((𝑙(2nd ‘(⟨𝐷, 𝐸⟩ −∘F 𝐹))𝐿)‘𝑏))))
5430, 33, 533bitr4d 311 1 (𝜑 → (𝐿(𝐹(⟨𝐶, 𝐷⟩ Ran 𝐸)𝑋)𝐴 ↔ ∀𝑙 ∈ (𝐷 Func 𝐸)∀𝑎 ∈ ((𝑙func 𝐹)𝑁𝑋)∃!𝑏 ∈ (𝑙𝑀𝐿)𝑎 = (𝐴(⟨(𝑙func 𝐹), (𝐿func 𝐹)⟩ 𝑋)(𝑏 ∘ (1st𝐹)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1541  wcel 2113  wral 3051  ∃!wreu 3348  Vcvv 3440  cop 4586   class class class wbr 5098   × cxp 5622  ccom 5628  cfv 6492  (class class class)co 7358  1st c1st 7931  2nd c2nd 7932  tpos ctpos 8167  compcco 17189  oppCatcoppc 17634   Func cfunc 17778  func ccofu 17780   Nat cnat 17868   FuncCat cfuc 17869   UP cup 49428   −∘F cprcof 49628   Ran cran 49861
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  ax-cnex 11082  ax-resscn 11083  ax-1cn 11084  ax-icn 11085  ax-addcl 11086  ax-addrcl 11087  ax-mulcl 11088  ax-mulrcl 11089  ax-mulcom 11090  ax-addass 11091  ax-mulass 11092  ax-distr 11093  ax-i2m1 11094  ax-1ne0 11095  ax-1rid 11096  ax-rnegex 11097  ax-rrecex 11098  ax-cnre 11099  ax-pre-lttri 11100  ax-pre-lttrn 11101  ax-pre-ltadd 11102  ax-pre-mulgt0 11103
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  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-nel 3037  df-ral 3052  df-rex 3061  df-rmo 3350  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-pss 3921  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-tp 4585  df-op 4587  df-uni 4864  df-iun 4948  df-br 5099  df-opab 5161  df-mpt 5180  df-tr 5206  df-id 5519  df-eprel 5524  df-po 5532  df-so 5533  df-fr 5577  df-we 5579  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-pred 6259  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  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-riota 7315  df-ov 7361  df-oprab 7362  df-mpo 7363  df-om 7809  df-1st 7933  df-2nd 7934  df-tpos 8168  df-frecs 8223  df-wrecs 8254  df-recs 8303  df-rdg 8341  df-1o 8397  df-er 8635  df-map 8765  df-ixp 8836  df-en 8884  df-dom 8885  df-sdom 8886  df-fin 8887  df-pnf 11168  df-mnf 11169  df-xr 11170  df-ltxr 11171  df-le 11172  df-sub 11366  df-neg 11367  df-nn 12146  df-2 12208  df-3 12209  df-4 12210  df-5 12211  df-6 12212  df-7 12213  df-8 12214  df-9 12215  df-n0 12402  df-z 12489  df-dec 12608  df-uz 12752  df-fz 13424  df-struct 17074  df-sets 17091  df-slot 17109  df-ndx 17121  df-base 17137  df-hom 17201  df-cco 17202  df-cat 17591  df-cid 17592  df-oppc 17635  df-func 17782  df-cofu 17784  df-nat 17870  df-fuc 17871  df-xpc 18095  df-curf 18137  df-oppf 49378  df-up 49429  df-swapf 49515  df-fuco 49572  df-prcof 49629  df-ran 49863
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator