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

Theorem fullpropd 16580
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 16568 . 2 Rel (𝐴 Full 𝐶)
2 relfull 16568 . 2 Rel (𝐵 Full 𝐷)
3 fullpropd.1 . . . . . . . 8 (𝜑 → (Homf𝐴) = (Homf𝐵))
43homfeqbas 16356 . . . . . . 7 (𝜑 → (Base‘𝐴) = (Base‘𝐵))
54adantr 481 . . . . . 6 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (Base‘𝐴) = (Base‘𝐵))
65adantr 481 . . . . . . 7 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (Base‘𝐴) = (Base‘𝐵))
7 eqid 2622 . . . . . . . . 9 (Base‘𝐶) = (Base‘𝐶)
8 eqid 2622 . . . . . . . . 9 (Hom ‘𝐶) = (Hom ‘𝐶)
9 eqid 2622 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
10 fullpropd.3 . . . . . . . . . 10 (𝜑 → (Homf𝐶) = (Homf𝐷))
1110ad3antrrr 766 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (Homf𝐶) = (Homf𝐷))
12 eqid 2622 . . . . . . . . . . 11 (Base‘𝐴) = (Base‘𝐴)
13 simpllr 799 . . . . . . . . . . 11 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓(𝐴 Func 𝐶)𝑔)
1412, 7, 13funcf1 16526 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓:(Base‘𝐴)⟶(Base‘𝐶))
15 simplr 792 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑥 ∈ (Base‘𝐴))
1614, 15ffvelrnd 6360 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑥) ∈ (Base‘𝐶))
17 simpr 477 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑦 ∈ (Base‘𝐴))
1814, 17ffvelrnd 6360 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑦) ∈ (Base‘𝐶))
197, 8, 9, 11, 16, 18homfeqval 16357 . . . . . . . 8 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))
2019eqeq2d 2632 . . . . . . 7 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
216, 20raleqbidva 3154 . . . . . 6 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
225, 21raleqbidva 3154 . . . . 5 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
2322pm5.32da 673 . . . 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 16560 . . . . . 6 (𝜑 → (𝐴 Func 𝐶) = (𝐵 Func 𝐷))
3130breqd 4664 . . . . 5 (𝜑 → (𝑓(𝐴 Func 𝐶)𝑔𝑓(𝐵 Func 𝐷)𝑔))
3231anbi1d 741 . . . 4 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3323, 32bitrd 268 . . 3 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3412, 8isfull 16570 . . 3 (𝑓(𝐴 Full 𝐶)𝑔 ↔ (𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))))
35 eqid 2622 . . . 4 (Base‘𝐵) = (Base‘𝐵)
3635, 9isfull 16570 . . 3 (𝑓(𝐵 Full 𝐷)𝑔 ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
3733, 34, 363bitr4g 303 . 2 (𝜑 → (𝑓(𝐴 Full 𝐶)𝑔𝑓(𝐵 Full 𝐷)𝑔))
381, 2, 37eqbrrdiv 5218 1 (𝜑 → (𝐴 Full 𝐶) = (𝐵 Full 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wcel 1990  wral 2912   class class class wbr 4653  ran crn 5115  cfv 5888  (class class class)co 6650  Basecbs 15857  Hom chom 15952  Homf chomf 16327  compfccomf 16328   Func cfunc 16514   Full cful 16562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-1st 7168  df-2nd 7169  df-map 7859  df-ixp 7909  df-cat 16329  df-cid 16330  df-homf 16331  df-comf 16332  df-func 16518  df-full 16564
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator