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

Theorem brssc 17443
Description: The subcategory subset relation is a relation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Assertion
Ref Expression
brssc (𝐻cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
Distinct variable groups:   𝑡,𝑠,𝑥,𝐻   𝐽,𝑠,𝑡,𝑥

Proof of Theorem brssc
Dummy variables 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sscrel 17442 . . 3 Rel ⊆cat
21brrelex12i 5633 . 2 (𝐻cat 𝐽 → (𝐻 ∈ V ∧ 𝐽 ∈ V))
3 vex 3426 . . . . . 6 𝑡 ∈ V
43, 3xpex 7581 . . . . 5 (𝑡 × 𝑡) ∈ V
5 fnex 7075 . . . . 5 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑡 × 𝑡) ∈ V) → 𝐽 ∈ V)
64, 5mpan2 687 . . . 4 (𝐽 Fn (𝑡 × 𝑡) → 𝐽 ∈ V)
7 elex 3440 . . . . 5 (𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) → 𝐻 ∈ V)
87rexlimivw 3210 . . . 4 (∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) → 𝐻 ∈ V)
96, 8anim12ci 613 . . 3 ((𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → (𝐻 ∈ V ∧ 𝐽 ∈ V))
109exlimiv 1934 . 2 (∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → (𝐻 ∈ V ∧ 𝐽 ∈ V))
11 simpr 484 . . . . . 6 (( = 𝐻𝑗 = 𝐽) → 𝑗 = 𝐽)
1211fneq1d 6510 . . . . 5 (( = 𝐻𝑗 = 𝐽) → (𝑗 Fn (𝑡 × 𝑡) ↔ 𝐽 Fn (𝑡 × 𝑡)))
13 simpl 482 . . . . . . 7 (( = 𝐻𝑗 = 𝐽) → = 𝐻)
1411fveq1d 6758 . . . . . . . . 9 (( = 𝐻𝑗 = 𝐽) → (𝑗𝑥) = (𝐽𝑥))
1514pweqd 4549 . . . . . . . 8 (( = 𝐻𝑗 = 𝐽) → 𝒫 (𝑗𝑥) = 𝒫 (𝐽𝑥))
1615ixpeq2dv 8659 . . . . . . 7 (( = 𝐻𝑗 = 𝐽) → X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) = X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))
1713, 16eleq12d 2833 . . . . . 6 (( = 𝐻𝑗 = 𝐽) → (X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) ↔ 𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
1817rexbidv 3225 . . . . 5 (( = 𝐻𝑗 = 𝐽) → (∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) ↔ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
1912, 18anbi12d 630 . . . 4 (( = 𝐻𝑗 = 𝐽) → ((𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥)) ↔ (𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
2019exbidv 1925 . . 3 (( = 𝐻𝑗 = 𝐽) → (∃𝑡(𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥)) ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
21 df-ssc 17439 . . 3 cat = {⟨, 𝑗⟩ ∣ ∃𝑡(𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥))}
2220, 21brabga 5440 . 2 ((𝐻 ∈ V ∧ 𝐽 ∈ V) → (𝐻cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
232, 10, 22pm5.21nii 379 1 (𝐻cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wrex 3064  Vcvv 3422  𝒫 cpw 4530   class class class wbr 5070   × cxp 5578   Fn wfn 6413  cfv 6418  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-ixp 8644  df-ssc 17439
This theorem is referenced by:  sscpwex  17444  sscfn1  17446  sscfn2  17447  isssc  17449
  Copyright terms: Public domain W3C validator