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

Theorem isfull 16617
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 16613 . . 3 (𝐶 Full 𝐷) ⊆ (𝐶 Func 𝐷)
21ssbri 4730 . 2 (𝐹(𝐶 Full 𝐷)𝐺𝐹(𝐶 Func 𝐷)𝐺)
3 df-br 4686 . . . . . . 7 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
4 funcrcl 16570 . . . . . . 7 (⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
53, 4sylbi 207 . . . . . 6 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
6 oveq12 6699 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (𝑐 Func 𝑑) = (𝐶 Func 𝐷))
76breqd 4696 . . . . . . . . 9 ((𝑐 = 𝐶𝑑 = 𝐷) → (𝑓(𝑐 Func 𝑑)𝑔𝑓(𝐶 Func 𝐷)𝑔))
8 simpl 472 . . . . . . . . . . . 12 ((𝑐 = 𝐶𝑑 = 𝐷) → 𝑐 = 𝐶)
98fveq2d 6233 . . . . . . . . . . 11 ((𝑐 = 𝐶𝑑 = 𝐷) → (Base‘𝑐) = (Base‘𝐶))
10 isfull.b . . . . . . . . . . 11 𝐵 = (Base‘𝐶)
119, 10syl6eqr 2703 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (Base‘𝑐) = 𝐵)
12 simpr 476 . . . . . . . . . . . . . . 15 ((𝑐 = 𝐶𝑑 = 𝐷) → 𝑑 = 𝐷)
1312fveq2d 6233 . . . . . . . . . . . . . 14 ((𝑐 = 𝐶𝑑 = 𝐷) → (Hom ‘𝑑) = (Hom ‘𝐷))
14 isfull.j . . . . . . . . . . . . . 14 𝐽 = (Hom ‘𝐷)
1513, 14syl6eqr 2703 . . . . . . . . . . . . 13 ((𝑐 = 𝐶𝑑 = 𝐷) → (Hom ‘𝑑) = 𝐽)
1615oveqd 6707 . . . . . . . . . . . 12 ((𝑐 = 𝐶𝑑 = 𝐷) → ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) = ((𝑓𝑥)𝐽(𝑓𝑦)))
1716eqeq2d 2661 . . . . . . . . . . 11 ((𝑐 = 𝐶𝑑 = 𝐷) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
1811, 17raleqbidv 3182 . . . . . . . . . 10 ((𝑐 = 𝐶𝑑 = 𝐷) → (∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ∀𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
1911, 18raleqbidv 3182 . . . . . . . . 9 ((𝑐 = 𝐶𝑑 = 𝐷) → (∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))))
207, 19anbi12d 747 . . . . . . . 8 ((𝑐 = 𝐶𝑑 = 𝐷) → ((𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦))) ↔ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))))
2120opabbidv 4749 . . . . . . 7 ((𝑐 = 𝐶𝑑 = 𝐷) → {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)))} = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
22 df-full 16611 . . . . . . 7 Full = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝑐 Func 𝑑)𝑔 ∧ ∀𝑥 ∈ (Base‘𝑐)∀𝑦 ∈ (Base‘𝑐)ran (𝑥𝑔𝑦) = ((𝑓𝑥)(Hom ‘𝑑)(𝑓𝑦)))})
23 ovex 6718 . . . . . . . 8 (𝐶 Func 𝐷) ∈ V
24 simpl 472 . . . . . . . . . 10 ((𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))) → 𝑓(𝐶 Func 𝐷)𝑔)
2524ssopab2i 5032 . . . . . . . . 9 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ⊆ {⟨𝑓, 𝑔⟩ ∣ 𝑓(𝐶 Func 𝐷)𝑔}
26 opabss 4747 . . . . . . . . 9 {⟨𝑓, 𝑔⟩ ∣ 𝑓(𝐶 Func 𝐷)𝑔} ⊆ (𝐶 Func 𝐷)
2725, 26sstri 3645 . . . . . . . 8 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ⊆ (𝐶 Func 𝐷)
2823, 27ssexi 4836 . . . . . . 7 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} ∈ V
2921, 22, 28ovmpt2a 6833 . . . . . 6 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 Full 𝐷) = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
305, 29syl 17 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐶 Full 𝐷) = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))})
3130breqd 4696 . . . 4 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺))
32 relfunc 16569 . . . . . 6 Rel (𝐶 Func 𝐷)
33 brrelex12 5189 . . . . . 6 ((Rel (𝐶 Func 𝐷) ∧ 𝐹(𝐶 Func 𝐷)𝐺) → (𝐹 ∈ V ∧ 𝐺 ∈ V))
3432, 33mpan 706 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹 ∈ V ∧ 𝐺 ∈ V))
35 breq12 4690 . . . . . . 7 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓(𝐶 Func 𝐷)𝑔𝐹(𝐶 Func 𝐷)𝐺))
36 simpr 476 . . . . . . . . . . 11 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
3736oveqd 6707 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑥𝑔𝑦) = (𝑥𝐺𝑦))
3837rneqd 5385 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → ran (𝑥𝑔𝑦) = ran (𝑥𝐺𝑦))
39 simpl 472 . . . . . . . . . . 11 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
4039fveq1d 6231 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑥) = (𝐹𝑥))
4139fveq1d 6231 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑦) = (𝐹𝑦))
4240, 41oveq12d 6708 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑥)𝐽(𝑓𝑦)) = ((𝐹𝑥)𝐽(𝐹𝑦)))
4338, 42eqeq12d 2666 . . . . . . . 8 ((𝑓 = 𝐹𝑔 = 𝐺) → (ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)) ↔ ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
44432ralbidv 3018 . . . . . . 7 ((𝑓 = 𝐹𝑔 = 𝐺) → (∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
4535, 44anbi12d 747 . . . . . 6 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦))) ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
46 eqid 2651 . . . . . 6 {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))} = {⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}
4745, 46brabga 5018 . . . . 5 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
4834, 47syl 17 . . . 4 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹{⟨𝑓, 𝑔⟩ ∣ (𝑓(𝐶 Func 𝐷)𝑔 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝑔𝑦) = ((𝑓𝑥)𝐽(𝑓𝑦)))}𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
4931, 48bitrd 268 . . 3 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦)))))
5049bianabs 942 . 2 (𝐹(𝐶 Func 𝐷)𝐺 → (𝐹(𝐶 Full 𝐷)𝐺 ↔ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
512, 50biadan2 675 1 (𝐹(𝐶 Full 𝐷)𝐺 ↔ (𝐹(𝐶 Func 𝐷)𝐺 ∧ ∀𝑥𝐵𝑦𝐵 ran (𝑥𝐺𝑦) = ((𝐹𝑥)𝐽(𝐹𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383   = wceq 1523  wcel 2030  wral 2941  Vcvv 3231  cop 4216   class class class wbr 4685  {copab 4745  ran crn 5144  Rel wrel 5148  cfv 5926  (class class class)co 6690  Basecbs 15904  Hom chom 15999  Catccat 16372   Func cfunc 16561   Full cful 16609
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-1st 7210  df-2nd 7211  df-func 16565  df-full 16611
This theorem is referenced by:  isfull2  16618  fullpropd  16627  fulloppc  16629  fullres2c  16646
  Copyright terms: Public domain W3C validator