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

Theorem ranpropd 50453
Description: If the categories have the same set of objects, morphisms, and compositions, then they have the same right Kan extensions. (Contributed by Zhi Wang, 21-Nov-2025.)
Hypotheses
Ref Expression
lanpropd.1 (𝜑 → (Homf𝐴) = (Homf𝐵))
lanpropd.2 (𝜑 → (compf𝐴) = (compf𝐵))
lanpropd.3 (𝜑 → (Homf𝐶) = (Homf𝐷))
lanpropd.4 (𝜑 → (compf𝐶) = (compf𝐷))
lanpropd.5 (𝜑 → (Homf𝐸) = (Homf𝐹))
lanpropd.6 (𝜑 → (compf𝐸) = (compf𝐹))
lanpropd.a (𝜑𝐴𝑉)
lanpropd.b (𝜑𝐵𝑉)
lanpropd.c (𝜑𝐶𝑉)
lanpropd.d (𝜑𝐷𝑉)
lanpropd.e (𝜑𝐸𝑉)
lanpropd.f (𝜑𝐹𝑉)
Assertion
Ref Expression
ranpropd (𝜑 → (⟨𝐴, 𝐶⟩ Ran 𝐸) = (⟨𝐵, 𝐷⟩ Ran 𝐹))

Proof of Theorem ranpropd
Dummy variables 𝑓 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 lanpropd.1 . . . 4 (𝜑 → (Homf𝐴) = (Homf𝐵))
2 lanpropd.2 . . . 4 (𝜑 → (compf𝐴) = (compf𝐵))
3 lanpropd.3 . . . 4 (𝜑 → (Homf𝐶) = (Homf𝐷))
4 lanpropd.4 . . . 4 (𝜑 → (compf𝐶) = (compf𝐷))
5 lanpropd.a . . . 4 (𝜑𝐴𝑉)
6 lanpropd.b . . . 4 (𝜑𝐵𝑉)
7 lanpropd.c . . . 4 (𝜑𝐶𝑉)
8 lanpropd.d . . . 4 (𝜑𝐷𝑉)
91, 2, 3, 4, 5, 6, 7, 8funcpropd 17983 . . 3 (𝜑 → (𝐴 Func 𝐶) = (𝐵 Func 𝐷))
10 lanpropd.5 . . . . 5 (𝜑 → (Homf𝐸) = (Homf𝐹))
11 lanpropd.6 . . . . 5 (𝜑 → (compf𝐸) = (compf𝐹))
12 lanpropd.e . . . . 5 (𝜑𝐸𝑉)
13 lanpropd.f . . . . 5 (𝜑𝐹𝑉)
141, 2, 10, 11, 5, 6, 12, 13funcpropd 17983 . . . 4 (𝜑 → (𝐴 Func 𝐸) = (𝐵 Func 𝐹))
1514adantr 486 . . 3 ((𝜑𝑓 ∈ (𝐴 Func 𝐶)) → (𝐴 Func 𝐸) = (𝐵 Func 𝐹))
163adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (Homf𝐶) = (Homf𝐷))
174adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (compf𝐶) = (compf𝐷))
1810adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (Homf𝐸) = (Homf𝐹))
1911adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (compf𝐸) = (compf𝐹))
20 funcrcl 17944 . . . . . . . . 9 (𝑓 ∈ (𝐴 Func 𝐶) → (𝐴 ∈ Cat ∧ 𝐶 ∈ Cat))
2120ad2antrl 741 . . . . . . . 8 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐴 ∈ Cat ∧ 𝐶 ∈ Cat))
2221simprd 501 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐶 ∈ Cat)
238adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐷𝑉)
2416, 17, 22, 23catpropd 17789 . . . . . . . 8 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐶 ∈ Cat ↔ 𝐷 ∈ Cat))
2522, 24mpbid 235 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐷 ∈ Cat)
26 funcrcl 17944 . . . . . . . . 9 (𝑥 ∈ (𝐴 Func 𝐸) → (𝐴 ∈ Cat ∧ 𝐸 ∈ Cat))
2726ad2antll 742 . . . . . . . 8 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐴 ∈ Cat ∧ 𝐸 ∈ Cat))
2827simprd 501 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐸 ∈ Cat)
2913adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐹𝑉)
3018, 19, 28, 29catpropd 17789 . . . . . . . 8 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐸 ∈ Cat ↔ 𝐹 ∈ Cat))
3128, 30mpbid 235 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐹 ∈ Cat)
3216, 17, 18, 19, 22, 25, 28, 31fucpropd 18061 . . . . . 6 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐶 FuncCat 𝐸) = (𝐷 FuncCat 𝐹))
3332fveq2d 6889 . . . . 5 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (oppCat‘(𝐶 FuncCat 𝐸)) = (oppCat‘(𝐷 FuncCat 𝐹)))
341adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (Homf𝐴) = (Homf𝐵))
352adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (compf𝐴) = (compf𝐵))
3621simpld 500 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐴 ∈ Cat)
376adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐵𝑉)
3834, 35, 36, 37catpropd 17789 . . . . . . . 8 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐴 ∈ Cat ↔ 𝐵 ∈ Cat))
3936, 38mpbid 235 . . . . . . 7 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝐵 ∈ Cat)
4034, 35, 18, 19, 36, 39, 28, 31fucpropd 18061 . . . . . 6 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (𝐴 FuncCat 𝐸) = (𝐵 FuncCat 𝐹))
4140fveq2d 6889 . . . . 5 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (oppCat‘(𝐴 FuncCat 𝐸)) = (oppCat‘(𝐵 FuncCat 𝐹)))
4233, 41oveq12d 7437 . . . 4 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → ((oppCat‘(𝐶 FuncCat 𝐸)) UP (oppCat‘(𝐴 FuncCat 𝐸))) = ((oppCat‘(𝐷 FuncCat 𝐹)) UP (oppCat‘(𝐵 FuncCat 𝐹))))
43 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝑓 ∈ (𝐴 Func 𝐶))
4416, 17, 18, 19, 22, 25, 28, 31, 43prcofpropd 50216 . . . . 5 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (⟨𝐶, 𝐸⟩ −∘F 𝑓) = (⟨𝐷, 𝐹⟩ −∘F 𝑓))
4544fveq2d 6889 . . . 4 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → ( oppFunc ‘(⟨𝐶, 𝐸⟩ −∘F 𝑓)) = ( oppFunc ‘(⟨𝐷, 𝐹⟩ −∘F 𝑓)))
46 eqidd 2766 . . . 4 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → 𝑥 = 𝑥)
4742, 45, 46oveq123d 7440 . . 3 ((𝜑 ∧ (𝑓 ∈ (𝐴 Func 𝐶) ∧ 𝑥 ∈ (𝐴 Func 𝐸))) → (( oppFunc ‘(⟨𝐶, 𝐸⟩ −∘F 𝑓))((oppCat‘(𝐶 FuncCat 𝐸)) UP (oppCat‘(𝐴 FuncCat 𝐸)))𝑥) = (( oppFunc ‘(⟨𝐷, 𝐹⟩ −∘F 𝑓))((oppCat‘(𝐷 FuncCat 𝐹)) UP (oppCat‘(𝐵 FuncCat 𝐹)))𝑥))
489, 15, 47mpoeq123dva 7493 . 2 (𝜑 → (𝑓 ∈ (𝐴 Func 𝐶), 𝑥 ∈ (𝐴 Func 𝐸) ↦ (( oppFunc ‘(⟨𝐶, 𝐸⟩ −∘F 𝑓))((oppCat‘(𝐶 FuncCat 𝐸)) UP (oppCat‘(𝐴 FuncCat 𝐸)))𝑥)) = (𝑓 ∈ (𝐵 Func 𝐷), 𝑥 ∈ (𝐵 Func 𝐹) ↦ (( oppFunc ‘(⟨𝐷, 𝐹⟩ −∘F 𝑓))((oppCat‘(𝐷 FuncCat 𝐹)) UP (oppCat‘(𝐵 FuncCat 𝐹)))𝑥)))
49 eqid 2765 . . 3 (𝐶 FuncCat 𝐸) = (𝐶 FuncCat 𝐸)
50 eqid 2765 . . 3 (𝐴 FuncCat 𝐸) = (𝐴 FuncCat 𝐸)
51 eqid 2765 . . 3 (oppCat‘(𝐶 FuncCat 𝐸)) = (oppCat‘(𝐶 FuncCat 𝐸))
52 eqid 2765 . . 3 (oppCat‘(𝐴 FuncCat 𝐸)) = (oppCat‘(𝐴 FuncCat 𝐸))
5349, 50, 5, 7, 12, 51, 52ranfval 50451 . 2 (𝜑 → (⟨𝐴, 𝐶⟩ Ran 𝐸) = (𝑓 ∈ (𝐴 Func 𝐶), 𝑥 ∈ (𝐴 Func 𝐸) ↦ (( oppFunc ‘(⟨𝐶, 𝐸⟩ −∘F 𝑓))((oppCat‘(𝐶 FuncCat 𝐸)) UP (oppCat‘(𝐴 FuncCat 𝐸)))𝑥)))
54 eqid 2765 . . 3 (𝐷 FuncCat 𝐹) = (𝐷 FuncCat 𝐹)
55 eqid 2765 . . 3 (𝐵 FuncCat 𝐹) = (𝐵 FuncCat 𝐹)
56 eqid 2765 . . 3 (oppCat‘(𝐷 FuncCat 𝐹)) = (oppCat‘(𝐷 FuncCat 𝐹))
57 eqid 2765 . . 3 (oppCat‘(𝐵 FuncCat 𝐹)) = (oppCat‘(𝐵 FuncCat 𝐹))
5854, 55, 6, 8, 13, 56, 57ranfval 50451 . 2 (𝜑 → (⟨𝐵, 𝐷⟩ Ran 𝐹) = (𝑓 ∈ (𝐵 Func 𝐷), 𝑥 ∈ (𝐵 Func 𝐹) ↦ (( oppFunc ‘(⟨𝐷, 𝐹⟩ −∘F 𝑓))((oppCat‘(𝐷 FuncCat 𝐹)) UP (oppCat‘(𝐵 FuncCat 𝐹)))𝑥)))
5948, 53, 583eqtr4d 2810 1 (𝜑 → (⟨𝐴, 𝐶⟩ Ran 𝐸) = (⟨𝐵, 𝐷⟩ Ran 𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2146  cop 4597  cfv 6540  (class class class)co 7419  cmpo 7421  Catccat 17744  Homf chomf 17746  compfccomf 17747  oppCatcoppc 17791   Func cfunc 17935   FuncCat cfuc 18026   oppFunc coppf 49959   UP cup 50010   −∘F cprcof 50210   Ran cran 50443
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-rep 5240  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7742
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 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-reu 3372  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-tp 4596  df-op 4598  df-uni 4875  df-iun 4960  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-riota 7376  df-ov 7422  df-oprab 7423  df-mpo 7424  df-1st 7992  df-2nd 7993  df-map 8832  df-ixp 8902  df-cat 17748  df-cid 17749  df-homf 17750  df-comf 17751  df-func 17939  df-nat 18027  df-fuc 18028  df-prcof 50211  df-ran 50445
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator