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

Theorem sscpwex 17444
Description: An analogue of pwex 5298 for the subcategory subset relation: The collection of subcategory subsets of a given set 𝐽 is a set. (Contributed by Mario Carneiro, 6-Jan-2017.)
Assertion
Ref Expression
sscpwex {cat 𝐽} ∈ V
Distinct variable group:   ,𝐽

Proof of Theorem sscpwex
Dummy variables 𝑠 𝑡 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovex 7288 . 2 (𝒫 ran 𝐽pm dom 𝐽) ∈ V
2 brssc 17443 . . . 4 (cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
3 simpl 482 . . . . . . . . . 10 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → 𝐽 Fn (𝑡 × 𝑡))
4 vex 3426 . . . . . . . . . . 11 𝑡 ∈ V
54, 4xpex 7581 . . . . . . . . . 10 (𝑡 × 𝑡) ∈ V
6 fnex 7075 . . . . . . . . . 10 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑡 × 𝑡) ∈ V) → 𝐽 ∈ V)
73, 5, 6sylancl 585 . . . . . . . . 9 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → 𝐽 ∈ V)
8 rnexg 7725 . . . . . . . . 9 (𝐽 ∈ V → ran 𝐽 ∈ V)
9 uniexg 7571 . . . . . . . . 9 (ran 𝐽 ∈ V → ran 𝐽 ∈ V)
10 pwexg 5296 . . . . . . . . 9 ( ran 𝐽 ∈ V → 𝒫 ran 𝐽 ∈ V)
117, 8, 9, 104syl 19 . . . . . . . 8 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → 𝒫 ran 𝐽 ∈ V)
12 fndm 6520 . . . . . . . . . 10 (𝐽 Fn (𝑡 × 𝑡) → dom 𝐽 = (𝑡 × 𝑡))
1312adantr 480 . . . . . . . . 9 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → dom 𝐽 = (𝑡 × 𝑡))
1413, 5eqeltrdi 2847 . . . . . . . 8 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → dom 𝐽 ∈ V)
15 ss2ixp 8656 . . . . . . . . . . 11 (∀𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) ⊆ 𝒫 ran 𝐽X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) ⊆ X𝑥 ∈ (𝑠 × 𝑠)𝒫 ran 𝐽)
16 fvssunirn 6785 . . . . . . . . . . . . 13 (𝐽𝑥) ⊆ ran 𝐽
1716sspwi 4544 . . . . . . . . . . . 12 𝒫 (𝐽𝑥) ⊆ 𝒫 ran 𝐽
1817a1i 11 . . . . . . . . . . 11 (𝑥 ∈ (𝑠 × 𝑠) → 𝒫 (𝐽𝑥) ⊆ 𝒫 ran 𝐽)
1915, 18mprg 3077 . . . . . . . . . 10 X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) ⊆ X𝑥 ∈ (𝑠 × 𝑠)𝒫 ran 𝐽
20 simprr 769 . . . . . . . . . 10 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))
2119, 20sselid 3915 . . . . . . . . 9 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → X𝑥 ∈ (𝑠 × 𝑠)𝒫 ran 𝐽)
22 vex 3426 . . . . . . . . . 10 ∈ V
2322elixpconst 8651 . . . . . . . . 9 (X𝑥 ∈ (𝑠 × 𝑠)𝒫 ran 𝐽:(𝑠 × 𝑠)⟶𝒫 ran 𝐽)
2421, 23sylib 217 . . . . . . . 8 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → :(𝑠 × 𝑠)⟶𝒫 ran 𝐽)
25 elpwi 4539 . . . . . . . . . . 11 (𝑠 ∈ 𝒫 𝑡𝑠𝑡)
2625ad2antrl 724 . . . . . . . . . 10 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → 𝑠𝑡)
27 xpss12 5595 . . . . . . . . . 10 ((𝑠𝑡𝑠𝑡) → (𝑠 × 𝑠) ⊆ (𝑡 × 𝑡))
2826, 26, 27syl2anc 583 . . . . . . . . 9 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → (𝑠 × 𝑠) ⊆ (𝑡 × 𝑡))
2928, 13sseqtrrd 3958 . . . . . . . 8 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → (𝑠 × 𝑠) ⊆ dom 𝐽)
30 elpm2r 8591 . . . . . . . 8 (((𝒫 ran 𝐽 ∈ V ∧ dom 𝐽 ∈ V) ∧ (:(𝑠 × 𝑠)⟶𝒫 ran 𝐽 ∧ (𝑠 × 𝑠) ⊆ dom 𝐽)) → ∈ (𝒫 ran 𝐽pm dom 𝐽))
3111, 14, 24, 29, 30syl22anc 835 . . . . . . 7 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))) → ∈ (𝒫 ran 𝐽pm dom 𝐽))
3231rexlimdvaa 3213 . . . . . 6 (𝐽 Fn (𝑡 × 𝑡) → (∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) → ∈ (𝒫 ran 𝐽pm dom 𝐽)))
3332imp 406 . . . . 5 ((𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → ∈ (𝒫 ran 𝐽pm dom 𝐽))
3433exlimiv 1934 . . . 4 (∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → ∈ (𝒫 ran 𝐽pm dom 𝐽))
352, 34sylbi 216 . . 3 (cat 𝐽 ∈ (𝒫 ran 𝐽pm dom 𝐽))
3635abssi 3999 . 2 {cat 𝐽} ⊆ (𝒫 ran 𝐽pm dom 𝐽)
371, 36ssexi 5241 1 {cat 𝐽} ∈ V
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wrex 3064  Vcvv 3422  wss 3883  𝒫 cpw 4530   cuni 4836   class class class wbr 5070   × cxp 5578  dom cdm 5580  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  pm cpm 8574  Xcixp 8643  cat cssc 17436
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-ov 7258  df-oprab 7259  df-mpo 7260  df-pm 8576  df-ixp 8644  df-ssc 17439
This theorem is referenced by:  issubc  17466
  Copyright terms: Public domain W3C validator