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

Theorem brssc 16455
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 16454 . . 3 Rel ⊆cat
2 brrelex12 5145 . . 3 ((Rel ⊆cat𝐻cat 𝐽) → (𝐻 ∈ V ∧ 𝐽 ∈ V))
31, 2mpan 705 . 2 (𝐻cat 𝐽 → (𝐻 ∈ V ∧ 𝐽 ∈ V))
4 vex 3198 . . . . . 6 𝑡 ∈ V
54, 4xpex 6947 . . . . 5 (𝑡 × 𝑡) ∈ V
6 fnex 6466 . . . . 5 ((𝐽 Fn (𝑡 × 𝑡) ∧ (𝑡 × 𝑡) ∈ V) → 𝐽 ∈ V)
75, 6mpan2 706 . . . 4 (𝐽 Fn (𝑡 × 𝑡) → 𝐽 ∈ V)
8 elex 3207 . . . . 5 (𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) → 𝐻 ∈ V)
98rexlimivw 3025 . . . 4 (∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥) → 𝐻 ∈ V)
107, 9anim12ci 590 . . 3 ((𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → (𝐻 ∈ V ∧ 𝐽 ∈ V))
1110exlimiv 1856 . 2 (∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)) → (𝐻 ∈ V ∧ 𝐽 ∈ V))
12 simpr 477 . . . . . 6 (( = 𝐻𝑗 = 𝐽) → 𝑗 = 𝐽)
1312fneq1d 5969 . . . . 5 (( = 𝐻𝑗 = 𝐽) → (𝑗 Fn (𝑡 × 𝑡) ↔ 𝐽 Fn (𝑡 × 𝑡)))
14 simpl 473 . . . . . . 7 (( = 𝐻𝑗 = 𝐽) → = 𝐻)
1512fveq1d 6180 . . . . . . . . 9 (( = 𝐻𝑗 = 𝐽) → (𝑗𝑥) = (𝐽𝑥))
1615pweqd 4154 . . . . . . . 8 (( = 𝐻𝑗 = 𝐽) → 𝒫 (𝑗𝑥) = 𝒫 (𝐽𝑥))
1716ixpeq2dv 7909 . . . . . . 7 (( = 𝐻𝑗 = 𝐽) → X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) = X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))
1814, 17eleq12d 2693 . . . . . 6 (( = 𝐻𝑗 = 𝐽) → (X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) ↔ 𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
1918rexbidv 3048 . . . . 5 (( = 𝐻𝑗 = 𝐽) → (∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥) ↔ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
2013, 19anbi12d 746 . . . 4 (( = 𝐻𝑗 = 𝐽) → ((𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥)) ↔ (𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
2120exbidv 1848 . . 3 (( = 𝐻𝑗 = 𝐽) → (∃𝑡(𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥)) ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
22 df-ssc 16451 . . 3 cat = {⟨, 𝑗⟩ ∣ ∃𝑡(𝑗 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝑗𝑥))}
2321, 22brabga 4979 . 2 ((𝐻 ∈ V ∧ 𝐽 ∈ V) → (𝐻cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥))))
243, 11, 23pm5.21nii 368 1 (𝐻cat 𝐽 ↔ ∃𝑡(𝐽 Fn (𝑡 × 𝑡) ∧ ∃𝑠 ∈ 𝒫 𝑡𝐻X𝑥 ∈ (𝑠 × 𝑠)𝒫 (𝐽𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1481  wex 1702  wcel 1988  wrex 2910  Vcvv 3195  𝒫 cpw 4149   class class class wbr 4644   × cxp 5102  Rel wrel 5109   Fn wfn 5871  cfv 5876  Xcixp 7893  cat cssc 16448
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-rep 4762  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-reu 2916  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-ixp 7894  df-ssc 16451
This theorem is referenced by:  sscpwex  16456  sscfn1  16458  sscfn2  16459  isssc  16461
  Copyright terms: Public domain W3C validator