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

Theorem isfull 17542
Description: Value of the set of full functors between two categories. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypotheses
Ref Expression
isfull.b 𝐵 = (Base‘𝐶)
isfull.j 𝐽 = (Hom ‘𝐷)
Assertion
Ref Expression
isfull (𝐹(𝐶 Full 𝐷)𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐶,𝑦   𝑥,𝐷,𝑦   𝑥,𝐽,𝑦   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦

Proof of Theorem isfull
Dummy variables 𝑐 𝑑 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fullfunc 17538 . . 3 (𝐶 Full 𝐷) ⊆ (𝐶 Func 𝐷)
21ssbri 5115 . 2 (𝐹(𝐶 Full 𝐷)𝐺𝐹(𝐶 Func 𝐷)𝐺)
3 df-br 5071 . . . . . . 7 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
4 funcrcl 17494 . . . . . . 7 (⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
53, 4sylbi 216 . . . . . 6 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
6 oveq12 7264 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (𝑐 Func 𝑑) = (𝐶 Func 𝐷))
76breqd 5081 . . . . . . . . 9 ((𝑐 = 𝐶𝑑 = 𝐷) → (𝑓(𝑐 Func 𝑑)𝑔𝑓(𝐶 Func 𝐷)𝑔))
8 simpl 482 . . . . . . . . . . . 12 ((𝑐 = 𝐶𝑑 = 𝐷) → 𝑐 = 𝐶)
98fveq2d 6760 . . . . . . . . . . 11 ((𝑐 = 𝐶𝑑 = 𝐷) → (Base‘𝑐) = (Base‘𝐶))
10 isfull.b . . . . . . . . . . 11 𝐵 = (Base‘𝐶)
119, 10eqtr4di 2797 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (Base‘𝑐) = 𝐵)
12 simpr 484 . . . . . . . . . . . . . . 15 ((𝑐 = 𝐶𝑑 = 𝐷) → 𝑑 = 𝐷)
1312fveq2d 6760 . . . . . . . . . . . . . 14 ((𝑐 = 𝐶𝑑 = 𝐷) → (Hom ‘𝑑) = (Hom ‘𝐷))
14 isfull.j . . . . . . . . . . . . . 14 𝐽 = (Hom ‘𝐷)
1513, 14eqtr4di 2797 . . . . . . . . . . . . 13 ((𝑐 = 𝐶𝑑 = 𝐷) → (Hom ‘𝑑) = 𝐽)
1615oveqd 7272 . . . . . . . . . . . 12 ((𝑐 = 𝐶𝑑 = 𝐷) → ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) = ((𝑓𝑥)𝐽(𝑓𝑦)))
1716eqeq2d 2749 . . . . . . . . . . 11 ((𝑐 = 𝐶𝑑 = 𝐷) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
1811, 17raleqbidv 3327 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ∀𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
1911, 18raleqbidv 3327 . . . . . . . . 9 ((𝑐 = 𝐶𝑑 = 𝐷) → (∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
207, 19anbi12d 630 . . . . . . . 8 ((𝑐 = 𝐶𝑑 = 𝐷) → ((𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦))) ↔ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))))
2120opabbidv 5136 . . . . . . 7 ((𝑐 = 𝐶𝑑 = 𝐷) → {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)))} = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
22 df-full 17536 . . . . . . 7 Full = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)))})
23 ovex 7288 . . . . . . . 8 (𝐶 Func 𝐷) ∈ V
24 simpl 482 . . . . . . . . . 10 ((𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))) → 𝑓(𝐶 Func 𝐷)𝑔)
2524ssopab2i 5456 . . . . . . . . 9 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ⊆ {⟨𝑓, 𝑔⟩ ∣ 𝑓(𝐶 Func 𝐷)𝑔}
26 opabss 5134 . . . . . . . . 9 {⟨𝑓, 𝑔⟩ ∣ 𝑓(𝐶 Func 𝐷)𝑔} ⊆ (𝐶 Func 𝐷)
2725, 26sstri 3926 . . . . . . . 8 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ⊆ (𝐶 Func 𝐷)
2823, 27ssexi 5241 . . . . . . 7 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ∈ V
2921, 22, 28ovmpoa 7406 . . . . . 6 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Full 𝐷) = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
305, 29syl 17 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐶 Full 𝐷) = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
3130breqd 5081 . . . 4 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺))
32 relfunc 17493 . . . . . 6 Rel (𝐶 Func 𝐷)
3332brrelex12i 5633 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹 ∈ V ∧ 𝐺 ∈ V))
34 breq12 5075 . . . . . . 7 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓(𝐶 Func 𝐷)𝑔𝐹(𝐶 Func 𝐷)𝐺))
35 simpr 484 . . . . . . . . . . 11 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
3635oveqd 7272 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑥𝑔𝑦) = (𝑥𝐺𝑦))
3736rneqd 5836 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → ran (𝑥𝑔𝑦) = ran (𝑥𝐺𝑦))
38 simpl 482 . . . . . . . . . . 11 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
3938fveq1d 6758 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑥) = (𝐹𝑥))
4038fveq1d 6758 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑦) = (𝐹𝑦))
4139, 40oveq12d 7273 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑥)𝐽(𝑓𝑦)) = ((𝐹𝑥)𝐽(𝐹𝑦)))
4237, 41eqeq12d 2754 . . . . . . . 8 ((𝑓 = 𝐹𝑔 = 𝐺) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)) ↔ ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
43422ralbidv 3122 . . . . . . 7 ((𝑓 = 𝐹𝑔 = 𝐺) → (∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
4434, 43anbi12d 630 . . . . . 6 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))) ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
45 eqid 2738 . . . . . 6 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}
4644, 45brabga 5440 . . . . 5 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
4733, 46syl 17 . . . 4 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
4831, 47bitrd 278 . . 3 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
4948bianabs 541 . 2 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺 ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
502, 49biadanii 818 1 (𝐹(𝐶 Full 𝐷)𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cop 4564   class class class wbr 5070  {copab 5132  ran crn 5581  cfv 6418  (class class class)co 7255  Basecbs 16840  Hom chom 16899  Catccat 17290   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-sep 5218  ax-nul 5225  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-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-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-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-func 17489  df-full 17536
This theorem is referenced by:  isfull2  17543  fullpropd  17552  fulloppc  17554  fullres2c  17571
  Copyright terms: Public domain W3C validator