MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fullpropd Structured version   Visualization version   GIF version

Theorem fullpropd 17552
Description: If two categories have the same set of objects, morphisms, and compositions, then they have the same full functors. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypotheses
Ref Expression
fullpropd.1 (𝜑 → (Homf𝐴) = (Homf𝐵))
fullpropd.2 (𝜑 → (compf𝐴) = (compf𝐵))
fullpropd.3 (𝜑 → (Homf𝐶) = (Homf𝐷))
fullpropd.4 (𝜑 → (compf𝐶) = (compf𝐷))
fullpropd.a (𝜑𝐴𝑉)
fullpropd.b (𝜑𝐵𝑉)
fullpropd.c (𝜑𝐶𝑉)
fullpropd.d (𝜑𝐷𝑉)
Assertion
Ref Expression
fullpropd (𝜑 → (𝐴 Full 𝐶) = (𝐵 Full 𝐷))

Proof of Theorem fullpropd
Dummy variables 𝑓 𝑔 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relfull 17540 . 2 Rel (𝐴 Full 𝐶)
2 relfull 17540 . 2 Rel (𝐵 Full 𝐷)
3 fullpropd.1 . . . . . . . 8 (𝜑 → (Homf𝐴) = (Homf𝐵))
43homfeqbas 17322 . . . . . . 7 (𝜑 → (Base‘𝐴) = (Base‘𝐵))
54adantr 480 . . . . . 6 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (Base‘𝐴) = (Base‘𝐵))
65adantr 480 . . . . . . 7 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (Base‘𝐴) = (Base‘𝐵))
7 eqid 2738 . . . . . . . . 9 (Base‘𝐶) = (Base‘𝐶)
8 eqid 2738 . . . . . . . . 9 (Hom ‘𝐶) = (Hom ‘𝐶)
9 eqid 2738 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
10 fullpropd.3 . . . . . . . . . 10 (𝜑 → (Homf𝐶) = (Homf𝐷))
1110ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (Homf𝐶) = (Homf𝐷))
12 eqid 2738 . . . . . . . . . . 11 (Base‘𝐴) = (Base‘𝐴)
13 simpllr 772 . . . . . . . . . . 11 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓(𝐴 Func 𝐶)𝑔)
1412, 7, 13funcf1 17497 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓:(Base‘𝐴)⟶(Base‘𝐶))
15 simplr 765 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑥 ∈ (Base‘𝐴))
1614, 15ffvelrnd 6944 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑥) ∈ (Base‘𝐶))
17 simpr 484 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑦 ∈ (Base‘𝐴))
1814, 17ffvelrnd 6944 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑦) ∈ (Base‘𝐶))
197, 8, 9, 11, 16, 18homfeqval 17323 . . . . . . . 8 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))
2019eqeq2d 2749 . . . . . . 7 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
216, 20raleqbidva 3345 . . . . . 6 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
225, 21raleqbidva 3345 . . . . 5 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
2322pm5.32da 578 . . . 4 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))) ↔ (𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
24 fullpropd.2 . . . . . . 7 (𝜑 → (compf𝐴) = (compf𝐵))
25 fullpropd.4 . . . . . . 7 (𝜑 → (compf𝐶) = (compf𝐷))
26 fullpropd.a . . . . . . 7 (𝜑𝐴𝑉)
27 fullpropd.b . . . . . . 7 (𝜑𝐵𝑉)
28 fullpropd.c . . . . . . 7 (𝜑𝐶𝑉)
29 fullpropd.d . . . . . . 7 (𝜑𝐷𝑉)
303, 24, 10, 25, 26, 27, 28, 29funcpropd 17532 . . . . . 6 (𝜑 → (𝐴 Func 𝐶) = (𝐵 Func 𝐷))
3130breqd 5081 . . . . 5 (𝜑 → (𝑓(𝐴 Func 𝐶)𝑔𝑓(𝐵 Func 𝐷)𝑔))
3231anbi1d 629 . . . 4 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3323, 32bitrd 278 . . 3 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3412, 8isfull 17542 . . 3 (𝑓(𝐴 Full 𝐶)𝑔 ↔ (𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))))
35 eqid 2738 . . . 4 (Base‘𝐵) = (Base‘𝐵)
3635, 9isfull 17542 . . 3 (𝑓(𝐵 Full 𝐷)𝑔 ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
3733, 34, 363bitr4g 313 . 2 (𝜑 → (𝑓(𝐴 Full 𝐶)𝑔𝑓(𝐵 Full 𝐷)𝑔))
381, 2, 37eqbrrdiv 5693 1 (𝜑 → (𝐴 Full 𝐶) = (𝐵 Full 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063   class class class wbr 5070  ran crn 5581  cfv 6418  (class class class)co 7255  Basecbs 16840  Hom chom 16899  Homf chomf 17292  compfccomf 17293   Func cfunc 17485   Full cful 17534
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575  df-ixp 8644  df-cat 17294  df-cid 17295  df-homf 17296  df-comf 17297  df-func 17489  df-full 17536
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator