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

Theorem fullpropd 17192
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 17180 . 2 Rel (𝐴 Full 𝐶)
2 relfull 17180 . 2 Rel (𝐵 Full 𝐷)
3 fullpropd.1 . . . . . . . 8 (𝜑 → (Homf𝐴) = (Homf𝐵))
43homfeqbas 16968 . . . . . . 7 (𝜑 → (Base‘𝐴) = (Base‘𝐵))
54adantr 483 . . . . . 6 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (Base‘𝐴) = (Base‘𝐵))
65adantr 483 . . . . . . 7 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (Base‘𝐴) = (Base‘𝐵))
7 eqid 2823 . . . . . . . . 9 (Base‘𝐶) = (Base‘𝐶)
8 eqid 2823 . . . . . . . . 9 (Hom ‘𝐶) = (Hom ‘𝐶)
9 eqid 2823 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
10 fullpropd.3 . . . . . . . . . 10 (𝜑 → (Homf𝐶) = (Homf𝐷))
1110ad3antrrr 728 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (Homf𝐶) = (Homf𝐷))
12 eqid 2823 . . . . . . . . . . 11 (Base‘𝐴) = (Base‘𝐴)
13 simpllr 774 . . . . . . . . . . 11 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓(𝐴 Func 𝐶)𝑔)
1412, 7, 13funcf1 17138 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑓:(Base‘𝐴)⟶(Base‘𝐶))
15 simplr 767 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑥 ∈ (Base‘𝐴))
1614, 15ffvelrnd 6854 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑥) ∈ (Base‘𝐶))
17 simpr 487 . . . . . . . . . 10 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → 𝑦 ∈ (Base‘𝐴))
1814, 17ffvelrnd 6854 . . . . . . . . 9 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (𝑓𝑦) ∈ (Base‘𝐶))
197, 8, 9, 11, 16, 18homfeqval 16969 . . . . . . . 8 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))
2019eqeq2d 2834 . . . . . . 7 ((((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) ∧ 𝑦 ∈ (Base‘𝐴)) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
216, 20raleqbidva 3427 . . . . . 6 (((𝜑𝑓(𝐴 Func 𝐶)𝑔) ∧ 𝑥 ∈ (Base‘𝐴)) → (∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
225, 21raleqbidva 3427 . . . . 5 ((𝜑𝑓(𝐴 Func 𝐶)𝑔) → (∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦)) ↔ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
2322pm5.32da 581 . . . 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 17172 . . . . . 6 (𝜑 → (𝐴 Func 𝐶) = (𝐵 Func 𝐷))
3130breqd 5079 . . . . 5 (𝜑 → (𝑓(𝐴 Func 𝐶)𝑔𝑓(𝐵 Func 𝐷)𝑔))
3231anbi1d 631 . . . 4 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3323, 32bitrd 281 . . 3 (𝜑 → ((𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))) ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦)))))
3412, 8isfull 17182 . . 3 (𝑓(𝐴 Full 𝐶)𝑔 ↔ (𝑓(𝐴 Func 𝐶)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐴)∀𝑦 ∈ (Base‘𝐴)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐶)(𝑓𝑦))))
35 eqid 2823 . . . 4 (Base‘𝐵) = (Base‘𝐵)
3635, 9isfull 17182 . . 3 (𝑓(𝐵 Full 𝐷)𝑔 ↔ (𝑓(𝐵 Func 𝐷)𝑔 ∧ ∀𝑥 ∈ (Base‘𝐵)∀𝑦 ∈ (Base‘𝐵)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝐷)(𝑓𝑦))))
3733, 34, 363bitr4g 316 . 2 (𝜑 → (𝑓(𝐴 Full 𝐶)𝑔𝑓(𝐵 Full 𝐷)𝑔))
381, 2, 37eqbrrdiv 5669 1 (𝜑 → (𝐴 Full 𝐶) = (𝐵 Full 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wral 3140   class class class wbr 5068  ran crn 5558  cfv 6357  (class class class)co 7158  Basecbs 16485  Hom chom 16578  Homf chomf 16939  compfccomf 16940   Func cfunc 17126   Full cful 17174
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-1st 7691  df-2nd 7692  df-map 8410  df-ixp 8464  df-cat 16941  df-cid 16942  df-homf 16943  df-comf 16944  df-func 17130  df-full 17176
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator